/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8f7f4;
    color: #1c1c1c;
    font-family: "Inter", Arial, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* HEADER */
.header {
    width: 100%;
    height: 90px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(248, 247, 244, 0.96);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid #e4e2dc;
}

.logo {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 5px;
    white-space: nowrap;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 35px;
}

.navigation > a {
    position: relative;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
}

.navigation > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: #1c1c1c;
    transition: width 0.3s ease;
}

.navigation > a:hover::after {
    width: 100%;
}

/* LANGUAGE DROPDOWN */
.header-right {
    display: flex;
    align-items: center;
}

.language-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.language-button {
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.7;
    cursor: pointer;
}

.language-button span {
    font-size: 12px;
    line-height: 1;
}

.language-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 55px;
    padding: 7px 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e4e2dc;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    z-index: 1001;
}

.language-menu a {
    display: block;
    padding: 8px 14px;
    color: #77746e;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 2px;
    transition:
            background 0.2s ease,
            color 0.2s ease;
}

.language-menu a:hover {
    background: #f3f1ec;
    color: #1c1c1c;
}

.language-dropdown.open .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (min-width: 769px) {
    .language-dropdown:hover .language-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* COMMON */
.small-title,
.section-label {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-label {
    color: #9a8055;
    margin-bottom: 24px;
}

h1,
h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
}

section {
    position: relative;
}

/* HOME */
.home {
    min-height: 100vh;
    padding: 150px 10% 100px;
    display: flex;
    align-items: center;
    background:
            linear-gradient(
                    110deg,
                    #efede8 0%,
                    #f8f7f4 55%,
                    #e8e4dc 100%
            );
    overflow: hidden;
}

.home::before {
    content: "V.M";
    position: absolute;
    right: -2%;
    bottom: -14%;
    font-family: "Cormorant Garamond", serif;
    font-size: 430px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.42);
    pointer-events: none;
}

.home-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.home .small-title {
    margin-bottom: 28px;
}

.home h1 {
    font-size: clamp(70px, 9vw, 125px);
    line-height: 0.86;
    letter-spacing: 2px;
}

html[lang="ru"] .home h1 {
    font-size: 90px;
}

.home-text {
    max-width: 500px;
    margin-top: 38px;
    font-size: 15px;
    line-height: 1.9;
    color: #686762;
}

.discover {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 45px;
    font-size: 10px;
    letter-spacing: 3px;
    transition: opacity 0.3s ease;
}

.discover span {
    font-size: 17px;
    line-height: 1;
}

.discover:hover {
    opacity: 0.5;
}

/* ABOUT */
.about {
    padding: 140px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    background: #fff;
    border-bottom: 1px solid #e2e0da;
}

.section-heading h2,
.contacts-heading h2 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1;
    white-space: nowrap;
}

.about-text {
    max-width: 540px;
    padding-top: 42px;
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    line-height: 1.4;
}

.about-text p {
    margin-bottom: 28px;
}

.about-text p:last-child {
    margin-bottom: 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.9;
    color: #6e6c66;
}

/* CERTIFICATE */
.certificate {
    min-height: 650px;
    padding: 120px 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
    background: #f3f1ec;
}

.certificate-text {
    max-width: 500px;
}

.certificate-text h2 {
    margin-bottom: 35px;
    font-size: clamp(48px, 5vw, 68px);
    line-height: 0.95;
}

.certificate-text > p:not(.section-label) {
    margin-bottom: 22px;
    color: #696762;
    font-size: 14px;
    line-height: 1.9;
}

.certificate-card {
    width: 290px;
    text-align: center;
}

.certificate-card a {
    display: block;
    background: #fff;
    padding: 14px;
    box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.10);
    transition:
            transform 0.4s ease,
            box-shadow 0.4s ease;
}

.certificate-card a:hover {
    transform: translateY(-8px);
    box-shadow:
            0 28px 60px rgba(0, 0, 0, 0.15);
}

.certificate-card img {
    width: 100%;
    height: 390px;
    display: block;
    object-fit: contain;
}

.certificate-card p {
    margin-top: 20px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
}

.certificate-card span {
    display: block;
    margin-top: 5px;
    color: #9a8055;
    font-size: 9px;
    letter-spacing: 2px;
}

/* CONTACTS */
.contacts {
    padding: 140px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    background: #fff;
}

.contact-description {
    max-width: 370px;
    margin-top: 35px;
    color: #6e6c66;
    font-size: 14px;
    line-height: 1.9;
}

.contact-info {
    border-top: 1px solid #ddd9d1;
}

.contact-item {
    min-height: 100px;
    padding: 25px 0;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 25px;
    align-items: center;
    border-bottom: 1px solid #ddd9d1;
}

.contact-item span {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #77746e;
}

.contact-item p,
.contact-item a {
    font-size: 14px;
    line-height: 1.7;
}

.contact-item a {
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #9a8055;
}

/* FOOTER */
footer {
    padding: 45px 7%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    background: #f3f1ec;
    border-top: 1px solid #dedbd4;
}

.footer-logo {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 4px;
}

.footer-reg {
    text-align: center;
    color: #77746e;
    font-size: 12px;
    letter-spacing: 1px;
}

.footer-vat {
    text-align: center;
    color: #77746e;
    font-size: 12px;
    letter-spacing: 1px;
}

.footer-copy {
    text-align: right;
    color: #77746e;
    font-size: 12px;
    letter-spacing: 1px;
}

/* MOBILE */
@media (max-width: 768px) {
    .header {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 22px 20px;
        flex-direction: column;
        gap: 18px;
    }

    .logo {
        font-size: 15px;
        letter-spacing: 3px;
    }

    .navigation {
        width: 100%;
        gap: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .navigation a,
    .language-button {
        font-size: 8px;
        letter-spacing: 2px;
    }

    /* LANGUAGE DROPDOWN */
    .language-dropdown {
        position: relative;
    }

    .language-button span {
        font-size: 9px;
    }

    .language-dropdown.open .language-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* HOME */
    .home {
        min-height: 100vh;
        padding: 160px 7% 80px;
    }

    .home::before {
        right: -20%;
        bottom: -5%;
        font-size: 230px;
    }

    .home h1 {
        font-size: clamp(55px, 16vw, 85px);
    }

    html[lang="ru"] .home h1 {
        font-size: clamp(35px, 11vw, 90px);
        letter-spacing: 0;
        white-space: nowrap;
    }

    .home-text {
        max-width: 400px;
        font-size: 13px;
    }

    /* ABOUT */
    .about {
        padding: 90px 7%;
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .section-heading h2 {
        font-size: 42px;
    }

    .contacts-heading h2 {
        font-size: 42px;
        white-space: nowrap;
    }

    .about-text {
        padding-top: 0;
        font-size: 25px;
    }

    /* CERTIFICATE */
    .certificate {
        padding: 90px 7%;
        flex-direction: column;
        gap: 55px;
        align-items: flex-start;
    }

    .certificate-text {
        max-width: 100%;
    }

    .certificate-text h2 {
        font-size: 48px;
    }

    .certificate-card {
        width: 75%;
        max-width: 300px;
        align-self: center;
    }

    .certificate-card img {
        height: auto;
    }

    /* CONTACTS */
    .contacts {
        padding: 90px 7%;
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }

    .contact-item p,
    .contact-item a {
        font-size: 13px;
    }

    /* FOOTER */
    footer {
        padding: 35px 25px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-reg,
    .footer-copy {
        text-align: center;
    }
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
