/* ==========================================================================
   Маникюрный салон — Алла
   Дизайн-система «современный нюд».
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Токены
   -------------------------------------------------------------------------- */
:root {
    --bg: #faf6f1;
    --bg-soft: #f4ece3;
    --surface: #ffffff;
    --nude: #eadbce;
    --nude-2: #e3d2c2;
    --accent: #d9a6a0;
    --accent-dark: #c58b84;
    --accent-soft: #f4e2df;
    --ink: #2e2a28;
    --muted: #8a8078;
    --line: #ede4da;

    --radius-sm: 14px;
    --radius: 22px;
    --radius-lg: 34px;

    --shadow-sm: 0 6px 20px rgba(74, 52, 42, 0.06);
    --shadow: 0 18px 50px rgba(74, 52, 42, 0.10);
    --shadow-lg: 0 30px 70px rgba(74, 52, 42, 0.14);

    --container: 1200px;
    --gap: 28px;

    --font-head: "Jost", "Segoe UI", sans-serif;
    --font-body: "Manrope", "Segoe UI", sans-serif;
}

/* --------------------------------------------------------------------------
   2. Сброс и база
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

::selection {
    background: var(--accent);
    color: #fff;
}

/* --------------------------------------------------------------------------
   3. Раскладка
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(56px, 8vw, 110px) 0;
}

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

.section--tight {
    padding-top: clamp(30px, 4vw, 50px);
}

.section__head {
    max-width: 640px;
    margin-bottom: clamp(32px, 4vw, 54px);
}

.section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 14px;
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   4. Кнопки
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: 1px solid transparent;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease,
        background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 30px rgba(197, 139, 132, 0.35);
}

.btn--primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(197, 139, 132, 0.42);
}

.btn--ghost {
    background: transparent;
    border-color: var(--nude-2);
    color: var(--ink);
}

.btn--ghost:hover {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn--block {
    width: 100%;
}

.btn--sm {
    padding: 11px 22px;
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   5. Шапка и навигация
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 246, 241, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.logo__mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--nude-2));
    color: #fff;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.logo__text small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    padding: 10px 16px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav__link:hover {
    color: var(--ink);
}

.nav__link.is-active {
    color: var(--ink);
    background: var(--accent-soft);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-phone {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.header-phone:hover {
    color: var(--accent-dark);
}

.burger {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    cursor: pointer;
    position: relative;
}

.burger span,
.burger::before,
.burger::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger::before { top: 16px; }
.burger span   { top: 22px; }
.burger::after { top: 28px; }

.burger.is-open::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.burger.is-open span   { opacity: 0; }
.burger.is-open::after  { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 9vw, 120px) 0 clamp(60px, 8vw, 110px);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}

.hero__title {
    margin-bottom: 22px;
}

.hero__title em {
    font-style: italic;
    color: var(--accent-dark);
}

.hero__text {
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 32px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 46px;
}

.hero__stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.9rem;
    color: var(--ink);
}

.hero__stat span {
    font-size: 0.86rem;
    color: var(--muted);
}

.hero__media {
    position: relative;
}

.hero__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.hero__badge {
    position: absolute;
    bottom: 26px;
    left: -18px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 16px 22px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 250px;
}

.hero__badge .dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex: 0 0 auto;
}

.hero__badge b {
    display: block;
    font-size: 0.95rem;
}

.hero__badge small {
    color: var(--muted);
    font-size: 0.8rem;
}

/* декоративный фон */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    z-index: -1;
}

.blob--1 {
    width: 420px;
    height: 420px;
    background: var(--accent-soft);
    top: -120px;
    right: -80px;
}

.blob--2 {
    width: 360px;
    height: 360px;
    background: var(--nude);
    bottom: -140px;
    left: -100px;
}

/* --------------------------------------------------------------------------
   7. Преимущества
   -------------------------------------------------------------------------- */
.advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.advantage {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.advantage__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--accent-soft);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.advantage h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.advantage p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   8. Секция «О салоне»
   -------------------------------------------------------------------------- */
.about {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}

.about__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    aspect-ratio: 5 / 6;
    object-fit: cover;
}

.about__list {
    list-style: none;
    padding: 0;
    margin: 26px 0 30px;
}

.about__list li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 14px;
    color: var(--muted);
}

.about__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-soft);
    box-shadow: inset 0 0 0 5px var(--accent);
}

/* --------------------------------------------------------------------------
   9. Карточки услуг
   -------------------------------------------------------------------------- */
.grid-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card__media img {
    transform: scale(1.05);
}

.service-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card__title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card__desc {
    color: var(--muted);
    font-size: 0.94rem;
    margin-bottom: 18px;
}

.service-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    font-size: 0.88rem;
    color: var(--muted);
}

.service-card__features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
}

.service-card__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.service-card__foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.service-card__price {
    font-family: var(--font-head);
    font-size: 1.3rem;
}

.service-card__time {
    font-size: 0.82rem;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   10. Каталог дизайнов
   -------------------------------------------------------------------------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter {
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}

.filter.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.filter__count {
    opacity: 0.6;
    margin-left: 6px;
    font-size: 0.8em;
}

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

.design-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.design-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.design-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.design-card:hover .design-card__media img {
    transform: scale(1.05);
}

.design-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent-dark);
}

.design-card__body {
    padding: 20px 22px 24px;
}

.design-card__title {
    font-size: 1.12rem;
    margin-bottom: 6px;
}

.design-card__desc {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.design-card__price {
    font-family: var(--font-head);
    font-size: 1.15rem;
    color: var(--accent-dark);
}

.catalog-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   11. Полоса-призыв (CTA)
   -------------------------------------------------------------------------- */
.cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2e2a28, #4a3f39);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 76px);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
}

.cta h2 {
    color: #fff;
    margin-bottom: 14px;
}

.cta p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    max-width: 480px;
}

.cta__actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
}

.cta .btn--ghost {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.cta .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

/* --------------------------------------------------------------------------
   12. Формы
   -------------------------------------------------------------------------- */
.form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 4vw, 44px);
    box-shadow: var(--shadow);
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
}

.field .req {
    color: var(--accent-dark);
}

.input,
.select,
.textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.input.is-invalid,
.select.is-invalid,
.textarea.is-invalid {
    border-color: #cf6a6a;
    box-shadow: 0 0 0 4px rgba(207, 106, 106, 0.12);
}

.field__error {
    font-size: 0.8rem;
    color: #c05c5c;
    min-height: 0;
}

.form__note {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 6px;
}

.form__foot {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   13. Сообщения (flash)
   -------------------------------------------------------------------------- */
.flash {
    border-radius: var(--radius-sm);
    padding: 16px 22px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.flash--success {
    background: #eef6ef;
    border-color: #cfe6d3;
    color: #2f6b3d;
}

.flash--error {
    background: #fbeeee;
    border-color: #f0cccc;
    color: #a24a4a;
}

/* --------------------------------------------------------------------------
   14. Оплата
   -------------------------------------------------------------------------- */
.payment {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: start;
}

.payment__steps {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    counter-reset: step;
}

.payment__steps li {
    position: relative;
    padding: 0 0 22px 56px;
    color: var(--muted);
    counter-increment: step;
}

.payment__steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -2px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-family: var(--font-head);
    font-weight: 600;
    display: grid;
    place-items: center;
}

.payment__steps li b {
    color: var(--ink);
    display: block;
}

.payment-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 4vw, 40px);
    box-shadow: var(--shadow);
}

.card-preview {
    border-radius: var(--radius);
    padding: 26px;
    background: linear-gradient(135deg, var(--nude-2), var(--accent));
    color: #fff;
    margin-bottom: 26px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.card-preview__chip {
    width: 46px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f3e6c9, #d9c08a);
}

.card-preview__number {
    font-family: var(--font-head);
    font-size: 1.35rem;
    letter-spacing: 0.12em;
}

.card-preview__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.9;
}

.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.payment-placeholder {
    background: var(--bg-soft);
    border: 1px dashed var(--nude-2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 0.88rem;
    color: var(--muted);
    margin-top: 20px;
}

.payment-placeholder code {
    background: #fff;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.85em;
    color: var(--accent-dark);
}

.secure-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 18px;
}

/* --------------------------------------------------------------------------
   15. Контакты
   -------------------------------------------------------------------------- */
.contacts {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: start;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.contact-list .ico {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 14px;
    background: var(--accent-soft);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.contact-list b {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 2px;
}

.contact-list a:hover {
    color: var(--accent-dark);
}

.map-embed {
    margin-top: 26px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 16 / 10;
    background: var(--bg-soft);
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    padding: 20px;
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.socials a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    display: grid;
    place-items: center;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   16. Подвал
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    padding: clamp(46px, 6vw, 70px) 0 30px;
    margin-top: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 10px;
    font-size: 0.94rem;
    color: var(--muted);
}

.footer-col a:hover {
    color: var(--accent-dark);
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.94rem;
    max-width: 320px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   17. Хлебные крошки / заголовок страницы
   -------------------------------------------------------------------------- */
.page-hero {
    padding: clamp(40px, 6vw, 70px) 0 clamp(20px, 3vw, 34px);
}

.page-hero__inner {
    max-width: 720px;
}

.page-hero h1 {
    margin-bottom: 14px;
}

.page-hero p {
    color: var(--muted);
    font-size: 1.08rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   18. Анимация появления
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   19. Адаптивность
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .grid-services,
    .grid-catalog {
        grid-template-columns: repeat(3, 1fr);
    }
    .advantages {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .nav {
        display: none;
    }
    .burger {
        display: block;
    }
    .header-phone {
        display: none;
    }
    .hero__grid,
    .about,
    .cta,
    .payment,
    .contacts {
        grid-template-columns: 1fr;
    }
    .hero__media {
        order: -1;
    }
    .cta__actions {
        justify-content: flex-start;
    }
    .hero__badge {
        left: 16px;
    }
}

@media (max-width: 680px) {
    body {
        font-size: 16px;
    }
    .grid-services,
    .grid-catalog,
    .advantages,
    .form__grid,
    .card-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 46px 0;
    }
    .form {
        padding: 24px 20px;
    }
}

/* --------------------------------------------------------------------------
   20. Мобильное меню
   -------------------------------------------------------------------------- */
.mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 86vw);
    background: var(--bg);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 60;
    padding: 90px 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav.is-open {
    transform: none;
}

.mobile-nav a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 500;
}

.mobile-nav a.is-active {
    background: var(--accent-soft);
}

.mobile-nav .btn {
    margin-top: 20px;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(46, 42, 40, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 55;
}

.overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* --------------------------------------------------------------------------
   21. Мелкие утилиты
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.is-hidden { display: none !important; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
