/* =========================================
   RESET
========================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "Inter", sans-serif;
    background: #eef0ed;
    color: #303536;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

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

button {
    font: inherit;
}


/* =========================================
   VARIABLES
========================================= */

:root {
    --bg: #eef0ed;
    --bg-soft: #e5e9e7;
    --bg-warm: #d9dfdc;

    --white: #f7f8f6;

    --text: #303536;
    --text-soft: #697174;
    --text-light: #90999b;

    --accent: #637887;
    --accent-dark: #4f6675;
    --accent-soft: #c6d0d4;

    --sage: #8f9f9b;
    --sage-soft: #d8dfdc;

    --border: #d2d8d6;

    --container: 1180px;
}


/* =========================================
   GENERAL
========================================= */

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: 0 auto;
}

.section {
    padding: 120px 0;
}

.eyebrow {
    margin-bottom: 20px;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.16em;

    color: var(--accent-dark);
}


/* =========================================
   BUTTON
========================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 30px;

    border-radius: 100px;

    background: var(--accent);
    color: #f8faf9;

    font-size: 14px;
    font-weight: 500;

    border: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.button:hover {
    background: var(--accent-dark);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(63, 80, 88, 0.18);
}

.button--light {
    background: #f5f7f5;
    color: #4f6675;
}

.button--light:hover {
    background: #ffffff;
    color: #3f5058;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: relative;
    z-index: 100;

    background: rgba(238, 240, 237, 0.94);

    border-bottom:
        1px solid rgba(210, 216, 214, 0.7);

    backdrop-filter: blur(12px);
}

.header__inner {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    font-family: "Playfair Display", serif;

    font-size: 25px;
    font-weight: 500;

    color: var(--text);
}

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 38px;

    margin-left: auto;
}

.desktop-nav a {
    color: var(--text-soft);

    font-size: 14px;

    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--accent-dark);
}

.header__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 23px;

    border:
        1px solid var(--accent-soft);

    border-radius: 100px;

    color: var(--accent-dark);

    font-size: 14px;
    font-weight: 500;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.header__button:hover {
    background: var(--accent);
    color: #ffffff;
}


/* =========================================
   MOBILE MENU
========================================= */

.menu-button {
    display: none;

    width: 44px;
    height: 44px;

    border: none;
    background: transparent;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 24px;
    height: 1px;

    margin: 6px auto;

    background: var(--text);
}

.mobile-menu {
    position: fixed;
    inset: 0;

    z-index: 200;

    display: flex;
    flex-direction: column;

    padding: 24px;

    background: var(--bg);

    transform: translateX(100%);

    transition: transform 0.35s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu__logo {
    font-family: "Playfair Display", serif;

    font-size: 25px;
}

.mobile-menu__close {
    width: 44px;
    height: 44px;

    border: none;
    background: transparent;

    font-size: 32px;
    font-weight: 300;

    color: var(--text);

    cursor: pointer;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;

    margin-top: 80px;

    gap: 28px;
}

.mobile-menu__nav a {
    font-family: "Playfair Display", serif;

    font-size: 30px;

    color: var(--text);
}

.mobile-menu__button {
    margin-top: auto;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    padding: 100px 0 120px;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -220px;
    right: -180px;

    border-radius: 50%;

    background:
        rgba(198, 208, 212, 0.38);
}

.hero__grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(400px, 0.85fr);

    align-items: center;

    gap: 90px;
}

.hero__content {
    max-width: 620px;
}

.hero h1 {
    max-width: 680px;

    font-family: "Playfair Display", serif;

    font-size:
        clamp(52px, 6vw, 82px);

    line-height: 1.02;

    font-weight: 400;

    letter-spacing: -0.035em;

    color: var(--text);
}

.hero h1 span {
    display: block;

    color: var(--accent-dark);
}

.hero__description {
    max-width: 540px;

    margin-top: 30px;

    font-size: 18px;

    line-height: 1.8;

    color: var(--text-soft);
}

.hero__actions {
    display: flex;
    align-items: center;

    gap: 28px;

    margin-top: 38px;
}

.text-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--text);

    font-size: 14px;

    border-bottom:
        1px solid var(--border);

    padding-bottom: 3px;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.text-link:hover {
    color: var(--accent-dark);

    border-color: var(--accent);
}

.text-link span {
    color: var(--accent);
}

.hero__note {
    margin-top: 28px;

    font-size: 12px;

    color: var(--text-light);
}


/* =========================================
   HERO IMAGE
========================================= */

.hero__visual {
    position: relative;
}

.hero__image-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 0.82;

    overflow: hidden;

    border-radius:
        180px
        180px
        25px
        25px;

    background: var(--bg-warm);
}

.hero__image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    color: transparent;
    font-size: 0;

    filter:
        saturate(0.7)
        contrast(0.96);

    transition:
        transform 0.6s ease;
}

.hero__image-wrapper:hover .hero__image {
    transform: scale(1.025);
}


/* =========================================
   HERO QUOTE
========================================= */

.hero__quote {
    position: absolute;

    right: -45px;
    bottom: 35px;

    width: 260px;

    padding: 24px 28px;

    border-radius: 18px;

    background:
        rgba(247, 248, 246, 0.94);

    border:
        1px solid
        rgba(210, 216, 214, 0.85);

    box-shadow:
        0 20px 50px
        rgba(48, 53, 54, 0.1);

    backdrop-filter: blur(10px);
}

.quote-mark {
    display: block;

    margin-bottom: 3px;

    font-family: "Playfair Display", serif;

    font-size: 40px;

    line-height: 0.8;

    color: var(--accent);
}

.hero__quote p {
    font-family: "Playfair Display", serif;

    font-size: 17px;

    line-height: 1.5;

    color: var(--text);
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    max-width: 800px;

    margin-bottom: 70px;
}

.section-heading--center {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.section-heading h2,
.price__intro h2,
.contact-section h2 {
    font-family: "Playfair Display", serif;

    font-size:
        clamp(42px, 5vw, 64px);

    line-height: 1.08;

    font-weight: 400;

    letter-spacing: -0.025em;

    color: var(--text);
}


/* =========================================
   ABOUT
========================================= */

.about {
    background: var(--white);
}

#about {
    scroll-margin-top: 100px;
}


/* =========================================
   ABOUT TOP
========================================= */

.about__top {
    display: grid;

    grid-template-columns:
        minmax(320px, 0.8fr)
        minmax(0, 1.2fr);

    gap: 100px;

    align-items: start;
}


/* =========================================
   ABOUT PHOTO
========================================= */

.about__photo {
    position: relative;
}

.about__image-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 0.82;

    overflow: hidden;

    border-radius:
        22px
        120px
        22px
        22px;

    background: var(--bg-warm);
}

.about__image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    color: transparent;
    font-size: 0;

    filter:
        saturate(0.72)
        contrast(0.96);

    transition:
        transform 0.6s ease;
}

.about__image-wrapper:hover .about__image {
    transform: scale(1.025);
}


/* =========================================
   ABOUT EDUCATION
========================================= */

.about__education {
    padding-top: 45px;
}

.about__label {
    margin-bottom: 30px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.16em;

    color: var(--accent-dark);
}


/* =========================================
   EDUCATION LIST
========================================= */

.education-list {
    display: flex;
    flex-direction: column;

    gap: 34px;
}

.education-item {
    padding: 0;
}

.education-item h3 {
    max-width: 620px;

    margin-bottom: 8px;

    font-family: "Playfair Display", serif;

    font-size: 25px;
    font-weight: 400;

    line-height: 1.3;

    color: var(--text);
}

.education-item p {
    max-width: 580px;

    margin: 0;

    font-size: 14px;

    line-height: 1.7;

    color: var(--text-soft);
}


/* =========================================
   PRINCIPLES
========================================= */

.principles-list {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 45px;

    margin-top: 80px;
}

.principle {
    padding-top: 28px;

    border-top:
        1px solid var(--border);
}

.principle h3 {
    margin-bottom: 12px;

    font-family: "Playfair Display", serif;

    font-size: 24px;

    font-weight: 400;

    color: var(--text);
}

.principle p {
    max-width: 330px;

    font-size: 13px;

    line-height: 1.75;

    color: var(--text-soft);
}


/* =========================================
   REQUESTS
========================================= */

.requests {
    background: var(--bg-soft);
}

.requests__grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.request-card {
    position: relative;

    min-height: 290px;

    padding: 35px;

    border-radius: 20px;

    background:
        rgba(247, 248, 246, 0.72);

    border:
        1px solid
        rgba(210, 216, 214, 0.9);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.request-card:hover {
    transform: translateY(-5px);

    background: var(--white);

    box-shadow:
        0 18px 40px
        rgba(48, 53, 54, 0.08);
}

.request-card__number {
    display: block;

    margin-bottom: 45px;

    font-size: 12px;

    color: var(--accent);
}

.request-card h3 {
    margin-bottom: 13px;

    font-family: "Playfair Display", serif;

    font-size: 29px;

    font-weight: 400;

    color: var(--text);
}

.request-card p {
    font-size: 14px;

    line-height: 1.75;

    color: var(--text-soft);
}


/* =========================================
   PRICE
========================================= */

.price {
    background: var(--white);
}

.price__grid {
    display: grid;

    grid-template-columns:
        1fr 420px;

    align-items: center;

    gap: 100px;
}

.price__intro p {
    max-width: 450px;

    margin-top: 25px;

    font-size: 17px;

    color: var(--text-soft);
}

.price__card {
    padding: 45px;

    border-radius: 25px;

    background: var(--bg-soft);

    border:
        1px solid var(--border);
}

.price__amount {
    font-family: "Playfair Display", serif;

    font-size: 52px;

    line-height: 1;

    color: var(--text);
}

.price__duration {
    margin-top: 10px;

    color: var(--text-light);

    font-size: 14px;
}

.price__card ul {
    display: grid;

    gap: 13px;

    margin: 35px 0;

    padding: 0;

    list-style: none;
}

.price__card li {
    position: relative;

    padding-left: 23px;

    font-size: 14px;

    color: var(--text-soft);
}

.price__card li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: var(--sage);
}

.price__card .button {
    width: 100%;
}


/* =========================================
   CONTACTS
========================================= */

.contact-section {
    position: relative;

    padding: 130px 0;

    background: #3f5058;

    color: #f4f6f4;

    overflow: hidden;
}

.contact-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -200px;
    top: -220px;

    border-radius: 50%;

    background:
        rgba(220, 230, 232, 0.08);
}

.contact-section__inner {
    position: relative;

    max-width: 800px;

    text-align: center;
}

.contact-section .eyebrow {
    color: #c8d4d7;
}

.contact-section h2 {
    color: #f6f8f7;
}

.contact-section p {
    max-width: 560px;

    margin: 25px auto 35px;

    font-size: 17px;

    line-height: 1.8;

    color: #d9e0e1;
}


/* =========================================
   CONTACT BUTTONS
========================================= */

.contact-buttons {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-top: 10px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    min-height: 54px;

    padding: 0 28px;

    border-radius: 100px;

    background: #f5f7f5;

    color: #4f6675;

    font-size: 14px;
    font-weight: 500;

    border:
        1px solid
        rgba(255, 255, 255, 0.35);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-button svg {
    width: 21px;
    height: 21px;

    flex-shrink: 0;

    fill: currentColor;
}

.contact-button:hover {
    transform: translateY(-2px);

    background: #ffffff;

    box-shadow:
        0 10px 25px
        rgba(30, 43, 48, 0.18);
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 45px 0;

    background: #30383b;

    color: #d4dadb;
}

.footer__inner {
    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 30px;
}

.footer__logo {
    font-family: "Playfair Display", serif;

    font-size: 25px;

    color: #f4f6f5;
}

.footer__links {
    display: flex;

    gap: 25px;
}

.footer__links a {
    font-size: 13px;

    color: #bec7c8;

    transition:
        color 0.2s ease;
}

.footer__links a:hover {
    color: #ffffff;
}

.footer__copyright {
    justify-self: end;

    font-size: 12px;

    color: #8f9a9d;
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes fadeUp {

    from {
        opacity: 0;

        transform:
            translateY(20px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

.hero__content {
    animation:
        fadeUp 0.8s ease both;
}

.hero__visual {
    animation:
        fadeUp 0.8s 0.15s ease both;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .header__button {
        display: none;
    }


    /* HERO */

    .hero {
        padding: 75px 0 90px;
    }

    .hero__grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .hero__content {
        max-width: 700px;
    }

    .hero__visual {
        max-width: 580px;

        margin: 0 auto;
    }


    /* ABOUT */

    .about__top {
        grid-template-columns:
            minmax(280px, 0.8fr)
            minmax(0, 1.2fr);

        gap: 55px;
    }

    .principles-list {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* REQUESTS */

    .requests__grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* PRICE */

    .price__grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .price__card {
        max-width: 520px;
    }


    /* FOOTER */

    .footer__inner {
        grid-template-columns:
            1fr 1fr;
    }

    .footer__copyright {
        grid-column: 1 / -1;

        justify-self: start;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .container {
        width: min(
            calc(100% - 32px),
            var(--container)
        );
    }

    .section {
        padding: 80px 0;
    }


    /* HEADER */

    .header__inner {
        min-height: 70px;
    }


    /* HERO */

    .hero {
        padding: 55px 0 75px;
    }

    .hero__grid {
        gap: 45px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero__description {
        margin-top: 23px;

        font-size: 16px;

        line-height: 1.7;
    }

    .hero__actions {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;

        margin-top: 30px;
    }

    .hero__actions .button {
        width: 100%;
    }

    .hero__image-wrapper {
        aspect-ratio: 0.85;

        border-radius:
            120px
            120px
            20px
            20px;
    }

    .hero__quote {
        right: 10px;
        bottom: 15px;

        width: 220px;

        padding: 18px 20px;
    }

    .hero__quote p {
        font-size: 15px;
    }


    /* HEADINGS */

    .section-heading {
        margin-bottom: 45px;
    }

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


    /* ABOUT */

    .about__top {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about__photo {
        max-width: 500px;
    }

    .about__image-wrapper {
        aspect-ratio: 0.88;

        border-radius:
            20px
            100px
            20px
            20px;
    }

    .about__education {
        padding-top: 0;
    }

    .education-list {
        gap: 30px;
    }

    .education-item h3 {
        font-size: 21px;
    }

    .education-item p {
        font-size: 13px;
    }

    .principles-list {
        grid-template-columns: 1fr;

        gap: 35px;

        margin-top: 60px;
    }

    .principle p {
        max-width: none;
    }


    /* REQUESTS */

    .requests__grid {
        grid-template-columns: 1fr;
    }

    .request-card {
        min-height: auto;

        padding: 28px;
    }

    .request-card__number {
        margin-bottom: 35px;
    }


    /* PRICE */

    .price__card {
        padding: 30px;
    }

    .price__amount {
        font-size: 45px;
    }


    /* CONTACTS */

    .contact-section {
        padding: 90px 0;
    }

    .contact-section p {
        font-size: 16px;
    }

    .contact-buttons {
        flex-direction: column;

        width: 100%;

        gap: 12px;
    }

    .contact-button {
        width: 100%;
    }


    /* FOOTER */

    .footer {
        padding: 35px 0;
    }

    .footer__inner {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .footer__links {
        flex-wrap: wrap;

        gap: 15px 22px;
    }

    .footer__copyright {
        grid-column: auto;

        justify-self: start;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 42px;
    }

    .section-heading h2,
    .price__intro h2,
    .contact-section h2 {
        font-size: 37px;
    }

    .hero__quote {
        position: relative;

        right: auto;
        bottom: auto;

        width: 100%;

        margin-top: 15px;
    }

    .hero__image-wrapper {
        border-radius:
            90px
            90px
            18px
            18px;
    }

    .about__image-wrapper {
        border-radius:
            18px
            80px
            18px
            18px;
    }

    .education-item h3 {
        font-size: 19px;
    }
}