/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.menu-open {
    overflow: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--color-gradient-cta);
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Noise texture overlay */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Decorative floating shapes */
.deco-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.deco-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.deco-shape--1 {
    width: 300px;
    height: 300px;
    background: rgba(8, 145, 178, 0.15);
    top: 20%;
    right: 5%;
    animation: decoFloat 20s ease-in-out infinite;
}

.deco-shape--2 {
    width: 200px;
    height: 200px;
    background: rgba(124, 58, 237, 0.12);
    bottom: 30%;
    left: 3%;
    animation: decoFloat 25s ease-in-out infinite 2s;
}

.deco-shape--3 {
    width: 150px;
    height: 150px;
    background: rgba(8, 145, 178, 0.1);
    top: 60%;
    right: 15%;
    animation: decoFloat 18s ease-in-out infinite 4s;
}

.deco-shape--4 {
    width: 250px;
    height: 250px;
    background: rgba(124, 58, 237, 0.08);
    top: 80%;
    left: 10%;
    animation: decoFloat 22s ease-in-out infinite 1s;
}

.deco-shape--5 {
    width: 180px;
    height: 180px;
    background: rgba(8, 145, 178, 0.08);
    top: 40%;
    left: 50%;
    animation: decoFloat 24s ease-in-out infinite 3s;
}

@media (max-width: 768px) {
    .deco-shape {
        opacity: 0.25;
    }
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Laptop optimization (1366×768, 1440×900) */
@media (max-width: 1366px) {
    .container {
        padding: 0 var(--container-padding-laptop);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.btn--primary {
    background: var(--color-gradient-cta);
    color: white;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn--glow {
    box-shadow: 0 0 20px rgba(8, 145, 178, 0.35);
}

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

.btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    padding: var(--space-3) 0;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

/* Header over dark hero */
.header--over-hero .header__link,
.header--over-hero .header__phone {
    color: rgba(255, 255, 255, 0.85);
}

.header--over-hero .header__link:hover,
.header--over-hero .header__phone:hover {
    color: #fff;
}

.header--over-hero .header__msg {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
}

.header--over-hero .header__msg:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.header--over-hero .header__logo-text {
    color: #fff;
}

.header--over-hero .header__burger span {
    background: #fff;
}

.header.scrolled.header--over-hero .header__link,
.header.scrolled.header--over-hero .header__phone,
.header.scrolled.header--over-hero .header__logo-text {
    color: var(--color-text);
}

.header.scrolled.header--over-hero .header__link:hover,
.header.scrolled.header--over-hero .header__phone:hover {
    color: var(--color-accent);
}

.header.scrolled.header--over-hero .header__msg {
    color: var(--color-text-muted);
    border-color: var(--color-border);
}

.header.scrolled.header--over-hero .header__msg:hover {
    color: var(--color-accent);
    border-color: var(--color-accent-muted);
    background: var(--color-accent-muted);
}

.header.scrolled.header--over-hero .header__burger span {
    background: var(--color-text);
}

.header__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: var(--font-bold);
    font-size: var(--text-lg);
}

.header__logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gradient-cta);
    border-radius: var(--radius-lg);
    color: white;
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.25);
}

.header__logo-icon svg {
    width: 22px;
    height: 22px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

@media (max-width: 1200px) {
    .header__nav {
        gap: var(--space-4);
    }
    .header__nav .header__link {
        font-size: 0.8125rem;
    }
    .header__right {
        gap: var(--space-4);
    }
    .header__phone {
        font-size: 0.8125rem;
    }
}

.header__nav-mobile {
    display: none;
}

.header__link {
    position: relative;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gradient-cta);
    transition: width var(--transition-base);
}

.header__link:hover::after,
.header__link.active::after {
    width: 100%;
}

.header__link:hover,
.header__link.active {
    color: var(--color-accent);
}

.header__right {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.header__phone {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-text);
}

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

.header__messengers {
    display: flex;
    gap: var(--space-1);
}

.header__msg {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.header__msg:hover {
    color: var(--color-accent);
    border-color: var(--color-accent-muted);
    background: var(--color-accent-muted);
}

.header__msg svg {
    width: 18px;
    height: 18px;
}

.header__cta {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.header__burger span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-24) var(--container-padding);
    overflow: hidden;
}

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

.hero__gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(8, 145, 178, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        var(--color-bg);
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero__parallax {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.hero__parallax--1 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    top: -100px;
    right: -100px;
}

.hero__parallax--2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    bottom: -50px;
    left: -50px;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero__badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-accent);
    background: var(--color-accent-muted);
    border: 1px solid rgba(8, 145, 178, 0.35);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: var(--font-extrabold);
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.hero__title-line {
    display: block;
}

.hero__title-line--accent {
    background: var(--color-gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: var(--text-xl);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero__offer {
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    color: var(--color-accent);
    margin-bottom: var(--space-10);
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
}

.hero__btn {
    min-width: 200px;
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text-muted);
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll svg {
    width: 32px;
    height: 32px;
}

/* Hero Designer (hndee-style) */
.hero--designer {
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 40%, #0f172a 100%);
    color: #f8fafc;
}

.hero--designer .hero__gradient {
    background: 
        radial-gradient(ellipse 90% 60% at 70% 20%, rgba(8, 145, 178, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 90% 70%, rgba(8, 145, 178, 0.08) 0%, transparent 50%);
}

.hero--designer .hero__grid {
    background-image: 
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero__marketplaces-bg {
    position: absolute;
    inset: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8vw 12vw;
    padding: 10%;
    opacity: 0.06;
    pointer-events: none;
}

.hero__mp-logo {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 800;
    color: white;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero__social-vertical {
    position: absolute;
    left: var(--container-padding);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    z-index: 2;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
}

.hero__social-vertical a {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition-fast);
    text-align: center;
}

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

.hero__container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    min-height: 70vh;
}

.hero--designer .hero__content {
    text-align: left;
    max-width: none;
}

.hero--designer .hero__badge {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

.hero--designer .hero__title {
    color: #f8fafc;
}

.hero--designer .hero__title-line--accent {
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero--designer .hero__subtitle {
    color: rgba(248, 250, 252, 0.75);
    margin-left: 0;
    margin-right: 0;
    max-width: 520px;
}

.hero--designer .hero__btn--outline {
    border-color: rgba(255,255,255,0.4);
    color: #f8fafc;
}

.hero--designer .hero__btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(8, 145, 178, 0.1);
}

.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.hero__sticker {
    position: absolute;
    top: 0;
    right: 10%;
    transform: rotate(12deg);
    padding: var(--space-4) var(--space-6);
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: white;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    box-shadow: 0 8px 32px rgba(8, 145, 178, 0.4);
    z-index: 3;
    clip-path: polygon(2% 2%, 98% 2%, 98% 98%, 2% 98%, 2% 2%, 6% 6%, 94% 6%, 94% 94%, 6% 94%, 6% 6%);
    animation: stickerFloat 4s ease-in-out infinite;
}

.hero__sticker::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero__sticker-text {
    position: relative;
    z-index: 1;
}

/* Анимированные коробки, конверты, упаковки */
.hero__packaging {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero__pack {
    position: absolute;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Конверт */
.hero__pack--envelope {
    width: 50px;
    height: 36px;
    background: linear-gradient(145deg, #0e7490 0%, #0891b2 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__pack--envelope .hero__pack-body {
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
}

.hero__pack--envelope .hero__pack-flap {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 18px solid rgba(6, 95, 117, 0.9);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Коробка */
.hero__pack--box {
    width: 44px;
    height: 36px;
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    border: 1px solid rgba(8, 145, 178, 0.4);
}

.hero__pack--box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 8px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
}

/* Посылка с лентой */
.hero__pack--parcel {
    width: 56px;
    height: 42px;
    background: linear-gradient(145deg, #0891b2 0%, #06b6d4 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero__pack--parcel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%);
}

.hero__pack--parcel::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 8px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%);
}

/* Маленькая коробка */
.hero__pack--small-box {
    width: 32px;
    height: 26px;
    background: linear-gradient(145deg, #7c3aed 0%, #6d28d9 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__pack--small-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

/* Позиции и анимации */
.hero__pack--1 {
    top: 15%;
    left: 8%;
    animation: packFloat1 6s ease-in-out infinite;
}

.hero__pack--2 {
    top: 8%;
    right: 15%;
    animation: packFloat2 5.5s ease-in-out infinite 0.3s;
}

.hero__pack--3 {
    bottom: 25%;
    left: 5%;
    animation: packFloat3 7s ease-in-out infinite 0.6s;
}

.hero__pack--4 {
    bottom: 15%;
    right: 12%;
    animation: packFloat4 5s ease-in-out infinite 0.2s;
}

.hero__pack--5 {
    top: 35%;
    right: 5%;
    animation: packFloat5 6.5s ease-in-out infinite 0.4s;
}

.hero__boxes {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: var(--space-4);
    z-index: 1;
}

.hero__box {
    position: relative;
    width: 120px;
    height: 100px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero__box--closed {
    background: linear-gradient(145deg, #0891b2 0%, #0e7490 100%);
    transform: rotate(-5deg) translateY(20px);
    animation: boxFloatClosed 5s ease-in-out infinite;
}

.hero__box--closed::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 20px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

.hero__box--open {
    width: 140px;
    height: 110px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid rgba(8, 145, 178, 0.4);
    transform: rotate(8deg) translateY(10px);
    animation: boxFloatOpen 5s ease-in-out infinite 0.5s, packGlow 4s ease-in-out infinite 1s;
}

.hero__box--open::before {
    content: 'Примем • Упакуем • Отправим';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: rgba(255,255,255,0.6);
    text-align: center;
    white-space: nowrap;
}

.hero__cta-circle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--color-gradient-cta);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    color: white;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-align: center;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.2), 0 0 60px rgba(8, 145, 178, 0.5);
    transition: all var(--transition-base);
    z-index: 2;
}

.hero__cta-circle:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 0 6px rgba(255,255,255,0.3), 0 0 80px rgba(8, 145, 178, 0.6);
}

.hero__cta-circle svg {
    width: 20px;
    height: 20px;
}

.hero__divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    color: var(--color-bg);
    z-index: 2;
}

.hero__divider svg {
    width: 100%;
    height: 100%;
}

.hero--designer .hero__scroll {
    color: rgba(255,255,255,0.6);
}

/* Hero: laptop viewport optimization */
@media (max-width: 1366px) {
    .hero__main {
        gap: var(--space-10);
        min-height: 60vh;
    }
    .hero--designer .hero__title {
        font-size: clamp(2rem, 4.5vw, 3.25rem);
    }
    .hero--designer .hero__subtitle {
        font-size: var(--text-base);
    }
    .hero__visual {
        min-height: 320px;
    }
    .hero__sticker {
        right: 5%;
        padding: var(--space-3) var(--space-4);
        font-size: 0.8125rem;
    }
    .hero__box--closed {
        width: 100px;
        height: 85px;
    }
    .hero__box--open {
        width: 120px;
        height: 95px;
    }
    .hero__box--open::before {
        font-size: 8px;
    }
    .hero__cta-circle {
        width: 140px;
        height: 140px;
        font-size: 0.7rem;
    }
}

@media (max-height: 900px) {
    .hero {
        min-height: auto;
        padding: var(--space-16) var(--container-padding);
    }
    .hero__main {
        min-height: auto;
        padding: var(--space-8) 0;
    }
    .hero__scroll {
        bottom: var(--space-4);
    }
}

@media (max-width: 1024px) {
    .hero__social-vertical {
        display: none;
    }
    
    .hero__main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero--designer .hero__content {
        text-align: center;
    }
    
    .hero--designer .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__buttons {
        justify-content: center;
    }
    
    .hero__visual {
        order: -1;
        min-height: 280px;
    }
    
    .hero__sticker {
        right: 50%;
        transform: translateX(50%) rotate(8deg);
        animation: none;
    }
    
    .hero__cta-circle {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: var(--space-8);
    }
    
    .hero__cta-circle:hover {
        transform: scale(1.05);
    }
    
    .hero__boxes {
        justify-content: center;
    }
    
    .hero__packaging {
        opacity: 0.6;
    }
    
    .hero__pack--1 { left: 2%; top: 12%; }
    .hero__pack--2 { right: 5%; top: 5%; }
    .hero__pack--3 { left: 2%; bottom: 20%; }
    .hero__pack--4 { right: 5%; bottom: 12%; }
    .hero__pack--5 { right: 2%; top: 30%; }
}

@media (max-width: 640px) {
    .hero__box--closed,
    .hero__box--open {
        width: 90px;
        height: 75px;
    }
    
    .hero__box--open {
        width: 100px;
        height: 85px;
    }
    
    .hero__box--open::before {
        font-size: 7px;
        white-space: normal;
    }
    
    .hero__cta-circle {
        width: 140px;
        height: 140px;
        font-size: 0.65rem;
    }
    
    /* Упаковки меньше на мобильных */
    .hero__pack--envelope { width: 36px; height: 26px; }
    .hero__pack--envelope .hero__pack-flap {
        border-left-width: 18px;
        border-right-width: 18px;
        border-top-width: 13px;
    }
    .hero__pack--box { width: 32px; height: 26px; }
    .hero__pack--parcel { width: 40px; height: 30px; }
    .hero__pack--small-box { width: 24px; height: 20px; }
}

/* Sections */
.section {
    padding: var(--space-24) 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 1366px) {
    .section {
        padding: var(--space-16) 0;
    }
    .section__header {
        margin-bottom: var(--space-12);
    }
    .section__title {
        font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    }
    .section__subtitle {
        font-size: var(--text-base);
    }
}

@media (max-height: 900px) {
    .section {
        padding: var(--space-12) 0;
    }
}

.section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

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

/* Декоративные коробки, упаковки, погрузчики на фоне секций */
.section__deco,
.footer__deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.footer__deco {
    z-index: 0;
}

.deco-item {
    position: absolute;
    opacity: 0.12;
    animation: decoFloat 8s ease-in-out infinite;
}

.deco-item--box {
    width: 36px;
    height: 28px;
    background: linear-gradient(145deg, var(--color-accent) 0%, #0e7490 100%);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.deco-item--box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.deco-item--parcel {
    width: 44px;
    height: 32px;
    background: linear-gradient(145deg, #0891b2 0%, #06b6d4 100%);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.deco-item--parcel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(255,255,255,0.35);
    transform: translateY(-50%);
}

.deco-item--parcel::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: rgba(255,255,255,0.25);
    transform: translateX(-50%);
}

.deco-item--envelope {
    width: 40px;
    height: 28px;
    background: linear-gradient(145deg, #0e7490 0%, #0891b2 100%);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.deco-item--envelope::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 14px solid rgba(6, 95, 117, 0.9);
}

.deco-item--forklift {
    width: 48px;
    height: 32px;
    color: var(--color-accent);
}

.deco-item--forklift svg {
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

/* Позиции deco по секциям */
.section--marketplaces .deco-item--1 { top: 15%; left: 5%; animation-delay: 0s; }
.section--marketplaces .deco-item--2 { top: 25%; right: 8%; animation-delay: 1s; }
.section--marketplaces .deco-item--3 { bottom: 20%; left: 10%; animation-delay: 2s; }

.section--why .deco-item--1 { top: 12%; right: 12%; animation-delay: 0.5s; }
.section--why .deco-item--2 { top: 35%; left: 5%; animation-delay: 1.5s; }
.section--why .deco-item--3 { bottom: 25%; right: 8%; animation-delay: 0.8s; }
.section--why .deco-item--4 { bottom: 15%; left: 15%; animation-delay: 2.2s; }

.section--services .deco-item--1 { top: 10%; left: 8%; animation-delay: 0s; }
.section--services .deco-item--2 { top: 30%; right: 5%; animation-delay: 1.2s; }
.section--services .deco-item--3 { bottom: 30%; left: 3%; animation-delay: 0.6s; }
.section--services .deco-item--4 { bottom: 15%; right: 12%; animation-delay: 1.8s; }
.section--services .deco-item--5 { top: 60%; right: 20%; animation-delay: 2.5s; }

.section--process .deco-item--1 { top: 15%; right: 10%; animation-delay: 0.3s; }
.section--process .deco-item--2 { bottom: 30%; left: 8%; animation-delay: 1.4s; }
.section--process .deco-item--3 { top: 40%; right: 5%; animation-delay: 0.9s; }
.section--process .deco-item--4 { bottom: 20%; right: 15%; animation-delay: 2s; }

.section--calculator .deco-item--1 { top: 20%; left: 10%; animation-delay: 0s; }
.section--calculator .deco-item--2 { bottom: 25%; right: 8%; animation-delay: 1.3s; }
.section--calculator .deco-item--3 { top: 50%; right: 5%; animation-delay: 0.7s; }

.section--advantages .deco-item--1 { top: 12%; right: 8%; animation-delay: 1s; }
.section--advantages .deco-item--2 { bottom: 20%; left: 5%; animation-delay: 0.4s; }
.section--advantages .deco-item--3 { top: 35%; left: 3%; animation-delay: 1.6s; }
.section--advantages .deco-item--4 { bottom: 35%; right: 10%; animation-delay: 0.8s; }

.section--gallery .deco-item--1 { top: 15%; left: 8%; animation-delay: 0.2s; }
.section--gallery .deco-item--2 { bottom: 25%; right: 5%; animation-delay: 1.5s; }
.section--gallery .deco-item--3 { top: 40%; right: 12%; animation-delay: 0.9s; }
.section--gallery .deco-item--4 { bottom: 15%; left: 10%; animation-delay: 2.1s; }

.section--stats .deco-item--1 { top: 20%; right: 10%; animation-delay: 0.5s; }
.section--stats .deco-item--2 { bottom: 25%; left: 8%; animation-delay: 1.2s; }
.section--stats .deco-item--3 { top: 50%; left: 5%; animation-delay: 0.3s; }

.section--reviews .deco-item--1 { top: 15%; left: 8%; animation-delay: 0s; }
.section--reviews .deco-item--2 { bottom: 20%; right: 10%; animation-delay: 1.4s; }
.section--reviews .deco-item--3 { top: 45%; right: 5%; animation-delay: 0.8s; }

.section--faq .deco-item--1 { top: 12%; right: 12%; animation-delay: 0.2s; }
.section--faq .deco-item--2 { bottom: 30%; left: 5%; animation-delay: 1.1s; }
.section--faq .deco-item--3 { bottom: 15%; right: 8%; animation-delay: 0.6s; }

.section--cta .deco-item--1 { top: 15%; left: 8%; animation-delay: 0s; }
.section--cta .deco-item--2 { bottom: 20%; right: 10%; animation-delay: 1.3s; }
.section--cta .deco-item--3 { top: 40%; right: 5%; animation-delay: 0.7s; }
.section--cta .deco-item--4 { bottom: 35%; left: 8%; animation-delay: 1.8s; }

@media (max-width: 768px) {
    .deco-item { opacity: 0.08; }
    .deco-item--forklift { width: 36px; height: 24px; }
}

@media (max-width: 640px) {
    .deco-item { opacity: 0.06; }
    .deco-item--box, .deco-item--parcel, .deco-item--envelope {
        width: 28px;
        height: 22px;
    }
}

.footer .deco-item--1 { top: 20%; left: 10%; animation-delay: 0.4s; }
.footer .deco-item--2 { top: 50%; right: 15%; animation-delay: 1s; }
.footer .deco-item--3 { bottom: 25%; left: 20%; animation-delay: 0.6s; }

.footer--designer .deco-item { opacity: 0.12; }
.footer--designer .deco-item--forklift { color: #22d3ee; }

/* Тёмные секции (why) — светлее декор */
.section--why .deco-item {
    opacity: 0.15;
}

.section--why .deco-item--forklift {
    color: #22d3ee;
}

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

/* Services - dot pattern + gradient orbs */
#services.section--dark::before {
    background-image:
        var(--pattern-dots),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(8, 145, 178, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    background-size: var(--pattern-dots-size), auto, auto;
    background-position: 0 0, 0 0, 0 0;
}

.section--light {
    background: var(--color-bg-elevated);
}

/* Why "Как для себя" */
#why.section--light::before {
    background-image:
        var(--pattern-dots),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(8, 145, 178, 0.05) 0%, transparent 50%);
    background-size: var(--pattern-dots-size), auto;
}

/* Process - designer dark */
.section--process.section--designer {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.section--process.section--designer .process__bg {
    opacity: 0.06;
}

.section--process.section--designer::before {
    background-image:
        var(--pattern-grid),
        radial-gradient(ellipse 60% 60% at 100% 100%, rgba(8, 145, 178, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 40% 50% at 0% 0%, rgba(124, 58, 237, 0.04) 0%, transparent 50%);
    background-size: var(--pattern-grid-size), auto, auto;
}

.section--process.section--designer .process__step {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255,255,255,0.1);
}

.section--process.section--designer .process__step:hover {
    border-color: rgba(8, 145, 178, 0.5);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.section--process.section--designer .process__step:not(:last-child)::after {
    background: linear-gradient(to bottom, var(--color-accent), var(--color-secondary));
    opacity: 0.6;
}

.section--process.section--designer .process__content h3 {
    color: #f8fafc;
}

.section--process.section--designer .process__content p {
    color: rgba(248, 250, 252, 0.7);
}

/* Calculator - designer */
.section--calculator.section--designer {
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
}

.section--calculator.section--designer::before {
    background-image:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(8, 145, 178, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
}

.section--calculator.section--designer .section__title {
    color: #f8fafc;
}

.section--calculator.section--designer .section__subtitle {
    color: rgba(248, 250, 252, 0.75);
}

.section--calculator.section--designer .calculator {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}

.section--calculator.section--designer .calculator__field label {
    color: rgba(248, 250, 252, 0.9);
}

.section--calculator.section--designer .calculator__range {
    background: rgba(255,255,255,0.1);
}

.section--calculator.section--designer .calculator__range::-webkit-slider-thumb {
    box-shadow: 0 0 20px rgba(8, 145, 178, 0.6);
}

.section--calculator.section--designer .calculator__value {
    color: #22d3ee;
}

.section--calculator.section--designer .calculator__select {
    background: transparent;
    border-color: transparent;
    color: transparent;
}

.section--calculator.section--designer .calculator__select-custom {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #f8fafc;
}

.section--calculator.section--designer .calculator__select-custom__arrow {
    color: rgba(248, 250, 252, 0.7);
}

.section--calculator.section--designer .calculator__select-custom__dropdown {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.section--calculator.section--designer .calculator__select-custom__option {
    color: #f8fafc;
}

.section--calculator.section--designer .calculator__select-custom__option:hover,
.section--calculator.section--designer .calculator__select-custom__option:focus {
    background: rgba(255,255,255,0.1);
}

.section--calculator.section--designer .calculator__select-custom__option.is-selected {
    background: rgba(8, 145, 178, 0.35);
    color: #22d3ee;
}

.section--calculator.section--designer .calculator__result {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.section--calculator.section--designer .calculator__result-label {
    color: rgba(248, 250, 252, 0.7);
}

.section--calculator.section--designer .calculator__result-value {
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Advantages - designer */
.section--advantages.section--designer {
    background: white;
}

.section--advantages.section--designer::before {
    background-image:
        linear-gradient(135deg, rgba(8, 145, 178, 0.02) 25%, transparent 25%),
        linear-gradient(225deg, rgba(124, 58, 237, 0.02) 25%, transparent 25%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(8, 145, 178, 0.03) 0%, transparent 70%);
    background-size: 60px 60px, 60px 60px, 100% 100%;
}

.section--advantages.section--designer .advantage-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.section--advantages.section--designer .advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-gradient-cta);
    transition: height var(--transition-base);
}

.section--advantages.section--designer .advantage-card:hover {
    border-color: rgba(8, 145, 178, 0.2);
    box-shadow: 0 12px 40px rgba(8, 145, 178, 0.1);
}

.section--advantages.section--designer .advantage-card:hover::before {
    height: 100%;
}

/* Gallery - designer */
.section--gallery.section--designer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.section--gallery.section--designer::before {
    background-image:
        radial-gradient(ellipse 70% 50% at 0% 0%, rgba(8, 145, 178, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 100% 100%, rgba(124, 58, 237, 0.06) 0%, transparent 50%);
}

.section--gallery.section--designer .section__title {
    color: #f8fafc;
}

.section--gallery.section--designer .section__subtitle {
    color: rgba(248, 250, 252, 0.7);
}

.section--gallery.section--designer .gallery__item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.section--gallery.section--designer .gallery__item:hover {
    border-color: rgba(8, 145, 178, 0.4);
}

.section--gallery.section--designer .gallery__overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, transparent 70%);
}

/* Stats - designer dark strip */
.section--stats.section--designer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: var(--space-20) 0;
}

.section--stats.section--designer::before {
    background-image:
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(8, 145, 178, 0.1) 0%, transparent 50%);
}

.section--stats.section--designer .stat-item__value {
    background: linear-gradient(135deg, #22d3ee 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section--stats.section--designer .stat-item__suffix {
    color: #22d3ee;
}

.section--stats.section--designer .stat-item__label {
    color: rgba(248, 250, 252, 0.7);
}

/* Reviews - designer */
.section--reviews.section--designer {
    background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
}

.section--reviews.section--designer::before {
    background-image:
        var(--pattern-dots),
        radial-gradient(ellipse 60% 80% at 0% 50%, rgba(8, 145, 178, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 100% 50%, rgba(124, 58, 237, 0.04) 0%, transparent 50%);
    background-size: var(--pattern-dots-size), auto, auto;
}

.section--reviews.section--designer .review-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.section--reviews.section--designer .review-card:hover {
    border-color: rgba(8, 145, 178, 0.2);
    box-shadow: 0 16px 48px rgba(8, 145, 178, 0.12);
}

/* FAQ - designer */
.section--faq.section--designer {
    background: white;
}

.section--faq.section--designer::before {
    background-image:
        var(--pattern-grid),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(8, 145, 178, 0.04) 0%, transparent 50%);
    background-size: var(--pattern-grid-size), auto;
}

.section--faq.section--designer .faq__item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.section--faq.section--designer .faq__question {
    padding: var(--space-6) var(--space-4);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.section--faq.section--designer .faq__item.active .faq__question {
    background: var(--color-accent-muted);
    color: var(--color-accent);
}

.section--faq.section--designer .faq__question svg {
    color: var(--color-accent);
}

/* CTA - designer */
.section--cta.section--designer {
    position: relative;
    overflow: hidden;
}

.section--cta.section--designer::before {
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.section--cta.section--designer .cta__offer {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta__offer-badge {
    position: absolute;
    top: -10px;
    right: var(--space-6);
    padding: var(--space-1) var(--space-3);
    font-size: 0.7rem;
    font-weight: var(--font-bold);
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.95);
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-full);
}

.section--cta.section--designer .cta__input {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.section--cta.section--designer .cta__input:focus {
    background: rgba(255, 255, 255, 0.2);
}

.section--cta.section--designer .cta__submit {
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 4px rgba(255, 255, 255, 0.5);
    animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 4px rgba(255, 255, 255, 0.5); }
    50% { box-shadow: 0 8px 40px rgba(251, 191, 36, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.6); }
}

/* Footer - designer dark */
.footer--designer .footer__top {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-top: none;
}

.footer--designer .footer__top::before {
    background-image: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(8, 145, 178, 0.08) 0%, transparent 50%);
}

.footer--designer .footer__logo,
.footer--designer .footer__logo span {
    color: #f8fafc;
}

.footer--designer .footer__tagline {
    color: rgba(248, 250, 252, 0.7);
}

.footer--designer .footer__nav a {
    color: rgba(248, 250, 252, 0.8);
}

.footer--designer .footer__nav a:hover {
    color: #22d3ee;
}

.footer--designer .footer__phone {
    color: #f8fafc;
}

.footer--designer .footer__phone:hover {
    color: #22d3ee;
}

.footer--designer .footer__email {
    color: rgba(248, 250, 252, 0.7);
}

.footer--designer .footer__email:hover {
    color: #22d3ee;
}

.footer--designer .footer__social a {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: rgba(248, 250, 252, 0.9);
}

.footer--designer .footer__social a:hover {
    background: rgba(8, 145, 178, 0.3);
    border-color: var(--color-accent);
    color: #22d3ee;
}

.footer--designer .footer__bottom {
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer--designer .footer__bottom p {
    color: rgba(248, 250, 252, 0.6);
}

.footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.footer__made-with {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
}

.footer__made-with svg {
    width: 14px;
    height: 14px;
    color: #f43f5e;
    animation: pulse 2s ease-in-out infinite;
}

/* Process - background image + pattern */
.process__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('../images/7f89e8f0.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
}

#process .container {
    position: relative;
    z-index: 1;
}

/* Process - subtle grid + warm accent */
#process.section--light::before {
    background-image:
        var(--pattern-grid),
        radial-gradient(ellipse 60% 60% at 100% 100%, rgba(8, 145, 178, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 40% 50% at 0% 0%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
    background-size: var(--pattern-grid-size), auto, auto;
}

/* Calculator - mesh gradient */
#calculator.section--dark::before {
    background-image:
        var(--pattern-dots),
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(8, 145, 178, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(124, 58, 237, 0.06) 0%, transparent 50%);
    background-size: var(--pattern-dots-size), auto, auto;
}

/* Advantages - diagonal stripes (very subtle) */
#advantages.section--light::before {
    background-image:
        linear-gradient(135deg, rgba(8, 145, 178, 0.02) 25%, transparent 25%),
        linear-gradient(225deg, rgba(124, 58, 237, 0.02) 25%, transparent 25%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(8, 145, 178, 0.03) 0%, transparent 70%);
    background-size: 60px 60px, 60px 60px, 100% 100%;
}

/* Gallery */
#gallery.section--dark::before {
    background-image:
        var(--pattern-grid),
        radial-gradient(ellipse 70% 50% at 0% 0%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 100% 100%, rgba(8, 145, 178, 0.05) 0%, transparent 50%);
    background-size: var(--pattern-grid-size), auto, auto;
}

.section--stats:not(.section--designer) {
    background: linear-gradient(180deg, var(--color-bg-light) 0%, #e8e8ed 100%);
    padding: var(--space-16) 0;
}

@media (max-width: 1366px) {
    .section--stats.section--designer {
        padding: var(--space-12) 0;
    }
}

/* Stats - premium gradient + pattern */
#stats.section--stats::before {
    background-image:
        var(--pattern-dots),
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(8, 145, 178, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 0% 50%, rgba(124, 58, 237, 0.04) 0%, transparent 50%);
    background-size: var(--pattern-dots-size), auto, auto;
}

/* Reviews */
#reviews.section--dark::before {
    background-image:
        radial-gradient(ellipse 60% 80% at 0% 50%, rgba(8, 145, 178, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 100% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
        var(--pattern-dots);
    background-size: auto, auto, var(--pattern-dots-size);
}

/* FAQ */
#faq.section--light::before {
    background-image:
        var(--pattern-grid),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(8, 145, 178, 0.04) 0%, transparent 50%);
    background-size: var(--pattern-grid-size), auto;
}

/* ========== DESIGNER SECTIONS ========== */

/* Marketplaces - premium bar */
.section--marketplaces.section--designer {
    padding: var(--space-16) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: none;
}

.section--marketplaces.section--designer::before {
    background-image:
        linear-gradient(rgba(8, 145, 178, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 145, 178, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.section--marketplaces.section--designer .marketplaces__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.marketplaces__badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: 0.65rem;
    font-weight: var(--font-bold);
    letter-spacing: 0.15em;
    color: var(--color-accent);
    background: var(--color-accent-muted);
    border-radius: var(--radius-full);
    width: fit-content;
}

.section--marketplaces.section--designer .marketplace__logo {
    padding: var(--space-4) var(--space-8);
    background: white;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-xl);
    font-weight: var(--font-bold);
    color: var(--color-text);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all var(--transition-base);
}

.section--marketplaces.section--designer .marketplace__logo:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent-muted);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.15);
    color: var(--color-accent);
}

/* Why - dark split */
.section--why.section--designer {
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #f8fafc;
}

.section--why.section--designer::before {
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(8, 145, 178, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 50%);
}

.section--why.section--designer .section__title {
    color: #f8fafc;
}

.section--why.section--designer .section__subtitle {
    color: rgba(248, 250, 252, 0.7);
}

.section--why.section--designer .why__card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
}

.section--why.section--designer .why__card:hover {
    border-color: rgba(8, 145, 178, 0.4);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.section--why.section--designer .why__card h3 {
    color: #f8fafc;
}

.section--why.section--designer .why__card p {
    color: rgba(248, 250, 252, 0.75);
}

.section--why.section--designer .why__card-icon {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.3) 0%, rgba(124, 58, 237, 0.2) 100%);
    color: #22d3ee;
}

.section--why.section--designer .why__image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

.section--why.section--designer .why__image-overlay {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.25) 0%, rgba(124, 58, 237, 0.15) 100%);
}

/* Services - dark cards */
.section--services.section--designer {
    background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
}

.section--services.section--designer::before {
    background-image:
        var(--pattern-dots),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(8, 145, 178, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    background-size: var(--pattern-dots-size), auto, auto;
}

.section--services.section--designer .service-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.section--services.section--designer .service-card {
    position: relative;
    overflow: hidden;
}

.section--services.section--designer .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.section--services.section--designer .service-card:hover {
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(8, 145, 178, 0.12);
}

.section--services.section--designer .service-card:hover::before {
    opacity: 1;
}

.section--marketplaces:not(.section--designer) {
    padding: var(--space-12) 0;
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.marketplaces__title {
    text-align: center;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

.marketplaces__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-10);
}

@media (max-width: 1366px) {
    .marketplaces__grid {
        gap: var(--space-6);
    }
    .section--marketplaces.section--designer .marketplace__logo {
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-sm);
    }
}

.marketplace__logo {
    padding: var(--space-3) var(--space-6);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-muted);
    transition: all var(--transition-base);
}

.marketplace__logo:hover {
    color: var(--color-accent);
    border-color: var(--color-accent-muted);
}

.section--cta {
    background: var(--color-gradient-cta);
    padding: var(--space-24) 0;
}

.section--cta::before {
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
}

/* Section number badges */
.section__number {
    position: absolute;
    top: var(--space-8);
    right: var(--container-padding);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    color: rgba(0,0,0,0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.section--why.section--designer .section__number,
.section--calculator.section--designer .section__number,
.section--gallery.section--designer .section__number,
.section--stats.section--designer .section__number,
.footer--designer .section__number {
    color: rgba(255,255,255,0.04);
}

/* Corner accents on sections */
.section--designer .section__header {
    position: relative;
}

.section--designer .section__header::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--color-gradient-cta);
    border-radius: var(--radius-full);
    opacity: 0.8;
}

.section__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-16);
}

.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
}

.section__subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
}

/* Services */
.services__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-6);
}

@media (max-width: 1366px) {
    .services__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: var(--space-4);
    }
    .service-card {
        padding: var(--space-5);
    }
    .service-card__title {
        font-size: var(--text-lg);
    }
    .service-card__text {
        font-size: 0.8125rem;
    }
}

@media (max-width: 1100px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: linear-gradient(145deg, var(--color-bg-card) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    transform-style: preserve-3d;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    border-color: var(--color-accent-muted);
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: var(--shadow-lg);
    background: var(--color-bg-elevated);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-muted);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    color: var(--color-accent);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-card__icon {
    background: var(--color-gradient-cta);
    color: white;
}

.service-card__title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
}

.service-card__text {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

/* Why "Как для себя" */
.why__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

@media (max-width: 1366px) {
    .why__split {
        gap: var(--space-8);
    }
    .why__card {
        padding: var(--space-6);
    }
    .why__image {
        min-height: 320px;
    }
}

.why__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.why__image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    min-height: 400px;
}

.why__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.15) 0%, rgba(124, 58, 237, 0.1) 100%);
    pointer-events: none;
}

@media (max-width: 1024px) {
    .why__split {
        grid-template-columns: 1fr;
    }
    
    .why__image {
        min-height: 300px;
        order: -1;
    }
}

.why__card {
    background: linear-gradient(145deg, var(--color-bg-card) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    transition: all var(--transition-base);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

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

.why__card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-muted);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    color: var(--color-accent);
}

.why__card-icon svg {
    width: 28px;
    height: 28px;
}

.why__card h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
}

.why__card p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Process Timeline - "Путь клиента" style */
.process__timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: var(--space-6);
}

@media (max-width: 1366px) {
    .process__timeline {
        gap: var(--space-4);
    }
    .process__step {
        padding: var(--space-6);
    }
    .process__number {
        width: 52px;
        height: 52px;
        font-size: var(--text-lg);
    }
}

.process__step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-6);
    padding: var(--space-8);
    background: linear-gradient(145deg, #1a1a24 0%, #12121a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    position: relative;
    transition: all var(--transition-base);
}

.process__step:hover {
    border-color: rgba(8, 145, 178, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.process__step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-secondary));
    opacity: 0.5;
}

.process__step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -28px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--color-secondary);
    opacity: 0.6;
    z-index: 1;
}

.process__number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-extrabold);
    font-size: var(--text-2xl);
    background: var(--color-gradient-cta);
    border-radius: var(--radius-lg);
    color: white;
}

.process__content h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
    color: #e4e4e7;
}

.process__content p {
    color: #a1a1aa;
}

/* Calculator */
.calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(160deg, var(--color-bg-card) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(8, 145, 178, 0.05);
}

@media (max-width: 1366px) {
    .calculator {
        gap: var(--space-10);
        padding: var(--space-8);
    }
    .calculator__form {
        gap: var(--space-6);
    }
    .calculator__result-value {
        font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    }
}

.calculator__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.calculator__field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.calculator__field label {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-muted);
}

.calculator__range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--color-bg-light);
    border-radius: var(--radius-full);
    outline: none;
}

.calculator__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--color-gradient-cta);
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(8, 145, 178, 0.4);
    transition: transform var(--transition-fast);
}

.calculator__range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.calculator__value {
    font-weight: var(--font-semibold);
    color: var(--color-accent);
}

.calculator__select-wrap {
    position: relative;
    width: 100%;
}

.calculator__select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: var(--text-base);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    appearance: none;
}

.calculator__select-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text);
    font-family: inherit;
    font-size: var(--text-base);
    cursor: pointer;
    position: relative;
    min-height: 2.75rem;
    box-sizing: border-box;
}

.calculator__select-custom__arrow {
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: transform 0.2s ease;
}

.calculator__select-wrap.is-open .calculator__select-custom__arrow {
    transform: rotate(180deg);
}

.calculator__select-custom__dropdown {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 2px;
    padding: var(--space-1);
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    max-height: 240px;
    overflow-y: auto;
}

.calculator__select-wrap.is-open .calculator__select-custom__dropdown {
    display: block;
}

.calculator__select-custom__option {
    display: block;
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text);
    font-family: inherit;
    font-size: var(--text-base);
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.calculator__select-custom__option:hover,
.calculator__select-custom__option:focus {
    background: var(--color-bg-elevated);
    outline: none;
}

.calculator__select-custom__option.is-selected {
    background: var(--color-accent-muted);
    color: var(--color-accent);
}

.calculator__result {
    background: var(--color-bg-light);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    text-align: center;
}

.calculator__result-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}

.calculator__result-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-bold);
    background: var(--color-gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-6);
    transition: transform 0.3s ease;
}

.calculator__result-value--pulse {
    animation: pulse 0.5s ease;
}

.calculator__submit {
    width: 100%;
}

/* Advantages */
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

@media (max-width: 1366px) {
    .advantages__grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: var(--space-4);
    }
    .advantage-card {
        padding: var(--space-6);
    }
}

.advantage-card {
    background: linear-gradient(145deg, var(--color-bg-card) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.advantage-card:hover {
    border-color: var(--color-secondary-muted);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--color-bg-elevated);
}

.advantage-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary-muted);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    color: var(--color-secondary);
}

.advantage-card__icon svg {
    width: 24px;
    height: 24px;
}

.advantage-card h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
}

.advantage-card p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

/* Gallery */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: var(--space-4);
}

@media (max-width: 1366px) {
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 160px);
        gap: var(--space-3);
    }
    .gallery__item--large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 1100px) {
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 180px 180px 180px;
    }
    .gallery__item--large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-4);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__overlay span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: var(--font-semibold);
    color: white;
}

.gallery__overlay svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .gallery__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery__item--large {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 200px;
    }
}

/* Stats */
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

@media (max-width: 1366px) {
    .stats__grid {
        gap: var(--space-6);
    }
    .stat-item__value {
        font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    }
}

.stat-item {
    text-align: center;
}

.stat-item__value {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: var(--font-extrabold);
    background: var(--color-gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item__suffix {
    font-size: var(--text-2xl);
    color: var(--color-accent);
}

.stat-item__label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-2);
}

/* Reviews */
.reviews__slider {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-8) 0;
}

.review-card {
    background: linear-gradient(145deg, var(--color-bg-card) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-sm), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.review-card__stars {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
    color: #fbbf24;
}

.review-card__stars svg {
    width: 20px;
    height: 20px;
}

.review-card__text {
    font-size: var(--text-lg);
    margin-bottom: var(--space-6);
    font-style: italic;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.review-card__avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gradient-cta);
    border-radius: var(--radius-full);
    font-weight: var(--font-bold);
    font-size: var(--text-sm);
}

.review-card__author strong {
    display: block;
    margin-bottom: 2px;
}

.review-card__author span {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.swiper-pagination-bullet {
    background: var(--color-text-muted);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--color-accent);
    opacity: 1;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--color-accent);
}

/* FAQ */
.faq__list {
    max-width: 700px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid var(--color-border);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6) 0;
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    text-align: left;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

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

.faq__question svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: var(--space-4);
    transition: transform var(--transition-base);
}

.faq__item.active .faq__question svg {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq__answer p {
    padding-bottom: var(--space-6);
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* CTA */
.cta__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-bold);
    color: white;
    margin-bottom: var(--space-4);
}

.cta__subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
}

.cta__offer {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-10);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta__offer-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
}

.cta__offer-main {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3);
}

.cta__offer-desc {
    font-size: var(--text-base);
    opacity: 0.95;
    margin-bottom: var(--space-2);
}

.cta__offer-note {
    font-size: var(--text-sm);
    opacity: 0.85;
}

.cta__offer-link {
    text-decoration: underline;
    color: white;
}

.cta__offer-link:hover {
    opacity: 0.9;
}

.cta__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    max-width: 400px;
    margin: 0 auto;
}

.cta__field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.cta__label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 1366px) {
    .cta__title {
        font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    }
    .cta__offer {
        padding: var(--space-6);
    }
    .cta__input {
        min-width: 180px;
    }
}

.cta__input {
    padding: var(--space-4) var(--space-8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    font-size: var(--text-base);
    min-width: 200px;
}

.cta__input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.cta__input:focus {
    outline: none;
    border-color: white;
}

.cta__submit {
    padding: var(--space-5) var(--space-8);
    background: #ffffff !important;
    color: #0891b2;
    margin-top: var(--space-2);
    width: 100%;
    font-weight: 700;
    font-size: var(--text-lg);
    border: 3px solid #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cta__submit:hover {
    background: #fbbf24 !important;
    color: #18181b;
    border-color: #fbbf24;
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
    position: relative;
    overflow: hidden;
}

.footer__top {
    position: relative;
    padding: var(--space-16) 0;
    background: linear-gradient(180deg, #f4f4f5 0%, #e8e8ed 100%);
    border-top: 1px solid var(--color-border);
}

@media (max-width: 1366px) {
    .footer__top {
        padding: var(--space-12) 0;
    }
    .footer__main {
        gap: var(--space-8);
    }
}

.footer__top::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, transparent 0%, rgba(8, 145, 178, 0.03) 50%, rgba(124, 58, 237, 0.02) 100%);
    opacity: 0.8;
}

.footer__main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-12);
    flex-wrap: wrap;
}

.footer__brand {
    max-width: 280px;
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.footer__logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gradient-cta);
    border-radius: var(--radius-md);
    color: white;
}

.footer__logo-icon svg {
    width: 20px;
    height: 20px;
}

.footer__tagline {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    line-height: 1.5;
}

.footer__social {
    display: flex;
    gap: var(--space-2);
}

.footer__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    color: var(--color-accent);
    border-color: var(--color-accent-muted);
    background: var(--color-accent-muted);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-8);
}

.footer__nav a {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

.footer__cta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-2);
}

.footer__phone {
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    color: var(--color-text);
}

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

.footer__email {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

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

.footer__btn {
    margin-top: var(--space-2);
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
}

.footer__bottom {
    padding: var(--space-4) 0;
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
}

.footer__bottom p {
    font-size: var(--text-xs);
    color: var(--color-text-dim);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal__content {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    max-width: 440px;
    width: 100%;
    transform: scale(0.95);
    transition: transform var(--transition-base);
}

.modal.active .modal__content {
    transform: scale(1);
}

.modal__close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.modal__close:hover {
    color: var(--color-text);
    background: var(--color-bg-light);
}

.modal__close svg {
    width: 24px;
    height: 24px;
}

.modal__title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-2);
}

.modal__text {
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.modal__form input {
    padding: var(--space-4);
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text);
    font-family: inherit;
}

.modal__form input::placeholder {
    color: var(--color-text-dim);
}

/* Responsive */
@media (max-width: 1024px) {
    .calculator {
        grid-template-columns: 1fr;
    }
    
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__main {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 1024px) {
    .header__nav {
        gap: var(--space-6);
    }
}

@media (max-width: 1100px) {
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background: var(--color-bg-elevated);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-20) var(--space-8);
        gap: 0;
        border-left: 1px solid var(--color-border);
        transition: right var(--transition-base);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
        z-index: 1001;
    }
    
    .header__nav.active {
        right: 0;
    }
    
    .header__nav .header__link {
        padding: var(--space-4) 0;
        border-bottom: 1px solid var(--color-border);
        font-size: var(--text-base);
        color: var(--color-text) !important;
    }

    .header__nav.active .header__link:hover,
    .header__nav.active .header__link.active {
        color: var(--color-accent) !important;
    }
    
    .header__nav-mobile {
        display: flex !important;
        flex-direction: column;
        gap: var(--space-4);
        margin-top: var(--space-8);
        padding-top: var(--space-6);
        border-top: 1px solid var(--color-border);
    }
    
    .header__nav-mobile .header__cta {
        width: 100%;
        justify-content: center;
    }
    
    .header__right {
        display: none;
    }
    
    .header__burger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero__buttons {
        flex-direction: column;
    }
    
    .hero__btn {
        width: 100%;
    }
    
    .process__step {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .process__step:not(:last-child)::after {
        left: 50%;
        bottom: -24px;
        top: auto;
        transform: translateX(-50%);
    }
    
    .process__number {
        margin: 0 auto;
    }
    
    .cta__form {
        max-width: 100%;
    }
    
    .footer__brand {
        max-width: none;
        text-align: center;
    }
    
    .footer__logo {
        justify-content: center;
    }
    
    .footer__nav {
        justify-content: center;
    }
    
    .footer__cta-block {
        align-items: center;
    }
    
    .footer__social {
        justify-content: center;
    }
}

/* Floating CTA — светлый фон + тёмные иконки в свёрнутом виде для читаемости */
.floating-cta {
    position: fixed;
    right: var(--space-2);
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-2);
}

.floating-cta__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    background: #fff;
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease,
                transform 0.3s ease,
                border-color 0.3s ease;
}

.floating-cta__item span {
    position: absolute;
    left: -9999px;
    white-space: nowrap;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease 0.1s;
}

.floating-cta__item:hover {
    display: flex;
    width: auto;
    min-width: 40px;
    max-width: 180px;
    padding: 0 var(--space-3);
    justify-content: flex-start;
    background: var(--color-gradient-cta);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
    transform: translateX(-2px);
}

.floating-cta__item:hover span {
    position: static;
    left: auto;
    max-width: 140px;
    opacity: 1;
}

.floating-cta__item:not(:hover) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-cta__item:not(:hover) svg {
    margin: auto;
}

.floating-cta__item {
    animation: fadeInUp 0.5s ease backwards;
}

.floating-cta__item:nth-child(1) { animation-delay: 0.1s; }
.floating-cta__item:nth-child(2) { animation-delay: 0.2s; }
.floating-cta__item:nth-child(3) { animation-delay: 0.3s; }

.floating-cta__item svg {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: inherit;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    left: var(--space-4);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gradient-cta);
    color: white;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.5);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 1366px) {
    .floating-cta__item {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    .floating-cta__item svg {
        width: 18px;
        height: 18px;
    }
    .floating-cta__item:hover {
        max-width: 160px;
    }
}

@media (max-width: 1024px) {
    .floating-cta {
        display: none;
    }

    .back-to-top {
        left: var(--space-4);
        bottom: var(--space-6);
    }
}

@media (max-width: 768px) {
    .deco-shapes {
        display: none;
    }
}

@media (max-width: 480px) {
    .stats__grid {
        grid-template-columns: 1fr;
    }
}
