/*
Theme Name: Чистка мебели
Theme URI:
Author: Custom
Description: Перенос готового лендинга химчистки мебели в WordPress.
Version: 1.0
*/

:root {
    --green: #22C55E;
    --green-dark: #16A34A;
    --graphite: #1F2937;
    --gray: #687280;
    --background: #F8FAF8;
    --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)
}

* {
    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: var(--green);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transition: transform .2s, background .2s, box-shadow .2s
}

.button:hover {
    background: var(--green-dark);
    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: rgba(248, 250, 248, .9);
    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
}

.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: 11px;
    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: 14px
}

.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: -20px;
    bottom: 55px;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    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: var(--white);
    transition: transform .25s, box-shadow .25s
}

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

.service-card__image {
    height: 210px
}

.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: 390px;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 22px
}

.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)
}

.benefits {
    background: var(--white)
}

.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 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 {
    height: 100%;
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: #e7efe9
}

.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: var(--white)
}

.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 {
    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__inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 35px
}

.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
}

.before-after__side .image-placeholder {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
}

.before-after__side .image-placeholder img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

@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: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow)
    }

    .nav--open {
        display: flex
    }

    .nav a {
        padding: 12px
    }

    .burger {
        display: flex
    }

    .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
    }

    .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
    }
}

@media(max-width:420px) {
    .hero__content .button {
        width: 100%
    }

    .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%
    }
    
}
