/* =========================================================
   COME FUNZIONA
   ========================================================= */

.how-page {
    background: #F7F5F0;
    color: #151515;
}

.how-page *,
.how-page *::before,
.how-page *::after {
    box-sizing: border-box;
}

.how-eyebrow {
    margin-bottom: 18px;
    color: #C99A3D;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.how-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.how-button--primary {
    color: #090A09;
    background: #C99A3D;
    border-color: #C99A3D;
}

.how-button--primary:hover,
.how-button--primary:focus-visible {
    color: #C99A3D;
    background: transparent;
}

/* HERO */

.how-hero {
    padding: 116px 0 124px;
    color: #F7F5F0;
    background: #090A09;
    border-bottom: 1px solid rgba(201, 154, 61, 0.22);
}

.how-hero__inner {
    max-width: 920px;
}

.how-hero__title {
    max-width: 900px;
    margin: 0;
    color: #F7F5F0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 6vw, 88px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.how-hero__title span {
    color: #C99A3D;
}

.how-hero__intro {
    max-width: 720px;
    margin: 36px 0 0;
    color: rgba(247, 245, 240, 0.88);
    font-size: 20px;
    line-height: 1.65;
}

.how-hero__note {
    max-width: 720px;
    margin: 16px 0 0;
    color: rgba(247, 245, 240, 0.62);
    font-size: 15px;
    line-height: 1.65;
}

.how-hero .how-button {
    margin-top: 36px;
}

/* SHARED */

.how-section {
    padding: 104px 0;
}

.how-section__heading {
    max-width: 720px;
    margin-bottom: 54px;
}

.how-section__heading h2,
.how-about__intro h2,
.how-seller__content h2 {
    margin: 0;
    color: #151515;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.025em;
}

/* STEPS */

.how-steps {
    background: #F7F5F0;
}

.how-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.how-step {
    min-height: 330px;
    padding: 34px 30px 32px;
    background: #FBFAF7;
    border: 1px solid #E5E0D6;
}

.how-step__number {
    margin-bottom: 72px;
    color: #C99A3D;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.how-step h3 {
    margin: 0 0 16px;
    color: #151515;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 1.1;
}

.how-step p {
    margin: 0;
    color: #686761;
    font-size: 15px;
    line-height: 1.7;
}

/* ABOUT */

.how-about {
    background: #FBFAF7;
    border-top: 1px solid #E5E0D6;
    border-bottom: 1px solid #E5E0D6;
}

.how-about__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 110px;
    align-items: start;
}

.how-about__intro {
    position: sticky;
    top: 120px;
}

.how-about__content {
    max-width: 640px;
}

.how-about__content p {
    margin: 0;
    color: #686761;
    font-size: 17px;
    line-height: 1.78;
}

.how-about__content p + p {
    margin-top: 24px;
}

.how-about__content strong {
    color: #151515;
    font-weight: 700;
}

.how-about__claim {
    margin-top: 50px;
    padding-top: 34px;
    color: #151515;
    border-top: 1px solid rgba(201, 154, 61, 0.55);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.18;
}

/* SELLER CTA */

.how-seller {
    padding: 88px 0;
    color: #F7F5F0;
    background: #151614;
}

.how-seller__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.how-seller__content {
    max-width: 700px;
}

.how-seller__content h2 {
    color: #F7F5F0;
}

.how-seller__content p {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(247, 245, 240, 0.68);
    font-size: 16px;
    line-height: 1.7;
}

.how-seller__action {
    flex-shrink: 0;
}

/* TABLET */

@media (max-width: 1000px) {
    .how-hero {
        padding: 96px 0 102px;
    }

    .how-steps__grid {
        gap: 18px;
    }

    .how-step {
        min-height: 310px;
        padding: 30px 24px;
    }

    .how-step__number {
        margin-bottom: 56px;
    }

    .how-about__layout {
        gap: 64px;
    }
}

/* MOBILE */

@media (max-width: 760px) {
    .how-hero {
        padding: 72px 0 76px;
    }

    .how-hero__inner {
        max-width: none;
    }

    .how-hero__title {
        font-size: clamp(42px, 12vw, 58px);
        line-height: 1;
        letter-spacing: -0.03em;
    }

    .how-hero__intro {
        margin-top: 28px;
        font-size: 17px;
        line-height: 1.6;
    }

    .how-hero__note {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.6;
    }

    .how-hero .how-button {
        width: 100%;
        margin-top: 30px;
    }

    .how-section {
        padding: 68px 0;
    }

    .how-section__heading {
        margin-bottom: 32px;
    }

    .how-section__heading h2,
    .how-about__intro h2,
    .how-seller__content h2 {
        font-size: 38px;
        line-height: 1.08;
    }

    .how-steps__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .how-step {
        min-height: 0;
        padding: 28px 24px;
    }

    .how-step__number {
        margin-bottom: 34px;
    }

    .how-step h3 {
        font-size: 28px;
    }

    .how-about__layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .how-about__intro {
        position: static;
    }

    .how-about__content {
        max-width: none;
    }

    .how-about__content p {
        font-size: 16px;
        line-height: 1.72;
    }

    .how-about__claim {
        margin-top: 38px;
        padding-top: 28px;
        font-size: 31px;
    }

    .how-seller {
        padding: 62px 0;
    }

    .how-seller__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }

    .how-seller__action {
        width: 100%;
    }

    .how-seller__action .how-button {
        width: 100%;
    }
}

/* SMALL MOBILE */

@media (max-width: 420px) {
    .how-hero {
        padding: 62px 0 68px;
    }

    .how-hero__title {
        font-size: 39px;
    }

    .how-section__heading h2,
    .how-about__intro h2,
    .how-seller__content h2 {
        font-size: 34px;
    }

    .how-step {
        padding: 26px 20px;
    }

    .how-about__claim {
        font-size: 29px;
    }
}