/* =========================================================
   Alpha Design Studio — styles
   Palette taken from the logo: sky blue + ink + white,
   with a warm "PLA orange" accent used sparingly.
   ========================================================= */
:root {
  --blue-50: #EEF6FD;
  --blue-100: #DCEBF9;
  --blue-200: #B9D8F2;
  --blue-300: #8EC1E8;
  --blue: #6FAEDD;          /* logo blue */
  --blue-600: #3C8CCB;
  --blue-700: #2669A6;
  --navy: #0D1B2E;
  --navy-2: #13263F;
  --ink: #101A27;
  --ink-2: #3B4A5C;
  --ink-3: #6A7889;
  --line: #E2E9F1;
  --bg: #F7FAFD;
  --card: #FFFFFF;
  --orange: #FF7A3D;
  --wa: #25D366;
  --wa-d: #1DA851;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 26, 39, .06), 0 2px 8px rgba(16, 26, 39, .04);
  --shadow: 0 10px 30px -10px rgba(22, 52, 92, .18), 0 2px 6px rgba(16, 26, 39, .04);
  --shadow-lg: 0 30px 70px -20px rgba(22, 52, 92, .35);
  --font-d: 'Sora', system-ui, sans-serif;
  --font-b: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-b); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-d); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; position: relative; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.muted { color: var(--ink-3); }
.grad {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue-600) 0%, var(--blue) 45%, #9AD0F5 70%, var(--blue-600) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.hp { position: absolute; left: -9999px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.3em; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { padding: .6em 1.05em; font-size: .9rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn--wa { --bg: var(--wa); --fg: #fff; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .55); }
.btn--wa:hover { --bg: var(--wa-d); box-shadow: 0 16px 30px -10px rgba(37, 211, 102, .65); }
.btn--primary { --bg: var(--blue-600); box-shadow: 0 10px 24px -8px rgba(60, 140, 203, .6); }
.btn--primary:hover { --bg: var(--blue-700); }
.btn--ghost { --bg: rgba(255,255,255,.7); --fg: var(--ink); border-color: var(--line); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--blue-300); --fg: var(--blue-700); }
.btn--wa-outline { --bg: transparent; --fg: var(--wa); border-color: rgba(37, 211, 102, .5); }
.btn--wa-outline:hover { --bg: rgba(37, 211, 102, .08); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(3px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(1200px 600px at 50% 40%, #fff, var(--blue-50));
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__emblem { width: 140px; animation: float 2.4s ease-in-out infinite; }
.loader__bar { width: 200px; height: 4px; border-radius: 4px; background: var(--blue-100); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--blue-600)); transition: width .3s; }
.loader__txt { font: 500 .85rem var(--font-d); color: var(--ink-3); letter-spacing: .04em; }
.loader__txt b { color: var(--blue-700); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px; padding: 0 max(20px, calc((100% - 1200px) / 2));
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.nav.scrolled { background: rgba(247, 250, 253, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav__brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-d); font-size: 1rem; color: var(--ink); }
.nav__brand img { width: 44px; height: auto; }
.nav__brand b { color: var(--blue-600); letter-spacing: .06em; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .93rem; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--blue-700); background: var(--blue-50); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
.nav.open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(900px 600px at 78% 45%, rgba(111, 174, 221, .28), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(255, 122, 61, .07), transparent 60%),
    linear-gradient(180deg, #FBFDFF 0%, var(--blue-50) 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; cursor: grab; touch-action: pan-y; }
.hero__canvas:active { cursor: grabbing; }
.hero__grid-bg {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(var(--blue-100) 1px, transparent 1px), linear-gradient(90deg, var(--blue-100) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000 20%, transparent 75%);
}
.hero__content { z-index: 2; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 80px; pointer-events: none; }
.hero__content > * { pointer-events: auto; max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.75); border: 1px solid var(--blue-100); backdrop-filter: blur(8px);
  font-size: .85rem; font-weight: 600; color: var(--blue-700); box-shadow: var(--shadow-sm);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.hero__title { font-size: clamp(2.7rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin: 22px 0 22px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.ready .hero__title .line > span { transform: none; }
.ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero__sub { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 480px; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(249,252,255,.92) 0%, rgba(249,252,255,.78) 30%, rgba(249,252,255,0) 50%); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.hero__chips li { font-size: .88rem; color: var(--ink-2); padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.7); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.hero__chips b { font-family: var(--font-d); color: var(--ink); margin-right: 4px; }

.hud {
  position: absolute; z-index: 2; right: max(20px, calc((100% - 1200px) / 2)); bottom: 56px; width: 210px;
  padding: 14px 16px; border-radius: 16px; background: rgba(13, 27, 46, .86); color: #cfe3f5;
  font: 500 .72rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); pointer-events: none;
}
.hud__row { display: flex; justify-content: space-between; padding: 4px 0; }
.hud__row span { opacity: .6; }
.hud__row b { color: #fff; font-weight: 600; }
.hud__row i { font-style: normal; color: #9AD0F5; }
#hudStatus { color: var(--wa); }
.hud__bar { height: 3px; margin-top: 8px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.hud__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), #9AD0F5); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--ink-3); border-radius: 20px; opacity: .55; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink-3); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: -14px -10px 0; position: relative; z-index: 3; box-shadow: var(--shadow); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font: 600 1.05rem var(--font-d); letter-spacing: .01em; }
.marquee__track i { color: var(--blue); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 92px) 0; position: relative; }

/* ---------- 3D dividers & fillers (rendered by scenes3d.js) ---------- */
[data-scene] canvas { width: 100%; height: 100%; display: block; }
.divider3d { position: relative; z-index: 2; height: 160px; margin: -56px 0; pointer-events: none; }
.float3d { position: absolute; z-index: 1; right: -20px; top: -40px; width: min(440px, 38%); height: 320px; pointer-events: none; }
.faq3d { height: 260px; margin-top: 18px; pointer-events: none; }
.section__head { position: relative; z-index: 2; }
.section--compact { padding: 40px 0 clamp(60px, 8vw, 100px); }
.section--tint { background: linear-gradient(180deg, var(--blue-50), #fff); }
.section--dark { background: var(--navy); color: #E8F1FA; overflow: hidden; }
.section--dark .lead { color: #A9BCD0; }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .8rem var(--font-d); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 16px; }
.kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker--light { color: var(--blue-300); }
.lead { font-size: 1.08rem; color: var(--ink-2); margin-top: 18px; }
.lead a { color: var(--blue-700); font-weight: 600; }
.note { margin-top: 28px; font-size: .88rem; color: var(--ink-3); text-align: center; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Filters & product grid ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-weight: 600; font-size: .92rem; transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--blue-300); color: var(--blue-700); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(16,26,39,.6); }
.chip sup { font-size: .7em; opacity: .6; margin-left: 3px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card {
  position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); cursor: pointer; display: flex; flex-direction: column;
  transform-style: preserve-3d; transition: box-shadow .4s var(--ease), border-color .3s, opacity .45s var(--ease), transform .45s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.card.hidden { display: none; }
.card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(180deg, #F8FAFD, #E4EDF7); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .5s; }
.card__media img.alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__media img { transform: scale(1.06); }
.card:hover .card__media img.alt { opacity: 1; }
.card__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 40%); opacity: 0; transition: opacity .3s; }
.card:hover .card__shine { opacity: 1; }
.card__badge { position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.92); font: 600 .72rem var(--font-d); color: var(--ink); box-shadow: var(--shadow-sm); letter-spacing: .02em; }
.card__badge--hot { background: var(--orange); color: #fff; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.card__body h3 { font-size: 1.12rem; }
.card__body p { font-size: .92rem; color: var(--ink-3); flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 10px; }
.price { font: 700 1.15rem var(--font-d); }
.price small { font: 500 .75rem var(--font-b); color: var(--ink-3); margin-right: 3px; }
.price--ask { font-size: .92rem; color: var(--ink-2); }
.card__wa { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: rgba(37,211,102,.1); color: var(--wa-d); font-weight: 700; font-size: .84rem; text-decoration: none; transition: background .25s, color .25s; }
.card__wa:hover { background: var(--wa); color: #fff; }

/* ---------- Customizer ---------- */
.customize { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-areas: "head head" "stage panel"; column-gap: 56px; align-items: center; }
.customize__head { grid-area: head; }
.customize__stage { grid-area: stage; }
.customize__panel { grid-area: panel; }
.customize__panel .cz { margin-top: 0; }
.customize__stage {
  position: relative; aspect-ratio: 1 / 1; border-radius: 32px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #fff 0%, var(--blue-50) 55%, var(--blue-100) 100%);
  border: 1px solid var(--blue-100); box-shadow: var(--shadow-lg);
}
.customize__stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.stage__hint, .stage__price { position: absolute; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--shadow-sm); }
.stage__hint { left: 16px; } .stage__price { right: 16px; }
.stage__price b { font-family: var(--font-d); color: var(--ink); font-size: 1rem; }
.cz { margin-top: 30px; display: grid; gap: 20px; }
.field { display: grid; gap: 8px; position: relative; }
.field > span { font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: 500 1rem var(--font-b); transition: border-color .2s, box-shadow .2s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(111,174,221,.2); }
.field small { position: absolute; right: 14px; bottom: 14px; font-size: .78rem; color: var(--ink-3); }
.field small i { font-style: normal; }
#czName { font: 700 1.25rem var(--font-d); padding-right: 60px; }
.seg { display: inline-flex; padding: 4px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; }
.seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: all .25s var(--ease); }
.seg button.on { background: var(--ink); color: #fff; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line), var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; position: relative; }
.sw:hover { transform: scale(1.12); }
.sw.on { box-shadow: 0 0 0 2.5px var(--ink), var(--shadow-sm); transform: scale(1.08); }
.cz .btn { justify-self: start; margin-top: 6px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease), border-color .3s, transform .45s var(--ease); transform-style: preserve-3d;
}
.svc:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.svc__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); color: var(--blue-700); margin-bottom: 20px; transform: translateZ(30px); }
.svc__ico svg { width: 26px; height: 26px; }
.svc h3 { margin-bottom: 10px; transform: translateZ(20px); }
.svc p { color: var(--ink-3); font-size: .95rem; }

/* ---------- Lab (dark) ---------- */
.lab__glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(111,174,221,.28), transparent 65%); top: -250px; right: -200px; pointer-events: none; }
.lab__glow--b { left: -250px; right: auto; top: auto; bottom: -300px; }
.section--dark h2 { color: #fff; }
.lab__rail { display: flex; gap: 22px; overflow-x: auto; padding: 10px max(20px, calc((100% - 1200px) / 2)) 30px; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.lab__rail::-webkit-scrollbar { display: none; }
.lab__rail.drag { cursor: grabbing; scroll-snap-type: none; }
.lab__item { flex: 0 0 min(340px, 78vw); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); transition: transform .5s var(--ease), border-color .3s; }
.lab__item:hover { transform: translateY(-6px); border-color: rgba(111,174,221,.5); }
.lab__item img { aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; pointer-events: none; }
.lab__item div { padding: 18px 20px 22px; }
.lab__item h3 { color: #fff; font-size: 1.08rem; margin-bottom: 6px; }
.lab__item p { color: #9FB3C8; font-size: .92rem; }
.lab__tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lab__tools span { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: #CFE0F0; font: 500 .85rem var(--font-d); }

/* ---------- Story / timeline ---------- */
.story__intro { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.story__emblem { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff, var(--blue-50) 70%); border: 1px solid var(--blue-100); display: grid; place-items: center; box-shadow: var(--shadow); }
.story__emblem img { width: 72%; animation: float 5s ease-in-out infinite; }
.timeline { position: relative; display: grid; gap: 70px; }
.timeline__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); translate: -50% 0; border-radius: 2px; }
.timeline__line span { position: absolute; inset: 0 0 auto 0; height: 0; background: linear-gradient(180deg, var(--blue), var(--blue-600)); border-radius: 2px; }
.chap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; }
.chap::before { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); translate: -50% -50%; z-index: 1; transition: background .4s, transform .4s var(--ease); }
.chap.in::before { background: var(--blue); transform: scale(1.15); }
.chap:nth-child(odd) .chap__img { order: 2; }
.chap__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--blue-50); }
.chap__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.chap:hover .chap__img img { transform: scale(1.05); }
.chap__tag { font: 600 .78rem var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.chap h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 10px 0 12px; }
.chap p { color: var(--ink-2); }

/* ---------- Reviews ---------- */
.review__google { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { position: relative; padding: 28px 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; transition: box-shadow .4s var(--ease), transform .45s var(--ease), border-color .3s; }
.review:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-200); transform: translateY(-4px); }
.review__q { position: absolute; top: 20px; right: 22px; width: 34px; height: 34px; color: var(--blue-100); }
.stars { display: flex; gap: 2px; color: #FFB938; }
.stars svg { width: 17px; height: 17px; }
.review p { color: var(--ink-2); flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 1rem var(--font-d); color: #fff; }
.review__who b { display: block; font-family: var(--font-d); font-size: .98rem; }
.review__who small { color: var(--ink-3); font-size: .82rem; }
.review--cta { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: #E8F1FA; border-color: transparent; justify-content: center; }
.review--cta h3 { color: #fff; font-size: 1.35rem; }
.review--cta p { color: #A9BCD0; flex: 0; }
.review--cta .btn { justify-self: start; align-self: flex-start; }
.review--cta .btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.25); }
.reviews--empty { grid-template-columns: 1fr; max-width: 640px; }

/* ---------- Story: today ---------- */
.chap--now .chap__img { box-shadow: 0 0 0 3px var(--blue), var(--shadow-lg); }
.chap--now::before { width: 22px; height: 22px; background: var(--blue); box-shadow: 0 0 0 8px rgba(111,174,221,.25); }
.chap__now { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--wa); color: #fff; font: 600 .7rem var(--font-d); letter-spacing: .08em; vertical-align: middle; }
.chap .btn { margin-top: 18px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 32px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-300) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__n { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; background: #fff; border: 1.5px solid var(--blue-200); font: 700 1.05rem var(--font-d); color: var(--blue-700); box-shadow: var(--shadow); transition: background .35s, color .35s, transform .5s var(--ease); }
.step:hover .step__n { background: var(--blue-600); color: #fff; transform: translateY(-4px) rotate(-6deg); }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .88rem; color: var(--ink-3); }
.timings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.timing { display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.timing b { font: 800 2.4rem var(--font-d); color: var(--blue-600); letter-spacing: -.03em; }
.timing span { color: var(--ink-2); font-size: .92rem; line-height: 1.35; }

/* ---------- Promises ---------- */
.promises { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.promise { text-align: center; padding: 24px 12px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.promise svg { width: 30px; height: 30px; color: var(--blue-600); margin: 0 auto 12px; display: block; }
.promise h4 { font-size: .95rem; margin-bottom: 4px; }
.promise p { font-size: .82rem; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.qa.open { border-color: var(--blue-200); box-shadow: var(--shadow); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: none; border: 0; text-align: left; font: 600 1.02rem var(--font-d); color: var(--ink); }
.qa button i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); position: relative; transition: transform .4s var(--ease), background .3s; }
.qa button i::before, .qa button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--blue-700); translate: -50% -50%; border-radius: 2px; }
.qa button i::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.qa.open button i { background: var(--blue-100); transform: rotate(180deg); }
.qa.open button i::after { rotate: 0deg; }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa.open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 22px 22px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.contact .btn { margin-top: 28px; }
.contact__list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .ci { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(111,174,221,.12); color: var(--blue-300); }
.contact__list .ci svg { width: 20px; height: 20px; }
.contact__list small { display: block; color: #8299B0; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact__list a, .contact__list span { color: #E8F1FA; text-decoration: none; font-weight: 500; }
.contact__list a:hover { color: var(--blue-300); }
.form { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.form h3 { font-size: 1.5rem; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .field input, .form .field select, .form .field textarea { font-size: .95rem; padding: 12px 14px; background: var(--bg); }
.field.file input { padding: 10px; background: var(--blue-50); border-style: dashed; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form__note { font-size: .8rem; color: var(--ink-3); }
.form__note a { color: var(--blue-700); }

/* ---------- Footer ---------- */
.footer { background: #08131F; color: #9FB3C8; padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 170px; height: auto; margin-bottom: 14px; }
.footer h5 { color: #fff; font-size: .9rem; margin-bottom: 14px; letter-spacing: .02em; }
.footer a { display: block; text-decoration: none; padding: 4px 0; font-size: .92rem; transition: color .2s; }
.footer a:hover { color: var(--blue-300); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; }

/* ---------- FAB ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.7); transition: transform .35s var(--ease); }
.fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.fab .ico { width: 30px; height: 30px; }
.fab:hover { transform: scale(1.08); }
.fab.away { transform: scale(0); pointer-events: none; }
.fab__tip { position: absolute; right: 72px; white-space: nowrap; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 12px; font-weight: 600; font-size: .88rem; box-shadow: var(--shadow); opacity: 0; translate: 10px 0; transition: all .35s var(--ease); pointer-events: none; }
.fab:hover .fab__tip, .fab.peek .fab__tip { opacity: 1; translate: 0 0; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 19, 31, .55); backdrop-filter: blur(6px); animation: fade .3s; }
.modal__card { position: relative; width: min(980px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: #fff; border-radius: 28px; display: grid; grid-template-columns: 1.05fr 1fr; box-shadow: var(--shadow-lg); animation: pop .45s var(--ease); }
.modal--sm .modal__card { width: min(560px, 100%); grid-template-columns: 1fr; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal__x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.modal__gallery { background: linear-gradient(180deg, #F8FAFD, #E4EDF7); padding: 18px; display: grid; gap: 12px; align-content: start; }
.modal__gallery > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.modal__thumbs { display: flex; gap: 10px; }
.modal__thumbs button { width: 64px; height: 64px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: none; opacity: .65; transition: all .25s; }
.modal__thumbs button.on { border-color: var(--blue-600); opacity: 1; }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 36px 32px; display: grid; gap: 14px; align-content: start; }
.modal__body h3 { font-size: 1.8rem; }
.modal__body .kicker { margin-bottom: 0; }
.modal__price { font: 700 1.5rem var(--font-d); color: var(--blue-700); }
.modal__price small { font: 500 .8rem var(--font-b); color: var(--ink-3); }
#mDesc, #pBody { color: var(--ink-2); }
#pBody p + p { margin-top: 12px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 6px 0 8px; padding: 16px 18px; background: var(--bg); border-radius: 14px; font-size: .9rem; }
.specs dt { color: var(--ink-3); font-weight: 600; }
.specs dd { margin: 0; font-weight: 600; }
.modal__body .btn { justify-self: start; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 160px; opacity: 0; visibility: hidden; z-index: 300; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 14px; font-weight: 600; box-shadow: var(--shadow-lg); transition: translate .5s var(--ease), opacity .3s, visibility .3s; max-width: calc(100% - 40px); }
.toast.show { translate: -50% 0; opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .promises { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .nav__links a { padding: 8px 9px; font-size: .88rem; }
}
@media (max-width: 920px) {
  :root { --nav-h: 64px; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; padding: 12px 20px 24px;
    background: rgba(247,250,253,.97); backdrop-filter: blur(16px); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  }
  .nav.open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav.open { background: rgba(247,250,253,.97); }
  .nav__links a { padding: 14px 8px; font-size: 1.05rem; border-radius: 10px; }
  .nav__cta { margin-left: auto; }
  .nav__cta span { display: none; }
  .nav__cta { padding: .6em; }
  .nav__burger { display: block; }
  .customize, .contact, .faq, .section__head--split { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .customize { grid-template-areas: "head" "stage" "panel"; row-gap: 32px; }
  .customize__head { margin-bottom: 0; }
  .story__intro { grid-template-columns: 1fr; gap: 30px; }
  .story__emblem { width: 220px; }
  .timeline__line { left: 8px; }
  .chap { grid-template-columns: 1fr; gap: 20px; padding-left: 40px; }
  .chap::before { left: 9px; top: 24px; }
  .chap:nth-child(odd) .chap__img { order: 0; }
  .timeline { gap: 50px; }
  .modal__card { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hud { display: none; }
  .float3d { display: none; }
  .faq3d { height: 200px; max-width: 320px; }
  .hero::after { background: linear-gradient(180deg, rgba(249,252,255,0) 40%, rgba(249,252,255,.85) 58%, rgba(249,252,255,.92) 100%); }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .hero { align-items: flex-end; }
  .hero__content { padding-bottom: 70px; padding-top: 52svh; }
  .hero__title { margin: 16px 0; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .eyebrow { font-size: .76rem; }
  .services, .timings, .form__row, .reviews { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card__body { padding: 12px 12px 14px; }
  .card__body h3 { font-size: .98rem; }
  .card__body p { display: none; }
  .card__foot { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 6px; }
  .card__wa { width: 100%; justify-content: center; }
  .card__badge { top: 8px; left: 8px; font-size: .64rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .modal { padding: 0; align-items: end; }
  .modal__card { border-radius: 24px 24px 0 0; max-height: 92svh; }
  .modal__body { padding: 24px 20px 30px; }
  .footer__grid { grid-template-columns: 1fr; }
  .fab { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .scroll-cue { display: none; }
  .divider3d { height: 110px; margin: -36px 0; }
  .nav__brand { font-size: .9rem; }
  .nav__brand img { width: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
