:root {
    --bg: #ffffff;
    --bg-alt: #f7f7f8;
    --bg-dark: #111827;
    --bg-hero: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --bg-card: #ffffff;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-light: #fff7ed;
    --accent-glow: rgba(249, 115, 22, 0.12);
    --text: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --text-on-dark: #f1f5f9;
    --text-on-dark-secondary: #94a3b8;
    --border: #e5e7eb;
    --border-hover: #d1d5db;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-accent: 0 4px 24px rgba(249, 115, 22, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Manrope', -apple-system, sans-serif;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

/* ─── Переходы между страницами: плоская «шторка» (transform + правки под iOS / Android) ─── */
html.page-transition--lock,
body.page-transition--lock {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    z-index: 99990;
    pointer-events: none;
    visibility: hidden;
    overflow: hidden;
    contain: strict;
    /* слой композитинга — меньше артефактов WebKit при transform */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.page-transition.is-on {
    visibility: visible;
}

.page-transition.is-blocking {
    pointer-events: auto;
    touch-action: none;
}

.page-transition__veil {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    background: linear-gradient(
        168deg,
        #020617 0%,
        #0f172a 28%,
        #1e293b 55%,
        #c2410c 82%,
        #ea580c 100%
    );
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.page-transition__brand {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 3vw, 20px);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.page-transition__brand-icon {
    width: clamp(64px, 18vw, 104px);
    height: auto;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    filter:
        drop-shadow(0 4px 24px rgba(249, 115, 22, 0.55))
        drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
}

.page-transition__brand-text {
    font-family: var(--font-display, inherit);
    font-weight: 700;
    font-size: clamp(1.2rem, 3.8vw, 1.7rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    text-align: center;
    line-height: 1.2;
}

.page-transition__brand-text span {
    color: #fb923c;
}

.page-transition.is-reveal .page-transition__brand {
    opacity: 0;
    transform: translate(-50%, -58%);
}

.page-transition__spark {
    position: absolute;
    left: 50%;
    bottom: max(0px, env(safe-area-inset-bottom, 0px));
    width: min(92vw, 560px);
    height: 4px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: 50% 50%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), rgba(251, 191, 36, 0.95), rgba(249, 115, 22, 0.95), transparent);
    opacity: 0.95;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.34, 1.15, 0.64, 1);
}

.page-transition.is-exit .page-transition__spark {
    transform: translateX(-50%) scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    .page-transition {
        display: none !important;
    }
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.nav--scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-on-dark);
    font-size: 1.25rem;
    font-weight: 700;
}

.nav--scrolled .nav__logo { color: var(--text); }

.nav__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav__logo-icon--premium {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.35), rgba(180, 83, 9, 0.15));
    box-shadow:
        0 0 0 1px rgba(251, 191, 36, 0.25),
        0 8px 28px rgba(245, 158, 11, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    animation: navLogoPulse 6s ease-in-out infinite;
}

.nav__logo-img {
    width: 40px;
    height: 40px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.nav__logo-img--premium {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.nav:not(.nav--scrolled) .nav__logo-img:not(.nav__logo-img--premium) {
    filter: drop-shadow(0 2px 10px rgba(249, 115, 22, 0.4));
}

.nav--scrolled .nav__logo-img:not(.nav__logo-img--premium) {
    filter: drop-shadow(0 1px 4px rgba(234, 88, 12, 0.2));
}

.nav:not(.nav--scrolled) .nav__logo-img--premium {
    filter: drop-shadow(0 4px 18px rgba(251, 191, 36, 0.35));
}

.nav--scrolled .nav__logo-img--premium {
    filter: drop-shadow(0 2px 10px rgba(245, 158, 11, 0.2));
}

@keyframes navLogoPulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.25), 0 8px 28px rgba(245, 158, 11, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
    50% { box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.4), 0 12px 36px rgba(245, 158, 11, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
}

@media (prefers-reduced-motion: reduce) {
    .nav__logo-icon--premium { animation: none; }
}

.nav__logo-text span { color: var(--accent); }

.nav__menu {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav__menu a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    padding: 4px 0;
}

.nav--scrolled .nav__menu a { color: var(--text-secondary); }

.nav__menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width var(--transition);
}

.nav__menu a:hover, .nav__menu a.active { color: #fff; }
.nav--scrolled .nav__menu a:hover, .nav--scrolled .nav__menu a.active { color: var(--text); }
.nav__menu a:hover::after, .nav__menu a.active::after { width: 100%; }

.nav__cta {
    background: var(--accent);
    border: none;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all var(--transition);
}

.nav__cta:hover {
    background: var(--accent-hover);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
    border-radius: 2px;
}

.nav--scrolled .nav__burger span { background: var(--text); }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-transform: uppercase;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.35);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--text);
    color: var(--text);
}

.btn--outline:hover {
    background: var(--text);
    color: #fff;
}

.hero .btn--outline {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

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

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-hero);
    color: var(--text-on-dark);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(249, 115, 22, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    animation: heroGradientShift 12s ease-in-out infinite alternate;
}

/* Фон hero не «дышит», пока не закончилась анимация входа (класс ставит main.js) */
html:not(.page-entrance-ready) .hero__gradient {
    animation: none;
}

@keyframes heroGradientShift {
    0% {
        background:
            radial-gradient(ellipse 80% 60% at 20% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 70%),
            radial-gradient(ellipse 60% 80% at 80% 30%, rgba(249, 115, 22, 0.05) 0%, transparent 70%),
            radial-gradient(ellipse 50% 50% at 50% 100%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    }
    50% {
        background:
            radial-gradient(ellipse 70% 70% at 60% 40%, rgba(249, 115, 22, 0.12) 0%, transparent 70%),
            radial-gradient(ellipse 80% 60% at 20% 70%, rgba(249, 115, 22, 0.06) 0%, transparent 70%),
            radial-gradient(ellipse 60% 60% at 80% 90%, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
    }
    100% {
        background:
            radial-gradient(ellipse 60% 80% at 80% 60%, rgba(249, 115, 22, 0.1) 0%, transparent 70%),
            radial-gradient(ellipse 70% 50% at 30% 20%, rgba(249, 115, 22, 0.07) 0%, transparent 70%),
            radial-gradient(ellipse 50% 60% at 50% 50%, rgba(249, 115, 22, 0.09) 0%, transparent 50%);
    }
}

#heroCanvas,
.page-hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 160px 24px 80px;
}

.hero__badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 32px;
    background: rgba(249, 115, 22, 0.08);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-on-dark-secondary);
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 24px;
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.1);
    align-items: start;
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 10px;
    min-width: 0;
}

.hero__stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 2.8vw, 2.45rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1.15em;
}

.hero__stat-label {
    font-size: 0.72rem;
    color: var(--text-on-dark-secondary);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1.35;
    max-width: 12em;
    margin: 0 auto;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-on-dark-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hero__scroll.hero__scroll--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero__scroll-line {
    width: 2px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    border-radius: 1px;
    animation: scrollLine 2s ease-in-out infinite;
}

html:not(.page-entrance-ready) .hero__scroll-line {
    animation: none;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ─── SECTIONS ─── */
.section { padding: 100px 0; }
.section--dark { background: var(--bg-alt); }

.section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text);
}

.section__subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
}

.section__header {
    text-align: center;
    margin-bottom: 64px;
}

.section__header .section__subtitle { margin: 0 auto; }

.section__cta { text-align: center; margin-top: 48px; }

/* ─── PAGE HERO ─── */
.page-hero {
    padding: 180px 0 80px;
    text-align: center;
    background: var(--bg-alt);
    position: relative;
}

.page-hero--dark {
    background: var(--bg-hero);
    color: var(--text-on-dark);
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero--dark .container {
    position: relative;
    z-index: 1;
}

.page-hero--dark .section__label {
    color: var(--accent);
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.page-hero--dark .page-hero__title {
    color: #ffffff;
}

.page-hero__subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.page-hero--dark .page-hero__subtitle {
    color: var(--text-on-dark-secondary);
}

/* ─── ABOUT ─── */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.about__desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.about__features { display: flex; flex-direction: column; gap: 24px; }

.about__feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about__feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-glow);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.about__feature strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--text);
}

.about__feature p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

.about__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.about__card:first-child { grid-column: 1 / -1; }

.about__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.about__card--accent {
    background: var(--accent-light);
    border-color: rgba(249, 115, 22, 0.2);
}

.about__card-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.about__card-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ─── SERVICES ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    animation-delay: var(--delay, 0s);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card__icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card__icon svg { width: 100%; height: 100%; }

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

/* ─── SERVICES LIST (services page) ─── */
.services-list { display: flex; flex-direction: column; gap: 0; }

.service-row {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
    animation-delay: var(--delay, 0s);
}

.service-row:hover { padding-left: 16px; }

.service-row__number {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-muted);
    flex-shrink: 0;
    width: 40px;
    font-weight: 600;
}

.service-row__content { flex: 1; }

.service-row__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.service-row__desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-row__price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
    white-space: nowrap;
}

.services-note {
    display: flex;
    gap: 20px;
    padding: 32px;
    margin-top: 48px;
    background: var(--accent-light);
    border: 1px solid rgba(249, 115, 22, 0.15);
    border-radius: var(--radius-lg);
}

.services-note__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-glow);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.services-note h4 { margin-bottom: 6px; color: var(--text); }
.services-note p { color: var(--text-secondary); font-size: 0.9rem; }

/* ─── REVIEWS ─── */
.reviews-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.review-card__stars {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-card__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

.review-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-card__header strong { display: block; font-size: 0.95rem; color: var(--text); }

.review-card__date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-card--full { padding: 32px; }
.review-card--full .review-card__text { font-style: normal; margin-bottom: 0; }

.review-card__source {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-left: auto;
    flex-shrink: 0;
}

.review-card__source--avito {
    background: #00aaff15;
    color: #0088cc;
    border: 1px solid #00aaff30;
}

.review-card__source--yandex {
    background: #fc3f1d15;
    color: #e03400;
    border: 1px solid #fc3f1d30;
}

.reviews-sources {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 48px;
}

.reviews-source {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    color: var(--text);
}

.reviews-source:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    color: var(--text);
}

.reviews-source__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.reviews-source--avito .reviews-source__icon {
    background: #00aaff15;
    color: #0088cc;
}

.reviews-source--yandex .reviews-source__icon {
    background: #fc3f1d15;
    color: #e03400;
}

.reviews-source__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviews-source__info strong {
    font-size: 0.95rem;
}

.reviews-source__info span {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.reviews-source__arrow {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.reviews-source:hover .reviews-source__arrow {
    transform: translateX(4px);
    color: var(--accent);
}

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

.reviews-stats {
    display: flex;
    gap: 48px;
    align-items: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 48px;
    box-shadow: var(--shadow);
}

.reviews-stats__score { text-align: center; min-width: 150px; }

.reviews-stats__number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.reviews-stats__stars {
    color: var(--accent);
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin: 8px 0;
}

.reviews-stats__count {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.reviews-stats__bars { flex: 1; display: flex; flex-direction: column; gap: 8px; }

.reviews-stats__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.reviews-stats__bar-fill {
    flex: 1;
    height: 6px;
    background: var(--bg-alt);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.reviews-stats__bar-fill::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--width, 0%);
    background: var(--accent);
    border-radius: 3px;
    transition: width 1s ease;
}

/* ─── PORTFOLIO ─── */
.portfolio-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.compare-item__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.compare-item__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.compare-slider {
    --split: 50%;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: col-resize;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    aspect-ratio: 4/3;
    contain: layout style paint;
}

.compare-slider.is-dragging .compare-slider__before {
    will-change: clip-path;
}

.compare-slider.is-dragging .compare-slider__handle {
    will-change: left;
}

.compare-slider__after {
    position: relative;
    width: 100%;
    height: 100%;
}

.compare-slider__after img,
.compare-slider__before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.compare-slider__before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--split)) 0 0);
    -webkit-clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.compare-slider__before img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compare-slider__label {
    position: absolute;
    bottom: 16px;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 3;
    pointer-events: none;
}

.compare-slider__label--before {
    left: 16px;
    background: rgba(252, 63, 29, 0.9);
    color: #fff;
}

.compare-slider__label--after {
    right: 16px;
    background: rgba(34, 197, 94, 0.9);
    color: #fff;
}

.compare-slider__handle {
    position: absolute;
    top: 0;
    left: var(--split);
    width: 4px;
    height: 100%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(-50%);
    pointer-events: none;
    will-change: left;
}

.compare-slider__line {
    flex: 1;
    width: 3px;
    background: #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
    border-radius: 2px;
}

.compare-slider__grip {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3), 0 0 0 3px rgba(249, 115, 22, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: box-shadow 0.2s, transform 0.2s;
}

.compare-slider:hover .compare-slider__grip,
.compare-slider.active .compare-slider__grip {
    box-shadow: 0 2px 16px rgba(0,0,0,0.4), 0 0 0 4px rgba(249, 115, 22, 0.6);
    transform: scale(1.1);
}

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

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.portfolio-card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.portfolio-card:hover .portfolio-card__image img { transform: scale(1.05); }

.portfolio-card__info { padding: 20px; }
.portfolio-card__info h3 { font-size: 1rem; margin-bottom: 4px; color: var(--text); }
.portfolio-card__info p { font-size: 0.85rem; color: var(--text-secondary); }

.portfolio-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio-card__link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.portfolio-gallery-block { margin-top: 0; }

.portfolio-gallery-block--spaced {
    margin-top: clamp(48px, 8vw, 88px);
    padding-top: clamp(36px, 5vw, 56px);
    border-top: 1px solid var(--border);
}

.portfolio-gallery-block__title { margin-bottom: 36px; }

.portfolio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.portfolio-gallery__item {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(249, 115, 22, 0.25);
}

.portfolio-gallery__thumb {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-alt);
}

.portfolio-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-gallery__item:hover .portfolio-gallery__thumb img {
    transform: scale(1.06);
}

.portfolio-gallery__cap {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 12px 14px 16px;
    line-height: 1.4;
}

body.portfolio-lightbox-open {
    overflow: hidden;
    touch-action: none;
}

.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
}

.portfolio-lightbox[hidden] {
    display: none !important;
}

.portfolio-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.portfolio-lightbox.is-open .portfolio-lightbox__backdrop {
    opacity: 1;
}

.portfolio-lightbox__close {
    position: absolute;
    top: max(12px, env(safe-area-inset-top, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    z-index: 3;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.portfolio-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.24);
}

.portfolio-lightbox__frame {
    position: relative;
    z-index: 2;
    margin: 0;
    max-width: min(96vw, 1200px);
    transform: scale(0.94) translateY(16px);
    opacity: 0;
    transition:
        transform 0.38s cubic-bezier(0.33, 1, 0.68, 1),
        opacity 0.32s ease;
}

.portfolio-lightbox.is-open .portfolio-lightbox__frame {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.portfolio-lightbox__img {
    max-width: 100%;
    max-height: min(82vh, 920px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
    display: block;
    vertical-align: middle;
}

.portfolio-lightbox__caption {
    margin-top: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.93);
    font-size: 1rem;
    line-height: 1.45;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-lightbox__caption:empty {
    display: none;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state__icon {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 700;
}

.empty-state p {
    color: var(--text-secondary);
    max-width: 440px;
    margin: 0 auto 32px;
}

/* ─── LEAD / ZAYAVKA (премиальная подача) ─── */
.lead-page.section--lead {
    position: relative;
    padding-top: 64px;
    padding-bottom: 112px;
    overflow: hidden;
}

.lead-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 80% at 100% 0%, rgba(194, 65, 12, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(15, 23, 42, 0.06) 0%, transparent 45%),
        linear-gradient(165deg, #f7f5f2 0%, #eef0f3 35%, #faf9f7 70%, #ffffff 100%);
    pointer-events: none;
    z-index: 0;
}

.lead-page__grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.section--lead > .container {
    position: relative;
    z-index: 1;
}

.lead-layout {
    display: grid;
    grid-template-columns: minmax(300px, 380px) 1fr;
    gap: 40px;
    align-items: start;
}

.lead-aside__card {
    position: sticky;
    top: 96px;
    isolation: isolate;
    padding: 0;
    background: linear-gradient(160deg, #171c2c 0%, #0d1118 42%, #06080d 100%);
    color: #e8e6e3;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 32px 64px rgba(0, 0, 0, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.lead-aside__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f97316 0%, #c2410c 50%, #9a3412 100%);
    border-radius: 20px 0 0 20px;
}

.lead-aside__badge {
    display: inline-block;
    margin: 28px 28px 0;
    padding: 7px 14px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(253, 186, 116, 0.95);
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.28);
    border-radius: 100px;
}

.lead-aside__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 18px 28px 22px;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.lead-aside__steps {
    list-style: none;
    margin: 0 20px 28px;
    padding: 0;
}

.lead-aside__steps li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #a8b0c4;
}

.lead-aside__num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: #0c0a09;
    background: linear-gradient(145deg, #fb923c 0%, #ea580c 100%);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(234, 88, 12, 0.45);
}

.lead-aside__contact {
    margin: 0;
    padding: 24px 28px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.35);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7c879c;
}

.lead-aside__contact span { display: block; margin-bottom: 10px; font-size: 0.72rem; }

.lead-aside__contact a {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #fed7aa !important;
}

.lead-aside__contact a:hover {
    color: #fff !important;
}

.lead-panel {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf8 100%);
    border: 1px solid rgba(12, 10, 9, 0.08);
    border-radius: 20px;
    padding: 40px 40px 44px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 40px 80px rgba(15, 23, 42, 0.08),
        0 12px 32px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.lead-panel__shine {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 55%;
    height: 80%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.09) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.lead-panel > .lead-banner,
.lead-panel > form {
    position: relative;
    z-index: 1;
}

.lead-banner {
    padding: 18px 22px;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 32px;
    border: 1px solid transparent;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.lead-banner strong {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.lead-banner--warn {
    background: linear-gradient(145deg, #fff8f3 0%, #ffedd5 55%, #fff7ed 100%);
    border-color: rgba(194, 65, 12, 0.22);
    color: #7c2d12;
}

.lead-banner--success {
    background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 50%, #ecfdf5 100%);
    border-color: rgba(22, 163, 74, 0.22);
    color: #14532d;
}

.lead-banner--info {
    background: linear-gradient(145deg, #eff6ff 0%, #e0f2fe 100%);
    border-color: rgba(37, 99, 235, 0.2);
    color: #1e3a8a;
}

.lead-banner a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: inherit;
    opacity: 0.95;
}

.lead-form__head {
    margin-bottom: 32px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(12, 10, 9, 0.06);
}

.lead-form__eyebrow {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c2410c;
    margin-bottom: 12px;
}

.lead-form__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    font-weight: 600;
    color: #0c0a09;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 10px;
}

.lead-form__subtitle {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #64748b;
    max-width: 42em;
}

.lead-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
    margin-bottom: 4px;
}

.lead-form__field { margin-bottom: 22px; }

.lead-form__field--upload {
    margin-bottom: 26px;
}

.lead-form__label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;
    margin-bottom: 10px;
}

.lead-form__label-note {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: none;
    color: #94a3b8;
}

.lead-form__req { color: #ea580c; }

.lead-form__input,
.lead-form__textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid rgba(12, 10, 9, 0.1);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #f8fafc;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.lead-form__input::placeholder,
.lead-form__textarea::placeholder {
    color: #94a3b8;
}

.lead-form__input:hover,
.lead-form__textarea:hover {
    background: #fff;
    border-color: rgba(12, 10, 9, 0.14);
}

.lead-form__input:focus,
.lead-form__textarea:focus {
    outline: none;
    background: #fff;
    border-color: rgba(234, 88, 12, 0.55);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.lead-form__input:disabled,
.lead-form__textarea:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.lead-form__textarea {
    resize: vertical;
    min-height: 156px;
    line-height: 1.65;
}

/* Dropzone */
.lead-dropzone__shell {
    position: relative;
    min-height: 176px;
    border-radius: 14px;
    overflow: hidden;
}

.lead-dropzone__visual {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 24px;
    min-height: 176px;
    border: 1px dashed rgba(194, 65, 12, 0.35);
    border-radius: 14px;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 247, 237, 0.85) 100%);
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    pointer-events: none;
}

.lead-dropzone__input {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

.lead-dropzone__input:disabled {
    cursor: not-allowed;
    z-index: 0;
}

.lead-dropzone--drag .lead-dropzone__visual {
    border-color: rgba(234, 88, 12, 0.65);
    border-style: solid;
    background: linear-gradient(165deg, #fff 0%, #fff7ed 100%);
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.15), 0 12px 32px rgba(15, 23, 42, 0.06);
}

.lead-dropzone__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(249, 115, 22, 0.12) 0%, rgba(249, 115, 22, 0.05) 100%);
    border: 1px solid rgba(249, 115, 22, 0.18);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.08);
}

.lead-dropzone__icon {
    color: #c2410c;
    opacity: 1;
}

.lead-dropzone__title {
    font-size: 1.02rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.lead-dropzone__accent {
    color: #ea580c;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}

.lead-dropzone__hint {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.55;
    max-width: 340px;
}

.lead-dropzone.lead-dropzone--has-files .lead-dropzone__visual {
    border-color: rgba(234, 88, 12, 0.45);
    background: linear-gradient(165deg, #fffefb 0%, #fff7ed 100%);
}

.lead-files-summary {
    margin-top: 16px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 100%);
    border: 1px solid rgba(234, 88, 12, 0.28);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.lead-files-summary__title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c2410c;
    margin: 0 0 10px;
}

.lead-file-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.55;
}

.lead-file-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(12, 10, 9, 0.08);
    padding-left: 22px;
    position: relative;
}

.lead-file-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 0.75rem;
    color: #ea580c;
    font-weight: 700;
}

.lead-file-list li:last-child { border-bottom: none; }

.lead-form__msg {
    min-height: 1.5em;
    font-size: 0.94rem;
    margin-bottom: 18px;
    font-weight: 500;
}

.lead-form__msg--ok { color: #15803d; }
.lead-form__msg--err { color: #b91c1c; }

.lead-form__submit.btn--primary {
    background: transparent;
    color: inherit;
}

.lead-form__submit {
    width: 100%;
    padding: 0;
    margin-top: 4px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 14px;
    border: none;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 8px 28px rgba(234, 88, 12, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lead-form__submit-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 28px;
    background: linear-gradient(180deg, #fb923c 0%, #ea580c 48%, #c2410c 100%);
    color: #fff;
}

.lead-form__submit-arrow {
    flex-shrink: 0;
    opacity: 0.95;
    transition: transform 0.25s ease;
}

.lead-form__submit:hover:not(:disabled) .lead-form__submit-arrow {
    transform: translateX(4px);
}

.lead-form__submit.btn--primary:hover:not(:disabled) {
    background: transparent;
    color: inherit;
    transform: none;
}

.lead-form__submit:hover:not(:disabled) {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 12px 36px rgba(234, 88, 12, 0.42);
}

.lead-form__submit:active:not(:disabled) {
    transform: scale(0.992);
}

.lead-form__submit.btn--primary:active:not(:disabled) {
    background: transparent;
    transform: scale(0.992);
}

.lead-form__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.lead-form__submit:disabled .lead-form__submit-inner {
    filter: grayscale(0.15);
}

@media (max-width: 900px) {
    .lead-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .lead-aside__card {
        position: relative;
        top: auto;
    }
}

@media (max-width: 600px) {
    .lead-form__grid { grid-template-columns: 1fr; }
    .lead-panel { padding: 28px 18px 32px; }
    .lead-form__head { margin-bottom: 26px; }
    .lead-form__submit-inner { padding: 16px 22px; gap: 10px; }
    .lead-dropzone__shell { min-height: 158px; }
    .lead-dropzone__visual { min-height: 158px; padding: 24px 16px; }
    .lead-dropzone__icon-wrap { width: 56px; height: 56px; margin-bottom: 12px; }
}

/* ─── CONTACTS ─── */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contacts-info { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.contact-item__icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h3 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item p { font-size: 1rem; color: var(--text); }
.contact-item a { font-size: 1rem; }

.contacts-map__frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 100%;
    min-height: 400px;
    box-shadow: var(--shadow);
}

.contacts-map__frame iframe { width: 100%; height: 100%; }

/* ─── CTA BLOCK ─── */
.cta-block {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    color: var(--text-on-dark);
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-block h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
}

.cta-block p {
    color: var(--text-on-dark-secondary);
    margin-bottom: 32px;
    font-size: 1.05rem;
    position: relative;
}

.cta-block__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

.cta-block .btn--outline {
    border-color: rgba(255,255,255,0.25);
    color: #fff;
}

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

/* ─── Работы: нижний призыв «Оставить заявку» ─── */
.portfolio-cta-section {
    padding-top: 48px;
    padding-bottom: 88px;
}

.cta-block--portfolio {
    padding: 56px 36px 60px;
    border: 1px solid rgba(249, 115, 22, 0.35);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 32px 64px rgba(0, 0, 0, 0.35),
        0 0 80px rgba(249, 115, 22, 0.08);
}

.cta-block__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 24px rgba(249, 115, 22, 0.35));
}

.cta-block--portfolio__title {
    position: relative;
    z-index: 1;
}

.cta-block--portfolio__text {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-block__actions--portfolio {
    position: relative;
    z-index: 1;
}

.portfolio-cta-lead {
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 24px rgba(249, 115, 22, 0.45);
}

.portfolio-cta-lead:hover {
    box-shadow: 0 6px 32px rgba(249, 115, 22, 0.55);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .cta-block--portfolio {
        padding: 40px 22px 44px;
    }
    .portfolio-cta-lead {
        width: 100%;
        justify-content: center;
    }
}

/* ─── FOOTER ─── */
.footer {
    padding: 80px 0 32px;
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer .nav__logo { color: #fff; }

.footer .nav__logo-img:not(.nav__logo-img--premium) {
    filter: drop-shadow(0 2px 14px rgba(249, 115, 22, 0.45));
}

.footer .nav__logo-img--premium {
    filter: drop-shadow(0 4px 20px rgba(251, 191, 36, 0.35));
}

.footer__brand p {
    color: var(--text-on-dark-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.7;
}

.footer__links h4, .footer__contact h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-on-dark-secondary);
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    color: var(--text-on-dark-secondary);
    font-size: 0.9rem;
}

.footer__links a:hover { color: var(--accent); }

.footer__contact p, .footer__contact a {
    display: block;
    color: var(--text-on-dark-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer__contact a:hover { color: var(--accent); }

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── FLOATING ORBS (light sections) ─── */
.floating-orb {
    position: absolute;
    left: var(--orb-x, 50%);
    top: var(--orb-y, 50%);
    width: var(--orb-size, 300px);
    height: var(--orb-size, 300px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.06) 0%, rgba(249, 115, 22, 0.02) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat var(--orb-duration, 18s) ease-in-out infinite;
    animation-delay: var(--orb-delay, 0s);
    filter: blur(40px);
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 35px) scale(1.05); }
}

.section > *:not(.floating-orb) { position: relative; z-index: 1; }

/* ─── MOBILE FAB (только звонок) ─── */
.mobile-fab {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 920;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff !important;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4), 0 2px 8px rgba(0,0,0,0.15);
    animation: fabPulse 3s ease-in-out infinite;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-fab:active {
    transform: scale(0.94);
}

@keyframes fabPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4), 0 2px 8px rgba(0,0,0,0.15); }
    50% { box-shadow: 0 4px 30px rgba(249, 115, 22, 0.6), 0 2px 12px rgba(0,0,0,0.2); }
}

/* ─── NAV OVERLAY ─── */
.nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav__overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-slider { grid-template-columns: repeat(2, 1fr); }
    .about__grid { grid-template-columns: 1fr; gap: 48px; }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-compare-grid { grid-template-columns: repeat(2, 1fr); }

    .hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }

    .container { padding: 0 16px; }

    /* ─── NAV MOBILE ─── */
    .nav { padding: 12px 0; }
    .nav--scrolled { padding: 8px 0; }

    .nav__burger { display: flex; }
    .nav__cta { display: none; }

    .nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav__burger.open span:nth-child(2) { opacity: 0; }
    .nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: var(--bg);
        flex-direction: column;
        padding: 100px 32px 32px;
        padding-top: calc(100px + env(safe-area-inset-top, 0px));
        gap: 8px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border);
        box-shadow: -8px 0 32px rgba(0,0,0,0.15);
        z-index: 999;
        overflow-y: auto;
    }

    .nav__menu.open { right: 0; }

    .nav__menu a {
        color: var(--text-secondary) !important;
        font-size: 1.05rem;
        padding: 12px 16px;
        border-radius: var(--radius);
        transition: all 0.2s ease;
    }

    .nav__menu a:hover, .nav__menu a.active {
        color: var(--text) !important;
        background: var(--bg-alt);
    }

    .nav__menu a.active {
        color: var(--accent) !important;
        font-weight: 600;
    }

    .nav__overlay.open { display: block; opacity: 1; }

    /* ─── HERO MOBILE ─── */
    .hero { min-height: 100vh; min-height: 100dvh; }

    .hero__content {
        padding: 120px 16px 100px;
        padding-top: calc(120px + env(safe-area-inset-top, 0px));
    }

    .hero__badge { font-size: 0.7rem; padding: 6px 14px; margin-bottom: 24px; }

    .hero__title { font-size: clamp(1.8rem, 8vw, 2.8rem); margin-bottom: 16px; }

    .hero__subtitle { font-size: 1rem; margin-bottom: 28px; line-height: 1.7; }

    .hero__actions {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 48px;
    }

    .hero__actions .btn {
        width: 100%;
        text-align: center;
        padding: 16px 24px;
    }

    .hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
        padding-top: 32px;
        max-width: 100%;
    }

    .hero__stat-num { font-size: 1.75rem; }
    .hero__stat-label { font-size: 0.68rem; letter-spacing: 0.06em; max-width: 11em; }

    .hero__scroll { display: none; }

    /* ─── PAGE HERO MOBILE ─── */
    .page-hero { padding: 130px 0 48px; }
    .page-hero--dark { padding: 130px 0 48px; }

    /* ─── SECTIONS MOBILE ─── */
    .section { padding: 64px 0; }
    .section__header { margin-bottom: 40px; }
    .section__title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .section__subtitle { font-size: 0.95rem; }
    .section__label { font-size: 0.7rem; }
    .section__cta { margin-top: 32px; }

    /* ─── ABOUT MOBILE ─── */
    .about__grid { grid-template-columns: 1fr; gap: 40px; }
    .about__desc { font-size: 0.95rem; margin-bottom: 28px; }

    .about__visual {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .about__card { padding: 20px 16px; }
    .about__card-number { font-size: 2.2rem; }

    /* ─── SERVICES MOBILE ─── */
    .services-grid { grid-template-columns: 1fr; gap: 16px; }

    .service-card { padding: 24px 20px; }
    .service-card__title { font-size: 1.05rem; }
    .service-card__desc { font-size: 0.85rem; }

    .service-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 24px 0;
    }

    .service-row__number { display: none; }
    .service-row__title { font-size: 1.1rem; }
    .service-row__price { font-size: 1.1rem; }

    .services-note { flex-direction: column; padding: 24px; gap: 12px; }

    /* ─── REVIEWS MOBILE ─── */
    .reviews-slider {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .review-card { padding: 20px; }
    .review-card__text { font-size: 0.88rem; }

    .reviews-grid { grid-template-columns: 1fr; gap: 16px; }

    .review-card--full { padding: 24px; }

    .reviews-stats {
        flex-direction: column;
        gap: 24px;
        padding: 28px 20px;
    }

    .reviews-stats__number { font-size: 3rem; }

    .reviews-sources { grid-template-columns: 1fr; gap: 12px; }
    .reviews-source { padding: 16px 20px; }

    /* ─── PORTFOLIO MOBILE ─── */
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-compare-grid { grid-template-columns: 1fr; gap: 24px; }
    .portfolio-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

    .compare-slider { border-radius: var(--radius); }
    .compare-slider__grip { width: 40px; height: 40px; }
    .compare-slider__grip svg { width: 20px; height: 20px; }
    .compare-slider__label { font-size: 0.65rem; padding: 4px 12px; bottom: 10px; }
    .compare-slider__label--before { left: 10px; }
    .compare-slider__label--after { right: 10px; }

    /* ─── CONTACTS MOBILE ─── */
    .contacts-grid { grid-template-columns: 1fr; gap: 24px; }

    .contact-item { padding: 20px; gap: 16px; }
    .contact-item h3 { font-size: 0.75rem; }
    .contact-item p, .contact-item a { font-size: 0.95rem; }

    .contacts-map__frame { min-height: 300px; }

    /* ─── CTA MOBILE ─── */
    .cta-block {
        padding: 40px 20px;
        border-radius: var(--radius);
    }

    .cta-block h2 { font-size: clamp(1.3rem, 5vw, 1.6rem); }
    .cta-block p { font-size: 0.95rem; }

    .cta-block__actions { flex-direction: column; }
    .cta-block__actions .btn { width: 100%; }

    /* ─── FOOTER MOBILE ─── */
    .footer { padding: 48px 0 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .footer__brand p { font-size: 0.85rem; }
    .footer__bottom { padding-top: 24px; }
    .footer__bottom p { font-size: 0.75rem; padding-bottom: 70px; }

    /* ─── BUTTONS MOBILE ─── */
    .btn {
        padding: 14px 28px;
        font-size: 0.85rem;
        min-height: 48px;
    }

    .btn--primary:active { transform: scale(0.97); }
    .btn--outline:active { transform: scale(0.97); }

    /* ─── MOBILE FAB ─── */
    .mobile-fab { display: flex; }

    /* ─── EMPTY STATE MOBILE ─── */
    .empty-state { padding: 48px 16px; }
    .empty-state h3 { font-size: 1.3rem; }
}

/* ─── EXTRA SMALL (iPhone SE etc.) ─── */
@media (max-width: 380px) {
    html { font-size: 14px; }
    .container { padding: 0 12px; }

    .hero__content { padding: 110px 12px 80px; }
    .hero__title { font-size: 1.6rem; }

    .hero__stats {
        gap: 20px 12px;
    }

    .hero__stat-num { font-size: 1.45rem; }
    .hero__stat-label { font-size: 0.65rem; max-width: 10em; }

    .about__visual { gap: 8px; }
    .about__card { padding: 16px 12px; }
    .about__card-number { font-size: 1.8rem; }

    .service-card { padding: 20px 16px; }

    .nav__menu { width: 85%; padding: 90px 24px 24px; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal { opacity: 1; transform: none; }
    .floating-orb { display: none; }
    .mobile-fab { animation: none; }
}

/* ─── SAFE AREAS (notched devices) ─── */
@supports (padding: env(safe-area-inset-top)) {
    .nav { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
    .footer { padding-bottom: env(safe-area-inset-bottom); }
}
