/*
Theme Name: Moscow Lash Modern
Theme URI: https://moscow-lash.ru/
Author: Moscow Lash
Description: Современная адаптивная тема для сайта частного мастера по наращиванию ресниц с выездом по Москве.
Version: 1.0.0
Text Domain: moscow-lash-modern
*/

:root {
    --ink: #2d2326;
    --ink-soft: #514348;
    --muted: #786b6f;
    --paper: #fffaf7;
    --cream: #f7f0eb;
    --cream-deep: #eee1da;
    --rose: #b9757f;
    --rose-dark: #8d5660;
    --rose-pale: #ead3d5;
    --gold: #b99a72;
    --line: #e8dad4;
    --white: #ffffff;
    --shadow-sm: 0 12px 36px rgba(61, 39, 44, 0.08);
    --shadow-lg: 0 28px 70px rgba(61, 39, 44, 0.14);
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 40px;
    --container: 1180px;
}

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

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

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.65em;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.85rem, 6vw, 5.8rem);
}

h2 {
    font-size: clamp(2.25rem, 4.5vw, 4.25rem);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

p {
    margin: 0 0 1.2em;
}

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

.narrow {
    width: min(calc(100% - 40px), 840px);
    margin-inline: auto;
}

.screen-reader-text,
.skip-link:not(:focus) {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.topline {
    background: var(--ink);
    color: #f9eeee;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.topline__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.topline__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--rose-pale);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 250, 247, 0.92);
    border-bottom: 1px solid rgba(232, 218, 212, 0.8);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
}

.brand__mark {
    width: 45px;
    height: 36px;
    color: var(--rose-dark);
}

.brand__mark svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
}

.brand__text {
    display: grid;
    line-height: 1.05;
}

.brand__text strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.brand__text small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.2vw, 32px);
    margin-inline: auto;
    font-size: 14px;
    font-weight: 600;
}

.site-nav a {
    position: relative;
    padding-block: 28px;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 22px;
    height: 1px;
    background: var(--rose-dark);
    transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    right: 0;
}

.header-phone {
    display: grid;
    text-align: right;
    line-height: 1.2;
}

.header-phone span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-phone strong {
    margin-top: 3px;
    font-size: 15px;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.menu-toggle > span:not(.screen-reader-text) {
    display: block;
    height: 1px;
    margin: 5px 0;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
    color: var(--white);
    background: var(--rose-dark);
    box-shadow: 0 14px 28px rgba(141, 86, 96, 0.22);
}

.button--primary:hover {
    background: #7c4852;
    box-shadow: 0 18px 34px rgba(141, 86, 96, 0.28);
}

.button--secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.55);
    border-color: var(--line);
}

.button--small {
    min-height: 46px;
    padding: 10px 19px;
}

.section {
    padding-block: clamp(76px, 9vw, 130px);
}

.section--cream {
    background: var(--cream);
}

.section--ink {
    color: var(--white);
    background: var(--ink);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--rose-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.section--ink .eyebrow {
    color: var(--rose-pale);
}

.section-heading {
    max-width: 820px;
    margin-bottom: 44px;
}

.section-heading--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: end;
    gap: 56px;
}

.section-heading p {
    color: var(--muted);
    font-size: 18px;
}

.section--ink .section-heading p {
    color: rgba(255, 255, 255, 0.66);
}

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(48px, 6vw, 84px);
    background:
        radial-gradient(circle at 10% 10%, rgba(234, 211, 213, 0.65), transparent 34%),
        linear-gradient(135deg, var(--paper), #f4e8e3);
}

.hero::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    top: -210px;
    left: 43%;
    border: 1px solid rgba(185, 117, 127, 0.2);
    border-radius: 50%;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
    align-items: center;
    gap: clamp(36px, 6vw, 84px);
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    max-width: 720px;
}

.hero h1 em {
    color: var(--rose-dark);
    font-style: italic;
    font-weight: 400;
}

.hero__lead {
    max-width: 610px;
    color: var(--ink-soft);
    font-size: clamp(18px, 2vw, 22px);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
}

.hero__proof li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero__proof li::before {
    content: "✓";
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: var(--rose-dark);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.hero__visual {
    position: relative;
    min-height: 610px;
}

.hero__visual::before {
    content: "";
    position: absolute;
    inset: 24px -20px -20px 24px;
    border: 1px solid rgba(141, 86, 96, 0.28);
    border-radius: 38px 38px 120px 38px;
}

.hero__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    border-radius: 38px 38px 120px 38px;
    box-shadow: var(--shadow-lg);
}

.hero__card {
    position: absolute;
    z-index: 2;
    right: -18px;
    bottom: 34px;
    max-width: 230px;
    padding: 18px 20px;
    background: rgba(255, 250, 247, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.hero__card strong {
    display: block;
    margin-bottom: 3px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
}

.hero__card span {
    color: var(--muted);
    font-size: 13px;
}

.benefits {
    padding-block: 34px;
    background: var(--white);
    border-block: 1px solid var(--line);
}

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

.benefit {
    padding: 10px 30px;
    border-right: 1px solid var(--line);
}

.benefit:first-child {
    padding-left: 0;
}

.benefit:last-child {
    padding-right: 0;
    border-right: 0;
}

.benefit strong {
    display: block;
    margin-bottom: 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 500;
}

.benefit span {
    color: var(--muted);
    font-size: 13px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--rose-pale);
    box-shadow: var(--shadow-sm);
}

.service-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: -40px;
    top: -40px;
    border: 1px solid var(--rose-pale);
    border-radius: 50%;
}

.service-card__number {
    margin-bottom: auto;
    color: var(--rose-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-style: italic;
}

.service-card h3 {
    max-width: 260px;
}

.service-card p {
    color: var(--muted);
    font-size: 15px;
}

.service-card__price {
    margin-top: 12px;
    color: var(--rose-dark);
    font-size: 18px;
    font-weight: 800;
}

.services-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding: 22px 26px;
    background: var(--cream);
    border-radius: var(--radius-sm);
}

.services-note p {
    margin: 0;
    color: var(--ink-soft);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.gallery-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: #d9cbc5;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 428 / 162;
    object-fit: cover;
    transition: transform 350ms ease, filter 350ms ease;
}

.gallery-card::after {
    content: "Посмотреть";
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 7px 11px;
    color: var(--white);
    background: rgba(45, 35, 38, 0.74);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 200ms ease, transform 200ms ease;
}

.gallery-card:hover img {
    transform: scale(1.025);
    filter: saturate(1.04);
}

.gallery-card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.gallery-actions {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: 72px;
    counter-increment: step;
}

.step::before {
    content: "0" counter(step);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--rose-pale);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 52px;
    line-height: 1;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 72px;
    right: -10px;
    height: 1px;
    background: linear-gradient(90deg, var(--rose-pale), transparent);
}

.step p {
    color: rgba(255, 255, 255, 0.64);
    font-size: 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(50px, 8vw, 110px);
}

.about-visual {
    position: relative;
}

.about-visual::before {
    content: "";
    position: absolute;
    inset: -18px 22px 22px -18px;
    background: var(--rose-pale);
    border-radius: 50% 50% 18px 18px;
}

.about-visual img {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50% 50% 18px 18px;
    box-shadow: var(--shadow-lg);
}

.about-copy__lead {
    color: var(--ink-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    line-height: 1.4;
}

.check-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 34px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--ink-soft);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 15px;
    height: 8px;
    border-left: 2px solid var(--rose-dark);
    border-bottom: 2px solid var(--rose-dark);
    transform: rotate(-45deg);
}

.area-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    padding: clamp(32px, 5vw, 58px);
    background: linear-gradient(135deg, #ead2d3, #f7ece8);
    border: 1px solid #dfc2c6;
    border-radius: var(--radius-lg);
}

.area-banner h2 {
    max-width: 760px;
    margin-bottom: 12px;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.area-banner p {
    margin: 0;
    color: var(--ink-soft);
}

.faq {
    display: grid;
    border-top: 1px solid var(--line);
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    position: relative;
    padding: 24px 52px 24px 0;
    cursor: pointer;
    list-style: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: transform 180ms ease, background 180ms ease;
}

.faq details[open] summary::after {
    background: var(--rose-pale);
    transform: translateY(-50%) rotate(45deg);
}

.faq__answer {
    max-width: 780px;
    padding: 0 0 24px;
    color: var(--muted);
}

.booking {
    position: relative;
    overflow: hidden;
}

.booking::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    bottom: -260px;
    border: 1px solid rgba(234, 211, 213, 0.22);
    border-radius: 50%;
}

.booking-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
    gap: clamp(48px, 8vw, 100px);
    align-items: start;
}

.booking-copy p {
    color: rgba(255, 255, 255, 0.68);
}

.booking-phone {
    display: inline-block;
    margin-top: 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.booking-form,
.booking-fallback,
.wpcf7 {
    color: var(--ink);
    background: var(--white);
    border-radius: var(--radius-md);
}

.wpcf7,
.booking-fallback {
    padding: clamp(26px, 4vw, 44px);
}

.wpcf7 p {
    margin: 0 0 18px;
}

.wpcf7 label {
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    margin-top: 7px;
    padding: 14px 16px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: 0;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.wpcf7 textarea {
    min-height: 130px;
    resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(185, 117, 127, 0.12);
}

.wpcf7 input[type="submit"] {
    min-height: 54px;
    padding: 13px 28px;
    color: var(--white);
    background: var(--rose-dark);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
}

.wpcf7 .wpcf7-spinner {
    vertical-align: middle;
}

.booking__privacy {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
}

.page-hero {
    padding-block: clamp(58px, 8vw, 100px);
    background:
        radial-gradient(circle at 80% 20%, rgba(234, 211, 213, 0.7), transparent 30%),
        var(--cream);
}

.page-hero h1 {
    max-width: 900px;
    margin-bottom: 20px;
}

.page-hero p {
    max-width: 720px;
    color: var(--muted);
    font-size: 20px;
}

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

.price-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.price-row h3 {
    margin-bottom: 8px;
}

.price-row p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.price-row__value {
    color: var(--rose-dark);
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.article-card p,
.prose p,
.prose li {
    color: var(--ink-soft);
}

.prose h2 {
    margin-top: 1.45em;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.prose ul,
.prose ol {
    padding-left: 1.3em;
}

.site-footer {
    color: rgba(255, 255, 255, 0.72);
    background: #231b1e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 0.65fr 0.85fr;
    gap: 70px;
    padding-block: 66px;
}

.brand--footer,
.brand--footer .brand__text small {
    color: var(--white);
}

.site-footer__note {
    max-width: 430px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 14px;
}

.site-footer__nav,
.site-footer__contact {
    display: grid;
    align-content: start;
    gap: 10px;
    font-size: 14px;
}

.site-footer__nav strong,
.site-footer__contact strong {
    margin-bottom: 8px;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 500;
}

.site-footer__nav a:hover,
.site-footer__contact a:hover {
    color: var(--rose-pale);
}

.site-footer__phone {
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
}

.site-footer__bottom {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
}

.lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 54px 22px 22px;
    background: rgba(25, 19, 21, 0.94);
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: min(100%, 1100px);
    max-height: calc(100vh - 80px);
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
}

.lightbox__close {
    position: absolute;
    top: 12px;
    right: 20px;
    width: 44px;
    height: 44px;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

@media (max-width: 1040px) {
    .site-header__inner {
        gap: 18px;
    }

    .site-nav {
        gap: 16px;
    }

    .site-nav a {
        font-size: 13px;
    }

    .header-phone span {
        display: none;
    }

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

    .hero__visual {
        min-height: 520px;
    }

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

    .benefit:nth-child(2) {
        border-right: 0;
    }

    .benefit:nth-child(n+3) {
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid var(--line);
    }

    .benefit:nth-child(3) {
        padding-left: 0;
    }

    .step:nth-child(2)::after {
        display: none;
    }

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

@media (max-width: 860px) {
    .topline {
        display: none;
    }

    .site-header__inner {
        min-height: 72px;
        justify-content: space-between;
    }

    .header-phone {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .site-nav {
        position: fixed;
        z-index: 190;
        inset: 72px 0 auto;
        display: grid;
        gap: 0;
        padding: 18px 20px 24px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-sm);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav a {
        padding: 13px 8px;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }

    .site-nav a::after {
        display: none;
    }

    .hero {
        padding-top: 38px;
    }

    .hero__grid,
    .about-grid,
    .booking-grid {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        min-height: 500px;
        margin-top: 12px;
    }

    .section-heading--split {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-grid {
        gap: 64px;
    }

    .about-visual {
        max-width: 570px;
        margin-inline: auto;
    }

    .area-banner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .booking-grid {
        gap: 34px;
    }

    .site-footer__grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 50px;
    }

    .site-footer__contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

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

    .brand__mark {
        width: 39px;
    }

    .brand__text strong {
        font-size: 21px;
    }

    .brand__text small {
        font-size: 8px;
    }

    .hero__actions,
    .hero__actions .button {
        width: 100%;
    }

    .hero__visual {
        min-height: 410px;
    }

    .hero__visual img,
    .hero__visual::before {
        border-radius: 26px 26px 80px 26px;
    }

    .hero__visual::before {
        inset: 13px -8px -10px 12px;
    }

    .hero__card {
        right: 8px;
        bottom: 18px;
    }

    .hero__proof {
        display: grid;
        gap: 12px;
    }

    .benefits__grid,
    .services-grid,
    .gallery-grid,
    .steps,
    .price-list,
    .article-grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .benefit,
    .benefit:first-child,
    .benefit:nth-child(3),
    .benefit:last-child {
        padding: 18px 0;
        margin: 0;
        border-right: 0;
        border-top: 0;
        border-bottom: 1px solid var(--line);
    }

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

    .service-card {
        min-height: 270px;
    }

    .services-note {
        align-items: stretch;
        flex-direction: column;
    }

    .gallery-grid {
        gap: 14px;
    }

    .gallery-card::after {
        display: none;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-visual {
        width: calc(100% - 18px);
    }

    .area-banner {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .price-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .site-footer__grid {
        gap: 34px;
        padding-block: 50px;
    }

    .site-footer__contact {
        grid-column: auto;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
