@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Variable.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

/*
Theme Name: МЯГКО
Theme URI: https://мягко56.рф/
Author: МЯГКО
Description: Тема сайта химчистки мягкой мебели.
Version: 1.0.0
Text Domain: chistka-theme
*/

:root {
    --green: #22C55E;
    --green-dark: #16A34A;
    --graphite: #1F2937;
    --gray: #687280;
    --background: #f0fff0;
    --white: #FFF;
    --mint: #A7F3D0;
    --mint-light: #E8F7EF;
    --beige: #F5EFE6;
    --border: #E6EBE7;
    --container: 1180px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --shadow: 0 15px 50px rgba(31, 41, 55, .07)
}


@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Variable.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--graphite);
    background: var(--background);
    font-size: 16px;
    line-height: 1.5
}

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

button {
    font: inherit
}

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

h1,
h2,
h3 {
    letter-spacing: -.035em
}

h1 {
    font-size: clamp(42px, 5vw, 62px);
    line-height: .98;
    font-weight: 800
}

h2 {
    font-size: clamp(32px, 4vw, 42px);
    line-height: 1.05;
    font-weight: 800
}

h3 {
    font-size: 20px;
    line-height: 1.15;
    font-weight: 700
}

.eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 15px;
    background: linear-gradient(to bottom, #16A34A, #008080);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transition: transform .2s, background .2s, box-shadow .2s
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, .2);
}

.button b {
    margin-left: 6px;
    font-size: 18px
}

.button--small {
    min-height: 46px;
    padding: 0 20px
}

.button--large {
    min-height: 58px;
    padding: 0 24px;
    font-size: 16px
}

.header {
    position: relative;
    z-index: 20;
    background: #afffc3;
    border-radius: 15px;
    border-bottom: 1px solid rgba(230, 235, 231, .8);
    backdrop-filter: blur(15px)
}

.header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0
}
.logo img {
    width: 180px;
    height: auto;
    display: block;
}

.logo__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--green);
    color: #fff;
    font-size: 21px;
    font-weight: 800
}

.logo__text {
    display: flex;
    flex-direction: column
}

.logo__text strong {
    font-size: 21px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.04em
}

.logo__text small {
    margin-top: 3px;
    color: var(--gray);
    font-size: 8px;
    line-height: 1;
    font-weight: 600
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto
}

.nav a {
    color: var(--graphite);
    font-size: 13px;
    font-weight: 600;
    transition: color .2s
}

.nav a:hover {
    color: var(--green-dark)
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px
}
.header__phone {
    display: none;
    color: var(--graphite);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--graphite)
}

.hero {
    overflow: hidden
}

.hero__grid {
    min-height: 630px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px
}

.hero__content {
    padding: 70px 0
}
.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.badge {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--mint-light);
    color: #28744a;
    font-size: 12px;
    font-weight: 700
}

.badge__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green)
}

.hero h1 span {
    color: var(--green-dark)
}

.hero__description {
    max-width: 520px;
    margin: 25px 0 30px;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.55
}

.hero__features {
    display: flex;
    gap: 25px;
    margin-top: 28px
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25
}

.feature__icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mint-light);
    color: var(--green-dark);
    font-size: 20px
}

.hero__visual {
    position: relative;
    height: 550px
}

.hero__image {
    position: absolute;
    inset: 30px 0 0;
    overflow: hidden;
    border-radius: 35px
}

.image-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e5eee8, #eee8dc);
    color: #87958d
}

.image-placeholder span {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .08em
}

.image-placeholder small {
    margin-top: 5px;
    font-size: 11px
}

.hero__note {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 25px;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0fff0;
    box-shadow: var(--shadow);
    text-align: center
}

.hero__note strong {
    font-size: 15px;
    line-height: 1.15
}

.hero__note span {
    margin-top: 5px;
    color: var(--gray);
    font-size: 10px
}

.hero__scribble {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: -20px;
    color: var(--graphite);
    font-family: cursive;
    font-size: 22px;
    line-height: 1.1;
    transform: rotate(-5deg)
}

.hero__scribble span {
    display: block;
    margin-left: 80px
}

.section {
    padding: 100px 0
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px
}

.text-link {
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 700
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.service-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #f0fff0;
    transition: transform .25s, box-shadow .25s
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow)
}

.service-card__image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.service-card__body {
    padding: 18px 18px 22px
}

.service-card__body p {
    margin-top: 8px;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.45
}

.works {
    padding-top: 50px
}

.works__box {
    position: relative;
    padding: 55px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #edf7f1
}

.works__head p {
    margin-top: 8px;
    color: var(--gray)
}

.before-after {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 450px;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 22px
}
.before-after__side img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: translateY(-120px);
}

.before-after__side {
    position: relative;
    overflow: hidden
}

.before-after .image-placeholder {
    border-radius: 0
}

.before-after__side--before .image-placeholder {
    background: linear-gradient(135deg, #b8aaa0, #d0c4b9)
}

.before-after__side--after .image-placeholder {
    background: linear-gradient(135deg, #e5eee8, #eee8dc)
}

.before-after__side strong {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    font-size: 13px
}

.before-after__side--after strong {
    left: auto;
    right: 15px;
    background: var(--mint)
}

.before-after__divider {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: #fff
}

.before-after__divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .12);
    font-size: 20px
}

.works__note {
    position: absolute;
    right: 55px;
    top: 55px;
    font-family: cursive;
    font-size: 18px;
    transform: rotate(-3deg)
}

/* =========================================
   BUSINESS / ДЛЯ КОМПАНИЙ
   ========================================= */

.business {
    padding: 110px 0;
}


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

.business__top {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: center;
}


/* =========================================
   CONTENT
   ========================================= */

.business__content {
    max-width: 500px;
}

.business__label {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 22px;

    border-radius: 100px;

    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    background: var(--accent-light, #eef5f1);
    color: var(--accent, #2f6b57);
}


.business__title {
    margin: 0 0 24px;

    font-family: "Manrope", sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
}


.business__text {
    max-width: 460px;

    margin: 0 0 32px;

    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
}


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

.business__button {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 17px 22px;

    border-radius: 12px;

    background: var(--accent, #2f6b57);
    color: #fff;

    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.business__button span {
    font-size: 21px;
    line-height: 1;
}


.business__button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


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

.business__visual {
    position: relative;

    height: 500px;

    overflow: hidden;

    border-radius: 28px;

    background: #eee;
}


.business__visual img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================
   BADGE
   ========================================= */

.business__badge {
    position: absolute;

    left: 24px;
    bottom: 24px;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 14px 18px;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(10px);
}


.business__badge-icon {
    width: 38px;
    height: 38px;

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

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--accent, #2f6b57);
    color: #fff;

    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 700;
}


.business__badge strong {
    display: block;

    margin-bottom: 3px;

    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}


.business__badge span {
    display: block;

    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;

    opacity: 0.65;
}


/* =========================================
   BOTTOM FEATURES
   ========================================= */

.business__bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 55px;

    border-top: 1px solid rgba(0, 0, 0, 0.09);
}


.business__feature {
    display: flex;
    gap: 18px;

    padding: 30px 30px 0 0;
}


.business__feature:not(:first-child) {
    padding-left: 30px;
    border-left: 1px solid rgba(0, 0, 0, 0.09);
}


.business__feature-number {
    flex: 0 0 auto;

    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 700;

    opacity: 0.45;
}


.business__feature h3 {
    margin: 0 0 7px;

    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}


.business__feature p {
    max-width: 280px;

    margin: 0;

    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;

    opacity: 0.7;
}


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

@media (max-width: 1000px) {

    .business {
        padding: 80px 0;
    }

    .business__top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .business__title {
        font-size: 40px;
    }

    .business__visual {
        height: 430px;
    }

}


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

@media (max-width: 760px) {

    .business {
        padding: 65px 0;
    }

    .business__top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .business__content {
        max-width: 100%;
    }

    .business__title {
        font-size: 34px;
    }

    .business__text {
        font-size: 16px;
    }

    .business__visual {
        width: 100%;
        height: 380px;
        overflow: hidden;
        border-radius: 22px;
    }

    .business__visual img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .business__bottom {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .business__feature,
    .business__feature:not(:first-child) {
        padding: 22px 0;
        border-left: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.09);
    }

    .business__feature:last-child {
        border-bottom: 0;
    }
}


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

@media (max-width: 480px) {

    .business {
        padding: 55px 0;
    }

    .business__title {
        font-size: 30px;
    }

    .business__visual {
        width: 100%;
        height: 320px;
        border-radius: 18px;
    }

    .business__badge {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 12px 14px;
    }

    .business__badge-icon {
        width: 34px;
        height: 34px;
    }

    .business__button {
        width: 100%;
    }
}

.benefits {
    background: #f0fff0
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px
}

.benefit__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--mint-light);
    color: var(--green-dark);
    font-size: 22px
}
.benefit__icon svg {
    width: 24px;
    height: 24px;
    fill:none;
    stroke: currentColor;
    stroke-width: 2;
}

.benefit h3 {
    max-width: 210px
}

.benefit p {
    max-width: 240px;
    margin-top: 10px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5
}

.process__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 20px
}

.process-step__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px
}

.step-number {
    color: var(--gray);
    font-size: 14px;
    font-weight: 800
}

.step-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mint-light);
    font-size: 18px
}

.process-step p {
    margin-top: 10px;
    color: var(--gray);
    font-size: 13px;
    line-height: 1.5
}

.process-arrow {
    color: #9aa6a0;
    font-size: 22px
}

.telegram__box {
    position: relative;
    min-height: 430px;
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: center;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--beige)
}

.telegram__content {
    padding: 60px
}

.telegram__content h2 {
    max-width: 520px
}

.telegram__content>p {
    max-width: 480px;
    margin-top: 20px;
    color: var(--gray)
}

.telegram__small {
    font-size: 13px
}

.telegram__content .button {
    margin-top: 28px
}

.telegram__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.telegram__visual img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 560px;
    height: auto;
    object-fit: contain;
    transform: translate(-80px, 20px) scale(1.10) rotate(-5deg);
}

.phone {
    width: 230px;
    height: 400px;
    margin-bottom: -60px;
    overflow: hidden;
    border: 7px solid #20262b;
    border-bottom: 0;
    border-radius: 30px 30px 0 0;
    background: #f5f7f6;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15)
}

.phone__top {
    width: 80px;
    height: 17px;
    margin: 0 auto 20px;
    border-radius: 0 0 12px 12px;
    background: #20262b
}

.chat {
    padding: 10px
}

.chat__message {
    width: 85%;
    margin-bottom: 10px;
    padding: 11px;
    border-radius: 14px;
    background: #fff;
    color: var(--graphite);
    font-size: 10px;
    line-height: 1.4
}

.chat__message--answer {
    margin-left: auto;
    background: var(--mint-light)
}

.faq {
    background: #f0fff0
}

.faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px
}



details {
    border-bottom: 1px solid var(--border)
}

summary {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    font-weight: 700
}

summary::-webkit-details-marker {
    display: none
}

summary span {
    position: relative;
    top: -6px;
    color: var(--green-dark);
    font-size: 20px;
}

details p {
    max-width: 600px;
    padding: 0 30px 20px 0;
    color: var(--gray);
    font-size: 14px
}

.footer {
    padding: 35px 0;
    border-top: 1px solid var(--border);
    background: var(--background)
}
.footer__logo img {
    display: block;
    width: 140px;
    height: auto;
}

.footer__inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    align-items: center;
    gap: 25px;
}

.footer__info {
    color: var(--gray);
    font-size: 12px
}

.footer__phone {
    color: var(--graphite);
    font-size: 13px;
    font-weight: 700;
    text-align: right
}

.footer__phone span {
    color: var(--gray);
    font-size: 10px;
    font-weight: 500
}

.footer__legal {
    grid-column: auto;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin: 0;
    padding: 0;

    color: #8a949c;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
}

.footer__legal a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__legal a:hover {
    color: var(--green-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer__legal span {
    color: #c4cbc7;
}

@media(max-width:1050px) {
    .nav {
        gap: 15px
    }

    .header .button {
        display: none
    }

    .hero__grid {
        gap: 30px
    }

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

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px
    }

    .process__grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px 30px
    }

    .process-arrow {
        display: none
    }

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

    .footer__phone {
        text-align: left
    }
}

@media(max-width:760px) {
    .container {
        width: min(var(--container), calc(100% - 32px))
    }

    .section {
        padding: 70px 0
    }

    .header__inner {
        min-height: 68px
    }

    .nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 68px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 20px 16px;
        background: #f0fff0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow)
    }

    .nav--open {
        display: flex
    }

    .nav a {
        padding: 12px
    }

    .burger {
        display: flex
    }
    
    .header__phone {
    display: block;
    margin-left: auto;
    margin-right: 4px;
    font-size: 13px;
}

    .hero__grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 20px
    }

    .hero__content {
        padding: 55px 0 20px
    }

    h1 {
        font-size: 42px
    }

    .hero__description {
        font-size: 16px
    }

    .hero__features {
        gap: 15px;
        flex-wrap: wrap
    }

    .hero__visual {
        height: 360px
    }

    .hero__image {
        inset: 0
    }

    .hero__scribble {
        left: 10px;
        top: -15px;
        font-size: 17px
    }

    .hero__note {
        width: 90px;
        height: 90px;
        right: 10px;
        bottom: 20px
    }

    .hero__note strong {
        font-size: 12px
    }

    .section__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px
    }

    .services__grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .service-card__image {
        height: 150px
    }

    .service-card__body {
        padding: 14px
    }

    .service-card__body h3 {
        font-size: 17px
    }

    .service-card__body p {
        font-size: 12px
    }

    .works__box {
        padding: 30px 20px
    }
    

    .works__note {
        display: none
    }

    .before-after {
        height: 260px;
    }

    .before-after__side img {
        transform: none;
        position: static;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    .benefits__grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px
    }

    .benefit h3 {
        font-size: 17px
    }

    .benefit p {
        font-size: 13px
    }

    .process__grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .process-step {
        display: grid;
        grid-template-columns: 60px 1fr;
        column-gap: 20px
    }

    .process-step__top {
        grid-row: span 2;
        flex-direction: column;
        justify-content: flex-start;
        gap: 10px
    }

    .process-step p {
        margin-top: 7px
    }

    .telegram__box {
        grid-template-columns: 1fr
    }

    .telegram__content {
        padding: 40px 25px
    }

    .telegram__visual {
        min-height: 330px
    }

    .phone {
        height: 310px;
        margin-bottom: -60px
    }

    .faq__grid {
        grid-template-columns: 1fr
    }

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

    .footer__phone {
        text-align: left
    }
    
        .footer__legal {
    grid-column: auto;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;

    margin: 0;
    padding: 0;

    color: #8a949c;
    font-size: 10px;
    line-height: 1.4;
    text-align: left;
}

.footer__legal a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__legal a:hover {
    color: var(--green-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer__legal span {
    display: none;
}
}

@media(max-width:420px) {
    .hero__content .button {
        width: 100%
    }
    
    .header__phone {
    font-size: 12px;
}

    .hero__features {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .services__grid {
        grid-template-columns: 1fr
    }

    .service-card__image {
        height: 190px
        
    }

    .benefits__grid {
        grid-template-columns: 1fr
    }

    .benefit {
        display: grid;
        grid-template-columns: 58px 1fr;
        column-gap: 15px
    }

    .benefit__icon {
        grid-row: span 2;
        margin-bottom: 0
    }

    .benefit p {
        margin-top: 5px
    }

    .telegram__content .button {
        width: 100%
    }
}
/* =========================
   PAGE: PRICES
   ========================= */

.prices-hero {
    padding: 90px 0 70px;
}

.prices-hero h1 {
    max-width: 750px;
}

.prices-hero h1 span {
    color: var(--green-dark);
}

.prices-hero p {
    max-width: 560px;
    margin-top: 25px;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.55;
}

.prices {
    padding-top: 40px;
}

.prices__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.price-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #f0fff0;
    transition: transform .25s, box-shadow .25s;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.price-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.price-card h3 {
    font-size: 22px;
}

.price-card__price {
    flex-shrink: 0;
    color: var(--green-dark);
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
}

.price-card p {
    max-width: 500px;
    margin-top: 12px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
}

.prices__note {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 22px 25px;
    border-radius: var(--radius-md);
    background: var(--mint-light);
}

.prices__note strong {
    flex-shrink: 0;
    font-size: 15px;
}

.prices__note span {
    color: var(--gray);
    font-size: 13px;
}

.prices-cta {
    padding-top: 40px;
}

.prices-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 55px;
    border-radius: var(--radius-lg);
    background: var(--beige);
}

.prices-cta__box h2 {
    max-width: 600px;
}

.prices-cta__box p {
    max-width: 560px;
    margin-top: 15px;
    color: var(--gray);
}

.prices-cta__box .button {
    flex-shrink: 0;
}


/* Адаптив */

@media(max-width:760px) {

    .prices-hero {
        padding: 60px 0 45px;
    }

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

    .prices__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .price-card {
        padding: 22px;
    }

    .price-card h3 {
        font-size: 19px;
    }

    .price-card__price {
        font-size: 24px;
    }

    .prices__note {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .prices-cta__box {
        align-items: flex-start;
        flex-direction: column;
        padding: 35px 25px;
    }

    .prices-cta__box .button {
    width: auto;
    align-self: stretch;
}
}

/* Согласие на обработку персональных данных */
.form-consent {
    margin: 6px 0 4px;
}

.form-consent__label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;

    color: #7a858e;
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.45;
}

.form-consent__label input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.form-consent__check {
    position: relative;

    flex: 0 0 18px;
    width: 18px;
    height: 18px;

    margin-top: 0;

    border: 1px solid #cbd5d0;
    border-radius: 5px;

    background: #fff;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-consent__check::after {
    content: "";

    position: absolute;
    left: 5px;
    top: 2px;

    width: 5px;
    height: 9px;

    border: solid #fff;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
}

.form-consent__label input:checked + .form-consent__check {
    background: #20c866;
    border-color: #20c866;
}

.form-consent__label input:checked + .form-consent__check::after {
    transform: rotate(45deg) scale(1);
}

.form-consent__label:hover .form-consent__check {
    border-color: #20c866;
}

.form-consent__label input:focus-visible + .form-consent__check {
    outline: 2px solid rgba(32, 200, 102, 0.25);
    outline-offset: 2px;
}

.form-consent__text {
    flex: 1;
}

.form-consent__text a {
    color: #687582;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.form-consent__text a:hover {
    color: #20c866;
}

/* Согласие — мобильная версия */
@media (max-width: 600px) {

    .form-consent {
        margin: 4px 0 2px;
    }

    .form-consent__label {
        gap: 8px;
        font-size: 10px;
        line-height: 1.4;
    }

    .form-consent__check {
        flex: 0 0 17px;
        width: 17px;
        height: 17px;
        border-radius: 5px;
    }

    .form-consent__check::after {
        left: 5px;
        top: 2px;
        width: 4px;
        height: 8px;
    }
}

/* =========================
   Модальное окно заявки
   ========================= */

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;

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

    padding: 20px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal__overlay {
    position: absolute;
    inset: 0;

    background: rgba(20, 28, 35, 0.55);
    backdrop-filter: blur(6px);
}

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

    width: 100%;
    max-width: 650px;
    box-sizing: border-box;
    
    background: #fff;
    border-radius: 28px;

    padding: 24px 28px;
    padding-bottom: 0;

    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);

    transform: translateY(20px) scale(0.97);
    transition: transform 0.25s ease;
}

.modal.active .modal__window {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 18px;
    right: 20px;

    width: 40px;
    height: 40px;

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

    border: 0;
    border-radius: 50%;

    background: #f2f4f3;
    color: #202a33;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition: background 0.2s ease;
}

.modal__close:hover {
    background: #e6eae8;
}

.modal__content h2 {
    margin: 12px 0 10px;
}

.modal__text {
    margin-bottom: 28px;
    color: #687582;
}

/* Поля */

.application-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.form-field input[type="text"],
.form-field input[type="tel"] {
    width: 100%;
    height: 50px;

    padding: 0 16px;
    box-sizing: border-box;

    border: 1px solid #dce2df;
    border-radius: 12px;

    background: #f8faf9;

    font-family: "Manrope", sans-serif;
    font-size: 15px;

    outline: none;

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

.form-field input[type="text"]:focus,
.form-field input[type="tel"]:focus {
    border-color: #20c866;
    background: #fff;
}

/* Загрузка фото */

.photo-upload {
    min-height: 76px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px 16px;

    border: 1px dashed #cbd5d0;
    border-radius: 12px;

    background: #f8faf9;

    cursor: pointer;

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

.photo-upload:hover {
    border-color: #20c866;
    background: #f3faf6;
}

.photo-upload__icon {
    width: 44px;
    height: 44px;

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

    border-radius: 10px;
    background: #e9f8ef;

    font-size: 20px;
}

.photo-upload__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.photo-upload b {
    font-size: 14px;
}

.photo-upload small {
    color: #7a858e;
    font-size: 12px;
}

#userPhoto {
    display: none;
}

.modal__submit {
    width: 100%;
    margin-top: 4px;
    border: 0;
    cursor: pointer;
}

.form-policy {
    margin: 0;

    color: #8a949c;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

/* Мобильная версия */

@media (max-width: 600px) {

    .modal {
        padding: 12px;
    }

    .modal__window {
        max-height: 92vh;
        padding: 32px 22px 24px;
        border-radius: 22px;
    }

    .modal__close {
        top: 12px;
        right: 12px;
    }

}
.photo-upload {
    position: relative;
    overflow: hidden;
}

.photo-upload__preview {
    display: none;

    width: 52px;
    height: 52px;

    object-fit: cover;

    border-radius: 10px;

    margin-left: auto;
}

.photo-upload.has-photo .photo-upload__preview {
    display: block;
}

.photo-upload.has-photo .photo-upload__icon {
    display: none;
}

.photo-upload.has-photo .photo-upload__text b {
    font-size: 13px;
}

.photo-upload.has-photo .photo-upload__text small {
    font-size: 11px;
}

.photo-upload.has-photo {
    border-style: solid;
    border-color: #20c866;
}

/* =========================================================
   COOKIE BANNER — МЯГКО
   ========================================================= */

.cookie-banner {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9998;

    width: min(460px, calc(100vw - 48px));
    padding: 22px 24px;

    background: #f7f5f1;
    border: 1px solid rgba(34, 34, 34, 0.08);
    border-radius: 18px;

    box-shadow: 0 14px 45px rgba(34, 34, 34, 0.16);

    font-family: 'Manrope', sans-serif;

    animation: cookieBannerShow 0.3s ease-out;
}

.cookie-banner[hidden],
.cookie-settings[hidden] {
    display: none;
}

.cookie-banner__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cookie-banner__text {
    margin: 0;

    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;

    color: #333333;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.cookie-banner__button {
    min-height: 42px;
    padding: 0 18px;

    border: 0;
    border-radius: 10px;

    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        opacity 0.2s ease;
}

.cookie-banner__button:hover {
    transform: translateY(-1px);
}

.cookie-banner__button:active {
    transform: translateY(0);
}


/* Принять */

.cookie-banner__button--accept {
    background: #222222;
    color: #ffffff;
}

.cookie-banner__button--accept:hover {
    background: #333333;
}


/* Отклонить */

.cookie-banner__button--reject {
    background: #f2f2f2;
    color: #222222;
}

.cookie-banner__button--reject:hover {
    background: #e8e8e8;
}


/* Настроить */

.cookie-banner__settings {
    min-height: 42px;
    padding: 0 6px;

    border: 0;
    background: transparent;

    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;

    color: #666666;

    cursor: pointer;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    transition: color 0.2s ease;
}

.cookie-banner__settings:hover {
    color: #222222;
}


/* =========================================================
   COOKIE SETTINGS MODAL
   ========================================================= */

.cookie-settings {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    padding: 20px;

    font-family: 'Manrope', sans-serif;
}

.cookie-settings__overlay {
    position: absolute;
    inset: 0;

    background: rgba(20, 20, 20, 0.38);

    backdrop-filter: blur(3px);
}

.cookie-settings__modal {
    position: relative;
    z-index: 1;

    width: min(500px, 100%);
    padding: 30px;

    background: #ffffff;
    border: 1px solid rgba(31, 31, 31, 0.06);
    border-radius: 20px;

    box-shadow: 0 20px 60px rgba(31, 31, 31, 0.18);

    font-family: 'Manrope', sans-serif;
}

.cookie-settings__close {
    position: absolute;
    top: 15px;
    right: 17px;

    width: 36px;
    height: 36px;

    padding: 0;

    border: 0;
    background: transparent;

    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: 300;
    line-height: 36px;

    color: #666666;

    cursor: pointer;

    transition: color 0.2s ease;
}

.cookie-settings__close:hover {
    color: #222222;
}

.cookie-settings__title {
    margin: 0 40px 10px 0;

    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;

    color: #222222;
}

.cookie-settings__description {
    margin: 0 0 22px;

    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;

    color: #666666;
}

.cookie-settings__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 17px 0;

    border-top: 1px solid #eeeeee;
}

.cookie-settings__option strong {
    display: block;

    margin-bottom: 4px;

    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;

    color: #222222;
}

.cookie-settings__option span {
    display: block;

    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;

    color: #777777;
}

.cookie-settings__always {
    flex-shrink: 0;

    font-family: 'Manrope', sans-serif;
    font-size: 12px !important;
    font-weight: 500 !important;

    color: #888888 !important;
}


/* =========================================================
   COOKIE TOGGLE
   ========================================================= */

.cookie-toggle {
    position: relative;

    display: block;

    width: 48px;
    height: 28px;

    flex-shrink: 0;

    cursor: pointer;
}

.cookie-toggle input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.cookie-toggle__slider {
    position: absolute;
    inset: 0;

    background: #dddddd;
    border-radius: 20px;

    transition: background-color 0.2s ease;
}

.cookie-toggle__slider::before {
    content: "";

    position: absolute;
    left: 3px;
    top: 3px;

    width: 22px;
    height: 22px;

    background: #ffffff;
    border-radius: 50%;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);

    transition: transform 0.2s ease;
}

.cookie-toggle input:checked + .cookie-toggle__slider {
    background: #222222;
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
    transform: translateX(20px);
}


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

.cookie-settings__save {
    width: 100%;
    min-height: 46px;

    margin-top: 22px;
    padding: 0 20px;

    border: 0;
    border-radius: 10px;

    background: #222222;
    color: #ffffff;

    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

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

.cookie-settings__save:hover {
    background: #333333;
    transform: translateY(-1px);
}

.cookie-settings__save:active {
    transform: translateY(0);
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes cookieBannerShow {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   PRIVACY POLICY
   ========================================================= */

.legal-page {
    padding: 80px 0;
}

.legal-page__content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-page__content h1 {
    margin: 0 0 40px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
}

.legal-page__content h2 {
    margin: 40px 0 16px;
    font-size: 24px;
    line-height: 1.25;
}

.legal-page__content p {
    margin: 0 0 16px;
    line-height: 1.7;
}

.legal-page__content ul {
    margin: 0 0 20px;
    padding-left: 24px;
}

.legal-page__content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-page__content a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-page__content a:hover {
    text-decoration-thickness: 2px;
}


/* =========================================================
   PRIVACY POLICY — MOBILE
   ========================================================= */

@media screen and (max-width: 767px) {

    .legal-page {
        padding: 40px 16px;
    }

    .legal-page__content {
        max-width: 100%;
        width: 100%;
    }

    .legal-page__content h1 {
        margin-bottom: 28px;
        font-size: 24px;
        line-height: 1.15;
    }

    .legal-page__content h2 {
        margin-top: 30px;
        margin-bottom: 14px;
        font-size: 24px;
        line-height: 1.25;
    }

    .legal-page__content p,
    .legal-page__content li {
        font-size: 15px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

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

@media (max-width: 600px) {

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;

        width: auto;

        padding: 18px;
        border-radius: 16px;
    }

    .cookie-banner__content {
        gap: 15px;
    }

    .cookie-banner__text {
        font-size: 13px;
        line-height: 1.5;
    }

    .cookie-banner__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cookie-banner__button {
        width: 100%;
        min-height: 44px;
        padding: 0 10px;
    }

    .cookie-banner__settings {
        grid-column: 1 / -1;

        min-height: 34px;
    }

    .cookie-settings {
        padding: 12px;
    }

    .cookie-settings__modal {
        max-height: calc(100vh - 24px);
        overflow-y: auto;

        padding: 25px 20px;
        border-radius: 18px;
    }

    .cookie-settings__title {
        font-size: 22px;
    }

    .cookie-settings__description {
        font-size: 13px;
    }

    
}

