/* ==========================================================================
   Тишина — ritual agency
   Premium minimalist theme
   ========================================================================== */

:root {
    /* Variant B — "Рассвет" (Dawn): более светлый графит + тёплый ivory-акцент */
    --bg-deep: #101620;
    --bg-0: #141a22;
    --bg-1: #1a222d;
    --bg-2: #212a36;
    --bg-3: #28323e;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --text: #eef1f4;
    --text-dim: #b5bdc9;
    --text-mute: #7d8897;
    --accent: #dcc5a5;
    --accent-soft: #ecdcc0;
    --accent-glow: rgba(220, 197, 165, 0.3);
    --radius-sm: 6px;
    --radius: 14px;
    --radius-lg: 22px;

    --font-display: "Fraunces", "Times New Roman", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --ease: cubic-bezier(0.2, 0.7, 0.15, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --container: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text);
    background: #141a22;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    letter-spacing: 0.005em;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

button {
    font: inherit;
    color: inherit;
    border: 0;
    background: none;
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* ==========================================================================
   Atmosphere — layered cinematic background
   ========================================================================== */

.atmosphere {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(
            1400px 900px at 20% 15%,
            #2a323e 0%,
            #1c2430 45%,
            #141a22 100%
        ),
        #121822;
}

.atmosphere__base {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(55% 45% at 22% 18%, rgba(236, 220, 192, 0.14) 0%, transparent 70%),
        radial-gradient(70% 55% at 80% 90%, rgba(70, 95, 130, 0.18) 0%, transparent 65%),
        linear-gradient(170deg, #1c2532 0%, #171f2a 45%, #141a22 100%);
}

.atmosphere__glow {
    position: absolute;
    left: 18%;
    top: 8%;
    width: 55vmin;
    height: 55vmin;
    background: radial-gradient(circle, rgba(236, 220, 192, 0.38) 0%, rgba(220, 197, 165, 0.14) 35%, transparent 70%);
    filter: blur(50px);
    animation: glow-pulse 11s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0% { opacity: 0.65; transform: scale(0.95) translate(0, 0); }
    100% { opacity: 1; transform: scale(1.08) translate(2%, 1%); }
}

.atmosphere__fog {
    position: absolute;
    width: 80vmax;
    height: 80vmax;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    mix-blend-mode: screen;
}

.atmosphere__fog--one {
    top: -25%;
    left: -15%;
    background: radial-gradient(circle, rgba(220, 200, 170, 0.32), transparent 60%);
    animation: fog-drift-a 42s ease-in-out infinite alternate;
    opacity: 0.5;
}

.atmosphere__fog--two {
    bottom: -30%;
    right: -25%;
    background: radial-gradient(circle, rgba(80, 105, 135, 0.28), transparent 60%);
    animation: fog-drift-b 56s ease-in-out infinite alternate;
    opacity: 0.6;
}

.atmosphere__fog--three {
    top: 35%;
    left: 45%;
    width: 55vmax;
    height: 55vmax;
    background: radial-gradient(circle, rgba(220, 197, 165, 0.12), transparent 60%);
    animation: fog-drift-c 48s ease-in-out infinite alternate;
    opacity: 0.5;
}

@keyframes fog-drift-a {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(8vw, 5vh) scale(1.1); }
}
@keyframes fog-drift-b {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-6vw, -4vh) scale(1.15); }
}
@keyframes fog-drift-c {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-45%, -55%) scale(1.08); }
}

.atmosphere__particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.atmosphere__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 26, 34, 0.35) 0%, rgba(20, 26, 34, 0.18) 40%, rgba(20, 26, 34, 0.5) 100%);
}

.atmosphere__grain {
    position: absolute;
    inset: 0;
    opacity: 0.045;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 22px 0;
    transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), padding 0.4s var(--ease), border-color 0.5s var(--ease);
    border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
    padding: 14px 0;
    background: rgba(20, 26, 34, 0.72);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: var(--line);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0.04em;
}

.nav__mark {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--accent-soft), var(--accent) 55%, #8b7456 100%);
    box-shadow: 0 0 20px var(--accent-glow), 0 0 4px rgba(212, 184, 150, 0.6);
    flex-shrink: 0;
}

.nav__name {
    font-style: italic;
}

.nav__links {
    display: flex;
    gap: 32px;
    font-size: 14px;
    color: var(--text-dim);
}

.nav__links a {
    position: relative;
    padding: 4px 0;
}
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__contact {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav__phone {
    font-size: 14px;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}
.nav__phone:hover { color: var(--accent); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    position: relative;
    white-space: nowrap;
}

.btn--sm {
    padding: 10px 18px;
    font-size: 13px;
}
.btn--lg {
    padding: 18px 34px;
    font-size: 15px;
}

.btn--primary {
    background: var(--accent);
    color: #1a1410;
    box-shadow: 0 0 0 1px rgba(212, 184, 150, 0.1), 0 10px 40px -20px var(--accent-glow);
}
.btn--primary:hover {
    background: var(--accent-soft);
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(212, 184, 150, 0.2), 0 20px 50px -20px var(--accent-glow);
}
.btn--primary svg { transition: transform 0.4s var(--ease); }
.btn--primary:hover svg { transform: translateX(4px); }

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--text {
    padding: 14px 8px;
    color: var(--text-dim);
}
.btn--text:hover { color: var(--accent); }
.btn--text span {
    border-bottom: 1px solid rgba(212, 184, 150, 0.35);
    padding-bottom: 2px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 100px;
}

.hero__inner {
    max-width: 960px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero__eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.55; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(44px, 7vw, 96px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 28px 0 28px;
    color: var(--text);
}
.hero__title em {
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(120deg, var(--accent-soft) 0%, var(--accent) 60%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    max-width: 560px;
    font-size: clamp(16px, 1.25vw, 18px);
    color: var(--text-dim);
    line-height: 1.65;
    margin: 0 0 40px;
}

.hero__ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 90px;
}

.hero__meta {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    max-width: 720px;
}

.hero__meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero__meta-item .num {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 32px;
    letter-spacing: -0.02em;
    color: var(--text);
}
.hero__meta-item .lbl {
    font-size: 13px;
    color: var(--text-mute);
    letter-spacing: 0.02em;
}

.hero__meta-divider {
    width: 1px;
    height: 40px;
    background: var(--line);
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    overflow: hidden;
    opacity: 0.5;
}
.hero__scroll span {
    display: block;
    width: 1px;
    height: 40%;
    background: var(--accent);
    animation: scroll-line 2.4s ease-in-out infinite;
}
@keyframes scroll-line {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(250%); }
}

/* ==========================================================================
   Sections — generic
   ========================================================================== */

.section {
    padding: 140px 0;
    position: relative;
}

.section__head {
    margin-bottom: 80px;
    max-width: 760px;
}
.section__head--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    max-width: none;
}
.section__head--split .section__desc {
    max-width: 420px;
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.65;
}

.section__kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    padding-left: 24px;
    position: relative;
}
.section__kicker::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 1px;
    background: var(--accent);
}

.section__title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(36px, 4.5vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0;
}
.section__title--sm {
    font-size: clamp(32px, 3.5vw, 48px);
}

/* ==========================================================================
   Trust
   ========================================================================== */

.trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.trust__card {
    padding: 40px 32px 50px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.6s var(--ease);
    position: relative;
}
.trust__card:hover {
    background: rgba(255, 255, 255, 0.015);
}
.trust__num {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}
.trust__card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 22px;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}
.trust__card p {
    margin: 0;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.65;
}

/* ==========================================================================
   Monuments — маркетинговая секция памятников
   ========================================================================== */

.monuments {
    position: relative;
}
.monuments .section__head {
    max-width: 780px;
}
.section__lead {
    color: var(--text-dim);
    font-size: 17px;
    line-height: 1.65;
    margin: 18px 0 0;
    max-width: 680px;
}
.monuments__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}
.monuments__card {
    position: relative;
    padding: 32px 28px 30px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--line);
    transition: all 0.35s var(--ease);
    overflow: hidden;
}
.monuments__card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at 80% 20%, rgba(220, 197, 165, 0.08), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.monuments__card:hover {
    border-color: rgba(220, 197, 165, 0.25);
    transform: translateY(-3px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}
.monuments__card:hover::before { opacity: 1; }

.monuments__card--wide {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    padding: 40px 36px 36px;
}

.monuments__tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(220, 197, 165, 0.08);
    border: 1px solid rgba(220, 197, 165, 0.2);
    margin-bottom: 18px;
}
.monuments__card h3 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 22px;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0 0 12px;
    color: var(--text);
}
.monuments__card--wide h3 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 16px;
}
.monuments__card p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}
.monuments__list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    gap: 10px;
}
.monuments__list li {
    position: relative;
    padding-left: 22px;
    color: var(--text-dim);
    font-size: 14.5px;
    line-height: 1.55;
}
.monuments__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 1px;
    background: var(--accent);
}

.monuments__cta {
    margin-top: 40px;
    padding: 40px 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(220, 197, 165, 0.06) 0%, rgba(140, 170, 210, 0.03) 100%);
    border: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 40px;
    align-items: center;
}
.monuments__cta-text h3 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 26px;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0 0 10px;
}
.monuments__cta-text p {
    color: var(--text-dim);
    font-size: 15.5px;
    line-height: 1.65;
    margin: 0;
    max-width: 560px;
}
.monuments__cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .monuments__grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 36px;
    }
    .monuments__card--wide {
        grid-column: auto;
        grid-row: auto;
        padding: 30px 24px 26px;
    }
    .monuments__card--wide h3 { font-size: 24px; }
    .monuments__card { padding: 26px 22px 24px; }
    .monuments__cta {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 22px;
    }
    .monuments__cta-actions { width: 100%; }
    .monuments__cta-actions .btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   Services
   ========================================================================== */

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

.service {
    display: flex;
    flex-direction: column;
    padding: 36px 32px 36px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%);
    border: 1px solid var(--line);
    min-height: 240px;
    transition: all 0.6s var(--ease);
    position: relative;
    overflow: hidden;
}
.service::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 200px at 50% 0%, rgba(212, 184, 150, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s var(--ease);
    pointer-events: none;
}
.service:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 184, 150, 0.22);
    background: linear-gradient(180deg, rgba(212, 184, 150, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
}
.service:hover::before { opacity: 1; }

.service__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: auto;
    padding-bottom: 60px;
}
.service__index {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--text-mute);
}
.service__arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: all 0.4s var(--ease);
}
.service:hover .service__arrow {
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(0deg);
    background: rgba(212, 184, 150, 0.06);
}
.service__arrow svg { transition: transform 0.4s var(--ease); }
.service:hover .service__arrow svg { transform: translate(2px, -2px); }

.service__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 26px;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
    line-height: 1.1;
}
.service__desc {
    margin: 0;
    color: var(--text-dim);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ==========================================================================
   Process
   ========================================================================== */

.process__list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 880px;
    position: relative;
}
.process__list::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--line) 10%, var(--line) 90%, transparent);
}

.process__step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 32px;
    padding: 28px 0;
    align-items: flex-start;
}

.process__mark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-1);
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: all 0.5s var(--ease);
}
.process__step:hover .process__mark {
    border-color: var(--accent);
    box-shadow: 0 0 0 6px rgba(212, 184, 150, 0.06);
}

.process__body h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 24px;
    margin: 8px 0 10px;
    letter-spacing: -0.01em;
}
.process__body p {
    margin: 0;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.65;
    max-width: 620px;
}

/* ==========================================================================
   Approach
   ========================================================================== */

.approach__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.approach__text p {
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.75;
    margin: 20px 0 0;
    max-width: 520px;
}

.approach__pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.approach__pills li {
    padding: 12px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.015);
    transition: all 0.5s var(--ease);
}
.approach__pills li:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq__inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: flex-start;
}
.faq__inner .section__head { margin-bottom: 0; position: sticky; top: 120px; }

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

.faq__item {
    border-top: 1px solid var(--line);
    transition: background 0.4s var(--ease);
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 4px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 20px;
    letter-spacing: -0.005em;
    list-style: none;
    transition: color 0.3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }

.faq__icon {
    width: 22px;
    height: 22px;
    position: relative;
    flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--text-dim);
    transition: all 0.4s var(--ease);
}
.faq__icon::before {
    width: 14px;
    height: 1px;
    transform: translate(-50%, -50%);
}
.faq__icon::after {
    width: 1px;
    height: 14px;
    transform: translate(-50%, -50%);
}
.faq__item[open] .faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}
.faq__item[open] .faq__icon::before { background: var(--accent); }

.faq__content {
    padding: 0 4px 32px;
    color: var(--text-dim);
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 640px;
    animation: faq-open 0.5s var(--ease-out);
}
.faq__content p { margin: 0; }
@keyframes faq-open {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.cta__inner {
    position: relative;
    text-align: center;
    padding: 100px 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    overflow: hidden;
}
.cta__glow {
    position: absolute;
    left: 50%;
    top: 100%;
    width: 80%;
    height: 180%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(212, 184, 150, 0.14), transparent 60%);
    pointer-events: none;
    filter: blur(30px);
}

.cta__title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 20px 0 24px;
    position: relative;
}
.cta__title em {
    font-style: italic;
    background: linear-gradient(120deg, var(--accent-soft) 0%, var(--accent) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.cta__desc {
    max-width: 560px;
    margin: 0 auto 40px;
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.7;
    position: relative;
}
.cta__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer__brand p {
    margin: 20px 0 0;
    color: var(--text-mute);
    font-size: 14px;
    max-width: 280px;
    line-height: 1.6;
}

.footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.footer__cols > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer__cols a,
.footer__cols p {
    color: var(--text-dim);
    font-size: 14.5px;
    margin: 0;
    line-height: 1.6;
}
.footer__cols a:hover { color: var(--accent); }

.footer__h {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 4px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-mute);
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.page-contact main { padding-top: 120px; }

.contact {
    padding: 80px 0 140px;
}

.contact__inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: flex-start;
}

.contact__intro h1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(40px, 4.5vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 20px 0 24px;
}
.contact__intro h1 em {
    font-style: italic;
    background: linear-gradient(120deg, var(--accent-soft) 0%, var(--accent) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.contact__intro p {
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 420px;
}

.contact__side {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 400px;
}
.contact__side-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact__side-item span {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-mute);
}
.contact__side-item a,
.contact__side-item p {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 22px;
    margin: 0;
}
.contact__side-item a:hover { color: var(--accent); }

/* Form */

.form {
    padding: 48px 48px 44px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.form::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(212, 184, 150, 0.08), transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

.form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 22px;
    position: relative;
}

.field {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px 0 18px;
    border-bottom: 1px solid var(--line);
    transition: border-color 0.4s var(--ease);
}
.field--full { grid-column: 1 / -1; }

.field label {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 8px;
    transition: color 0.3s var(--ease);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 4px 0 6px;
    font: inherit;
    font-size: 16px;
    color: var(--text);
    background: transparent;
    border: 0;
    outline: none;
    font-family: var(--font-body);
    letter-spacing: 0.005em;
    resize: none;
}
.field textarea { min-height: 80px; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-mute);
    opacity: 0.6;
}

.field select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%238a95a5' stroke-width='1.2' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 2px center;
    padding-right: 24px;
}
.field select option {
    background: #1a222d;
    color: var(--text);
}

.field:focus-within {
    border-bottom-color: var(--accent);
}
.field:focus-within label {
    color: var(--accent);
}

.field.has-error { border-bottom-color: #b8665c; }
.field.has-error label { color: #c98579; }
.field__error {
    display: none;
    font-size: 12.5px;
    color: #c98579;
    margin-top: 8px;
    letter-spacing: 0.01em;
}
.field.has-error .field__error { display: block; }

.form__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    position: relative;
    flex-wrap: wrap;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
    max-width: 340px;
}
.checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.checkbox__box {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--line-strong);
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    background: rgba(0, 0, 0, 0.2);
}
.checkbox__box svg {
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.3s var(--ease);
}
.checkbox input:checked + .checkbox__box {
    background: var(--accent);
    border-color: var(--accent);
}
.checkbox input:checked + .checkbox__box svg {
    opacity: 1;
    transform: scale(1);
}
.checkbox input:focus-visible + .checkbox__box {
    box-shadow: 0 0 0 3px rgba(212, 184, 150, 0.18);
}
.checkbox a {
    color: var(--accent);
    border-bottom: 1px solid rgba(212, 184, 150, 0.3);
}
.checkbox.has-error .checkbox__box { border-color: #c98579; }

.form__submit {
    min-width: 200px;
    justify-content: center;
}

.form__success {
    display: none;
    text-align: center;
    padding: 60px 30px;
    animation: faq-open 0.6s var(--ease-out);
}
.form__success.is-active { display: block; }
.form__success .check-ring {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.form__success .check-ring::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 184, 150, 0.18), transparent 70%);
    filter: blur(6px);
}
.form__success svg { color: var(--accent); }
.form__success h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 28px;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}
.form__success p {
    color: var(--text-dim);
    font-size: 15px;
    margin: 0 auto;
    max-width: 400px;
    line-height: 1.6;
}

.form.is-submitted .form__grid,
.form.is-submitted .form__foot { display: none; }

/* ==========================================================================
   Service card — "Подробнее" label
   ========================================================================== */

.service {
    text-align: left;
    font-family: inherit;
    cursor: pointer;
}
button.service { color: inherit; }

.service__more {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.7;
    transition: opacity 0.4s var(--ease), letter-spacing 0.4s var(--ease);
}
.service__more::before {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
}
.service:hover .service__more {
    opacity: 1;
    letter-spacing: 0.18em;
}

/* ==========================================================================
   Service modal — nested subservices
   ========================================================================== */

.smodal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.smodal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s var(--ease), visibility 0s linear;
}
body.smodal-open { overflow: hidden; }

.smodal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 20, 0.78);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    cursor: pointer;
}

.smodal__panel {
    position: relative;
    width: 100%;
    max-width: 1080px;
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #1e2834 0%, #18212b 100%);
    border: 1px solid var(--line-strong);
    border-radius: 28px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 40px 100px -30px rgba(0, 0, 0, 0.7),
        0 0 80px -40px var(--accent-glow);
    overflow: hidden;
    transform: translateY(28px) scale(0.97);
    transition: transform 0.6s var(--ease-out);
}
.smodal.is-open .smodal__panel {
    transform: translateY(0) scale(1);
}
.smodal__panel::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(236, 220, 192, 0.4), transparent 30%, transparent 70%, rgba(140, 170, 210, 0.25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

.smodal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    z-index: 3;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.smodal__close:hover {
    color: var(--text);
    border-color: var(--accent);
    background: rgba(220, 197, 165, 0.08);
    transform: rotate(90deg);
}

.smodal__head {
    padding: 48px 64px 36px;
    border-bottom: 1px solid var(--line);
    position: relative;
    flex-shrink: 0;
}
.smodal__head::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(236, 220, 192, 0.08), transparent 70%);
    pointer-events: none;
}
.smodal__head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(32px, 3.5vw, 44px);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 16px 0 14px;
    position: relative;
}
.smodal__head h2 em {
    font-style: italic;
    color: var(--accent);
}
.smodal__head p {
    margin: 0;
    color: var(--text-dim);
    font-size: 15.5px;
    line-height: 1.65;
    max-width: 640px;
    position: relative;
}

.smodal__body {
    display: grid;
    grid-template-columns: 280px 1fr;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.smodal__tabs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 28px 16px 28px 40px;
    border-right: 1px solid var(--line);
    overflow-y: auto;
}

.smodal__tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-dim);
    text-align: left;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    font-family: var(--font-body);
    position: relative;
}
.smodal__tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.025);
}
.smodal__tab.is-active {
    color: var(--text);
    background: rgba(220, 197, 165, 0.06);
    border-color: rgba(220, 197, 165, 0.2);
}
.smodal__tab.is-active .smodal__tab-num { color: var(--accent); }
.smodal__tab-num {
    font-family: var(--font-display);
    font-size: 12.5px;
    letter-spacing: 0.1em;
    color: var(--text-mute);
    transition: color 0.3s var(--ease);
    flex-shrink: 0;
}
.smodal__tab-label {
    font-size: 14.5px;
    letter-spacing: 0.01em;
}

.smodal__panes {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 32px 64px 40px;
    min-height: 0;
    min-width: 0;
    height: 100%;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.smodal__panes::-webkit-scrollbar { width: 6px; }
.smodal__panes::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }

.smodal__pane {
    animation: pane-in 0.5s var(--ease-out);
}
.smodal__pane[hidden] { display: none; }
@keyframes pane-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.smodal__pane-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 26px;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0 0 16px;
}

.smodal__lead {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 620px;
}

.smodal__stages,
.smodal__features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.smodal__stages li,
.smodal__features li {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    align-items: flex-start;
}
.smodal__stages li:last-child,
.smodal__features li:last-child {
    border-bottom: 1px solid var(--line);
}

.stage-num,
.feat-num {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.14em;
    color: var(--accent);
    padding-top: 4px;
}
.smodal__stages h4,
.smodal__features h4 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: -0.005em;
    margin: 0 0 6px;
    color: var(--text);
}
.smodal__stages p,
.smodal__features p {
    margin: 0;
    color: var(--text-dim);
    font-size: 14.5px;
    line-height: 1.65;
}

.smodal__note {
    padding: 22px 26px;
    margin: 0;
    border-radius: 14px;
    background: rgba(220, 197, 165, 0.04);
    border: 1px solid rgba(220, 197, 165, 0.14);
    color: var(--text-dim);
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 720px;
}

.smodal__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 0 0 32px;
}
.smodal__col {
    padding: 24px 26px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
}
.smodal__col-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.smodal__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.smodal__list li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    color: var(--text-dim);
    line-height: 1.55;
}
.smodal__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 1px;
    background: var(--accent);
}

/* Single-pane modals (no tabs) */
.smodal__body--single {
    display: block;
}
.smodal__panes--full {
    padding: 36px 64px 44px;
    overflow-y: auto;
    max-height: calc(100vh - 360px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.smodal__panes--full::-webkit-scrollbar { width: 6px; }
.smodal__panes--full::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }

/* Document list — Груз 200 */
.smodal__doc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.smodal__doc-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
    font-size: 14.5px;
    color: var(--text-dim);
    line-height: 1.55;
}
.smodal__doc-list li:hover {
    border-color: rgba(220, 197, 165, 0.2);
    background: rgba(220, 197, 165, 0.03);
}
.doc-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 1px;
}
.doc-icon svg { width: 100%; height: 100%; }

@media (max-width: 900px) {
    .smodal__panes--full { padding: 24px 28px 32px; max-height: calc(100vh - 280px); }
}

.smodal__foot {
    display: none;
}
.smodal__foot p {
    margin: 0;
    color: var(--text-dim);
    font-size: 14.5px;
    max-width: 380px;
}
.smodal__cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .smodal { padding: 16px 12px; }
    .smodal__panel { max-height: calc(100vh - 32px); border-radius: 22px; }
    .smodal__head { padding: 40px 28px 28px; }
    .smodal__head h2 { font-size: 28px; }
    .smodal__body {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
    }
    .smodal__tabs {
        flex-direction: row;
        overflow-x: auto;
        padding: 14px 20px;
        gap: 6px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        flex-shrink: 0;
        scrollbar-width: none;
    }
    .smodal__tabs::-webkit-scrollbar { display: none; }
    .smodal__tab {
        flex-shrink: 0;
        padding: 10px 14px;
    }
    .smodal__panes {
        padding: 24px 28px 32px;
        min-height: 0;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .smodal__pane-title { font-size: 22px; }
    .smodal__stages li,
    .smodal__features li {
        grid-template-columns: 44px 1fr;
        gap: 12px;
        padding: 16px 0;
    }
    .smodal__split { grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
    .smodal__foot { padding: 20px 28px; }
    .smodal__close { top: 14px; right: 14px; width: 36px; height: 36px; }
}

/* ==========================================================================
   Prompt-box — быстрое обращение
   (визуальная цитата премиального AI prompt input в нашей палитре Dawn)
   ========================================================================== */

.promptbox-section {
    padding: 120px 0 160px;
}

.promptbox-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 44px;
}
.promptbox-head .section__kicker {
    justify-content: center;
}
.promptbox-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(32px, 3.8vw, 48px);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 20px 0 16px;
}
.promptbox-head h2 em {
    font-style: italic;
    background: linear-gradient(120deg, var(--accent-soft) 0%, var(--accent) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.promptbox-head p {
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}

.promptbox {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    border-radius: 28px;
    padding: 12px 12px 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 24px 60px -24px rgba(0, 0, 0, 0.55),
        0 10px 30px -20px var(--accent-glow);
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.promptbox::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(236, 220, 192, 0.35), transparent 35%, transparent 65%, rgba(140, 170, 210, 0.2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.55;
    transition: opacity 0.4s var(--ease);
}
.promptbox:focus-within {
    border-color: rgba(220, 197, 165, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 24px 60px -24px rgba(0, 0, 0, 0.6),
        0 0 0 4px rgba(220, 197, 165, 0.08);
}
.promptbox:focus-within::before { opacity: 0.9; }

.promptbox__textarea {
    width: 100%;
    min-height: 56px;
    max-height: 220px;
    padding: 14px 16px 6px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: transparent;
    border: 0;
    outline: none;
    resize: none;
    letter-spacing: 0.005em;
}
.promptbox__textarea::placeholder {
    color: var(--text-mute);
    opacity: 0.85;
}
.promptbox__textarea::-webkit-scrollbar { width: 6px; }
.promptbox__textarea::-webkit-scrollbar-track { background: transparent; }
.promptbox__textarea::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 3px; }
.promptbox__textarea::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

.promptbox__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 6px 4px;
    flex-wrap: wrap;
}

.promptbox__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pb-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px 0 12px;
    font-family: var(--font-body);
    font-size: 13.5px;
    letter-spacing: 0.01em;
    color: var(--text-dim);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    white-space: nowrap;
    text-decoration: none;
}
.pb-pill svg {
    width: 16px;
    height: 16px;
    transition: transform 0.4s var(--ease), color 0.3s var(--ease);
}
.pb-pill:hover {
    color: var(--text);
    border-color: rgba(236, 220, 192, 0.35);
    background: rgba(236, 220, 192, 0.05);
    transform: translateY(-1px);
}
.pb-pill:hover svg { color: var(--accent); }
.pb-pill.is-active {
    color: var(--accent);
    border-color: rgba(220, 197, 165, 0.5);
    background: rgba(220, 197, 165, 0.08);
}
.pb-pill.is-active svg { color: var(--accent); }

.pb-divider {
    width: 1px;
    height: 22px;
    background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
    margin: 0 4px;
    flex-shrink: 0;
}

.pb-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    color: var(--text-mute);
    cursor: pointer;
    transition: all 0.35s var(--ease);
    flex-shrink: 0;
}
.pb-send svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s var(--ease);
}
.pb-send:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}
.pb-send.is-ready {
    background: var(--accent);
    color: #1a1410;
    border-color: var(--accent);
    box-shadow: 0 8px 30px -10px var(--accent-glow);
}
.pb-send.is-ready:hover {
    background: var(--accent-soft);
    transform: translateY(-1px);
}
.pb-send.is-ready:hover svg { transform: translateY(-2px); }

.promptbox__hint {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    font-size: 12.5px;
    color: var(--text-mute);
    letter-spacing: 0.02em;
}
.promptbox__hint kbd {
    font-family: var(--font-body);
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 5px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-dim);
}

/* Phone step */
.promptbox.is-phone-step .promptbox__textarea,
.promptbox.is-phone-step .promptbox__row {
    display: none;
}

.promptbox__phonestep {
    display: none;
    padding: 6px 10px 8px;
    animation: faq-open 0.45s var(--ease-out);
}
.promptbox.is-phone-step .promptbox__phonestep {
    display: block;
}

.promptbox__phonestep-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-dim);
    margin: 6px 2px 10px;
    letter-spacing: 0.01em;
}
.promptbox__phonestep-head .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    flex-shrink: 0;
}

.promptbox__phonestep-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 2px;
    flex-wrap: wrap;
}

.promptbox__phone-input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 18px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    outline: none;
    transition: all 0.35s var(--ease);
    letter-spacing: 0.01em;
}
.promptbox__phone-input::placeholder {
    color: var(--text-mute);
    opacity: 0.8;
}
.promptbox__phone-input:focus {
    border-color: rgba(220, 197, 165, 0.5);
    background: rgba(220, 197, 165, 0.04);
    box-shadow: 0 0 0 4px rgba(220, 197, 165, 0.08);
}
.promptbox__phone-input.has-error {
    border-color: rgba(201, 133, 121, 0.6);
    box-shadow: 0 0 0 4px rgba(201, 133, 121, 0.08);
}

.promptbox__phone-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text-mute);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}
.promptbox__phone-back:hover {
    color: var(--text);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
}
.promptbox__phone-back svg { width: 16px; height: 16px; }

.promptbox__phone-submit {
    height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--accent);
    color: #1a1410;
    border: 1px solid var(--accent);
    font-size: 14px;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.35s var(--ease);
    flex-shrink: 0;
    box-shadow: 0 10px 30px -14px var(--accent-glow);
}
.promptbox__phone-submit:hover {
    background: var(--accent-soft);
    transform: translateY(-1px);
}
.promptbox__phone-submit:disabled {
    opacity: 0.5;
    pointer-events: none;
}
.promptbox__phone-submit svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.promptbox__phone-submit:hover svg { transform: translateX(3px); }

.promptbox__phone-hint {
    margin: 10px 4px 0;
    font-size: 12.5px;
    color: var(--text-mute);
    letter-spacing: 0.01em;
}
.promptbox__phone-consent {
    margin-top: 4px;
    opacity: 0.85;
}
.promptbox__phone-consent a {
    color: var(--text-mute);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.promptbox__phone-consent a:hover { color: var(--accent, #dcc5a5); }
.promptbox__phone-error {
    display: none;
    margin: 8px 4px 0;
    font-size: 12.5px;
    color: #c98579;
}
.promptbox__phone-error.is-visible { display: block; }

@media (max-width: 540px) {
    .promptbox__phone-submit {
        width: 100%;
        justify-content: center;
        order: 3;
    }
    .promptbox__phone-input { flex: 1 1 100%; }
}

.promptbox__toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(30, 38, 48, 0.95);
    color: var(--text);
    padding: 14px 22px;
    border-radius: 14px;
    border: 1px solid rgba(220, 197, 165, 0.3);
    font-size: 14px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s var(--ease);
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.promptbox__toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.promptbox__toast .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

@media (max-width: 640px) {
    .promptbox { padding: 10px 10px 8px; border-radius: 24px; }
    .promptbox__row { padding: 6px 2px; }
    .pb-pill { height: 34px; padding: 0 12px; font-size: 13px; }
    .pb-divider { display: none; }
    .promptbox__actions { gap: 6px; }
    .promptbox__hint { flex-direction: column; align-items: center; gap: 4px; }
}

/* ==========================================================================
   Reveal animations
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
    will-change: opacity, transform;
}
.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.2s !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
    .trust__grid { grid-template-columns: repeat(2, 1fr); }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .faq__inner { grid-template-columns: 1fr; gap: 40px; }
    .faq__inner .section__head { position: static; }
    .contact__inner { grid-template-columns: 1fr; gap: 60px; }
    .approach__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
    .container { padding: 0 22px; }
    .section { padding: 90px 0; }
    .nav__links { display: none; }
    .nav__phone { display: none; }

    .hero { padding: 140px 0 80px; }
    .hero__ctas { margin-bottom: 60px; }
    .hero__meta { gap: 22px; padding-top: 24px; }
    .hero__meta-divider { display: none; }
    .hero__meta-item .num { font-size: 26px; }

    .section__head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
    .section__head { margin-bottom: 50px; }

    .trust__grid { grid-template-columns: 1fr; }
    .trust__card { padding: 32px 24px 36px; }

    .services__grid { grid-template-columns: 1fr; gap: 14px; }
    .service { padding: 28px 26px; min-height: 0; }
    .service__top { padding-bottom: 40px; }
    .service__title { font-size: 22px; }

    .process__list::before { left: 22px; }
    .process__step { grid-template-columns: 56px 1fr; gap: 20px; padding: 20px 0; }
    .process__mark { width: 44px; height: 44px; }

    .footer__inner { grid-template-columns: 1fr; gap: 50px; }
    .footer__cols { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer__bottom { flex-direction: column; gap: 10px; }

    .cta__inner { padding: 60px 24px; }

    .form { padding: 32px 24px; }
    .form__grid { grid-template-columns: 1fr; gap: 0; }
    .form__foot { flex-direction: column; align-items: stretch; }
    .form__submit { width: 100%; }
    .checkbox { max-width: none; }

    .contact__intro h1 { font-size: 40px; }
    .contact__side-item a,
    .contact__side-item p { font-size: 18px; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 44px; }
    .btn { padding: 12px 20px; font-size: 13px; }
    .btn--lg { padding: 14px 24px; }
}

/* ==========================================================================
   Live Chat Widget
   ========================================================================== */

/* Floating button */
.chat-fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-soft), var(--accent));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px -8px var(--accent-glow), 0 4px 16px rgba(0,0,0,0.4);
    transition: all 0.4s var(--ease);
    z-index: 9000;
    color: #1a1410;
}
.chat-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 40px -8px var(--accent-glow), 0 6px 24px rgba(0,0,0,0.5); }
.chat-fab svg { width: 24px; height: 24px; transition: opacity 0.25s, transform 0.3s var(--ease); }
.chat-fab__icon-chat { position: absolute; }
.chat-fab__icon-close { position: absolute; opacity: 0; transform: rotate(-90deg); }
.chat-fab.is-open .chat-fab__icon-chat { opacity: 0; transform: rotate(90deg); }
.chat-fab.is-open .chat-fab__icon-close { opacity: 1; transform: rotate(0deg); }

/* Unread badge */
.chat-fab__badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #c98579;
    color: #fff;
    font-size: 11px;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s var(--ease);
    border: 2px solid var(--bg-0);
}
.chat-fab__badge.is-visible { opacity: 1; transform: scale(1); }

/* Chat window */
.chat-window {
    position: fixed;
    bottom: 104px;
    right: 32px;
    width: 370px;
    max-height: 560px;
    border-radius: 24px;
    background: var(--bg-1);
    border: 1px solid var(--line-strong);
    box-shadow: 0 24px 80px -16px rgba(0,0,0,0.7), 0 0 0 1px rgba(220,197,165,0.08);
    display: flex;
    flex-direction: column;
    z-index: 8999;
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    overflow: hidden;
}
.chat-window.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Header */
.chat-window__head {
    padding: 18px 20px 16px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.chat-window__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--accent-soft), var(--accent) 60%, #8b7456);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    color: #1a1410;
    flex-shrink: 0;
    position: relative;
}
.chat-window__avatar::after {
    content: "";
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6dbf82;
    border: 2px solid var(--bg-1);
}
.chat-window__info { flex: 1; min-width: 0; }
.chat-window__name { font-size: 14.5px; font-weight: 400; color: var(--text); letter-spacing: 0.01em; }
.chat-window__status { font-size: 12px; color: var(--text-mute); margin-top: 2px; }

/* Intro screen (before chat starts) */
.chat-window__intro {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 28px;
    text-align: center;
    gap: 16px;
}
.chat-window__intro-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(220,197,165,0.1);
    border: 1px solid rgba(220,197,165,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.chat-window__intro-icon svg { width: 28px; height: 28px; }
.chat-window__intro h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    color: var(--text);
    letter-spacing: -0.01em;
}
.chat-window__intro p { font-size: 14px; color: var(--text-dim); line-height: 1.6; max-width: 260px; }
.chat-window__start-form { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.chat-window__start-input {
    width: 100%;
    height: 46px;
    padding: 0 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14.5px;
    outline: none;
    transition: all 0.3s var(--ease);
}
.chat-window__start-input::placeholder { color: var(--text-mute); }
.chat-window__start-input:focus { border-color: rgba(220,197,165,0.5); background: rgba(220,197,165,0.04); box-shadow: 0 0 0 3px rgba(220,197,165,0.08); }
.chat-window__start-btn {
    height: 46px;
    border-radius: 999px;
    background: var(--accent);
    color: #1a1410;
    border: none;
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.chat-window__start-btn:hover { background: var(--accent-soft); transform: translateY(-1px); }

/* Messages area */
.chat-window__messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}
.chat-window__messages::-webkit-scrollbar { width: 4px; }
.chat-window__messages::-webkit-scrollbar-track { background: transparent; }
.chat-window__messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

/* Message bubbles */
.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 82%;
    animation: chat-in 0.3s var(--ease-out);
}
@keyframes chat-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.chat-msg--visitor { align-self: flex-end; align-items: flex-end; }
.chat-msg--admin   { align-self: flex-start; align-items: flex-start; }
.chat-msg__bubble {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}
.chat-msg--visitor .chat-msg__bubble {
    background: var(--accent);
    color: #1a1410;
    border-bottom-right-radius: 5px;
}
.chat-msg--admin .chat-msg__bubble {
    background: rgba(255,255,255,0.07);
    color: var(--text);
    border: 1px solid var(--line);
    border-bottom-left-radius: 5px;
}
.chat-msg__time { font-size: 11px; color: var(--text-mute); margin-top: 3px; padding: 0 2px; }

/* System message */
.chat-msg--system {
    align-self: center;
    max-width: 90%;
    align-items: center;
}
.chat-msg--system .chat-msg__bubble {
    background: transparent;
    color: var(--text-mute);
    font-size: 12.5px;
    text-align: center;
    border: none;
    padding: 4px 10px;
}

/* Typing indicator */
.chat-typing {
    align-self: flex-start;
    padding: 8px 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--line);
    border-radius: 18px;
    border-bottom-left-radius: 5px;
    display: none;
    gap: 4px;
    align-items: center;
}
.chat-typing.is-visible { display: flex; }
.chat-typing span {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--text-mute);
    animation: chat-dot 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chat-dot {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.4; }
    40% { transform: scale(1.1); opacity: 1; }
}

/* Input area */
.chat-window__footer {
    border-top: 1px solid var(--line);
    padding: 10px 12px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}
.chat-window__input {
    flex: 1;
    min-height: 40px;
    max-height: 120px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.4;
    outline: none;
    resize: none;
    transition: border-color 0.3s;
    scrollbar-width: none;
}
.chat-window__input::-webkit-scrollbar { display: none; }
.chat-window__input::placeholder { color: var(--text-mute); }
.chat-window__input:focus { border-color: rgba(220,197,165,0.4); }
.chat-window__send {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #1a1410;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 16px -6px var(--accent-glow);
}
.chat-window__send:hover { background: var(--accent-soft); transform: scale(1.08); }
.chat-window__send:disabled { opacity: 0.4; pointer-events: none; }
.chat-window__send svg { width: 18px; height: 18px; }

/* Closed state */
.chat-window__closed {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-mute);
    font-size: 14px;
    padding: 32px;
    text-align: center;
}

@media (max-width: 480px) {
    .chat-window { width: calc(100vw - 24px); right: 12px; bottom: 86px; max-height: 70vh; }
    .chat-fab { bottom: 20px; right: 20px; }
}

/* ==========================================================================
   Map Modal — «Как нас найти»
   ========================================================================== */

.mapmodal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}
.mapmodal.is-open {
    opacity: 1;
    pointer-events: all;
}

.mapmodal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 20, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

.mapmodal__panel {
    position: relative;
    width: 100%;
    max-width: 980px;
    max-height: 90vh;
    border-radius: 28px;
    background: var(--bg-1);
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.8);
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.45s var(--ease-out);
    display: flex;
    flex-direction: column;
}
.mapmodal.is-open .mapmodal__panel {
    transform: translateY(0) scale(1);
}

.mapmodal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--line);
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    z-index: 2;
}
.mapmodal__close:hover { background: rgba(255,255,255,0.1); color: var(--text); }

.mapmodal__body {
    display: grid;
    grid-template-columns: 340px 1fr;
    min-height: 540px;
    overflow: auto;
}

/* Left column */
.mapmodal__left {
    padding: 44px 36px 36px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
}
.mapmodal__left h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 32px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 16px 0 28px;
}
.mapmodal__left h2 em {
    font-style: italic;
    background: linear-gradient(120deg, var(--accent-soft) 0%, var(--accent) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mapmodal__address {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.mapmodal__address-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(220,197,165,0.1);
    border: 1px solid rgba(220,197,165,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.mapmodal__address-icon svg { width: 18px; height: 18px; }
.mapmodal__city  { font-size: 13px; color: var(--text-mute); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.mapmodal__street { font-size: 17px; color: var(--text); font-weight: 400; line-height: 1.3; margin-bottom: 6px; }
.mapmodal__hours  { font-size: 13px; color: var(--accent); letter-spacing: 0.02em; }

.mapmodal__phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 28px;
    padding-left: 56px;
}
.mapmodal__phone-link {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}
.mapmodal__phone-link:hover { color: var(--accent); }

.mapmodal__yandex-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 28px 56px;
    padding: 12px 18px;
    border-radius: 100px;
    background: rgba(220, 197, 165, 0.08);
    border: 1px solid rgba(220, 197, 165, 0.25);
    color: var(--text);
    text-decoration: none;
    font-size: 14.5px;
    transition: all 0.3s var(--ease);
    align-self: flex-start;
}
.mapmodal__yandex-link svg {
    flex-shrink: 0;
    color: var(--accent);
}
.mapmodal__yandex-link:hover {
    background: rgba(220, 197, 165, 0.15);
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* Video */
.mapmodal__video-wrap {
    margin-top: auto;
}
.mapmodal__video-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 10px;
}
.mapmodal__video-label svg { color: var(--accent); }
.mapmodal__video {
    width: 100%;
    border-radius: 14px;
    display: block;
    background: var(--bg-2);
    max-height: 200px;
    object-fit: cover;
}
.mapmodal__video::-webkit-media-controls { background: rgba(0,0,0,0.4); }

/* Map */
.mapmodal__map {
    position: relative;
    background: var(--bg-2);
}
.mapmodal__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    filter: brightness(0.9) saturate(0.85);
}
.mapmodal__map-open {
    position: absolute;
    bottom: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #141a22;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(220, 197, 165, 0.18);
    transition: all 0.25s var(--ease);
}
.mapmodal__map-open:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(220, 197, 165, 0.25);
}
.mapmodal__map-open svg { stroke: #141a22; }

/* Nav button style */
.nav__link-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: inherit;
    color: var(--text-dim);
    cursor: pointer;
    padding: 0;
    transition: color 0.3s;
    letter-spacing: inherit;
    font-weight: 300;
}
.nav__link-btn:hover { color: var(--text); }

@media (max-width: 820px) {
    .mapmodal__body { grid-template-columns: 1fr; }
    .mapmodal__left { border-right: none; border-bottom: 1px solid var(--line); padding: 32px 24px 28px; }
    .mapmodal__map iframe { min-height: 300px; }
    .mapmodal__panel { max-height: 95vh; border-radius: 20px; }
}

/* ==========================================================================
   Mobile navigation — hamburger + full-screen menu
   ========================================================================== */

.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.3s;
    flex-shrink: 0;
}
.nav__burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-dim);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.35s var(--ease), opacity 0.25s, background 0.3s;
}
.nav__burger:hover { border-color: var(--line-strong); }
.nav__burger:hover span { background: var(--text); }

/* Burger → X animation */
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 49;
    /* Полностью непрозрачный фон, чтобы контент сайта не просвечивал */
    background: #0e131a;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 100px 32px 48px;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
/* Дополнительный плотный слой поверх любых фоновых эффектов страницы */
.mobile-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #0e131a;
    z-index: -1;
}
.mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mobile-menu__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.mobile-menu__link {
    font-family: var(--font-display);
    font-size: clamp(28px, 8vw, 40px);
    font-weight: 300;
    font-style: italic;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: -0.02em;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    transition: color 0.3s, padding-left 0.3s var(--ease);
    display: block;
}
.mobile-menu__link:last-child { border-bottom: none; }
.mobile-menu__link:hover,
.mobile-menu__link:focus { color: var(--accent); padding-left: 12px; outline: none; }

/* Button reset for nav button inside mobile menu */
.mobile-menu__link--btn {
    background: none;
    border: none;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-family: var(--font-display);
    font-size: clamp(28px, 8vw, 40px);
    font-weight: 300;
    font-style: italic;
    color: var(--text-dim);
    padding: 10px 0;
    letter-spacing: -0.02em;
    transition: color 0.3s, padding-left 0.3s var(--ease);
}
.mobile-menu__link--btn:last-child { border-bottom: none; }
.mobile-menu__link--btn:hover { color: var(--accent); padding-left: 12px; }

.mobile-menu__foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.mobile-menu__phone {
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.3s;
}
.mobile-menu__phone:hover { color: var(--accent); }

/* Show burger on mobile */
@media (max-width: 820px) {
    .nav__burger { display: flex; }
    .mobile-menu { display: flex; }
    /* Keep nav__links hidden on mobile */
    .nav__contact .btn { display: none; }
}

/* ==========================================================================
   Mobile fixes — hero, buttons, modals
   ========================================================================== */

@media (max-width: 820px) {
    /* Hero CTAs stack vertically */
    .hero__ctas {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .hero__ctas .btn {
        width: 100%;
        justify-content: center;
    }

    /* Service modal full-screen on mobile */
    .smodal__panel {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        padding: 0;
    }
    .smodal__head { padding: 28px 24px 20px; }
    .smodal__body { padding: 0 24px 24px; }
    .smodal__tabs { padding: 0 24px; gap: 8px; overflow-x: auto; }
    .smodal__tab  { white-space: nowrap; flex-shrink: 0; }
    .smodal__foot { padding: 20px 24px; }
    .smodal__cta  { flex-direction: column; gap: 10px; }
    .smodal__cta .btn { width: 100%; justify-content: center; }

    /* Map modal */
    .mapmodal { padding: 0; align-items: flex-end; }
    .mapmodal__panel { border-radius: 24px 24px 0 0; max-height: 92vh; }

    /* Prompt-box section */
    .promptbox-section { padding: 80px 0 100px; }

    /* Chat widget */
    .chat-window { bottom: 80px; }
}

@media (max-width: 480px) {
    /* Smaller section padding */
    .section { padding: 70px 0; }

    /* Footer cols full width */
    .footer__cols { grid-template-columns: 1fr; gap: 24px; }

    /* Process step */
    .process__num { font-size: 11px; }

    /* Nav brand smaller */
    .nav__brand { font-size: 17px; }

    /* Prompt box hint hidden on very small */
    .promptbox__hint { display: none; }

    /* Buttons full width in hero */
    .hero__ctas .btn { font-size: 14px; }
}

/* ============================================================================
   PERF: на мобилках убираем тяжёлые эффекты для плавного скролла
   - canvas particles удаляется из DOM в JS
   - fog-анимации отключаются (постоянная перерисовка с blur тормозит)
   - backdrop-filter заменяется на сплошной фон (главный убийца fps на мобилке)
   ============================================================================ */
@media (max-width: 900px) {
    .atmosphere__fog,
    .atmosphere__fog--one,
    .atmosphere__fog--two,
    .atmosphere__fog--three {
        animation: none !important;
        opacity: 0.35;
        filter: none;
    }
    .atmosphere__particles { display: none; }

    /* Заменяем backdrop-filter на сплошной фон — на мобилке blur лагает */
    .nav.is-scrolled,
    .smodal__inner,
    .mapmodal__inner {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(15, 13, 12, 0.96) !important;
    }
    /* Меню на мобилке — полностью непрозрачный фон */
    .mobile-menu {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #0e131a !important;
    }

    /* Отключаем will-change на скрытых элементах — экономит память GPU */
    .reveal { will-change: auto; }

    /* Плавная инерция скролла на iOS.
       ВАЖНО: не ставим overscroll-behavior-y: none — это ломает нативный
       pull-to-refresh (обновление страницы свайпом сверху вниз). */
    html, body {
        -webkit-overflow-scrolling: touch;
    }

    /* Скрытие grain — не виден на маленьких экранах, но рендерится */
    .atmosphere__grain { display: none; }
}

/* Если пользователь предпочитает меньше движения — отключаем всё */
@media (prefers-reduced-motion: reduce) {
    .atmosphere__fog,
    .atmosphere__fog--one,
    .atmosphere__fog--two,
    .atmosphere__fog--three { animation: none !important; }
    .atmosphere__particles { display: none; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Если устройство экономит трафик — убираем фоновые украшения */
@media (prefers-reduced-data: reduce) {
    .atmosphere__particles,
    .atmosphere__fog { display: none; }
}

/* ==========================================================================
   Reviews Modal
   ========================================================================== */
.reviews-modal {
    position: fixed; inset: 0; z-index: 1500;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; visibility: hidden;
    transition: opacity .4s ease, visibility 0s linear .4s;
}
.reviews-modal.is-open { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.reviews-modal__overlay {
    position: absolute; inset: 0;
    background: rgba(8, 11, 16, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.reviews-modal__panel {
    position: relative;
    width: 100%;
    max-width: 1120px;
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #1e2834 0%, #18212b 100%);
    border: 1px solid var(--line-strong);
    border-radius: 26px;
    box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 40px 100px -30px rgba(0,0,0,.7);
    overflow: hidden;
    transform: translateY(24px) scale(.98);
    transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.reviews-modal.is-open .reviews-modal__panel { transform: translateY(0) scale(1); }
.reviews-modal__panel::before {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
    background: linear-gradient(135deg, rgba(220,197,165,.35), transparent 30%, transparent 70%, rgba(140,170,210,.22));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none; opacity: .55;
}
.reviews-modal__close {
    position: absolute; top: 18px; right: 18px; z-index: 2;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(20,26,34,.55); backdrop-filter: blur(8px);
    border: 1px solid rgba(220,197,165,.22); color: var(--ink, #e8dec9);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .3s, border-color .3s, color .3s;
}
.reviews-modal__close:hover { background: rgba(20,26,34,.85); border-color: rgba(220,197,165,.5); color: var(--accent, #dcc5a5); }

.reviews-modal__head {
    padding: 44px 56px 28px;
    border-bottom: 1px solid var(--line);
}
.reviews-modal__kicker {
    font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--accent, #dcc5a5); margin: 0 0 12px;
}
.reviews-modal__title {
    font-family: var(--font-display, "Fraunces", serif);
    font-weight: 400; font-size: clamp(28px, 3.4vw, 40px);
    letter-spacing: -.02em; line-height: 1.15; margin: 0 0 12px;
    color: var(--ink, #e8dec9);
}
.reviews-modal__title em { font-style: italic; color: var(--accent, #dcc5a5); }
.reviews-modal__lead { margin: 0; color: var(--text-dim, #c9c0ac); font-size: 15px; max-width: 620px; line-height: 1.6; }

.reviews-modal__body {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    min-height: 0;
    flex: 1;
    overflow: hidden;
}
.reviews-modal__list-wrap {
    overflow-y: auto;
    padding: 28px 40px 36px 56px;
    min-height: 0;
    border-right: 1px solid var(--line);
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.reviews-modal__list-wrap::-webkit-scrollbar { width: 6px; }
.reviews-modal__list-wrap::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }

.reviews-modal__list { display: flex; flex-direction: column; gap: 14px; }
.reviews-modal__loading { color: var(--text-mute, #85826f); font-size: 14px; }

.review-card {
    padding: 20px 22px;
    background: rgba(255,255,255,.02);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: border-color .3s, background .3s, transform .3s;
}
.review-card:hover { border-color: rgba(220,197,165,.22); background: rgba(255,255,255,.035); }
.review-card__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 10px;
}
.review-card__who {
    display: flex; align-items: center; gap: 12px;
}
.review-card__avatar {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 30% 30%, var(--accent-soft, #ecdcc0), var(--accent, #dcc5a5) 55%, #8b7456 100%);
    color: #1a222d; font-family: var(--font-display, serif); font-size: 16px; font-weight: 500;
}
.review-card__name { color: var(--ink, #e8dec9); font-size: 14.5px; font-weight: 500; }
.review-card__meta {
    font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-mute, #85826f);
}
.review-card__stars { color: var(--accent, #dcc5a5); font-size: 13px; letter-spacing: .1em; }
.review-card__stars .dim { color: rgba(220,197,165,.25); }
.review-card__text {
    margin: 0;
    color: var(--text-dim, #c9c0ac);
    font-size: 14.5px;
    line-height: 1.65;
    white-space: pre-wrap;
}

.reviews-modal__form-wrap {
    overflow-y: auto;
    padding: 28px 44px 36px;
    min-height: 0;
    background: rgba(255,255,255,.015);
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.reviews-modal__form-wrap::-webkit-scrollbar { width: 6px; }
.reviews-modal__form-wrap::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }

.reviews-form__title {
    font-family: var(--font-display, serif); font-weight: 400;
    font-size: 22px; letter-spacing: -.01em; margin: 0 0 8px;
    color: var(--ink, #e8dec9);
}
.reviews-form__hint {
    font-size: 13px; color: var(--text-mute, #85826f); line-height: 1.55;
    margin: 0 0 18px;
}
.reviews-form__form { display: flex; flex-direction: column; gap: 14px; }
.reviews-form__field { display: flex; flex-direction: column; gap: 6px; }
.reviews-form__field > span {
    font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--text-mute, #85826f);
}
.reviews-form__field input,
.reviews-form__field textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink, #e8dec9);
    font: inherit; font-size: 14.5px;
    transition: border-color .3s, background .3s;
    resize: vertical;
}
.reviews-form__field input:focus,
.reviews-form__field textarea:focus {
    outline: none;
    border-color: rgba(220,197,165,.5);
    background: rgba(255,255,255,.05);
}
.reviews-form__stars {
    display: inline-flex; gap: 4px; padding: 2px 0;
}
.reviews-form__star {
    background: none; border: 0; padding: 2px 4px;
    color: rgba(220,197,165,.25); font-size: 22px; line-height: 1;
    cursor: pointer; transition: color .2s, transform .2s;
}
.reviews-form__star:hover { transform: scale(1.1); }
.reviews-form__star.is-active { color: var(--accent, #dcc5a5); }
.reviews-form__submit {
    width: 100%; justify-content: center; margin-top: 6px;
}
.reviews-form__status {
    margin: 2px 0 0; min-height: 18px;
    font-size: 13.5px; line-height: 1.5;
}
.reviews-form__status.is-error { color: #e57373; }
.reviews-form__status.is-ok    { color: #9ccfa3; }

.reviews-form__done {
    padding: 18px 20px;
    background: rgba(156, 207, 163, 0.08);
    border: 1px solid rgba(156, 207, 163, 0.28);
    border-radius: 14px;
    color: var(--ink, #e8dec9);
    font-size: 14.5px; line-height: 1.6;
}
.reviews-form__done strong { color: #9ccfa3; }

@media (max-width: 900px) {
    .reviews-modal { padding: 0; align-items: flex-end; }
    .reviews-modal__panel {
        border-radius: 24px 24px 0 0;
        max-height: 92vh;
        width: 100%;
    }
    .reviews-modal__head { padding: 30px 24px 20px 24px; }
    .reviews-modal__body { grid-template-columns: 1fr; grid-template-rows: auto auto; }
    .reviews-modal__list-wrap {
        border-right: 0; border-bottom: 1px solid var(--line);
        padding: 20px 24px 24px;
        max-height: 40vh;
    }
    .reviews-modal__form-wrap {
        padding: 20px 24px 28px;
        max-height: 52vh;
    }
    .reviews-modal__close { top: 14px; right: 14px; width: 36px; height: 36px; }
}

/* ==========================================================================
   Intro splash — кинематографическая заставка
   ========================================================================== */
.intro {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #0a0d13;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 1.4s;
}
.intro.is-hiding {
    opacity: 0;
}
.intro.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s ease-out, transform 7s ease-out;
    filter: saturate(0.9) contrast(1.05);
    pointer-events: none;
}
.intro.is-ready .intro__video {
    opacity: 1;
    transform: scale(1);
}

/* Тёмный градиент-виньетка поверх видео — для читаемости текста и плавного ухода в фон сайта */
.intro__vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(10, 13, 19, 0.45) 55%, rgba(10, 13, 19, 0.92) 100%),
        linear-gradient(180deg, rgba(10, 13, 19, 0.35) 0%, rgba(10, 13, 19, 0.15) 45%, rgba(16, 22, 32, 0.85) 100%);
    pointer-events: none;
    opacity: 0.95;
}

.intro__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 24px;
    text-align: center;
    color: var(--ink, #e8dec9);
}

.intro__mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(-6px);
    animation: intro-mark-in 1.2s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.intro__mark-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--accent-soft, #ecdcc0), var(--accent, #dcc5a5) 55%, #8b7456 100%);
    box-shadow: 0 0 24px var(--accent-glow, rgba(220, 197, 165, 0.45)), 0 0 6px rgba(220, 197, 165, 0.6);
}
.intro__mark-line {
    width: 1px;
    height: 56px;
    background: linear-gradient(180deg, rgba(220, 197, 165, 0.8), transparent);
}

.intro__title {
    font-family: var(--font-display, "Fraunces", serif);
    font-weight: 400;
    font-size: clamp(64px, 11vw, 144px);
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0;
    overflow: hidden;
    padding: 0 0.1em;
}
.intro__title-word {
    display: inline-block;
    font-style: italic;
    background: linear-gradient(180deg, #fdf6e8 0%, var(--accent-soft, #ecdcc0) 45%, var(--accent, #dcc5a5) 75%, #a08866 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 30px 80px rgba(220, 197, 165, 0.15);
    transform: translateY(110%);
    animation: intro-title-up 1.4s 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro__lead {
    font-size: clamp(13px, 1.6vw, 15px);
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(232, 222, 201, 0.78);
    margin: 32px 0 14px;
    opacity: 0;
    transform: translateY(12px);
    animation: intro-fade-up 1.2s 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro__sub {
    font-family: var(--font-display, "Fraunces", serif);
    font-style: italic;
    font-size: clamp(16px, 2.2vw, 22px);
    color: rgba(232, 222, 201, 0.65);
    letter-spacing: -0.005em;
    margin: 0;
    max-width: 600px;
    opacity: 0;
    transform: translateY(12px);
    animation: intro-fade-up 1.4s 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro__skip {
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(20, 26, 34, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 197, 165, 0.22);
    border-radius: 999px;
    color: rgba(232, 222, 201, 0.78);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    animation: intro-fade-up 0.8s 2.4s ease-out forwards;
    transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
}
.intro__skip:hover {
    color: var(--accent, #dcc5a5);
    border-color: rgba(220, 197, 165, 0.5);
    background: rgba(20, 26, 34, 0.75);
    transform: translateX(2px);
}
.intro__skip svg { transition: transform 0.3s; }
.intro__skip:hover svg { transform: translateX(3px); }

/* Прогресс-линия внизу — тонкий намёк на то, что видео идёт */
.intro::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, transparent, var(--accent, #dcc5a5), transparent);
    animation: intro-progress 6s linear 0.3s forwards;
    box-shadow: 0 0 12px var(--accent-glow, rgba(220, 197, 165, 0.4));
    z-index: 3;
}

/* Блокируем прокрутку страницы пока играет заставка */
body.intro-playing {
    overflow: hidden;
    height: 100vh;
}

/* Плавное появление основного контента по завершении */
body.intro-playing main,
body.intro-playing .nav,
body.intro-playing .footer,
body.intro-playing .mobile-menu,
body.intro-playing .chat-fab,
body.intro-playing .chat-window {
    opacity: 0;
    transition: none;
}
body.intro-done main,
body.intro-done .nav,
body.intro-done .footer {
    opacity: 1;
    transition: opacity 1.2s ease-out;
}

@keyframes intro-mark-in {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes intro-title-up {
    to { transform: translateY(0); }
}
@keyframes intro-fade-up {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes intro-progress {
    to { width: 100%; }
}

@media (max-width: 700px) {
    .intro__skip { right: 16px; bottom: 16px; padding: 8px 14px; font-size: 12px; }
    .intro__mark-line { height: 40px; }
    .intro__mark { margin-bottom: 20px; gap: 10px; }
    .intro__lead { margin-top: 24px; letter-spacing: 0.28em; }
}

/* Респект к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .intro,
    .intro__video,
    .intro__mark,
    .intro__title-word,
    .intro__lead,
    .intro__sub,
    .intro__skip,
    .intro::after {
        animation: none !important;
        transition: opacity 0.4s ease-out !important;
    }
    .intro__video { transform: none; opacity: 1; }
    .intro__mark,
    .intro__lead,
    .intro__sub,
    .intro__skip { opacity: 1; transform: none; }
    .intro__title-word { transform: none; }
}
