/* =========================================================
   HypexCreative — storefront design system
   ========================================================= */
:root {
  --bg: #05060b;
  --bg-2: #0a0c16;
  --bg-3: #10132250;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef0f8;
  --text-2: #b9bed3;
  --muted: #7f86a3;
  --brand: #5b7cff;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --pink: #ec4899;
  --green: #34d399;
  --amber: #f59e0b;
  --grad: linear-gradient(120deg, #5b7cff 0%, #8b5cf6 45%, #ec4899 100%);
  --grad-cool: linear-gradient(120deg, #22d3ee 0%, #5b7cff 55%, #8b5cf6 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 10px 40px -10px rgba(91, 124, 255, 0.6);
  --f-display: 'Sora', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --bar-h: 0px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 9999; padding: 10px 16px; background: #fff; color: #000; border-radius: 10px; }
.skip-link:focus { top: 16px; }

/* ---------- WebGL + ambient layers ---------- */
#webgl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; background:
  radial-gradient(60vw 50vh at 85% -10%, rgba(91,124,255,.16), transparent 60%),
  radial-gradient(50vw 50vh at -10% 30%, rgba(139,92,246,.10), transparent 60%),
  radial-gradient(40vw 40vh at 50% 120%, rgba(236,72,153,.08), transparent 60%); }
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-5%,4%) } 40% { transform: translate(4%,-3%) } 60% { transform: translate(-3%,-5%) } 80% { transform: translate(5%,3%) } }
.grid-lines { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(to right, rgba(255,255,255,.025) 1px, transparent 1px); background-size: calc((min(100vw, var(--container)) - 2 * var(--gutter)) / 6) 100%;
  background-position: center; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); }

#site { position: relative; z-index: 2; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section.tight { padding: clamp(56px, 8vw, 96px) 0; }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
  padding: 7px 14px 7px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } }
.kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; display: inline-flex; gap: 10px; align-items: center; }
.kicker::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.display { font-size: clamp(2.6rem, 6.6vw, 6rem); line-height: .98; letter-spacing: -0.045em; font-weight: 600; }
.h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); letter-spacing: -0.04em; line-height: 1.02; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.05; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--text-2); line-height: 1.6; max-width: 640px; }
.cta-final .lead { margin:auto;}
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-cool { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.outline-text { -webkit-text-stroke: 1px rgba(255,255,255,.35); color: transparent; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 6vw, 72px); flex-wrap: wrap; }
.section-head .lead { margin: 0; }
.split-line { display: block; overflow: hidden; padding-bottom: .06em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn { --h: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s; isolation: isolate; overflow: hidden; }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 40px -10px rgba(139,92,246,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); z-index: -1; }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 16px 50px -10px rgba(139,92,246,1), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.btn-white { background: #fff; color: #0a0b14; }
.btn-white:hover { box-shadow: 0 10px 40px -10px rgba(255,255,255,.5); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 60px; padding: 0 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn .spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- Chips / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); background: rgba(255,255,255,.02); white-space: nowrap; }
.chip.active, .chip:hover { color: #fff; border-color: rgba(139,92,246,.6); background: rgba(139,92,246,.15); }
button.chip { cursor: pointer; transition: all .25s; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(52,211,153,.12); color: var(--green); border: 1px solid rgba(52,211,153,.3); }
.badge.violet { background: rgba(139,92,246,.14); color: #c4b5fd; border-color: rgba(139,92,246,.35); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Cards ---------- */
.card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.card.glow::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(139,92,246,.18), transparent 45%); }
.card.glow:hover::before { opacity: 1; }
.card.glow::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(139,92,246,.9), rgba(34,211,238,.4) 30%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card.glow:hover::after { opacity: 1; }
.card:hover { border-color: var(--line-2); }
.icon-box { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(91,124,255,.25), rgba(139,92,246,.12)); border: 1px solid rgba(139,92,246,.35); margin-bottom: 22px; color: #fff; }
.icon-box svg { width: 24px; height: 24px; }
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- Announcement bar ---------- */
#offer-bar { position: relative; z-index: 60; overflow: hidden; }
.offer-bar { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 48px; font-size: 14px; background: linear-gradient(90deg, #3b2a8a, #5b3fd1 40%, #b8357f); color: #fff; text-align: center; flex-wrap: wrap; position: relative; }
.offer-bar.theme-cyan { background: linear-gradient(90deg, #0e5a75, #1f6fe0 50%, #5b3fd1); }
.offer-bar.theme-amber { background: linear-gradient(90deg, #9a4b0b, #d1477a); }
.offer-bar strong { font-weight: 700; }
.offer-bar .code { font-family: var(--f-mono); background: rgba(0,0,0,.25); border: 1px dashed rgba(255,255,255,.5); padding: 2px 10px; border-radius: 6px; cursor: pointer; }
.offer-bar .cd { font-family: var(--f-mono); font-variant-numeric: tabular-nums; background: rgba(0,0,0,.2); padding: 2px 10px; border-radius: 6px; }
.offer-bar a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.offer-bar .x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); opacity: .8; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.offer-bar .x:hover { background: rgba(255,255,255,.15); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: transform .5s var(--ease); }
.header.hide { transform: translateY(-110%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; padding: 0 10px 0 20px; border-radius: 999px; border: 1px solid transparent; transition: background .4s, border-color .4s, backdrop-filter .4s; }
.header.scrolled .nav { background: rgba(10,12,22,.65); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 40px -20px rgba(0,0,0,.6); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.logo img { width: 34px; height: 34px; border-radius: 10px; }
.logo span em { font-style: normal; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-size: 14.5px; color: var(--text-2); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links button:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.06); }
.nav-links svg { width: 14px; height: 14px; transition: transform .3s; }
.has-mega:hover > button svg { transform: rotate(180deg); }
.mega { position: absolute; left: 50%; top: calc(100% + 12px); transform: translate(-50%, 10px); width: min(860px, 92vw); padding: 14px; border-radius: 24px; background: rgba(12,14,26,.92); border: 1px solid var(--line-2);
  backdrop-filter: blur(24px); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: all .35s var(--ease); display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex !important; gap: 12px; align-items: flex-start !important; padding: 12px !important; border-radius: 14px !important; }
.mega-item .ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(139,92,246,.15); border: 1px solid rgba(139,92,246,.3); color: #fff; }
.mega-item .ic svg { width: 18px !important; height: 18px !important; transform: none !important; }
.mega-item b { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.mega-item small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.mega-feature { border-radius: 18px; padding: 22px; background: linear-gradient(160deg, rgba(91,124,255,.25), rgba(236,72,153,.15)); border: 1px solid var(--line-2); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.mega-feature h4 { font-size: 20px; margin: 0; }
.mega-feature p { font-size: 13.5px; color: var(--text-2); margin: 0; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone { font-size: 14px; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; padding: 0 8px; }
.nav-phone svg { width: 16px; height: 16px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: rgba(5,6,11,.97); backdrop-filter: blur(20px); padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease); overflow-y: auto; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mobile-menu a.mm { font-family: var(--f-display); font-size: clamp(28px, 8vw, 40px); font-weight: 600; letter-spacing: -.03em; padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu .mm-foot { margin-top: auto; padding-top: 30px; display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero { min-height: calc(100svh - 92px - var(--bar-h)); display: flex; align-items: center; padding: 40px 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { margin: 26px 0 26px; }
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.02em; }
.rotator > span { grid-area: 1/1; display: block; transform: translateY(105%); opacity: 0; white-space: nowrap; transition: transform .8s var(--ease), opacity .6s; }
.rotator > span.on { transform: translateY(0); opacity: 1; }
.rotator > span.off { transform: translateY(-105%); opacity: 0; }
.hero .lead { margin-bottom: 36px; }
.hero-proof { display: flex; align-items: center; gap: 18px; margin-top: 40px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; }
.avatars span:first-child { margin-left: 0; }
.stars { color: #fbbf24; letter-spacing: 2px; font-size: 15px; }
.hero-proof small { display: block; color: var(--muted); font-size: 13px; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 22px; font-size: 13.5px; color: var(--text-2); }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 16px; height: 16px; color: var(--green); }
.hero-visual { position: relative; height: min(620px, 70vh); }
.float-card { position: absolute; padding: 14px 18px; border-radius: 18px; background: rgba(14,16,30,.6); border: 1px solid var(--line-2); backdrop-filter: blur(16px); box-shadow: var(--shadow); font-size: 13px; min-width: 180px; will-change: transform; }
.float-card b { display: block; font-family: var(--f-display); font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.float-card .row { display: flex; align-items: center; gap: 10px; }
.float-card .mini-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); }
.float-card .mini-ic svg { width: 18px; height: 18px; }
.fc-1 { top: 8%; left: -4%; } .fc-2 { top: 44%; right: -2%; } .fc-3 { bottom: 6%; left: 8%; }
.spark { display: flex; align-items: end; gap: 3px; height: 28px; margin-top: 8px; }
.spark i { width: 6px; border-radius: 3px; background: var(--grad-cool); }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--text), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.rev .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: clamp(18px, 2vw, 24px); color: var(--text-2); white-space: nowrap; font-weight: 500; }
.marquee-item svg { width: 18px; height: 18px; color: var(--violet); }
.logos-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: rgba(255,255,255,.012); }
.logos-band .label { text-align: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; margin-bottom: 18px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.015); }
.stat { padding: clamp(24px, 3.5vw, 44px); border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.bento > * { grid-column: span 3; min-height: 280px; display: flex; flex-direction: column; }
.bento > .lg { grid-column: span 6; }
.bento .card h3 { font-size: 21px; margin-bottom: 10px; }
.bento .card p { color: var(--text-2); font-size: 14.5px; margin-bottom: 18px; }
.bento .card .bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.bento .card .bottom b { color: #fff; font-weight: 600; }
.bento .card .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .4s var(--ease); flex: none; }
.bento .card .arrow svg { width: 16px; height: 16px; }
.bento .card:hover .arrow { background: #fff; color: #000; transform: rotate(-45deg); }
.bento .card.lg .visual { position: absolute; right: -40px; bottom: -40px; width: 55%; opacity: .9; pointer-events: none; }
.kpi-pill { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--green); background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.25); padding: 5px 10px; border-radius: 999px; margin-bottom: 16px; width: fit-content; }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work-card { display: block; position: relative; }
.work-card .media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--line); background: var(--bg-2); }
.work-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.work-card:hover .media img { transform: scale(1.06); }
.work-card .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,6,11,.85)); }
.work-card .overlay-res { position: absolute; left: 20px; bottom: 18px; right: 20px; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap; }
.work-card .overlay-res span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(5,6,11,.6); backdrop-filter: blur(10px); border: 1px solid var(--line-2); }
.work-card .overlay-res b { color: #fff; }
.work-card .view { position: absolute; top: 18px; right: 18px; z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; transform: scale(0) rotate(-45deg); transition: transform .5s var(--ease); }
.work-card .view svg { width: 20px; height: 20px; }
.work-card:hover .view { transform: scale(1) rotate(0); }
.work-card .meta { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 20px 4px 0; }
.work-card h3 { font-size: clamp(20px, 2vw, 26px); margin: 0 0 6px; }
.work-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.work-card .cat { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; padding-top: 6px; }

/* horizontal pinned showcase */
.hscroll { position: relative; overflow: hidden; }
.hscroll-track { display: flex; gap: 28px; padding: 0 var(--gutter); width: max-content; }
.hscroll-track .work-card { width: min(720px, 78vw); flex: none; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); }
.process-sticky { position: sticky; top: 140px; align-self: start; }
.steps { position: relative; display: grid; gap: 18px; }
.steps::before { content: ''; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 1px; background: var(--line-2); }
.steps .progress-line { position: absolute; left: 27px; top: 30px; width: 1px; height: 0; background: var(--grad); box-shadow: 0 0 12px rgba(139,92,246,.8); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 18px 0; }
.step .num { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; font-family: var(--f-mono); font-size: 14px; position: relative; z-index: 1; transition: all .4s; }
.step.active .num { background: var(--grad); border-color: transparent; box-shadow: var(--glow); }
.step h3 { font-size: 22px; margin: 12px 0 8px; }
.step p { color: var(--text-2); font-size: 15px; margin: 0 0 10px; }
.step .tags .chip { font-size: 12px; padding: 4px 10px; }

/* ---------- AI chat demo ---------- */
.ai-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.chat { border-radius: 26px; border: 1px solid var(--line-2); background: rgba(10,12,22,.75); backdrop-filter: blur(18px); box-shadow: var(--shadow); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-head .av { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.chat-head .av svg { width: 18px; height: 18px; }
.chat-head b { font-size: 14px; display: block; }
.chat-head small { color: var(--green); font-size: 12px; }
.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 380px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; opacity: 0; transform: translateY(10px); transition: all .5s var(--ease); }
.msg.show { opacity: 1; transform: none; }
.msg.user { align-self: flex-end; background: var(--grad); border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.bot .slot { display: inline-block; margin: 6px 6px 0 0; padding: 4px 10px; border-radius: 8px; background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.35); font-size: 12.5px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check-list li svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: 1px; }
.check-list li b { color: #fff; }

/* ---------- Compare table ---------- */
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.015); }
.compare-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 0; }
.compare-row > div { padding: 18px 22px; display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.compare-row > div:first-child { color: #fff; font-weight: 500; }
.compare-row.head > div { font-family: var(--f-display); font-weight: 600; color: #fff; font-size: 15px; }
.compare-row > .us { background: rgba(139,92,246,.08); color: #fff; border-left: 1px solid rgba(139,92,246,.3); border-right: 1px solid rgba(139,92,246,.3); }
.compare-row.head > .us { background: linear-gradient(180deg, rgba(139,92,246,.3), rgba(139,92,246,.08)); }
.compare svg { width: 18px; height: 18px; flex: none; }
.yes { color: var(--green); } .no { color: #f87171; } .meh { color: var(--amber); }

/* ---------- Offer section ---------- */
.offer-panel { position: relative; border-radius: 32px; overflow: hidden; padding: clamp(32px, 6vw, 72px); border: 1px solid rgba(255,255,255,.14);
  background: radial-gradient(120% 140% at 0% 0%, rgba(91,124,255,.45), transparent 50%), radial-gradient(120% 140% at 100% 100%, rgba(236,72,153,.4), transparent 50%), #0b0c1a; }
.offer-panel.theme-cyan { background: radial-gradient(120% 140% at 0% 0%, rgba(34,211,238,.35), transparent 50%), radial-gradient(120% 140% at 100% 100%, rgba(91,124,255,.45), transparent 50%), #07101a; }
.offer-panel .inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.offer-panel .big-discount { font-family: var(--f-display); font-size: clamp(3.4rem, 9vw, 7.5rem); font-weight: 700; letter-spacing: -.06em; line-height: .9; }
.countdown { display: flex; gap: 10px; margin: 20px 0 26px; }
.countdown div { min-width: 72px; padding: 12px 10px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.14); text-align: center; }
.countdown b { display: block; font-family: var(--f-display); font-size: 28px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown small { font-size: 11px; color: var(--text-2); text-transform: uppercase; letter-spacing: .1em; }
.code-box { display: inline-flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border: 1px dashed rgba(255,255,255,.4); border-radius: 14px; font-family: var(--f-mono); font-size: 18px; letter-spacing: .1em; background: rgba(0,0,0,.25); }
.code-box button { font-family: var(--f-body); font-size: 13px; letter-spacing: 0; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.12); }

/* ---------- Testimonials ---------- */
.t-card { width: min(420px, 82vw); flex: none; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--line); white-space: normal; }
.t-card p { font-size: 16px; color: var(--text); line-height: 1.6; margin: 14px 0 22px; }
.t-card .who { display: flex; align-items: center; gap: 12px; }
.t-card .who .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; }
.t-card .who b { display: block; font-size: 14.5px; }
.t-card .who small { color: var(--muted); font-size: 13px; }
.t-marquee .marquee-track { gap: 20px; animation-duration: 60s; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: rgba(139,92,246,.6); background: linear-gradient(180deg, rgba(139,92,246,.18), rgba(255,255,255,.02)); box-shadow: var(--glow); }
.price-card .tag { position: absolute; top: 18px; right: 18px; }
.price-card h3 { font-size: 22px; margin-bottom: 6px; }
.price-card .desc { color: var(--muted); font-size: 14.5px; min-height: 46px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 6px; flex-wrap: wrap; }
.price b { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.2rem); letter-spacing: -.05em; font-weight: 600; }
.price s { color: var(--muted); font-size: 18px; }
.price small { color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.price-card li svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: 3px; }
.price-card .btn { margin-top: auto; }
.toggle { display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); position: relative; }
.toggle button { position: relative; z-index: 1; padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-2); transition: color .3s; }
.toggle button.on { color: #fff; }
.toggle .pill { position: absolute; top: 5px; bottom: 5px; border-radius: 999px; background: var(--grad); transition: all .5s var(--ease); }
.promo-row { display: flex; gap: 10px; max-width: 420px; margin: 28px auto 0; }
.promo-row input { flex: 1; }
.promo-ok { color: var(--green); font-size: 14px; margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.02); overflow: hidden; transition: border-color .3s, background .3s; }
.faq-item.open { border-color: rgba(139,92,246,.45); background: rgba(139,92,246,.06); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; text-align: left; font-family: var(--f-display); font-size: 17px; font-weight: 500; }
.faq-q .pm { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; position: relative; transition: transform .4s var(--ease), background .3s; }
.faq-q .pm::before, .faq-q .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq-item.open .pm { background: var(--violet); border-color: transparent; }
.faq-item.open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { height: 0; overflow: hidden; transition: height .45s var(--ease); }
.faq-a > div { padding: 0 24px 22px; color: var(--text-2); }

/* ---------- CTA ---------- */
.cta-final { position: relative; border-radius: 36px; overflow: hidden; padding: clamp(48px, 9vw, 120px) clamp(24px, 6vw, 80px); text-align: center; border: 1px solid var(--line-2);
  background: radial-gradient(80% 120% at 50% 0%, rgba(139,92,246,.35), transparent 60%), radial-gradient(60% 80% at 50% 120%, rgba(34,211,238,.25), transparent 60%), rgba(10,12,22,.6); }
.cta-final .h1 { max-width: 900px; margin: 0 auto 22px; }
.cta-final .btn-row { justify-content: center; margin-top: 36px; }
.cta-final .guarantees { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 34px; color: var(--text-2); font-size: 14px; }
.cta-final .guarantees span { display: inline-flex; gap: 8px; align-items: center; }
.cta-final .guarantees svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Forms ---------- */
.field { position: relative; display: block; }
.field input, .field select, .field textarea, .input { width: 100%; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: #fff; outline: none; transition: border-color .25s, background .25s, box-shadow .25s; font-size: 15px; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aab' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field select option { background: #0f1120; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: rgba(139,92,246,.8); background: rgba(139,92,246,.07); box-shadow: 0 0 0 4px rgba(139,92,246,.15); }
.field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 8px; font-weight: 500; }
.field label .req { color: var(--pink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1/-1; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-group input { position: absolute; opacity: 0; pointer-events: none; }
.choice-group label { margin: 0; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 14px; cursor: pointer; transition: all .25s; color: var(--text-2); }
.choice-group input:checked + label { border-color: rgba(139,92,246,.8); background: rgba(139,92,246,.18); color: #fff; }
.form-note { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.form-note svg { width: 15px; height: 15px; color: var(--green); flex: none; }
.form-msg { margin-top: 14px; font-size: 14px; padding: 12px 16px; border-radius: 12px; display: none; }
.form-msg.err { display: block; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.35); color: #fca5a5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.offer-applied { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.3); color: var(--green); font-size: 14px; margin-bottom: 16px; }
.offer-applied svg { width: 18px; height: 18px; }

.success-box { text-align: center; padding: 30px 10px; }
.success-box .check { width: 84px; height: 84px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin: 0 auto 24px; box-shadow: var(--glow); animation: pop .6s var(--ease); }
.success-box .check svg { width: 40px; height: 40px; }
@keyframes pop { from { transform: scale(0); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(60px, 10vw, 130px) 0 clamp(40px, 6vw, 80px); position: relative; }
.page-hero .lead { margin-top: 20px; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs svg { width: 12px; height: 12px; }

/* ---------- Service detail ---------- */
.svc-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; max-width: 760px; }
.svc-meta .card { padding: 20px; }
.svc-meta small { display: block; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; font-family: var(--f-mono); margin-bottom: 6px; }
.svc-meta b { font-family: var(--f-display); font-size: 22px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-grid .card h3 { font-size: 19px; }
.feature-grid .card p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.deliv { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deliv li { display: flex; gap: 10px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 14.5px; }
.deliv svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: 3px; }
.sticky-form { position: sticky; top: 120px; }

/* ---------- Case study ---------- */
.cs-hero-img { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/8; }
.cs-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.cs-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); margin: 40px 0; }
.cs-meta > div { padding: 20px 24px; border-right: 1px solid var(--line); }
.cs-meta > div:last-child { border-right: 0; }
.cs-meta small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.results .card b { display: block; font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.05em; line-height: 1; margin-bottom: 10px; }
.results .card span { color: var(--text-2); font-size: 14px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gallery img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.quote-block { position: relative; padding: clamp(30px, 5vw, 60px); border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(135deg, rgba(91,124,255,.12), rgba(236,72,153,.08)); }
.quote-block p { font-family: var(--f-display); font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.35; letter-spacing: -.02em; margin-bottom: 22px; }
.quote-block .qm { font-family: Georgia, serif; font-size: 120px; line-height: .6; height: 50px; color: var(--violet); opacity: .6; }
.next-project { display: block; padding: clamp(40px, 8vw, 100px) 0; border-top: 1px solid var(--line); text-align: center; }
.next-project small { font-family: var(--f-mono); letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.next-project h2 { font-size: clamp(2.2rem, 6vw, 5.5rem); margin: 16px 0 0; transition: letter-spacing .6s var(--ease); }
.next-project:hover h2 { letter-spacing: -.02em; }

/* ---------- Prose (blog / case content) ---------- */
.prose { font-size: 18px; line-height: 1.8; color: #d6d9e8; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2em 0 .6em; color: #fff; scroll-margin-top: 120px; }
.prose h3 { font-size: 1.35rem; margin: 1.6em 0 .5em; color: #fff; scroll-margin-top: 120px; }
.prose p { margin: 0 0 1.3em; }
.prose a { color: #a5b4fc; text-decoration: underline; text-decoration-color: rgba(165,180,252,.4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: #a5b4fc; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin: .45em 0; }
.prose li::marker { color: var(--violet); }
.prose strong { color: #fff; }
.prose blockquote { margin: 2em 0; padding: 24px 28px; border-left: 3px solid var(--violet); background: rgba(139,92,246,.07); border-radius: 0 16px 16px 0; font-size: 1.15em; color: #fff; font-family: var(--f-display); }
.prose img { border-radius: 16px; margin: 1.5em 0; border: 1px solid var(--line); }
.prose pre { background: #0b0d18; border: 1px solid var(--line); border-radius: 14px; padding: 18px; overflow-x: auto; font-size: 14px; }
.prose code { font-family: var(--f-mono); font-size: .88em; background: rgba(255,255,255,.07); padding: 2px 6px; border-radius: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 10px 14px; text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 16px; }

/* ---------- Blog ---------- */
.blog-tools { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 40px; }
.search { position: relative; min-width: min(340px, 100%); }
.search input { padding-left: 46px; border-radius: 999px; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; }
.post-card .media { border-radius: 20px; overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--line); margin-bottom: 18px; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .media img { transform: scale(1.05); }
.post-card .pmeta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post-card h3 { font-size: 20px; line-height: 1.3; margin-bottom: 10px; transition: color .3s; }
.post-card:hover h3 { color: #c4b5fd; }
.post-card p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.post-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-bottom: 60px; }
.post-featured .media { margin: 0; aspect-ratio: 16/10; }
.post-featured h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); }
.pagination button.on { background: var(--grad); border-color: transparent; }
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad); z-index: 70; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 240px; gap: 50px; }
.toc { position: sticky; top: 120px; align-self: start; font-size: 14px; }
.toc b { font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em; color: var(--muted); text-transform: uppercase; display: block; margin-bottom: 14px; }
.toc a { display: block; padding: 7px 0 7px 14px; color: var(--muted); border-left: 1px solid var(--line-2); transition: all .25s; line-height: 1.4; }
.toc a.h3 { padding-left: 26px; font-size: 13px; }
.toc a.on, .toc a:hover { color: #fff; border-left-color: var(--violet); }
.share { display: flex; gap: 8px; margin-top: 30px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .3s; }
.share a:hover, .share button:hover { background: #fff; color: #000; }
.share svg { width: 16px; height: 16px; }
.aside-cta { position: sticky; top: 120px; align-self: start; padding: 24px; }
.aside-cta h4 { font-size: 18px; }
.aside-cta p { font-size: 14px; color: var(--text-2); }
.author-box { display: flex; gap: 18px; align-items: center; padding: 24px; margin-top: 40px; }
.author-box .av { width: 60px; height: 60px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; font-size: 20px; flex: none; }
.inline-cta { margin: 2.5em 0; padding: 28px; border-radius: 20px; border: 1px solid rgba(139,92,246,.4); background: linear-gradient(135deg, rgba(91,124,255,.14), rgba(236,72,153,.1)); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.inline-cta h4 { margin: 0 0 4px; font-size: 20px; }
.inline-cta p { margin: 0; color: var(--text-2); font-size: 15px; }

/* ---------- Estimator ---------- */
.est-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.est-steps { display: flex; gap: 6px; margin-bottom: 30px; }
.est-steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; position: relative; }
.est-steps i.done::after { content: ''; position: absolute; inset: 0; background: var(--grad); animation: fillx .6s var(--ease); }
@keyframes fillx { from { transform: scaleX(0); transform-origin: left; } }
.est-panel { min-height: 420px; }
.est-panel h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 26px; }
.opt { position: relative; text-align: left; padding: 20px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); transition: all .3s var(--ease); display: flex; flex-direction: column; gap: 8px; }
.opt:hover { border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.opt.on { border-color: rgba(139,92,246,.9); background: rgba(139,92,246,.14); box-shadow: var(--glow); }
.opt .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); }
.opt .ic svg { width: 20px; height: 20px; }
.opt b { font-size: 15.5px; }
.opt small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.opt .tick { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.opt.on .tick { background: var(--violet); border-color: transparent; }
.opt .tick svg { width: 12px; height: 12px; opacity: 0; }
.opt.on .tick svg { opacity: 1; }
.est-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; }
.est-summary { position: sticky; top: 120px; }
.est-summary .range { font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 2.6rem); letter-spacing: -.04em; font-weight: 600; line-height: 1.1; margin: 8px 0; }
.est-summary .line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; color: var(--text-2); gap: 12px; }
.est-summary .line span:last-child { color: #fff; text-align: right; }
.range-input { width: 100%; accent-color: var(--violet); }

/* ---------- Booking ---------- */
.book-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.day { padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line-2); text-align: center; transition: all .25s; }
.day small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.day b { display: block; font-family: var(--f-display); font-size: 22px; }
.day.on { background: var(--grad); border-color: transparent; }
.day.on small { color: rgba(255,255,255,.85); }
.day:hover:not(.on) { border-color: rgba(255,255,255,.35); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 18px; }
.slot { padding: 11px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 14px; font-variant-numeric: tabular-nums; transition: all .25s; }
.slot:hover:not([disabled]) { border-color: var(--violet); }
.slot.on { background: rgba(139,92,246,.25); border-color: var(--violet); }
.slot[disabled] { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.expect { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 16px; }
.expect li { display: flex; gap: 14px; }
.expect .n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; flex: none; font-family: var(--f-mono); }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.big-quote { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.15; letter-spacing: -.03em; }
.big-quote .w { opacity: .15; transition: opacity .3s; }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tz { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.tz small { color: var(--muted); font-size: 12px; font-family: var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.tz b { display: block; font-family: var(--f-display); font-size: 28px; font-variant-numeric: tabular-nums; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 80px 0 30px; overflow: hidden; background: linear-gradient(180deg, transparent, rgba(91,124,255,.04)); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text-2); font-size: 14.5px; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.newsletter { display: flex; gap: 8px; margin-top: 18px; max-width: 420px; }
.newsletter input { flex: 1; border-radius: 999px; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .3s; }
.socials a:hover { background: #fff; color: #000; transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.footer-word { font-family: var(--f-display); font-weight: 700; font-size: clamp(64px, 17vw, 260px); letter-spacing: -.06em; line-height: .8; margin: 70px 0 30px; text-align: center; user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; }
.footer-bottom a:hover { color: #fff; }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.footer-badges span { font-size: 12px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--text-2); display: inline-flex; gap: 6px; align-items: center; }
.footer-badges svg { width: 14px; height: 14px; color: var(--green); }

/* ---------- Modal / popup ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-bg { position: absolute; inset: 0; background: rgba(3,4,8,.7); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.modal.open .modal-bg { opacity: 1; }
.modal-box { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 28px; border: 1px solid var(--line-2); background: #0b0c18; box-shadow: 0 40px 120px -20px rgba(0,0,0,.8);
  transform: translateY(30px) scale(.96); opacity: 0; transition: all .5s var(--ease); display: grid; grid-template-columns: .9fr 1.1fr; }
.modal.open .modal-box { transform: none; opacity: 1; }
.modal-box .side { padding: 40px 32px; background: radial-gradient(120% 100% at 0% 0%, rgba(91,124,255,.5), transparent 60%), radial-gradient(100% 100% at 100% 100%, rgba(236,72,153,.45), transparent 60%), #0e0f22; display: flex; flex-direction: column; justify-content: center; }
.modal-box .side .big-discount { font-size: clamp(3rem, 7vw, 5.5rem); }
.modal-box .main { padding: 40px 32px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; z-index: 2; }
.modal-x svg { width: 16px; height: 16px; }

/* ---------- Toast / mobile bar ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 300; padding: 14px 20px; border-radius: 14px; background: #fff; color: #0a0b14; font-weight: 500; font-size: 14.5px; box-shadow: var(--shadow); transition: transform .5s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); }
.mobile-cta { display: none; }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 400; border-radius: 50%; mix-blend-mode: difference; }
.cursor { width: 38px; height: 38px; border: 1px solid #fff; margin: -19px 0 0 -19px; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s; }
.cursor-dot { width: 6px; height: 6px; background: #fff; margin: -3px 0 0 -3px; }
.cursor.hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: #fff; }
.cursor.text { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; }
.cursor .label { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #000; letter-spacing: .08em; text-transform: uppercase; opacity: 0; }
.cursor.text .label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Loader / transition ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; background: var(--bg); display: grid; place-items: center; }
.loader .lw { text-align: center; }
.loader .ln { font-family: var(--f-display); font-size: clamp(60px, 12vw, 140px); font-weight: 600; letter-spacing: -.06em; font-variant-numeric: tabular-nums; line-height: 1; }
.loader .lbar { width: 200px; height: 2px; background: var(--line-2); margin: 20px auto 0; overflow: hidden; border-radius: 2px; }
.loader .lbar i { display: block; height: 100%; width: 0; background: var(--grad); }
.loader small { display: block; margin-top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--muted); }
.page-wipe { position: fixed; inset: 0; z-index: 900; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.page-wipe i { background: linear-gradient(180deg, #0d0f20, #05060b); transform: scaleY(0); transform-origin: bottom; }

/* ---------- reveal defaults ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1; transform: none; }
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.07), rgba(255,255,255,.03)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 16px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found .big { font-family: var(--f-display); font-size: clamp(120px, 26vw, 320px); font-weight: 700; letter-spacing: -.08em; line-height: .8; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; }
  .article-layout .toc { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid, .ai-wrap, .process, .two-col, .est-wrap, .book-wrap, .post-featured, .offer-panel .inner { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; order: -1; margin-bottom: -40px; }
  .bento > *, .bento > .lg { grid-column: span 6; }
  .pricing-grid, .feature-grid, .values, .models, .post-grid { grid-template-columns: 1fr 1fr; }
  .process-sticky, .est-summary, .sticky-form { position: static; }
  .results, .tz-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-layout .aside-cta { display: none; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-box .side { padding: 30px 26px; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .hero { min-height: auto; padding-top: 10px; }
  .hero-visual { height: 330px; }
  .float-card { padding: 10px 12px; min-width: 0; font-size: 11.5px; }
  .float-card b { font-size: 18px; }
  .fc-1 { left: 0; top: 4%; } .fc-2 { right: 0; } .fc-3 { left: 4%; bottom: 14%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bento > *, .bento > .lg { grid-column: span 12; min-height: 0; }
  .work-grid, .pricing-grid, .feature-grid, .values, .models, .post-grid, .gallery, .deliv, .form-grid { grid-template-columns: 1fr; }
  .compare { overflow-x: auto; }
  .compare-row { min-width: 640px; }
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-meta > div:nth-child(2) { border-right: 0; }
  .cs-meta > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc-meta { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; }
  .btn-row .btn { flex: 1 1 auto; }
  .countdown div { min-width: 0; flex: 1; }
  .offer-bar { padding: 10px 44px 10px 14px; font-size: 13px; gap: 8px; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(12,14,26,.85); border: 1px solid var(--line-2); backdrop-filter: blur(16px); transform: translateY(150%); transition: transform .5s var(--ease); }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { flex: 1; --h: 46px; padding: 0 14px; }
  .footer { padding-bottom: 100px; }
  .scroll-hint { display: none; }
  .nav { padding: 0 6px 0 14px; height: 58px; }
  .nav-cta .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* split gradient fix: gradient lives on each word span */
.split-parent { background: none !important; }
.rotator .grad-text { padding-right: .04em; }
@media (max-width: 720px) {
  .hscroll-track { overflow-x: auto; scroll-snap-type: x mandatory; width: auto; padding-bottom: 10px; scrollbar-width: none; }
  .hscroll-track::-webkit-scrollbar { display: none; }
  .hscroll-track .work-card { scroll-snap-align: start; width: 86vw; }
}
#app:focus, #app:focus-visible { outline: none; }
.toast { opacity: 0; visibility: hidden; transition: transform .5s var(--ease), opacity .3s, visibility .3s; }
.toast.show { opacity: 1; visibility: visible; }
.hero .display { font-size: clamp(2.6rem, 5.6vw, 5.4rem); }
.kpi-pill svg, .badge svg, .chip svg { width: 14px; height: 14px; flex: none; }
@media (max-width: 720px) {
  .hero-visual { height: 230px; margin-bottom: 0; }
  .fc-2 { top: 30%; } .fc-3 { bottom: 0; }
  .ob-title { display: none; }
  .offer-bar .cd { font-size: 12px; }
}
@media (max-width: 720px) { .hero-visual { height: 190px; } .fc-3 { display: none; } .fc-2 { top: 18%; } }


/* =========================================================
   Responsive refinement — 2026-11-10
   Layout-only; the original visual identity and animation rules are retained.
   ========================================================= */

/* Give the Services flyout the navigation bar's coordinate system, not the
   narrow Services item. This keeps it centered at laptop/desktop widths. */
.nav { position: relative; min-width: 0; }
.nav-links > li.has-mega { position: static; }
.mega {
  left: 50%; top: calc(100% + 2px);
  width: min(960px, calc(100vw - 2 * var(--gutter) - 24px));
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, .85fr);
  max-height: calc(100dvh - 108px);
  overflow-x: hidden;
  overflow-y: auto;
}
.mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
.mega-item, .mega-item > span:last-child { min-width: 0; }
.mega-item { white-space: normal; overflow-wrap: anywhere; }
.mega-item small { overflow-wrap: anywhere; }
.mega-feature { min-width: 0; }

/* Section titles and their supporting copy must each have enough room.
   Laptop layouts stack the copy, rather than compressing the headline. */
.section-head > :first-child { flex: 1 1 58%; min-width: 0; max-width: 760px; }
.section-head > :not(:first-child) { flex: 0 1 420px; min-width: 0; }
.section-head .h2 { overflow-wrap: normal; }

/* Grid children can shrink inside their tracks without forcing page overflow. */
.hero-grid > *, .ai-wrap > *, .process > *, .two-col > *,
.book-wrap > *, .est-wrap > *, .post-featured > *,
.contact-layout > *, .form-grid > *, .bento > *,
.pricing-grid > *, .work-grid > *, .feature-grid > *,
.footer-top > * { min-width: 0; }

/* Intentional desktop proportions, without inline styles overriding breakpoints. */
.contact-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.pricing-page-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-layout .card b { overflow-wrap: anywhere; }
.contact-layout .field, .contact-layout input, .contact-layout textarea, .contact-layout select { min-width: 0; }

@media (max-width: 1360px) {
  /* Four small marketing cards become two usable, readable columns. */
  .bento > *, .bento > .lg { grid-column: span 6; }
  .pricing-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1220px) {
  .nav-phone { display: none; }
  .nav-links a, .nav-links button { padding-inline: 11px; }
}
@media (max-width: 1100px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head > :first-child, .section-head > :not(:first-child) {
    flex: none; width: 100%; max-width: 800px;
  }
}
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-layout > :first-child { width: 100%; }
  .contact-layout > .card { width: 100%; }
}
@media (max-width: 720px) {
  .bento > *, .bento > .lg { grid-column: span 12; }
  .pricing-page-grid { grid-template-columns: minmax(0, 1fr); }
  .pricing-page-grid .price { min-width: 0; }
  .pricing-page-grid .price b { font-size: clamp(2rem, 9vw, 3.2rem); overflow-wrap: anywhere; }
  .section-head .h2, .page-hero .h1 { overflow-wrap: break-word; }
  .hero .display { font-size: clamp(2rem, 9vw, 2.85rem); }
  .hero .rotator { max-width: 100%; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-layout .form-grid > * { min-width: 0; }
  .contact-layout .choice-group { gap: 8px; }
  .contact-layout .choice-group label { white-space: normal; }
  .contact-layout .card.glow { min-width: 0; }
  .contact-layout .card.glow > span:last-child { min-width: 0; overflow-wrap: anywhere; }
  /* Keep all comparison data visible and readable without sideways scrolling. */
  .compare { overflow: hidden; }
  .compare-row { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; }
  .compare-row > div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding: 15px 16px 9px; }
  .compare-row.head > div:first-child { display: none; }
  .compare-row > div:not(:first-child) { justify-content: center; text-align: center; padding: 12px 6px; font-size: 12px; min-width: 0; }
  .compare-row.head > div:not(:first-child) { font-size: 11px; overflow-wrap: anywhere; }
  .compare-row .meh { flex: none; }
  .compare-row small { font-size: 11px; }
  .btn-row .btn { height: auto; min-height: var(--h); min-width: 0; padding-block: 12px; white-space: normal; text-align: center; }
  .work-card .meta { flex-wrap: wrap; gap: 8px; }
  .work-card .cat { white-space: normal; }
  .newsletter { flex-wrap: wrap; }
  .newsletter input { min-width: 0; flex: 1 1 160px; }
  .newsletter .btn { flex: 0 1 auto; }
  .offer-panel .code-box { max-width: 100%; overflow-wrap: anywhere; }
  .modal-box .main, .modal-box .side { min-width: 0; padding: 28px 20px; }
  .page-hero .h1 { max-width: 100%; }
}
@media (max-width: 380px) {
  .hero .display { font-size: clamp(1.9rem, 8.6vw, 2.25rem); }
  .btn-row { gap: 10px; }
  .price-card { padding: 22px; }
  .mobile-cta .btn { padding-inline: 8px; font-size: 13px; }
}

/* Layout reconciliation: maintain the requested single-column section introductions.
   All other responsive rules come directly from the uploaded responsive reference. */
.section-head { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 16px; }
.section-head > :first-child, .section-head > :not(:first-child) { flex: none; width: 100%; max-width: 900px; min-width: 0; }
.section-head .lead { max-width: 760px; }

/* Narrow-screen long client names and case-study metadata must never spill off screen. */
@media (max-width: 380px) {
 .cs-meta > div { padding: 16px 12px; overflow-wrap: anywhere; min-width: 0; }
 .cta-final .h1 { overflow-wrap: anywhere; }
}
