*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #F1F4F8;
  --card: #FFFFFF;
  --ink: #0A192D;
  --muted: #77818D;
  --faint: #AAB3BE;
  --accent: #0068E3;
  --accent-press: #0063B2;
  --link: #008EFF;
  --border: #E3E8EF;
  --error: #C92140;
  --shadow-card: 0 2px 10px rgba(10,25,45,0.06);
  --shadow-card-hover: 0 10px 28px rgba(10,25,45,0.12);
  --site-max: 1280px;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.15;
}

/* CONTAINER — the max-width sits on the inner element, inside the 60px padding */
.container { width: 100%; max-width: var(--site-max); margin-left: auto; margin-right: auto; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 60px;
  border-bottom: 1px solid var(--border);
  background: rgba(241,244,248,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: inline-flex; align-items: center; font-family: 'Unbounded', sans-serif; font-size: 20px; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
.logo-mark { width: 30px; height: 30px; flex: none; margin-right: 10px; }
.logo-mark path { fill: var(--accent); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; cursor: pointer; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 200; box-shadow: 0 0 10px rgba(0,104,227,0.5); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-phone { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; transition: color 0.2s; }
.nav-phone:hover { color: var(--accent); }
.nav-cta { background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 12px 24px; font-family: 'Onest', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.nav-cta:hover { background: var(--accent-press); transform: translateY(-1px); }

/* HERO */
.hero { min-height: calc(100vh - 62px); display: flex; align-items: center; padding: 120px 60px 40px; position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.hero::after { content: ''; position: absolute; right: -200px; top: 50%; transform: translateY(-50%); width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(0,104,227,0.09) 0%, transparent 70%); pointer-events: none; }
.hero-left { padding-right: 60px; }
.hero-left, .hero-right { position: relative; z-index: 1; }

/* Фоновые геометрические фигуры — динамичный дрейф */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape { position: absolute; display: block; }
@keyframes shapeDrift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(50px, -60px); }
  50% { transform: translate(-30px, -20px); }
  75% { transform: translate(30px, 45px); }
}
@keyframes shapeDriftAlt {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(-55px, 40px); }
  60% { transform: translate(40px, -50px); }
}
@keyframes shapeBob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-45px) scale(1.25); }
}
@keyframes shapeRotate { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes shapePulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.shape-ring { top: 14%; left: 38%; width: 150px; height: 150px; border: 1px solid rgba(0,104,227,0.2); border-radius: 50%; animation: shapeDrift 13s ease-in-out infinite; }
.shape-ring-sm { top: 8%; right: 7%; left: auto; width: 56px; height: 56px; border: 1px solid rgba(10,25,45,0.15); border-radius: 50%; animation: shapeDriftAlt 10s ease-in-out 1s infinite; }
.shape-ring-dashed { bottom: 24%; right: 4%; left: auto; width: 90px; height: 90px; border: 1px dashed rgba(0,104,227,0.3); border-radius: 50%; animation: shapeDrift 15s ease-in-out infinite reverse, shapeRotate 24s linear infinite; }
.shape-square { bottom: 16%; left: 5%; width: 68px; height: 68px; border: 1px solid rgba(10,25,45,0.12); animation: shapeDriftAlt 12s ease-in-out infinite reverse, shapeRotate 28s linear infinite; }
.shape-diamond { top: 42%; left: 30%; width: 26px; height: 26px; border: 1px solid rgba(0,104,227,0.35); rotate: 45deg; animation: shapeDrift 9s ease-in-out 0.5s infinite; }
.shape-dot { top: 26%; left: 11%; width: 9px; height: 9px; background: rgba(0,104,227,0.45); border-radius: 50%; animation: shapeBob 7s ease-in-out infinite, shapePulse 4s ease-in-out infinite; }
.shape-dot-2 { top: 62%; left: 55%; width: 6px; height: 6px; background: rgba(10,25,45,0.28); border-radius: 50%; animation: shapeBob 8s ease-in-out 1.5s infinite, shapePulse 5s ease-in-out 1s infinite; }
.shape-dot-3 { top: 12%; left: 62%; width: 12px; height: 12px; background: rgba(0,104,227,0.3); border-radius: 50%; animation: shapeDriftAlt 11s ease-in-out 2s infinite; }
.shape-cross { top: 66%; left: 44%; width: 24px; height: 24px; animation: shapeDrift 10s ease-in-out infinite, shapeRotate 14s linear infinite; }
.shape-cross::before, .shape-cross::after { content: ''; position: absolute; background: rgba(10,25,45,0.2); }
.shape-cross::before { top: 50%; left: 0; width: 100%; height: 1px; }
.shape-cross::after { left: 50%; top: 0; height: 100%; width: 1px; }
.shape-tri { bottom: 10%; right: 22%; left: auto; width: 0; height: 0; border-left: 17px solid transparent; border-right: 17px solid transparent; border-bottom: 28px solid rgba(0,104,227,0.18); animation: shapeDrift 11s ease-in-out 1s infinite reverse; }
.shape-tri-down { top: 20%; left: 22%; width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 18px solid rgba(10,25,45,0.12); animation: shapeDriftAlt 9s ease-in-out 2.5s infinite; }
.shape-line { top: 48%; left: 8%; width: 90px; height: 1px; background: linear-gradient(90deg, rgba(0,104,227,0.4), transparent); animation: shapeDriftAlt 8s ease-in-out infinite, shapeRotate 20s linear infinite reverse; }
.shape-hex { top: 75%; left: 18%; width: 44px; height: 50px; background: rgba(0,104,227,0.07); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); animation: shapeDrift 12s ease-in-out 3s infinite, shapeRotate 30s linear infinite; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,104,227,0.06); border: 1px solid rgba(0,104,227,0.35); border-radius: 8px; color: var(--accent); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 16px; margin-bottom: 32px; }

/* Hero entrance */
@keyframes riseIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.hero-tag, .hero-title, .hero-sub, .hero-actions, .hero-right { opacity: 0; animation: riseIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-tag { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.25s; }
.hero-sub { animation-delay: 0.45s; }
.hero-actions { animation-delay: 0.6s; }
.hero-right { animation-delay: 0.5s; animation-duration: 1.1s; }
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-title { font-family: 'Unbounded', sans-serif; font-size: clamp(40px, 5vw, 72px); font-weight: 900; line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 28px; color: var(--ink); }
.hero-title .outline { -webkit-text-stroke: 1px var(--ink); color: transparent; }
.hero-title .accent { color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--muted); line-height: 1.7; margin-bottom: 48px; max-width: 440px; font-weight: 300; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.btn-primary { background: var(--accent); color: #fff; border: none; border-radius: 12px; padding: 18px 40px; font-family: 'Onest', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; letter-spacing: 0.02em; transition: all 0.2s; text-decoration: none; display: inline-block; }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-press); box-shadow: 0 8px 30px rgba(0,104,227,0.3); }
.btn-secondary { color: var(--muted); font-size: 15px; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color 0.2s; cursor: pointer; background: none; border: none; }
.btn-secondary:hover { color: var(--ink); }
.btn-secondary::after { content: '→'; transition: transform 0.2s; }
.btn-secondary:hover::after { transform: translateX(4px); }
.hero-right { display: flex; align-items: center; justify-content: center; }

/* Квиз внутри hero — компактнее базового */
.hero .quiz-box { width: 100%; max-width: 560px; padding: 32px 36px 36px; }
.hero .quiz-progress { margin-bottom: 28px; }
.hero .quiz-question { font-size: 19px; margin-bottom: 24px; }
.hero .quiz-option { padding: 13px 20px; }
.quiz-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.quiz-head-title { font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.quiz-head-sub { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* MARQUEE */
.marquee-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; overflow: hidden; background: var(--accent); }
.marquee-track { display: flex; animation: marquee 20s linear infinite; white-space: nowrap; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-item { padding: 0 48px; font-family: 'Unbounded', sans-serif; font-size: 13px; font-weight: 300; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.85); display: inline-flex; align-items: center; gap: 48px; }
.marquee-item::after { content: '✦'; color: rgba(255,255,255,0.55); font-size: 10px; }
.marquee-section:hover .marquee-track { animation-play-state: paused; }

/* SECTIONS */
section { padding: 120px 60px; }
.section-tag { font-family: 'Unbounded', sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.section-tag::before { content: ''; width: 30px; height: 1px; background: var(--accent); }
.section-title { font-family: 'Unbounded', sans-serif; font-size: clamp(30px, 4vw, 52px); font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }

/* SERVICES */
#services { background: var(--bg); }
.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 72px; }
.services-desc { color: var(--muted); font-size: 17px; line-height: 1.7; font-weight: 300; padding-top: 12px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { background: var(--card); border-radius: 16px; box-shadow: var(--shadow-card); padding: 48px 40px; transition: box-shadow 0.3s, transform 0.3s; position: relative; overflow: hidden; }
.service-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; font-size: 22px; transition: border-color 0.3s; }
.service-card:hover .service-icon { border-color: rgba(0,104,227,0.4); }
.service-num { font-family: 'Unbounded', sans-serif; font-size: 11px; font-weight: 300; color: var(--faint); margin-bottom: 16px; letter-spacing: 0.1em; }
.service-name { font-family: 'Unbounded', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; line-height: 1.2; color: var(--ink); }
.service-desc-text { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag { font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 4px 12px; letter-spacing: 0.05em; }

/* PROCESS */
#process { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process-header { margin-bottom: 80px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.4; }
.process-step { padding: 0 32px 0 0; }
.step-num-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.step-num { width: 56px; height: 56px; border: 1px solid rgba(0,104,227,0.4); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 700; color: var(--accent); flex-shrink: 0; position: relative; z-index: 1; background: var(--card); }
.step-title { font-family: 'Unbounded', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; line-height: 1.2; color: var(--ink); }
.step-desc-text { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* WORK */
#work { background: var(--card); border-top: 1px solid var(--border); }
.work-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.work-link { color: var(--accent); text-decoration: none; font-size: 14px; display: flex; align-items: center; gap: 8px; transition: gap 0.2s; }
.work-link:hover { gap: 14px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.work-item { background: var(--ink); color: #fff; border-radius: 16px; aspect-ratio: 16/10; position: relative; overflow: hidden; cursor: pointer; }
.work-item.wide { grid-column: span 2; aspect-ratio: 21/9; }
.work-item-inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; background: linear-gradient(to top, rgba(10,25,45,0.9) 0%, rgba(10,25,45,0.2) 50%, transparent 100%); transition: background 0.3s; }
.work-item:hover .work-item-inner { background: linear-gradient(to top, rgba(10,25,45,0.95) 0%, rgba(10,25,45,0.4) 60%, rgba(10,25,45,0.1) 100%); }
.work-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 120px; opacity: 0.08; transition: transform 0.5s; }
.work-item:hover .work-bg { transform: scale(1.05); }
.work-category { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--link); margin-bottom: 8px; }
.work-name { font-family: 'Unbounded', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.work-item.wide .work-name { font-size: 32px; }

/* WHY */
#why { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--card); border-radius: 16px; box-shadow: var(--shadow-card); padding: 40px 36px; }
.stat-num { font-family: 'Unbounded', sans-serif; font-size: 52px; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 8px; letter-spacing: -0.03em; }
.stat-label { font-size: 14px; color: var(--muted); line-height: 1.5; }
.why-content .section-title { margin-bottom: 28px; }
.why-text { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 40px; font-weight: 300; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.why-list li { display: flex; align-items: flex-start; gap: 16px; font-size: 15px; color: rgba(10,25,45,0.8); }
.why-list li::before { content: '✓'; color: var(--accent); font-size: 14px; margin-top: 2px; flex-shrink: 0; }

/* PRICING */
#pricing { background: var(--bg); border-top: 1px solid var(--border); }
.pricing-sub { font-size: 17px; color: var(--muted); font-weight: 300; margin-bottom: 64px; margin-top: 16px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-card { background: var(--card); border-radius: 20px; box-shadow: var(--shadow-card); padding: 48px 40px; position: relative; display: flex; flex-direction: column; transition: box-shadow 0.3s, transform 0.3s; }
.plan-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.plan-card.featured { background: var(--accent); color: #fff; box-shadow: 0 12px 32px rgba(0,104,227,0.35); }
.plan-badge { position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.4); border-radius: 6px; color: #fff; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 12px; font-family: 'Unbounded', sans-serif; font-weight: 400; }
.plan-icon { font-size: 28px; margin-bottom: 24px; color: var(--accent); opacity: 0.85; }
.plan-name { font-family: 'Unbounded', sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-amount { font-family: 'Unbounded', sans-serif; font-size: 40px; font-weight: 900; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.plan-currency { font-family: 'Unbounded', sans-serif; font-size: 20px; font-weight: 400; color: var(--muted); }
.plan-duration { font-size: 13px; color: var(--faint); margin-bottom: 32px; }
.plan-divider { height: 1px; background: var(--border); margin-bottom: 28px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; margin-bottom: 40px; }
.plan-feature { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(10,25,45,0.75); line-height: 1.4; }
.plan-check { color: var(--accent); font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.plan-card.featured .plan-name { color: rgba(255,255,255,0.75); }
.plan-card.featured .plan-amount { color: #fff; }
.plan-card.featured .plan-currency, .plan-card.featured .plan-duration { color: rgba(255,255,255,0.7); }
.plan-card.featured .plan-divider { background: rgba(255,255,255,0.25); }
.plan-card.featured .plan-feature { color: rgba(255,255,255,0.9); }
.plan-card.featured .plan-check { color: #fff; }
.plan-card.featured .plan-icon { color: #fff; }
.plan-btn { background: rgba(0,104,227,0.08); color: var(--accent); border: none; border-radius: 12px; padding: 16px 24px; font-family: 'Onest', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-align: left; }
.plan-btn:hover { background: rgba(0,104,227,0.16); color: var(--accent-press); }
.plan-btn.accent { background: #fff; color: var(--accent); font-weight: 700; }
.plan-btn.accent:hover { opacity: 0.92; color: var(--accent-press); }
.pricing-note { margin-top: 40px; font-size: 15px; color: var(--muted); text-align: center; }
.pricing-note a { color: var(--accent); text-decoration: none; margin-left: 8px; cursor: pointer; }
.pricing-note a:hover { color: var(--accent-press); }

/* FAQ — на <details>: ответы есть в HTML и без JS, этого требует FAQPage */
#faq { background: var(--card); border-top: 1px solid var(--border); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.faq-header { position: sticky; top: 110px; }
.faq-desc { margin-top: 28px; font-size: 16px; color: var(--muted); line-height: 1.7; font-weight: 300; max-width: 400px; }
.faq-desc a { display: inline-block; margin-top: 8px; color: var(--accent); text-decoration: none; font-weight: 500; }
.faq-desc a:hover { color: var(--accent-press); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 4px 26px; transition: border-color 0.2s; }
.faq-item[open] { border-color: rgba(0,104,227,0.3); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.faq-item summary::after { content: '+'; flex-shrink: 0; font-family: 'Unbounded', sans-serif; font-size: 20px; font-weight: 300; color: var(--accent); line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item > p { padding: 0 0 20px; margin-top: -4px; font-size: 15px; line-height: 1.7; color: var(--muted); font-weight: 300; }

/* CONTACT */
#contact {
  background: var(--accent);
  padding: 120px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#contact::before { content: 'ALAN'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: 'Unbounded', sans-serif; font-size: 22vw; font-weight: 900; color: rgba(255,255,255,0.06); pointer-events: none; white-space: nowrap; letter-spacing: -0.05em; }
.cta-inner { position: relative; z-index: 1; width: 100%; max-width: 640px; margin: 0 auto; }
.cta-title { font-family: 'Unbounded', sans-serif; font-size: clamp(36px, 5vw, 72px); font-weight: 900; line-height: 1.0; letter-spacing: -0.03em; color: #fff; margin-bottom: 20px; }
.cta-sub { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 52px; font-weight: 300; }
.cta-form { display: grid; grid-template-columns: 1fr; gap: 2px; margin: 0 auto 32px; background: rgba(255,255,255,0.25); border-radius: 16px; overflow: hidden; }
.cta-field { position: relative; background: var(--card); display: flex; flex-direction: column; }
.cta-field.has-error { outline: 1px solid var(--error); outline-offset: -1px; }
.cta-field label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); padding: 16px 24px 0; font-family: 'Unbounded', sans-serif; font-weight: 300; text-align: left; }
.cta-field:focus-within { background: #F7FAFF; }
.cta-field:focus-within label { color: var(--accent); }
.cta-input { background: transparent; border: none; padding: 8px 24px 16px; font-family: 'Onest', sans-serif; font-size: 16px; color: var(--ink); outline: none; width: 100%; text-align: left; }
.cta-input::placeholder { color: var(--faint); }
.cta-select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230A192D' stroke-opacity='0.5' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 24px center; }
.cta-select:has(option[value='']:checked) { color: var(--faint); }
.cta-select option { background: #fff; color: var(--ink); }
.field-error { position: absolute; bottom: -20px; left: 24px; font-size: 11px; color: var(--error); background: rgba(255,255,255,0.92); padding: 0 6px; border-radius: 4px; z-index: 1; }
.cta-btn { background: #fff; color: var(--accent); border: none; padding: 20px 36px; font-family: 'Unbounded', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.05em; cursor: pointer; text-transform: uppercase; transition: opacity 0.2s, transform 0.2s; }
.cta-btn:hover:not(:disabled) { opacity: 0.92; transform: translateY(-1px); }
.cta-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.cta-note { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 32px; }
.cta-note strong { color: rgba(255,255,255,0.95); }
.global-error { background: rgba(255,255,255,0.95); border: 1px solid rgba(201,33,64,0.4); border-radius: 10px; color: var(--error); padding: 12px 20px; font-size: 14px; margin-bottom: 20px; }

/* Loading dots */
.loading-dots span { animation: dotBlink 1.2s infinite; opacity: 0; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBlink { 0%,80%,100%{opacity:0} 40%{opacity:1} }

/* SUCCESS STATE */
.success-state { padding: 40px 0; }
.success-icon { margin: 0 auto 32px; width: 64px; animation: scaleIn 0.4s ease; }
@keyframes scaleIn { from{transform:scale(0.5);opacity:0} to{transform:scale(1);opacity:1} }
.success-title { font-family: 'Unbounded', sans-serif; font-size: clamp(32px, 4vw, 56px); font-weight: 900; letter-spacing: -0.03em; color: #fff; margin-bottom: 20px; line-height: 1.1; }
.success-sub { font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 48px; }
.success-sub strong { color: #fff; }
.success-price { display: flex; flex-direction: column; gap: 8px; max-width: 440px; margin: -16px auto 44px; padding: 28px 32px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 16px; animation: scaleIn 0.4s ease 0.15s both; }
.success-price-label { font-family: 'Unbounded', sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.success-price-num { font-family: 'Unbounded', sans-serif; font-size: clamp(30px, 4vw, 44px); font-weight: 900; letter-spacing: -0.03em; color: #fff; line-height: 1.1; }
.success-price-note { font-size: 13px; color: rgba(255,255,255,0.6); }
.success-btn { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.4); border-radius: 10px; padding: 14px 28px; font-family: 'Onest', sans-serif; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.success-btn:hover { color: #fff; border-color: rgba(255,255,255,0.8); }

/* Vue transitions */
.fade-slide-enter-active, .fade-slide-leave-active { transition: opacity 0.35s ease, transform 0.35s ease; }
.fade-slide-enter-from { opacity: 0; transform: translateY(20px); }
.fade-slide-leave-to { opacity: 0; transform: translateY(-20px); }

/* FOOTER */
footer { background: var(--card); padding: 60px; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { display: flex; align-items: center; margin-bottom: 16px; }
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer-col h4 { font-family: 'Unbounded', sans-serif; font-size: 12px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--ink); }
.footer-bottom { background: var(--card); padding: 24px 60px; border-top: 1px solid var(--border); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: var(--faint); }

/* QUIZ */
.quiz-box { max-width: 720px; margin: 0 auto; background: var(--card); border-radius: 20px; box-shadow: 0 8px 28px rgba(10,25,45,0.10); padding: 40px 48px 48px; }
.quiz-progress { height: 3px; background: var(--border); border-radius: 3px; margin-bottom: 40px; overflow: hidden; }
.quiz-progress-bar { height: 100%; width: 0; background: var(--accent); transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1); box-shadow: 0 0 12px rgba(0,104,227,0.4); }
@keyframes quizIn { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: translateX(0); } }
.quiz-step.quiz-anim, .quiz-result { animation: quizIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
.quiz-step-num { font-family: 'Unbounded', sans-serif; font-size: 11px; font-weight: 300; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.quiz-question { font-family: 'Unbounded', sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 32px; color: var(--ink); }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; width: 100%; text-align: left; background: transparent; border: 1px solid var(--border); border-radius: 12px; padding: 18px 24px; color: var(--ink); font-family: 'Onest', sans-serif; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.quiz-option:hover { border-color: rgba(0,104,227,0.5); background: rgba(0,104,227,0.04); transform: translateX(4px); }
.quiz-option.selected { border-color: var(--accent); background: rgba(0,104,227,0.07); }
.quiz-option-label { font-size: 16px; font-weight: 500; }
.quiz-option-hint { font-size: 13px; color: var(--muted); text-align: right; flex-shrink: 0; }
.quiz-back { margin-top: 28px; background: none; border: none; color: var(--muted); font-family: 'Onest', sans-serif; font-size: 14px; cursor: pointer; transition: color 0.2s; }
.quiz-back:hover { color: var(--ink); }
.quiz-result { text-align: center; padding: 12px 0 4px; }
.quiz-result-tag { font-family: 'Unbounded', sans-serif; font-size: 11px; font-weight: 300; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.quiz-result-title { font-family: 'Unbounded', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 16px; color: var(--ink); }
.quiz-result-note { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 420px; margin: 0 auto 32px; }
.quiz-result-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.quiz-restart { background: none; border: none; color: var(--muted); font-family: 'Onest', sans-serif; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; transition: color 0.2s; }
.quiz-restart:hover { color: var(--ink); }

/* FADE-UP */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* STAGGER — поочерёдное появление детей сетки */
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.45s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.55s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.65s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.75s; }

/* RESPONSIVE */
@media (max-width: 480px) {
  .nav-phone { display: none; }
}
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-right { gap: 16px; }
  section { padding: 80px 24px; }
  .hero { padding: 100px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-left { padding-right: 0; }
  .hero-right { margin-top: 48px; }
  .hero .quiz-box { max-width: none; padding: 28px 20px 32px; }
  .services-header { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item.wide { grid-column: span 1; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  footer { padding: 40px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { padding: 24px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  #contact { padding: 80px 24px; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-header { position: static; }
  .faq-item { padding: 2px 20px; }
  .hero .quiz-question { font-size: 17px; }
  .quiz-option { flex-direction: column; align-items: flex-start; gap: 4px; }
  .quiz-option-hint { text-align: left; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
