/* ==========================================================================
   HEXORA — styles
   Concept: a dark navy "build room". One brand gradient from the logo
   (cyan → blue → violet) lights only the mark, key buttons and prices;
   hexagons appear as small structural details.
   ========================================================================== */

/* ---------- fonts: self-hosted (no third-party request) ----------
   The "… Fallback" faces are Arial / Courier New (or their metric twins) scaled to the real font's metrics, so when the web font arrives
   the text does not change size and nothing on the page moves. */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans Sinhala"; src: url("../fonts/noto-sans-sinhala.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0964-0965, U+0D81-0DF4, U+1CF2, U+200C-200D, U+25CC, U+111E1-111F4; }
@font-face { font-family: "Manrope Fallback"; font-weight: 200 599; src: local("Arial"), local("Liberation Sans"), local("Arimo"), local("Roboto"); size-adjust: 98.51%; ascent-override: 108.21%; descent-override: 30.45%; line-gap-override: 0%; }
@font-face { font-family: "Manrope Fallback"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Arimo Bold"), local("Roboto Bold"); size-adjust: 100.42%; ascent-override: 106.55%; descent-override: 29.87%; line-gap-override: 0%; }
@font-face { font-family: "JetBrains Mono Fallback"; src: local("Courier New"), local("Liberation Mono"), local("Cousine"), local("Roboto Mono"); size-adjust: 99.98%; ascent-override: 102.02%; descent-override: 30%; line-gap-override: 0%; }

@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg: #05060C;
  --bg-2: #101012;
  --surface: #151517;
  --surface-2: #1C1C1F;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.20);
  --fg: #F5F5F6;
  --muted: #A9A9B1;
  --faint: #93939C;   /* 4.9:1 on the lightest panel (was #9C6365, too dim for small text) */
  --cyan: #19C8FF;
  --blue: #2F6BFF;
  --violet: #7B2BFD;
  --violet-soft: #B9C8FF;
  --ok: #2FD39A;
  --danger: #FF5C7A;
  --wa: #1FA855;
  --grad: linear-gradient(120deg, #19C8FF 0%, #2F6BFF 55%, #7B2BFD 100%);
  --grad-ink: linear-gradient(135deg, #1F6BFF 0%, #4B4AF7 55%, #6A2BF5 100%);   /* the button / badge red: white text on it is 5.0–6.9 : 1 */
  --on-accent: #FFFFFF;

  /* Sinhala letters fall through to Noto Sans Sinhala in every stack */
  --f-display: var(--f-body);
  --f-body: "Manrope", "Manrope Fallback", "Noto Sans Sinhala", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", "JetBrains Mono Fallback", "Noto Sans Sinhala", "Cascadia Code", Consolas, monospace;

  --r: 16px;
  --r-lg: 24px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(47, 107, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { position: relative; width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
main, footer, header { position: relative; z-index: 1; }

/* ---------- logo parts (cut from the one original logo file) ---------- */
.logo-part {
  display: inline-block; flex: none; vertical-align: middle;
  background: url("../brand/hexora-logo.webp") no-repeat;
  background-size: calc(1254px * var(--s, .1)) auto;
  background-position: calc(var(--x) * var(--s, .1) * -1px) calc(var(--y) * var(--s, .1) * -1px);
  width: calc(var(--w) * var(--s, .1) * 1px);
  height: calc(var(--h) * var(--s, .1) * 1px);
}
.lp-mark { --x: 402; --y: 254; --w: 451; --h: 434; }
.lp-word { --x: 157; --y: 760; --w: 948; --h: 121; }
.lp-tag  { --x: 236; --y: 927; --w: 784; --h: 27; }

/* ---------- ambient background canvas ---------- */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .9; }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--bg);
  animation: loader-auto-hide .5s ease 2.2s forwards; /* safety net if JS never runs */
}
.loader-inner { display: grid; justify-items: center; gap: 22px; }
.loader .loader-mark { --s: .1905; filter: drop-shadow(0 0 24px rgba(47, 107, 255, .7)); animation: loader-pulse 1.2s var(--ease) infinite alternate; }
.loader-bar { width: 140px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 40%; background: var(--grad); animation: loader-run 1s ease-in-out infinite; }
.loader.done { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
@keyframes loader-pulse { from { transform: scale(.92); opacity: .75; } to { transform: scale(1.04); opacity: 1; } }
@keyframes loader-run { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes loader-auto-hide { to { opacity: 0; visibility: hidden; } }

/* ---------- scroll progress ---------- */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); box-shadow: 0 0 12px rgba(25, 200, 255, .6); }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
.display { font-family: var(--f-display); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; }
h1.display { font-size: clamp(1.75rem, 4.4vw, 3.35rem); line-height: 1.16; }
h2.display { font-size: clamp(1.3rem, 2.9vw, 2.05rem); line-height: 1.25; }
h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -.005em; }
p { margin: 0; }
.lead { font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: grad-shift 6s ease-in-out infinite alternate; }
@keyframes grad-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before { content: ""; width: 10px; height: 11px; background: var(--grad); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); animation: hex-spin 8s linear infinite; }
@keyframes hex-spin { to { transform: rotate(360deg); } }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* split heading words */

/* ---------- buttons ----------
   Cut-corner buttons (top-left and bottom-right corners chamfered, like a hexagon's edge). The thin outline of the
   plain button is a 1px-inset ::before layer, because a border would be clipped along the cut corners. */
.btn {
  --n: 12px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border: 0;
  font-weight: 800; font-size: .97rem; text-decoration: none; cursor: pointer; color: var(--fg);
  background: var(--line-strong);
  clip-path: polygon(var(--n) 0, 100% 0, 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, 0 100%, 0 var(--n));
  transition: transform .25s var(--ease), background-color .25s ease, background-position .4s ease;
}
.btn::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--surface); transition: background-color .25s ease;
  clip-path: polygon(calc(var(--n) - .6px) 0, 100% 0, 100% calc(100% - var(--n) + .6px), calc(100% - var(--n) + .6px) 100%, 0 100%, 0 calc(var(--n) - .6px)); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--cyan); transform: translateY(-2px); }
  .btn:hover::before { background: #141933; }
}
.btn:active { transform: translateY(0) scale(.98); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::after { transform: translateX(120%); }
}
.btn:focus-visible { clip-path: none; outline-offset: 3px; border-radius: 4px; }   /* a clipped button would hide its own focus ring */
.btn-primary { color: var(--on-accent); background: var(--grad-ink); background-size: 160% 100%; }
.btn-primary::before { display: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--grad-ink); background-size: 160% 100%; background-position: 100% 0; }
}
.btn-wa { background: #15803D; color: #fff; }   /* 5.0 : 1 (the brand WhatsApp green is only 3.1 : 1 under white text) */
.btn-wa::before { display: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-wa:hover { background: #166534; }
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg.arrow { transform: translateX(4px); }
}
.btn-block { width: 100%; }
.btn-sm { --n: 9px; min-height: 44px; padding: 0 18px; font-size: .88rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(5, 6, 12, .78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { --s: .0907; filter: drop-shadow(0 0 10px rgba(47, 107, 255, .5)); transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
}
.brand-word { --s: .1429; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { position: relative; text-decoration: none; color: var(--muted); font-weight: 700; font-size: .94rem; transition: color .2s ease; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.btn):hover { color: var(--fg); }
  .nav-links a:not(.btn):hover::after { transform: scaleX(1); }
}
.nav-cta { min-height: 44px; padding: 0 18px; font-size: .9rem; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(16, 20, 40, .6); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--fg); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background-color .2s ease; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .site-header.menu-open { background: rgba(5, 6, 12, .96); border-bottom-color: var(--line); }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: rgb(26, 23, 23); border-bottom: 1px solid var(--line); padding: 6px var(--gutter) 20px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .3s var(--ease), visibility 0s .3s; }
  .menu-open .nav-links { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .3s var(--ease); }
  .nav-links li a:not(.btn) { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav-links li a:not(.btn)::after { display: none; }
  .nav-links li:last-child { margin-top: 16px; }
  .nav-links .nav-cta { width: 100%; min-height: 50px; }
}
@media (max-width: 380px) { .brand-word { --s: .1147; } .brand-mark { --s: .0771; } }

/* ---------- sections ---------- */
section { padding-block: clamp(70px, 9vw, 120px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(34px, 5vw, 56px); max-width: 740px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.band { background: linear-gradient(180deg, rgba(12, 15, 30, .85), rgba(5, 6, 12, .6)); border-block: 1px solid var(--line); }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 84px) clamp(64px, 8vw, 110px); }
.hero::before { content: ""; position: absolute; top: -10vh; left: 0; right: 0; height: clamp(720px, 125vh, 1100px); pointer-events: none; background: radial-gradient(640px 420px at 76% 32%, rgba(47, 107, 255, .24), transparent 70%), radial-gradient(520px 360px at 8% 92%, rgba(123, 43, 253, .16), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.fade-up { opacity: 0; animation: fade-up .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 2px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: dot-blink 2.4s ease-in-out infinite; }
.hero-points li:nth-child(2)::before { animation-delay: .4s; }
.hero-points li:nth-child(3)::before { animation-delay: .8s; }
@keyframes dot-blink { 50% { opacity: .35; } }

.stage { position: relative; perspective: 1200px; min-width: 0; }
.video-frame {
  position: relative; border-radius: var(--r-lg); padding: 1.5px;
  background: conic-gradient(from var(--ang), rgba(25, 200, 255, .9), rgba(47, 107, 255, .15) 25%, rgba(123, 43, 253, .9) 50%, rgba(47, 107, 255, .15) 75%, rgba(25, 200, 255, .9));
  animation: spin-border 6s linear infinite;
  box-shadow: 0 40px 100px -40px rgba(47, 107, 255, .85);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
  transform-style: preserve-3d;
}
@keyframes spin-border { to { --ang: 360deg; } }
.video-frame video, .video-frame > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--r-lg) - 1.5px); background: var(--bg-2); }
.video-glare { position: absolute; inset: 1.5px; border-radius: calc(var(--r-lg) - 1.5px); pointer-events: none; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .10), transparent 45%); }
.video-tag { position: absolute; left: 16px; top: 16px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(5, 6, 12, .72); border: 1px solid var(--line); color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.video-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FF4D6D; box-shadow: 0 0 8px #FF4D6D; animation: dot-blink 1.6s ease-in-out infinite; }
.video-toggle { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(5, 6, 12, .72); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .video-toggle:hover { transform: scale(1.08); }
}
.video-toggle svg { width: 15px; height: 15px; fill: var(--fg); }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(16, 20, 40, .88); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); font-size: .82rem; animation: bob 5s ease-in-out infinite; }
.float-card b { display: block; font-size: .9rem; }
.float-card span { color: var(--muted); font-size: .76rem; }
.float-card .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(25, 200, 255, .22), rgba(123, 43, 253, .3)); flex: none; }
.float-card .ic svg { width: 17px; height: 17px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-1 { left: -26px; bottom: -22px; }
.fc-2 { right: -18px; top: -24px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { order: -1; }
  .fc-1 { left: 8px; bottom: -20px; }
  .fc-2 { right: 8px; top: -18px; }
}
@media (max-width: 480px) { .fc-2, .video-tag { display: none; } .stage { margin-bottom: 26px; } .fc-1 { bottom: -30px; padding: 8px 12px; } .float-card .ic { width: 28px; height: 28px; } }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 1; padding-block: 22px; border-block: 1px solid var(--line); background: rgba(12, 15, 30, .7); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 32s linear infinite; }
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
.chip { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: .86rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
.chip::before { content: ""; width: 8px; height: 9px; background: var(--grad); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- spotlight cards ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .3s ease; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 107, 255, .18), transparent 60%); }
@media (hover: hover) and (pointer: fine) {
  .spot:hover::before { opacity: 1; }
}

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(22, 27, 52, .7), rgba(16, 20, 40, .7)); transition: border-color .3s ease, transform .4s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .service:hover { border-color: var(--line-strong); transform: translateY(-4px); }
}
.hex-icon { width: 52px; height: 56px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(140deg, rgba(25, 200, 255, .26), rgba(123, 43, 253, .32)); transition: transform .6s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .service:hover .hex-icon { transform: rotate(60deg); }
  .service:hover .hex-icon svg { transform: rotate(-60deg); }
}
.hex-icon svg { width: 23px; height: 23px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.service p { color: var(--muted); font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags span { font-family: var(--f-mono); font-size: .7rem; color: var(--faint); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }
.svc-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 18px; }
.services + .svc-group, .prices + .svc-group { margin-top: clamp(40px, 6vw, 64px); }
.svc-label { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid; }
.svc-label.dev { color: var(--cyan); border-color: rgba(25, 200, 255, .4); background: rgba(25, 200, 255, .08); }
.svc-label.creative { color: var(--violet-soft); border-color: rgba(123, 43, 253, .55); background: rgba(123, 43, 253, .12); }
.service.creative .hex-icon { background: linear-gradient(140deg, rgba(123, 43, 253, .4), rgba(47, 107, 255, .22)); }
.service.creative .hex-icon svg { stroke: var(--violet-soft); }
.service.creative.spot::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(123, 43, 253, .2), transparent 60%); }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* ---------- process timeline ---------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 900px; margin-inline: auto; }
.timeline::before, .tl-fill { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--line); }
.tl-fill { background: var(--grad); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 14px rgba(25, 200, 255, .55); }
.tl-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.tl-dot { position: relative; z-index: 1; width: 56px; height: 62px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--surface-2); font-family: var(--f-mono); font-weight: 700; color: var(--muted); transition: background-color .4s ease, color .4s ease; }
.tl-item.on .tl-dot { background: var(--grad-ink); color: var(--on-accent); }
.tl-body { padding: 20px 24px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(16, 20, 40, .75); display: grid; gap: 6px; transition: border-color .4s ease; }
.tl-item.on .tl-body { border-color: var(--line-strong); }
.tl-body p { color: var(--muted); font-size: .95rem; }
.tl-time { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }

/* ---------- pricing ---------- */
.rate-pill { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.rate-pill .live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: dot-blink 2s ease-in-out infinite; }
.rate-pill.offline .live { background: var(--faint); box-shadow: none; animation: none; }
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 10px; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(16, 20, 40, .8); transition: transform .4s var(--ease), border-color .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .price-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
}
.price-card.featured { border: 1px solid transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, conic-gradient(from var(--ang), var(--cyan), var(--blue), var(--violet), var(--blue), var(--cyan)) border-box; animation: spin-border 7s linear infinite; box-shadow: 0 30px 70px -36px rgba(47, 107, 255, .9); }
.badge { position: absolute; top: -12px; right: 18px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--grad-ink); color: var(--on-accent); }
.price-from { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.price-amt { font-family: var(--f-mono); font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.price-usd { font-family: var(--f-mono); font-size: .78rem; color: var(--faint); }
.price-card ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; align-content: start; color: var(--muted); font-size: .92rem; }
.price-card li { display: flex; gap: 10px; }
.price-card li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.price-card .btn { margin-top: 10px; min-height: 44px; font-size: .9rem; }
.terms { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.term { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: rgba(12, 15, 30, .8); border: 1px solid var(--line); }
.term .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(140deg, rgba(25, 200, 255, .2), rgba(123, 43, 253, .28)); }
.term .ic svg { width: 18px; height: 18px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.term strong { display: block; font-size: .98rem; }
.term > div > span { color: var(--muted); font-size: .88rem; }
@media (max-width: 1080px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }
@media (max-width: 580px) { .prices { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 840px; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: rgba(16, 20, 40, .8); transition: border-color .3s ease; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 800; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-family: var(--f-mono); color: var(--cyan); transition: transform .35s var(--ease), background-color .3s ease; }
.faq details[open] summary::after { transform: rotate(135deg); background: rgba(25, 200, 255, .1); }
.faq .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq details[open] .ans { grid-template-rows: 1fr; }
.faq .ans > div { overflow: hidden; }
.faq .ans p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); padding: clamp(32px, 6vw, 64px); background: var(--surface-2); border: 1px solid var(--line-strong); display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.cta-band::before { width: 380px; height: 380px; right: -100px; top: -160px; background: var(--blue); opacity: .35; animation: drift 9s ease-in-out infinite alternate; }
.cta-band::after { width: 300px; height: 300px; left: -80px; bottom: -180px; background: var(--violet); opacity: .3; animation: drift 11s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.15); } }
.cta-band .lead { margin-top: 10px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 780px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 36px; background: rgba(12, 15, 30, .92); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.foot-grid .foot-h { margin: 0 0 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .foot-grid a:hover { color: var(--fg); }
}
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .word { --s: .184; }
.foot-brand .tag { --s: .2953; opacity: .8; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--faint); font-size: .86rem; }
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr; } }

/* admin lock (footer corner) */
.foot-end { display: inline-flex; align-items: center; gap: 12px; }
.admin-lock { display: inline-grid; place-items: center; width: 36px; height: 36px; margin: -4px 0; border-radius: 10px; color: var(--faint); opacity: .5; transition: opacity .2s ease, color .2s ease, background-color .2s ease; }
.admin-lock:focus-visible { opacity: 1; color: var(--cyan); background: var(--surface); }
@media (hover: hover) and (pointer: fine) {
  .admin-lock:hover { opacity: 1; color: var(--cyan); background: var(--surface); }
}
.admin-lock svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* notice bar (admin panel → Notice) */
.notice-bar { position: relative; z-index: 51; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; padding: 10px 48px; background: var(--grad-ink); color: var(--on-accent); font-weight: 700; font-size: .92rem; text-align: center; }
.notice-bar a { color: var(--on-accent); text-underline-offset: 3px; }
.notice-close { position: absolute; right: 10px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border: 0; border-radius: 50%; background: rgba(5, 6, 12, .25); color: var(--on-accent); font-size: 1.1rem; line-height: 1; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .notice-close:hover { background: rgba(5, 6, 12, .45); }
}

/* floating WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); box-shadow: 0 14px 34px -10px rgba(31, 168, 85, .9); transition: transform .25s var(--ease), opacity .25s ease, visibility 0s; }
/* off while the footer's last row is on screen, so it never covers the footer links or the admin lock */
.wa-float.away { opacity: 0; visibility: hidden; transform: scale(.6); transition: transform .25s var(--ease), opacity .25s ease, visibility 0s .25s; }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { transform: scale(1.08); }
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ==========================================================================
   START A PROJECT page
   ========================================================================== */
.page-head { padding-block: clamp(34px, 6vw, 70px) 10px; }
.page-head .lead { margin-top: 14px; }
.stepper { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.stepper li { font-family: var(--f-mono); font-size: .74rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--faint); transition: all .3s ease; }
.stepper li.done { color: var(--fg); border-color: rgba(47, 211, 154, .5); background: rgba(47, 211, 154, .08); }
.stepper li.done::before { content: "✓ "; color: var(--ok); }
.planner { padding-block: 26px clamp(90px, 10vw, 130px); }
.planner-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 28px; align-items: start; }
@media (max-width: 1000px) { .planner-grid { grid-template-columns: 1fr; } }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-step { border: 1px solid var(--line); border-radius: var(--r); background: rgba(16, 20, 40, .82); padding: clamp(20px, 3vw, 30px); display: grid; gap: 20px; transition: border-color .3s ease; }
.form-step:focus-within { border-color: var(--line-strong); }
.form-step + .form-step { margin-top: 16px; }
.step-head { display: flex; align-items: center; gap: 14px; }
.step-head .n { flex: none; width: 40px; height: 44px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--surface-2); font-family: var(--f-mono); font-size: .82rem; color: var(--cyan); transition: background-color .3s ease, color .3s ease; }
.form-step.complete .step-head .n { background: var(--grad-ink); color: var(--on-accent); }
.step-head h2 { font-size: 1.12rem; font-weight: 800; }
.step-head p { color: var(--muted); font-size: .88rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field label, .group-label { font-weight: 800; font-size: .92rem; }
.field .hint, .group-hint { color: var(--faint); font-size: .82rem; }
.req { color: var(--cyan); }
.input { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--fg); transition: border-color .2s ease, box-shadow .2s ease; }
textarea.input { min-height: 130px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
select.input option { background: var(--bg-2); }
input[type="date"].input::-webkit-calendar-picker-indicator { filter: invert(.8); }
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(25, 200, 255, .14); }
.err { color: var(--danger); font-size: .84rem; display: none; }
.invalid .err { display: block; }
.field.invalid .input { border-color: var(--danger); animation: shake .4s ease; }
.opt-group.invalid .options { outline: 1px solid var(--danger); outline-offset: 6px; animation: shake .4s ease; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.opt-group { display: grid; gap: 10px; }
.options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); border-radius: 12px; }
.options.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .options.cols-3 { grid-template-columns: 1fr; } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.opt-box { display: grid; grid-template-columns: auto 1fr auto; gap: 3px 12px; align-items: start; height: 100%; padding: 14px 15px; border-radius: 13px; border: 1px solid var(--line-strong); background: var(--bg-2); transition: border-color .2s ease, background-color .2s ease, transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .opt:hover .opt-box { border-color: rgba(25, 200, 255, .55); }
}
.opt:active .opt-box { transform: scale(.985); }
.opt-box .tick { grid-row: span 2; width: 21px; height: 21px; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background-color .2s ease, border-color .2s ease; }
.opt input[type="radio"] + .opt-box .tick { border-radius: 50%; }
.opt-box .tick::after { content: ""; width: 9px; height: 9px; border-radius: inherit; background: var(--bg); transform: scale(0); transition: transform .25s var(--ease); }
.opt-box .t { font-weight: 800; font-size: .93rem; line-height: 1.3; }
.opt-box .s { grid-column: 2; color: var(--faint); font-size: .79rem; line-height: 1.4; }
.opt-box .p { grid-row: 1; grid-column: 3; font-family: var(--f-mono); font-size: .74rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.opt input:checked + .opt-box { border-color: var(--cyan); background: linear-gradient(140deg, rgba(25, 200, 255, .09), rgba(123, 43, 253, .09)); }
.opt input:checked + .opt-box .tick { background: var(--grad-ink); border-color: transparent; }
.opt input:checked + .opt-box .tick::after { transform: scale(1); }
.opt input:checked + .opt-box .p { color: var(--cyan); }
.opt input:focus-visible + .opt-box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.opt input:disabled + .opt-box { opacity: .45; cursor: not-allowed; }
.opt input:disabled { cursor: not-allowed; }

/* track switch + design & video items */
.track-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .track-opts { grid-template-columns: 1fr; } }
.track-opts .opt-box { padding: 18px; }
.track-opts .opt-box .t { font-size: 1rem; }
.cr-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.cr-item { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 15px; border-radius: 13px; border: 1px solid var(--line-strong); background: var(--bg-2); transition: border-color .2s ease, background-color .2s ease; }
.cr-item.on { border-color: var(--violet); background: linear-gradient(140deg, rgba(123, 43, 253, .12), rgba(47, 107, 255, .08)); }
.cr-info { flex: 1; min-width: 0; display: grid; gap: 2px; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.cr-info .t { font-weight: 800; font-size: .93rem; line-height: 1.3; }
.cr-info .s { color: var(--faint); font-size: .78rem; line-height: 1.35; }
.cr-info .p { font-family: var(--f-mono); font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cr-item.on .cr-info .p { color: var(--violet-soft); }
.qty { display: flex; align-items: center; gap: 4px; flex: none; }
.qty button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); font-size: 1.1rem; line-height: 1; cursor: pointer; transition: border-color .2s ease, transform .15s ease; }
@media (hover: hover) and (pointer: fine) {
  .qty button:hover { border-color: var(--violet-soft); }
}
.qty button:active { transform: scale(.92); }
.qty input { width: 38px; height: 34px; text-align: center; border-radius: 8px; border: 1px solid transparent; background: transparent; font-family: var(--f-mono); font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; border-color: var(--violet-soft); }
.opt-group.invalid .cr-list { outline: 1px solid var(--danger); outline-offset: 6px; border-radius: 12px; animation: shake .4s ease; }

/* estimate panel */
.estimate { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 18px; border: 1px solid transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, conic-gradient(from var(--ang), var(--cyan), var(--blue), var(--violet), var(--blue), var(--cyan)) border-box; animation: spin-border 8s linear infinite; box-shadow: 0 40px 90px -46px rgba(47, 107, 255, 1); }
.est-label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.est-total { font-family: var(--f-mono); font-weight: 700; font-size: clamp(1.3rem, 2.1vw, 1.62rem); line-height: 1.25; font-variant-numeric: tabular-nums; }
.est-total .to { display: block; font-size: .6em; color: var(--muted); font-weight: 500; margin-top: 2px; }
.est-usd { font-family: var(--f-mono); font-size: .8rem; color: var(--faint); margin-top: 4px; }
.est-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.est-meta div { padding: 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 2px; }
.est-meta b { font-family: var(--f-mono); font-size: .96rem; font-variant-numeric: tabular-nums; }
.est-meta span { font-size: .74rem; color: var(--faint); }
.est-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .85rem; max-height: 250px; overflow: auto; }
.est-lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); animation: fade-up .4s var(--ease); }
.est-lines li b { font-family: var(--f-mono); font-weight: 500; color: var(--fg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.est-rate { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .74rem; color: var(--faint); }
.est-rate .live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); flex: none; }
.est-rate.offline .live { background: var(--faint); box-shadow: none; }
.est-note { font-size: .8rem; color: var(--faint); line-height: 1.55; }
.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.04); color: var(--cyan); } }

/* mobile estimate bar */
.est-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(12, 15, 30, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-strong); align-items: center; justify-content: space-between; gap: 12px; }
.est-bar .v { font-family: var(--f-mono); font-weight: 700; font-size: .98rem; font-variant-numeric: tabular-nums; }
.est-bar .l { font-size: .72rem; color: var(--muted); }
.est-bar .btn { min-height: 44px; padding: 0 16px; font-size: .88rem; flex: none; }
@media (max-width: 1000px) {
  .estimate { position: static; }
  .est-bar { display: flex; }
  body.planner-page { padding-bottom: 80px; }
  body.planner-page .wa-float { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
}

/* summary */
.summary { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: rgba(16, 20, 40, .9); padding: clamp(22px, 4vw, 36px); display: grid; gap: 20px; animation: fade-up .6s var(--ease); }
.summary-top { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; }
.success-hex { width: 64px; height: 70px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--grad-ink); animation: pop .7s var(--ease); }
.success-hex svg { width: 28px; height: 28px; stroke: var(--bg); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .4s ease forwards; }
@keyframes pop { 0% { transform: scale(0) rotate(-60deg); } 70% { transform: scale(1.1) rotate(4deg); } 100% { transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ref { font-family: var(--f-mono); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--cyan); font-size: .86rem; }
.summary pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: var(--f-mono); font-size: .82rem; line-height: 1.65; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px; max-height: 440px; overflow: auto; }
.summary-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .summary-actions { grid-template-columns: 1fr; } }
.contact-line { color: var(--muted); font-size: .92rem; }
.saved-note { padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(47, 211, 154, .4); background: rgba(47, 211, 154, .08); color: var(--ok); font-size: .9rem; font-weight: 700; }
.contact-line b { color: var(--fg); user-select: all; }
.burst { position: absolute; inset: 0; pointer-events: none; }
.burst i { position: absolute; left: 50px; top: 50px; width: 10px; height: 11px; background: var(--grad); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); animation: burst 1.1s var(--ease) forwards; }
@keyframes burst { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--tx), var(--ty)) scale(.3) rotate(220deg); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 90; background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--fg); padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .3s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.form-alert { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--danger); background: rgba(255, 92, 122, .08); font-size: .92rem; }

/* ==========================================================================
   SERVICE pages (service.html) — category bar, sections, animations
   ========================================================================== */
/* linked service cards (home page + service pages) */
.svc-link { color: inherit; text-decoration: none; }
.svc-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.svc-more { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; color: var(--cyan); transition: transform .3s var(--ease); }
.service.creative .svc-more { color: var(--violet-soft); }
@media (hover: hover) and (pointer: fine) {
  .service:hover .svc-more { transform: translateX(4px); }
}

/* category bar */
.svc-browse { position: relative; z-index: 1; border-bottom: 1px solid var(--line); background: rgba(12, 15, 30, .72); }
.svc-browse .wrap { display: grid; gap: 12px; padding-block: 16px; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-tab { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--faint); font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.cat-tab span { opacity: .75; }
@media (hover: hover) and (pointer: fine) {
  .cat-tab:hover { color: var(--fg); }
}
.cat-tab.dev[aria-selected="true"] { color: var(--cyan); border-color: rgba(25, 200, 255, .45); background: rgba(25, 200, 255, .08); }
.cat-tab.creative[aria-selected="true"] { color: var(--violet-soft); border-color: rgba(123, 43, 253, .6); background: rgba(123, 43, 253, .12); }
.svc-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.svc-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap; transition: color .2s ease, border-color .2s ease; }
.svc-chip svg { width: 16px; height: 16px; flex: none; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-chips.creative .svc-chip svg { stroke: var(--violet-soft); }
@media (hover: hover) and (pointer: fine) {
  .svc-chip:hover { color: var(--fg); border-color: var(--line-strong); }
}
.svc-chip[aria-current="page"] { color: var(--fg); border-color: var(--cyan); background: linear-gradient(140deg, rgba(25, 200, 255, .1), rgba(123, 43, 253, .1)); }
.svc-chips.creative .svc-chip[aria-current="page"] { border-color: var(--violet); }

/* hero */
.svc-hero { position: relative; padding-block: clamp(30px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.svc-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 400px at 78% 40%, rgba(47, 107, 255, .2), transparent 70%), radial-gradient(480px 320px at 6% 90%, rgba(123, 43, 253, .14), transparent 70%); }
.svc-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.svc-hero-copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.svc-stage { position: relative; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-family: var(--f-mono); font-size: .74rem; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .crumbs a:hover { color: var(--fg); }
}
.svc-hub .section-head { position: relative; max-width: 760px; }
@media (max-width: 900px) { .svc-hero-grid { grid-template-columns: 1fr; } }

/* what's included + how we work */
.svc-section { padding-block: clamp(50px, 7vw, 90px); }
.svc-detail { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.svc-box { display: grid; gap: 18px; align-content: start; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); border: 1px solid var(--line); background: rgba(16, 20, 40, .8); }
.inc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.inc-list li { display: flex; gap: 10px; }
.inc-list li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.mini-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.mini-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.mini-steps .n { width: 40px; height: 44px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--surface-2); font-family: var(--f-mono); font-size: .8rem; color: var(--cyan); }
.mini-steps b { display: block; font-weight: 800; }
.mini-steps p { color: var(--muted); font-size: .9rem; }
.prices.svc-prices { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .inc-list { grid-template-columns: 1fr; } }

/* ---------- service stage: one 4:3 frame for the 3D tile (or a 16:9 video) ---------- */
.svc-stage .an { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; border-radius: calc(var(--r-lg) - 1.5px); background: radial-gradient(70% 60% at 50% 45%, rgba(47, 107, 255, .2), transparent 70%), var(--bg-2); container-type: inline-size; }
.svc-stage .an::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 6cqw 6cqw; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%); }
.svc-stage .an-video { aspect-ratio: 16 / 9; }
.svc-stage .an-video::before { display: none; }
.svc-stage .an-video video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
  .fade-up { opacity: 1; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track .chip[aria-hidden="true"] { display: none; }   /* the duplicates only exist for the scrolling loop */
  #fx { display: none; }
}

/* keep anchored blocks clear of the sticky header */
section[id], #summary, #project-form, #estimate, .field, .opt-group { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 96px); }
@media (max-width: 1000px) { .est-lines { max-height: none; } }

/* ===================== customer account (account.html) ===================== */
.saved-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.acc-main { display: grid; gap: 18px; padding-block: clamp(30px, 6vw, 64px) clamp(90px, 10vw, 130px); max-width: 860px; }
.acc-card { display: grid; gap: 16px; min-width: 0; padding: clamp(20px, 4vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(16, 20, 40, .86); }
.acc-gate { max-width: 480px; width: 100%; margin-inline: auto; }
.acc-gate h1.display, .acc-head h1.display { font-size: clamp(1.5rem, 4vw, 2.3rem); }
.acc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.acc-tabs button { min-height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 800; font-size: .9rem; cursor: pointer; }
.acc-tabs button[aria-selected="true"] { color: var(--fg); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.acc-form { display: grid; gap: 14px; }
.acc-pin { font-family: var(--f-mono); letter-spacing: .5em; }
.acc-msg { min-height: 1.4em; color: var(--danger); font-size: .88rem; font-weight: 700; }
.acc-msg.ok { color: var(--ok); }
.acc-help { color: var(--faint); font-size: .85rem; }
.acc-help a, .acc-card a:not(.btn) { color: var(--cyan); }
.acc-head { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: flex-end; }
.acc-head > div:first-child { display: grid; gap: 8px; }
.acc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.acc-list { display: grid; gap: 16px; }
.acc-proj { display: grid; gap: 14px; padding: clamp(18px, 3.5vw, 28px); border-radius: var(--r-lg); border: 1px solid var(--line); border-top: 3px solid var(--cyan); background: rgba(16, 20, 40, .86); min-width: 0; }
.acc-proj.s-done { border-top-color: var(--ok); }
.acc-proj-top { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; align-items: flex-start; }
.acc-proj-top > div { display: grid; gap: 4px; min-width: 0; }
.acc-proj h2 { font-size: 1.2rem; font-weight: 800; overflow-wrap: anywhere; }
.acc-proj small { color: var(--faint); font-family: var(--f-mono); font-size: .76rem; }
.acc-stage { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(25, 200, 255, .4); background: rgba(25, 200, 255, .08); color: var(--cyan); font-size: .84rem; font-weight: 800; white-space: nowrap; }
.s-done .acc-stage { border-color: rgba(47, 211, 154, .45); background: rgba(47, 211, 154, .08); color: var(--ok); }
.acc-bar { height: 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.acc-bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transition: width .8s var(--ease); }
.s-done .acc-bar i { background: var(--ok); }
.acc-pct { margin-top: -6px; color: var(--muted); font-size: .88rem; }
.acc-pct b { color: var(--fg); font-family: var(--f-mono); font-size: 1.05rem; }
.acc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.acc-steps li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--faint); font-size: .74rem; font-weight: 700; }
.acc-steps li::before { content: ""; position: absolute; top: 6px; left: -50%; right: 50%; height: 2px; background: var(--line-strong); }
.acc-steps li:first-child::before { display: none; }
.acc-steps li i { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--bg); }
.acc-steps li.done, .acc-steps li.now { color: var(--fg); }
.acc-steps li.done::before, .acc-steps li.now::before { background: var(--cyan); }
.acc-steps li.done i { border-color: var(--cyan); background: var(--cyan); }
.acc-steps li.now i { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(25, 200, 255, .2); }
.s-done .acc-steps li i { border-color: var(--ok); background: var(--ok); }
.s-done .acc-steps li::before { background: var(--ok); }
.acc-note { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; border-left: 3px solid var(--violet); background: var(--bg-2); }
.acc-note b { font-size: .78rem; font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-soft); }
.acc-note p { white-space: pre-line; }
.acc-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.acc-facts:empty { display: none; }
.acc-facts dt { color: var(--faint); font-size: .78rem; }
.acc-facts dd { margin: 2px 0 0; font-weight: 800; }
.acc-wa { justify-self: start; }
.acc-empty h2 { font-size: 1.15rem; font-weight: 800; }
.acc-settings summary { cursor: pointer; font-weight: 800; }
.acc-settings[open] summary { margin-bottom: 4px; }
@media (max-width: 560px) {
  .acc-actions .btn { flex: 1 1 auto; }
  .acc-wa { justify-self: stretch; }
}
.acc-link { padding: 0; border: 0; background: none; color: var(--cyan); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.acc-bigpin { margin: 0; padding: 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--cyan); font-family: var(--f-mono); font-size: 2rem; letter-spacing: .4em; text-align: center; }

/* ===================== mobile app packages ===================== */
.options.pkg-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.opt.pkg .opt-box { grid-template-columns: auto 1fr; align-content: start; }
.opt.pkg .opt-box .p { grid-row: 1; grid-column: 2; justify-self: start; color: var(--cyan); font-size: .95rem; font-weight: 700; margin-top: 2px; }
.opt.pkg .opt-box .t { grid-column: 2; }
.pkg-inc { grid-column: 1 / -1; margin: 6px 0 0; padding: 8px 0 0; list-style: none; display: grid; gap: 3px; border-top: 1px solid var(--line); color: var(--faint); font-size: .78rem; line-height: 1.4; }
.pkg-inc li::before { content: "✓ "; color: var(--ok); }
.pkg-prices { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.pkg-card ul li { font-size: .86rem; }

/* ===================== account tabs + chat ===================== */
.acc-tabs2 { display: flex; gap: 6px; padding: 5px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); overflow-x: auto; }
.acc-tabs2 button { flex: 1 1 auto; min-height: 42px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 800; font-size: .9rem; cursor: pointer; white-space: nowrap; }
.acc-tabs2 button[aria-selected="true"] { color: var(--fg); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.acc-dot { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--danger); color: #fff; font-style: normal; font-size: .68rem; font-weight: 800; line-height: 1.5; vertical-align: middle; }
.acc-dot[hidden] { display: none; }
.acc-proj-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.acc-chat-btn svg { width: 18px; height: 18px; flex: none; }
.acc-chat[hidden] { display: none; }
.acc-card h2 { font-size: 1.1rem; font-weight: 800; }

.chat { display: grid; gap: 8px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--bg); padding: 10px; }
.chat-log { display: grid; align-content: start; gap: 8px; height: min(52vh, 420px); overflow-y: auto; padding: 4px; scroll-behavior: smooth; overscroll-behavior: contain; }
.chat-empty { margin: auto; color: var(--faint); font-size: .88rem; text-align: center; padding: 20px; }
.chat-m { display: grid; gap: 4px; max-width: 82%; padding: 9px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); min-width: 0; }
.chat-m.me { justify-self: end; border-color: rgba(25, 200, 255, .35); background: linear-gradient(140deg, rgba(25, 200, 255, .14), rgba(47, 107, 255, .18)); border-bottom-right-radius: 4px; }
.chat-m.them { justify-self: start; border-bottom-left-radius: 4px; }
.chat-m p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .93rem; line-height: 1.5; }
.chat-m time { color: var(--faint); font-size: .68rem; font-family: var(--f-mono); justify-self: end; }
.chat-img { display: block; max-width: 100%; max-height: 260px; border-radius: 10px; cursor: zoom-in; background: var(--bg-2); }
.chat-m audio { width: min(260px, 100%); height: 38px; }
.chat-dur { color: var(--faint); font-size: .74rem; }
.chat-bad { color: var(--faint); font-style: italic; }
.chat-note { margin: 0; min-height: 0; color: var(--danger); font-size: .82rem; font-weight: 700; }
.chat-note:empty { display: none; }
.chat-bar { display: flex; align-items: flex-end; gap: 6px; }
.chat-bar[hidden] { display: none; }
.chat-bar textarea { flex: 1 1 auto; min-width: 0; min-height: 44px; max-height: 120px; padding: 11px 13px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--fg); font: inherit; line-height: 1.4; resize: none; }
.chat-bar textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(25, 200, 255, .14); }
.chat-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--muted); cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .chat-ic:hover { color: var(--fg); border-color: var(--cyan); }
}
.chat-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-send { flex: none; min-height: 44px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--grad-ink); color: var(--on-accent); font-weight: 800; cursor: pointer; }
.chat-bar.busy { opacity: .6; pointer-events: none; }
.chat-rec { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--danger); background: rgba(255, 92, 122, .08); }
.chat-rec[hidden] { display: none; }
.chat-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--danger); animation: chat-pulse 1s ease-in-out infinite; }
@keyframes chat-pulse { 50% { opacity: .25; } }
.chat-time { flex: 1; font-family: var(--f-mono); }
.chat-x, .chat-ok { min-height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--fg); font-weight: 800; cursor: pointer; }
.chat-ok { border: 0; background: var(--grad-ink); color: var(--on-accent); }
.chat-lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(5, 6, 12, .92); cursor: zoom-out; }
.chat-lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.chat-lightbox button { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-2); color: #fff; font-size: 1.6rem; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .chat-dot { animation: none; } .chat-log { scroll-behavior: auto; } }
/* chat must never make a phone page wider than the screen */
.acc-main, .acc-list, .acc-proj > *, .acc-chat, .chat, .chat-log, .chat-bar, .chat-m { min-width: 0; }
.chat-log { grid-template-columns: minmax(0, 1fr); }
.chat-bar textarea { flex: 1 1 0; width: 0; }
.chat-m audio { max-width: 100%; }

/* ===================== chat: header, ticks, voice bubble, pending notice ===================== */
.saved-note { display: grid; gap: 4px; }
.saved-note b { font-weight: 800; }
.saved-note span { font-weight: 600; }
.sn-status { color: #FFD479; }
.acc-wait { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 212, 121, .4); background: rgba(255, 212, 121, .07); }
.acc-wait b { color: #FFD479; }
.acc-wait p { margin: 0; color: var(--muted); font-size: .9rem; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 6px 6px; border-bottom: 1px solid var(--line); }
.chat-peer { font-weight: 800; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-status { display: inline-flex; align-items: center; gap: 6px; color: var(--faint); font-size: .76rem; white-space: nowrap; }
.chat-status em { font-style: normal; }
.chat-on { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.chat-status.online { color: var(--ok); }
.chat-status.online .chat-on { background: var(--ok); box-shadow: 0 0 0 3px rgba(47, 211, 154, .2); }
.chat-meta { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.chat-meta time { justify-self: auto; }
.chat-tick { color: var(--faint); font-size: .72rem; font-weight: 800; letter-spacing: -.12em; }
.chat-tick.seen { color: #19C8FF; }
.chat-tick.seen.last::after { content: " Seen"; letter-spacing: 0; font-family: var(--f-mono); font-size: .66rem; font-weight: 600; }
.chat-live { flex: 1; display: flex; align-items: center; gap: 2px; height: 28px; min-width: 0; overflow: hidden; }
.chat-live i { flex: none; width: 3px; height: 4px; border-radius: 2px; background: var(--danger); }
.chat-voice { display: flex; align-items: center; gap: 10px; width: min(300px, 100%); min-width: 220px; }
.vp-btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--grad-ink); color: var(--on-accent); cursor: pointer; }
.vp-btn svg { width: 20px; height: 20px; fill: currentColor; }
.vp-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 32px; min-width: 0; cursor: pointer; }
.vp-wave i { flex: 1; min-width: 2px; max-width: 5px; border-radius: 2px; background: rgba(230, 238, 255, .3); transition: background-color .15s ease; }
.vp-wave i.on { background: var(--cyan); }
.chat-m.me .vp-wave i.on { background: #fff; }
.vp-side { flex: none; display: grid; justify-items: end; gap: 3px; min-width: 38px; }
.vp-time { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.vp-speed { padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--fg); font-size: .66rem; font-weight: 800; cursor: pointer; }
.chat-voice audio { display: none; }

/* ===================== login / register buttons, section CTAs ===================== */
.nav-reg { min-height: 44px; padding: 0 16px; font-size: .9rem; }
@media (min-width: 901px) and (max-width: 1180px) { .nav-links { gap: 18px; } .nav-cta, .nav-reg { padding: 0 13px; font-size: .84rem; } }
@media (max-width: 900px) { .nav-links .nav-reg { width: 100%; min-height: 50px; margin-top: 10px; } .nav-links li:last-child { margin-top: 10px; } }
.hero-auth, .auth-hint, .cta-auth { margin: 0; color: var(--muted); font-size: .92rem; }
.hero-auth { margin-top: 14px; }
.hero-auth a, .auth-hint a, .cta-auth a { color: var(--cyan); font-weight: 800; text-underline-offset: 3px; }
.hero-auth span { color: var(--faint); }
.hero-auth b, .auth-hint b { color: var(--fg); }
.auth-hint { margin-top: 14px; max-width: 70ch; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(16, 20, 40, .6); }
.cta-auth { margin-top: 12px; }
.sec-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 560px) { .sec-cta .btn { flex: 1 1 100%; } }

/* package badges */
.opt.pkg .pkg-badge { position: absolute; z-index: 1; top: -10px; right: 12px; padding: 2px 10px; border-radius: 999px; background: var(--grad-ink); color: var(--on-accent); font-size: .68rem; font-weight: 800; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(47, 107, 255, .9); }
.pkg-card .badge { white-space: nowrap; }

/* ===================== live chat widget (green button) ===================== */
.wa-float .lc-dot { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--danger); color: #fff; font-style: normal; font-size: .72rem; font-weight: 800; line-height: 22px; text-align: center; box-shadow: 0 0 0 3px var(--bg); }
.wa-float .lc-dot[hidden] { display: none; }
.wa-float.lc-open { visibility: visible; opacity: 1; transform: none; }
.lc { position: fixed; z-index: 120; right: 18px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); width: min(380px, calc(100vw - 24px)); height: min(580px, calc(100dvh - 120px)); display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--line-strong); background: var(--bg-2); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); overflow: hidden; animation: fade-up .3s var(--ease); }
.lc[hidden] { display: none; }
.lc-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: linear-gradient(140deg, rgba(25, 200, 255, .16), rgba(123, 43, 253, .2)); border-bottom: 1px solid var(--line); }
.lc-head div { display: grid; gap: 2px; min-width: 0; }
.lc-head b { font-size: 1.02rem; }
.lc-head small { color: var(--muted); font-size: .76rem; }
.lc-x { flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lc-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; padding: 12px; }
.lc-body > .chat { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; border: 0; padding: 0; background: transparent; }
.lc-body > .chat .chat-log { flex: 1 1 auto; height: auto; min-height: 0; }
.lc-form { display: grid; gap: 12px; }
.lc-hint, .lc-fine { margin: 0; color: var(--muted); font-size: .86rem; }
.lc-fine { text-align: center; color: var(--faint); }
.lc-fine a { color: var(--cyan); font-weight: 800; }
.lc-err { margin: 0; min-height: 1.2em; color: var(--danger); font-size: .84rem; font-weight: 700; }
.lc-status { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: .84rem; font-weight: 700; }
.lc-status i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--faint); }
.lc-status.online { color: var(--ok); }
.lc-status.online i { background: var(--ok); box-shadow: 0 0 0 3px rgba(47, 211, 154, .2); }
.lc-foot { flex: none; padding: 9px 14px calc(9px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); text-align: center; }
.lc-foot a { color: var(--wa); font-size: .84rem; font-weight: 800; text-decoration: none; }
@media (max-width: 640px) { .lc { right: 0; left: 0; bottom: 0; width: 100%; height: min(88dvh, 640px); border-radius: 20px 20px 0 0; } }

/* ==========================================================================
   LAYOUT v2 — "blueprint" look: numbered section heads, service index,
   package ladder, tabbed pricing, process grid, two-column FAQ
   ========================================================================== */

/* numbered section heads: "01 / SERVICES ————" */
.section-head, .section-head.center { max-width: none; margin-inline: 0; text-align: left; justify-items: start; gap: 12px; }
.section-head > .lead, .section-head > h2 { max-width: 64ch; }
.section-head .eyebrow { display: flex; width: 100%; }
.section-head .eyebrow::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.eyebrow[data-no]::before { content: attr(data-no) " /"; width: auto; height: auto; background: none; clip-path: none; animation: none; color: var(--faint); }
.hero-auth .btn { margin-left: 4px; }

/* cards and tiles share one cut corner so the page reads as one system */
.cut { clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }

/* ---------- hero ---------- */
.hero-auth { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.hero-auth b { color: var(--fg); }
.hero-auth > a:not(.btn) { color: var(--cyan); font-weight: 800; display: inline-flex; align-items: center; min-height: 44px; }
.hero-points { margin-top: 0; }

/* "what do you need?" picker under the hero */
.picker-wrap { position: relative; margin-top: clamp(40px, 6vw, 66px); }
.picker { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-strong); background: rgba(12, 15, 30, .92); }
.picker > li + li { border-left: 1px solid var(--line); }
.picker-cap { position: absolute; z-index: 2; left: calc(var(--gutter) + 18px); top: -11px; margin: 0; padding: 2px 12px; background: var(--bg); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.pick { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; min-height: 92px; padding: 18px 20px; text-decoration: none; transition: background-color .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .pick:hover { background: linear-gradient(120deg, rgba(47, 107, 255, .18), rgba(123, 43, 253, .12)); }
}
.pick .hex-icon { width: 46px; height: 50px; }
.pick .hex-icon svg { width: 21px; height: 21px; }
@media (hover: hover) and (pointer: fine) {
  .pick:hover .hex-icon { transform: rotate(60deg); }
  .pick:hover .hex-icon svg { transform: rotate(-60deg); }
}
.pick-t { display: grid; gap: 2px; min-width: 0; }
.pick-t b { font-weight: 800; font-size: 1rem; line-height: 1.25; }
.pick-t small { color: var(--muted); font-family: var(--f-mono); font-size: .76rem; }
.pick-t em { font-style: normal; color: var(--cyan); font-weight: 700; }
.pick-go { font-family: var(--f-mono); color: var(--cyan); transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .pick:hover .pick-go { transform: translateX(4px); }
}
@media (max-width: 899px) {
  .picker { grid-template-columns: 1fr 1fr; }
  .picker > li:nth-child(odd) { border-left: 0; }
  .picker > li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pick { grid-template-columns: 1fr; gap: 8px; padding: 16px; min-height: 128px; align-content: start; }
  .pick-go { position: absolute; right: 14px; top: 14px; }
}

/* hero on a phone: the words first, the video after them */
@media (max-width: 900px) {
  .stage { order: 0; margin-top: 10px; }
  .hero { padding-top: clamp(26px, 6vw, 40px); }
}

/* ---------- services as an index ---------- */
.svx-tabs { display: none; }
.svx-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.svx-panel { min-width: 0; }
.svx-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 14px; }
.svx-head .muted { font-size: .9rem; }
.svx-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.svx-row { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 78px; padding: 14px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .3s ease, padding .3s var(--ease); }
.svx-row:focus-visible { padding-left: 16px; background: linear-gradient(90deg, rgba(47, 107, 255, .16), transparent 85%); }
@media (hover: hover) and (pointer: fine) {
  .svx-row:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(47, 107, 255, .16), transparent 85%); }
}
.svx-panel.creative .svx-row:focus-visible { background: linear-gradient(90deg, rgba(123, 43, 253, .2), transparent 85%); }
@media (hover: hover) and (pointer: fine) {
  .svx-panel.creative .svx-row:hover { background: linear-gradient(90deg, rgba(123, 43, 253, .2), transparent 85%); }
}
.svx-row .hex-icon { width: 44px; height: 48px; }
.svx-row .hex-icon svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .svx-row:hover .hex-icon { transform: rotate(60deg); }
  .svx-row:hover .hex-icon svg { transform: rotate(-60deg); }
}
.svx-panel.creative .hex-icon { background: linear-gradient(140deg, rgba(123, 43, 253, .4), rgba(47, 107, 255, .22)); }
.svx-panel.creative .hex-icon svg { stroke: var(--violet-soft); }
.svx-t { display: grid; gap: 3px; min-width: 0; }
.svx-t b { font-weight: 800; font-size: 1.02rem; line-height: 1.3; }
.svx-t small { color: var(--muted); font-size: .86rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svx-go { font-family: var(--f-mono); color: var(--cyan); transition: transform .3s var(--ease); }
.svx-panel.creative .svx-go { color: var(--violet-soft); }
@media (hover: hover) and (pointer: fine) {
  .svx-row:hover .svx-go { transform: translateX(5px); }
}
.svx-one .svx-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 899px) {
  .svx-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 18px; border: 1px solid var(--line-strong); background: var(--bg-2); }
  .svx-tab { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 10px; border: 0; background: transparent; color: var(--muted); font-weight: 800; font-size: .92rem; cursor: pointer; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
  .svx-tab b { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; opacity: .7; }
  .svx-tab[aria-selected="true"] { color: var(--on-accent); background: var(--grad-ink); }
  .svx-tab.creative[aria-selected="true"] { background: linear-gradient(120deg, #7B2BFD, #2F6BFF); }
  .svx-cols { grid-template-columns: 1fr; }
  .svx-panel:not(.on) { display: none; }
  .svx-one .svx-cols { grid-template-columns: 1fr; }
  .svx-one .svx-panel:not(.on) { display: block; }   /* a list of one category has no tabs */
  .svx-head .svc-label { display: none; }
}

/* ---------- tabs (pricing) ---------- */
.tabs-bar { display: flex; gap: 0; margin-bottom: clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--line-strong); overflow-x: auto; scrollbar-width: none; }
.tabs-bar::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: 1 1 0; min-width: max-content; min-height: 56px; padding: 0 clamp(14px, 3vw, 28px); display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; color: var(--muted); font-weight: 800; font-size: .96rem; cursor: pointer; white-space: nowrap; transition: color .25s ease, background-color .25s ease; }
.tab small { font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: .08em; color: var(--faint); }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .tab:hover { color: var(--fg); }
}
.tab[aria-selected="true"] { color: var(--fg); background: linear-gradient(180deg, transparent, rgba(47, 107, 255, .12)); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tp:not(.on) { display: none; }
@media (max-width: 560px) { .tab { padding: 0 11px; font-size: .88rem; min-width: 0; } .tab small { display: none; } }
.tp.on { animation: fade-up .45s var(--ease); }
.prices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prices.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .prices.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .prices.two, .prices.four { grid-template-columns: 1fr; } }
.price-card, [data-card] { cursor: pointer; }
.price-card .btn { cursor: pointer; }
.price-card .badge { cursor: pointer; }

/* ---------- package ladder ---------- */
.ladder { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: clamp(18px, 3vw, 34px); align-items: start; }
.ladder-list { display: grid; gap: 8px; }
.rung { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n p" "m b"; align-items: center; column-gap: 12px; row-gap: 2px; min-height: 64px; padding: 11px 16px; text-align: left; color: var(--fg); cursor: pointer; border: 1px solid var(--line); background: rgba(16, 20, 40, .7); transition: border-color .25s ease, background-color .25s ease, transform .3s var(--ease);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
@media (hover: hover) and (pointer: fine) {
  .rung:hover { border-color: var(--line-strong); transform: translateX(3px); }
}
.rung:focus-visible { clip-path: none; }
.rung-name { grid-area: n; font-weight: 800; font-size: .96rem; line-height: 1.3; }
.rung-price { grid-area: p; font-family: var(--f-mono); font-weight: 700; font-size: .98rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rung-meta { grid-area: m; color: var(--faint); font-size: .76rem; }
.rung-badge { grid-area: b; justify-self: end; padding: 2px 9px; border-radius: 999px; background: var(--grad-ink); color: var(--on-accent); font-size: .68rem; font-weight: 800; white-space: nowrap; }
.rung-star { display: none; }
.rung[aria-selected="true"] { border-color: var(--cyan); background: linear-gradient(120deg, rgba(25, 200, 255, .14), rgba(123, 43, 253, .16)); transform: translateX(8px); }
.rung[aria-selected="true"] .rung-price { color: var(--cyan); }
.ladder-panel { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); min-width: 0; }
.pk-panel { display: none; gap: 18px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line-strong); background: linear-gradient(160deg, rgba(22, 27, 52, .92), rgba(16, 20, 40, .92));
  clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 26px); }
.pk-panel.on { display: grid; animation: fade-up .4s var(--ease); }
.pk-head { display: grid; gap: 6px; justify-items: start; }
.pk-head h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.pk-badge { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--grad-ink); color: var(--on-accent); font-size: .8rem; font-weight: 800; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .pk-badge:hover { filter: brightness(1.12); }
}
.pk-price .price-amt { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.pk-list { margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; color: var(--muted); font-size: .94rem; }
.pk-list li { display: flex; gap: 10px; }
.pk-list li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.pk-panel .btn { justify-self: start; min-width: 220px; }
@media (max-width: 899px) {
  .ladder { grid-template-columns: 1fr; }
  .ladder-list { grid-template-columns: 1fr 1fr; }
  .rung { grid-template-columns: 1fr; grid-template-areas: "n" "p" "m"; row-gap: 1px; min-height: 84px; padding: 12px 14px; align-content: start; }
  .rung[aria-selected="true"] { transform: none; }
  @media (hover: hover) and (pointer: fine) {
  .rung:hover { transform: none; }
}
  .rung:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rung-badge { display: none; }
  .rung-star { display: block; position: absolute; right: 12px; top: 10px; width: 15px; height: 15px; fill: #FFD479; }
  .ladder-panel { position: static; }
  .pk-list { grid-template-columns: 1fr; }
  .pk-panel .btn { justify-self: stretch; }
}
.ladder-note { margin-top: 14px; color: var(--faint); font-size: .84rem; }

/* ---------- process: a grid of steps on desktop, a compact line on phones ---------- */
@media (min-width: 900px) {
  .timeline { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 18px; margin-top: 18px; }
  .timeline::before, .tl-fill { display: none; }
  .tl-item { grid-template-columns: 1fr; gap: 0; }
  .tl-dot { position: absolute; z-index: 2; left: 20px; top: -22px; width: 48px; height: 54px; font-size: .86rem; }
  .tl-body { height: 100%; align-content: start; padding: 36px 22px 22px; clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); }
}
@media (max-width: 899px) {
  .timeline { gap: 10px; }
  .timeline::before, .tl-fill { left: 22px; }
  .tl-item { grid-template-columns: 46px 1fr; gap: 14px; }
  .tl-dot { width: 46px; height: 50px; font-size: .8rem; }
  .tl-body { padding: 14px 16px; gap: 3px; }
  .tl-body h3 { font-size: 1rem; }
  .tl-body p { font-size: .9rem; line-height: 1.55; }
}

/* ---------- FAQ: heading beside the questions on desktop ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.faq-left { position: sticky; top: calc(var(--hh, 73px) + 12px); display: grid; gap: 22px; }
.faq-left .section-head { margin-bottom: 0; }
.faq-wrap .faq { max-width: none; margin: 0; }
.faq summary { min-height: 60px; }
.faq-side { display: grid; gap: 10px; justify-items: start; }
@media (max-width: 899px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 22px; }
  .faq-left { display: contents; }
  .faq-left .section-head { order: 1; }
  .faq-wrap .faq { order: 2; }
  .faq-side { order: 3; justify-items: stretch; }
}

/* ---------- compact pricing terms + CTA band ---------- */
.terms { margin-top: clamp(26px, 4vw, 44px); }
.term { border-radius: 0; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.cta-band { border-radius: 0; clip-path: polygon(34px 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%, 0 34px); }

/* ---------- small things found in the audit: tap targets, footer, crumbs ---------- */
.foot-grid ul { gap: 0; }
.foot-grid a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-grid li { display: flex; align-items: center; min-height: 44px; flex-wrap: wrap; gap: 0 6px; }
.foot-grid li > a { min-height: 44px; }
@media (max-width: 780px) { .foot-grid > div:nth-child(3) ul { grid-template-columns: 1fr 1fr; column-gap: 12px; } .foot-grid { gap: 22px; } }
.crumbs a { display: inline-flex; align-items: center; min-height: 36px; }
.svc-chip { min-height: 44px; }
.cat-tab { min-height: 40px; }
.acc-link, .acc-help a { display: inline-flex; align-items: center; min-height: 40px; }
.admin-lock { width: 44px; height: 44px; margin: -8px 0; }
.stepper li { min-height: 30px; display: inline-flex; align-items: center; }
.notice-bar a { display: inline-flex; align-items: center; min-height: 36px; }

/* start-project: the 9 packages as a short list; the chosen one opens to show what is inside */
.options.pkg-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.opt.pkg input:not(:checked) + .opt-box .pkg-inc { display: none; }
.opt.pkg .opt-box .s { grid-column: 2; }
.opt.pkg input:checked + .opt-box .s { display: none; }

/* one category only (the "other services" list): no heading row, two columns on a computer */
.svx-one .svx-head { display: none; }
.svx-one .svx-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 0; }
.svx-one .svx-row { border-top: 1px solid var(--line); }
@media (max-width: 899px) { .svx-one .svx-list { grid-template-columns: 1fr; } }

/* soft ends for the hero glows (they used to stop in a hard line at the section edge) */
.hero::before, .svc-hero::before { -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.crumbs { align-items: center; }

/* tap targets: links that sit inside a sentence get a 44px-high hit area */
.cta-auth, .auth-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.cta-auth a, .auth-hint a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }
.pk-badge { min-height: 40px; }
.crumbs a { min-height: 44px; padding-inline: 6px; margin-inline: -6px; }
.crumbs li + li::before { margin-right: 2px; }
.ladder-intro { margin: 0 0 18px; max-width: 70ch; }

/* the same cut corner on every panel, so all pages look like one system */
.acc-card, .acc-proj, .form-step, .svc-box, .summary, .estimate, .price-card, .faq details, .auth-hint {
  border-radius: 0;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.faq details { clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.faq summary:focus-visible { outline-offset: -4px; }
.price-card .badge { top: 12px; right: 12px; }
.price-card.featured .badge { z-index: 1; }

/* the voice-recording bar must stay inside the chat box on a phone (it used to push the Send button off the right edge) */
.chat { grid-template-columns: minmax(0, 1fr); }
.chat-rec { min-width: 0; }
.chat-time { flex: 0 0 auto; }
.chat-live { flex: 1 1 0; }
.chat-x, .chat-ok { flex: none; }

/* skip link, page landmarks, no preloader after the first page of a visit */
.skip-link { position: absolute; z-index: 300; left: 12px; top: -80px; padding: 10px 16px; background: var(--grad-ink); color: var(--on-accent); font-weight: 800; text-decoration: none; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
/* service pages are filled by script: hold the space until then so the footer does not jump */
#svc-root:empty { min-height: 100vh; min-height: 100svh; }
.float-chat { display: contents; }
.no-loader .loader { display: none; }
.nav-links a[aria-current="page"]:not(.btn) { color: var(--fg); }
.nav-links a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .marquee-track { gap: 10px; justify-content: center; } }

/* privacy page */
.legal { max-width: 820px; padding-block: clamp(30px, 6vw, 64px) clamp(70px, 9vw, 110px); display: grid; gap: 22px; }
.legal h1 { margin-top: 8px; }
.legal-sec { display: grid; gap: 10px; padding: clamp(18px, 3vw, 26px); border: 1px solid var(--line); background: rgba(16, 20, 40, .8); clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.legal-sec h2 { font-size: 1.12rem; font-weight: 800; }
.legal-sec ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--muted); }
.legal-sec p { color: var(--muted); }
.legal-sec a { color: var(--cyan); }
.legal-sec b { color: var(--fg); }
.legal-date { font-size: .86rem; }


/* ==========================================================================
   NAVIGATION (nav.js): phone menu drawer, current page / section, back to top
   ========================================================================== */
/* a logged-in customer never sees "Login / Register" first: the flag is set in <head>, before the page is drawn */
.auth-in [data-auth-out] { display: none !important; }
html:not(.auth-in) [data-auth-in] { display: none !important; }

/* phone menu: a drawer that fits the screen, with a dim backdrop; the page behind does not scroll */
@media (max-width: 900px) {
  .nav-links { max-height: calc(100vh - var(--hh, 73px)); max-height: calc(100dvh - var(--hh, 73px)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
  .nav-links li a:not(.btn) { min-height: 52px; display: flex; align-items: center; }
  .nav-links a[aria-current]:not(.btn) { color: var(--cyan); }
  .nav-links li a.nav-cta, .nav-links li a.nav-reg { display: inline-flex; }
}
html.menu-lock { overflow: hidden; }
.nav-backdrop { position: fixed; inset: 0; z-index: 49; background: rgba(5, 6, 12, .66); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: nav-fade .25s ease; }
.nav-backdrop[hidden] { display: none; }
@keyframes nav-fade { from { opacity: 0; } to { opacity: 1; } }
/* without JavaScript the menu is just shown */
html:not(.js) .menu-btn { display: none; }
@media (max-width: 900px) { html:not(.js) .nav-links { position: static; visibility: visible; opacity: 1; transform: none; max-height: none; flex-direction: row; flex-wrap: wrap; gap: 4px 18px; padding: 0 0 14px; box-shadow: none; background: none; border: 0; } html:not(.js) .nav { flex-wrap: wrap; } }

/* the page you are on (and, on the home page, the section you are reading) */
.nav-links a[aria-current="page"]:not(.btn), .nav-links a[aria-current="location"]:not(.btn) { color: var(--fg); }
.nav-links a[aria-current="page"]:not(.btn)::after, .nav-links a[aria-current="location"]:not(.btn)::after { transform: scaleX(1); }

/* back to top */
.to-top { position: fixed; left: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 44; width: 48px; height: 52px; display: grid; place-items: center; border: 0; padding: 0; color: var(--on-accent); cursor: pointer; background: var(--grad-ink); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s ease, transform .3s var(--ease), visibility 0s .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .to-top:hover { filter: brightness(1.12); }
}
.to-top:focus-visible { clip-path: none; border-radius: 12px; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
body.planner-page .to-top { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1001px) { body.planner-page .to-top { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); } }
.acc-crumbs { padding-top: clamp(18px, 3vw, 30px); }
.acc-crumbs + .acc-main { padding-top: 14px; }
.page-head .crumbs { margin-bottom: 14px; }
.acc-crumbs { max-width: 860px; }

/* a #link lands with the section's heading just under the header, not with 100 px of empty padding above it */
section { --sec-pad: clamp(70px, 9vw, 120px); }
.svc-section { --sec-pad: clamp(50px, 7vw, 90px); }
section[id]:not(.estimate) { scroll-margin-top: calc(var(--hh, 73px) + 12px - var(--sec-pad)); }


/* ==========================================================================
   PREMIUM POLISH (typography, surfaces, motion, resilience)
   ========================================================================== */
:root {
  --lift: 0 28px 60px -30px rgba(22, 27, 52, .9);          /* shadows are tinted with the page's navy, never plain black */
  --edge: inset 0 1px 0 rgba(255, 255, 255, .06);          /* a faint top highlight: one light source, top-left */
  --spring: cubic-bezier(.32, .72, 0, 1);
}
/* type: balanced headings, no one-word last lines, calmer measure */
h1, h2, h3, .display { text-wrap: balance; }
p, li, .lead { text-wrap: pretty; }
h1.display { font-size: clamp(1.8rem, 4.7vw, 3.6rem); letter-spacing: -.012em; }
h2.display { letter-spacing: -.006em; }
body { font-feature-settings: "kern", "liga", "calt"; text-rendering: optimizeLegibility; }
.lead { line-height: 1.7; }

/* surfaces: faint inner highlight on every panel, tinted lift on the important ones */
.price-card, .pk-panel, .rung, .tl-body, .term, .cta-band, .picker, .legal-sec, .acc-card, .acc-proj, .form-step, .summary, .estimate, .svc-box, .faq details, .ad-card { box-shadow: var(--edge); }
.pk-panel, .cta-band, .estimate { box-shadow: var(--edge); }
.rung[aria-selected="true"] { box-shadow: var(--edge); }
@media (hover: hover) and (pointer: fine) {
  .price-card:hover { box-shadow: var(--edge); }
}
/* a second hairline frame inside the main panels (a plate sitting in a tray) */
.pk-panel { position: relative; }
.pk-panel::after { content: ""; position: absolute; inset: 7px; pointer-events: none; border: 1px solid rgba(255, 255, 255, .045);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px); }
.pk-panel > * { position: relative; z-index: 1; }

/* the still hex grid behind everything: a tiled SVG on one fixed layer, painted once (the moving parts are drawn by main.js on #fx) */
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.4256' height='96' viewBox='0 0 55.4256 96'%3E%3Cpath d='M-27.71 16L0 32M-27.71 80L0 64M0 32L0 64M0 32L27.71 16M-0 64L27.71 80M27.71 -16L27.71 16M27.71 16L55.43 32M27.71 80L27.71 112M27.71 80L55.43 64M55.43 32L55.43 64M55.43 32L83.14 16M55.43 64L83.14 80' fill='none' stroke='%23FFFFFF' stroke-opacity='.12'/%3E%3C/svg%3E") 0 0 / 55.4256px 96px repeat; }

/* buttons: the arrow lives in its own small disc and moves a little on hover */
.btn svg.arrow { width: 28px; height: 28px; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, .2); margin-right: -10px; transition: transform .45s var(--spring), background-color .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg.arrow { transform: translate(3px, -1px) scale(1.06); background: rgba(255, 255, 255, .3); }
}
.btn { transition-timing-function: var(--spring); }

/* motion: lists arrive one after another (transform + opacity only) */
@media (prefers-reduced-motion: no-preference) {
  .js .svx.rv .svx-list li, .js .faq.rv details, .js .ladder.rv .rung { opacity: 0; transform: translateY(14px); }
  .js .svx.rv.in .svx-list li, .js .faq.rv.in details, .js .rv.in .ladder .rung { opacity: 1; transform: none; transition: opacity .7s var(--spring), transform .8s var(--spring); }
  .js .svx.rv.in .svx-list li:nth-child(2), .js .faq.rv.in details:nth-child(2) { transition-delay: 60ms; }
  .js .svx.rv.in .svx-list li:nth-child(3), .js .faq.rv.in details:nth-child(3) { transition-delay: 120ms; }
  .js .svx.rv.in .svx-list li:nth-child(4), .js .faq.rv.in details:nth-child(4) { transition-delay: 180ms; }
  .js .svx.rv.in .svx-list li:nth-child(5), .js .faq.rv.in details:nth-child(5) { transition-delay: 240ms; }
  .js .svx.rv.in .svx-list li:nth-child(n + 6), .js .faq.rv.in details:nth-child(n + 6) { transition-delay: 300ms; }
}

/* a little more air between the big sections on a computer */
@media (min-width: 1100px) { section { --sec-pad: clamp(96px, 9vw, 132px); } }

/* high-contrast / forced-colours mode: cut-corner shapes keep a real outline, nothing relies on a background colour */
/* a way to start sits next to the menu button on phones (the full menu hides it) */
.nav-cta-mini { display: none; }
html:not(.js) .nav-cta-mini { display: none !important; }
@media (max-width: 900px) {
  .nav-cta-mini { display: inline-flex; flex: none; margin-left: auto; margin-right: 10px; min-height: 44px; padding: 0 18px; font-size: .88rem; }
  .menu-btn { flex: none; }
}
@media (max-width: 380px) { .nav { gap: 8px; } .nav-cta-mini { padding: 0 12px; font-size: .8rem; margin-right: 4px; } }

/* the customer page is filled by script: its footer always starts below the first screen, so it cannot jump when the content arrives */
body.account-page > main { min-height: 100vh; min-height: 100svh; }

@media (max-width: 380px) { .tabs-bar .tab { padding-inline: 7px; font-size: .82rem; } }

/* small line icons that sit inside text (instead of emoji) */
.ic-inline { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.16em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* PIN show / hide, and a field that has an error */
.pin-wrap { position: relative; display: block; }
.pin-wrap .input { padding-right: 56px; }
.pin-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.pin-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pin-eye[aria-pressed="true"] { color: var(--cyan); }
.pin-eye:focus-visible { outline-offset: -2px; }
.input[aria-invalid="true"] { border-color: var(--danger, #FF5D73); box-shadow: 0 0 0 3px rgba(255, 93, 115, .18); }

/* a price that has just been filled in (main.js) */
.price-in { display: inline-block; animation: price-in .55s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes price-in { from { opacity: 0; transform: translateY(6px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { .price-in { animation: none; } }

/* touch targets: every control is at least 44 x 44 px on a phone / touch screen */
@media (pointer: coarse), (max-width: 700px) {
  .brand { min-height: 44px; display: inline-flex; align-items: center; }
  .qty button { width: 44px; height: 44px; }
  .qty input { width: 44px; height: 44px; }
  .video-toggle { width: 44px; height: 44px; }
  .cat-tab, .pk-badge, .acc-link { min-height: 44px; }
  .acc-link { display: inline-flex; align-items: center; padding: 0 2px; }
  .site-footer ul a, .crumbs a { min-width: 44px; }
}

/* Sinhala in tracked labels (class set by nav.js) */
.si { letter-spacing: 0 !important; }

/* ---------- feels native on a phone ----------
   No grey tap flash; taps fire at once (no double-tap-zoom wait); controls do not select their label on long-press;
   and every tappable thing answers the finger on press (hover only exists with a mouse). */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary, label, select, [role="tab"], [role="button"] { touch-action: manipulation; }
button, [role="button"], [role="tab"], .btn, .chip { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--blue, #2F6BFF); }
input, textarea { caret-color: var(--cyan); }
.svx-row:active, .rung:active, .price-card[data-card]:active, .opt:active .opt-box, .faq summary:active, .acc-proj:active { filter: brightness(1.18); }
.nav-links a:active, .foot-grid a:active { opacity: .7; }
.btn:active { filter: brightness(.94); }

/* terms tick box (sign-up and project form) */
.acc-agree { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.acc-agree input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--cyan); }
.acc-agree a { color: var(--cyan); font-weight: 700; text-underline-offset: 3px; }
.acc-agree .req { color: var(--danger); }

/* =====================================================================================================
   v3 — quiet premium. Same layout and brand colours; calmer surfaces:
   one confident sans for headings (Manrope, sentence case), rounded corners instead of chamfers and hexagons,
   no neon halos, no blinking dots, no animated gradient text. The hexagon lives on only in the logo and the 3D mark.
   ===================================================================================================== */
:root { --r-btn: 12px; --r-card: 18px; --r-icon: 12px; }

/* type */
.display { font-family: var(--f-body); font-weight: 800; letter-spacing: -0.028em; text-transform: none; line-height: 1.06; }
h1.display { font-size: clamp(2.3rem, 5.4vw, 4.4rem); letter-spacing: -0.035em; line-height: 1.02; }
.grad-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--cyan); -webkit-text-fill-color: currentColor; animation: none; }
.eyebrow::before { width: 16px; height: 1px; clip-path: none; background: currentColor; opacity: .7; animation: none; }
.eyebrow[data-no]::before { content: none; }

/* shapes: rounded, not chamfered */
.btn, .btn::before, .btn:focus-visible, .rung, .rung:focus-visible, .pk-panel, .pk-panel::after, .term, .cta-band, .acc-card, .acc-proj, .form-step,
.svc-box, .summary, .estimate, .price-card, .faq details, .legal-sec, .cut, .tl-body, .skip-link, .svx-tab, .to-top, .to-top:focus-visible, .auth-hint { clip-path: none; }
.btn { border-radius: var(--r-btn); }
.btn::before { border-radius: calc(var(--r-btn) - 1px); }
.rung, .pk-panel, .term, .cta-band, .acc-card, .acc-proj, .form-step, .svc-box, .summary, .estimate, .price-card, .faq details, .legal-sec, .cut, .tl-body { border-radius: var(--r-card); }
.auth-hint { border-radius: 12px; }
.pk-panel::after { border-radius: calc(var(--r-card) - 6px); }
.svx-tab { border-radius: 10px; }
.skip-link { border-radius: 10px; }

/* icons sit in a quiet rounded tile (no gradient hexagons, no spinning on hover) */
.hex-icon, .pick .hex-icon, .svx-row .hex-icon { width: 44px; height: 44px; clip-path: none; border-radius: var(--r-icon); background: rgba(255, 255, 255, .035); border: 1px solid var(--line-strong); }
.service.creative .hex-icon, .svx-panel.creative .hex-icon { background: rgba(255, 255, 255, .035); }
.hex-icon svg { width: 21px; height: 21px; }
@media (hover: hover) and (pointer: fine) {
  .service:hover .hex-icon, .pick:hover .hex-icon, .svx-row:hover .hex-icon { transform: none; border-color: rgba(25, 200, 255, .45); }
}
.tl-dot, .success-hex { clip-path: none; border-radius: 50%; }
.tl-dot { width: 52px; height: 52px; }
.step-head .n, .mini-steps .n { clip-path: none; border-radius: 10px; }
.chip::before { clip-path: none; border-radius: 50%; width: 6px; height: 6px; }
.burst i { clip-path: none; border-radius: 50%; width: 8px; height: 8px; }
.to-top { width: 46px; height: 46px; border-radius: 14px; background: rgba(16, 20, 40, .92); border: 1px solid var(--line-strong); color: var(--fg); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .9); }

/* calm: no halos, no blinking, no drifting blobs, no spinning borders */
.hero-points li::before, .rate-pill .live { animation: none; box-shadow: none; }
.video-tag::before { content: none; }
.wa-float::before { animation: none; opacity: 0; }
.cta-band::before, .cta-band::after { animation: none; }
.price-card.featured { animation: none; }
.video-frame, .video-frame::before { animation: none; }
.float-card { animation: none; }

/* hero frame: a still, hairline gradient edge instead of the spinning neon one */
.video-frame { background: linear-gradient(150deg, rgba(25, 200, 255, .55), rgba(47, 107, 255, .12) 40%, rgba(123, 43, 253, .45)); box-shadow: 0 40px 90px -50px rgba(47, 107, 255, .7); }
.float-card { background: rgba(12, 15, 30, .9); }

/* 3D (assets/js/hx3d.js): the canvas fades in over the picture once its first frame is drawn */
.hx3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .7s cubic-bezier(.23, 1, .32, 1); border-radius: inherit; pointer-events: none; }
.hx3d-on > .hx3d-canvas { opacity: 1; }
.video-frame > .hx3d-canvas { inset: 1.5px; width: calc(100% - 3px); height: calc(100% - 3px); border-radius: calc(var(--r-lg) - 1.5px); background: radial-gradient(60% 70% at 50% 46%, #141933, #151313 70%, #0F0E0E); }
.video-frame.hx3d-on > video, .video-frame.hx3d-on > img { visibility: hidden; transition: visibility 0s .7s; }
.video-frame > .video-glare, .video-frame > .video-tag, .video-frame > .video-toggle { z-index: 1; }
.svc-stage .an.an-3d::after { content: ""; position: relative; width: 22%; aspect-ratio: 451 / 434; background: url("../brand/hexora-logo.webp") no-repeat 50.06% 30.98% / 278.05% auto; opacity: .9; transition: opacity .4s ease-out; }
.svc-stage .an.an-3d.hx3d-on::after { opacity: 0; }
.svc-stage .an.an-3d .hx3d-canvas { z-index: 1; }



/* ---------- home page: shorter on a phone ---------- */
@media (max-width: 700px) {
  section { --sec-pad: 52px; padding-block: 52px; }
  .hero { padding-block: 24px 44px; }
  .section-head { margin-bottom: 22px; }
  .tl-body { padding: 30px 18px 18px; }
  .faq-side .btn { width: 100%; }
  /* the six steps and the package list swipe sideways instead of stacking (the next card peeks in as the hint) */
  .timeline, .ladder-list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .timeline::-webkit-scrollbar, .ladder-list::-webkit-scrollbar { display: none; }
  .timeline { padding-top: 28px; padding-bottom: 6px; }
  .timeline::before, .tl-fill { display: none; }
  .tl-item { flex: 0 0 80%; scroll-snap-align: start; grid-template-columns: 1fr; gap: 0; }
  .tl-dot { position: absolute; z-index: 2; left: 16px; top: -24px; width: 48px; height: 48px; font-size: .84rem; }
  .tl-body { height: 100%; align-content: start; padding: 32px 18px 18px; }
  .ladder-list { padding-bottom: 6px; }
  .rung { flex: 0 0 150px; scroll-snap-align: start; min-height: 96px; }
}


/* the sliding underline of the tab bars (main.js adds .tabs-ind) */
.tabs-bar { position: relative; }
.tabs-ind { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--grad); border-radius: 3px 3px 0 0; pointer-events: none; transition: transform .42s cubic-bezier(.23, 1, .32, 1), width .42s cubic-bezier(.23, 1, .32, 1); }
.tabs-bar.has-ind .tab::after { display: none; }
@media (prefers-reduced-motion: reduce) { .tabs-ind { transition: none; } }


/* =====================================================================================================
   v4 — liquid glass buttons. Primary: the logo gradient as a glossy liquid with a light that follows the pointer.
   Everything else: frosted glass with a soft white rim. White text on the red (contrast 5+ : 1).
   ===================================================================================================== */
.btn {
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), inset 0 -1px 0 rgba(0, 0, 0, .28), 0 10px 26px -14px rgba(0, 0, 0, .7);
  transition: transform .35s var(--spring), box-shadow .35s ease, border-color .25s ease, filter .2s ease;
}
.btn::before { display: none; }
.btn::after {   /* the specular light: sits under the pointer (set by main.js), fades in on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transform: none;
  background: radial-gradient(130px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .30), rgba(255, 255, 255, 0) 65%);
  transition: opacity .3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .05)); border-color: rgba(25, 200, 255, .45); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(0, 0, 0, .28), 0 16px 34px -14px rgba(25, 200, 255, .45); }
  .btn:hover::after { opacity: 1; transform: none; }
}
.btn:active { transform: translateY(0) scale(.97); filter: none; }
.btn-primary {
  color: #fff; border-color: rgba(255, 255, 255, .35);
  background: linear-gradient(135deg, #2F6BFF 0%, #3B5CF6 55%, #6A2BF5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -12px 20px -10px rgba(20, 10, 70, .55), 0 12px 32px -12px rgba(47, 107, 255, .75);
  text-shadow: 0 1px 1px rgba(20, 10, 70, .35);
}
.btn-primary::before {   /* the glossy top half */
  display: block; content: ""; position: absolute; inset: 0 0 48% 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, 0));
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: linear-gradient(135deg, #2F6BFF 0%, #2F6BFF 55%, #5A3BF8 100%); border-color: rgba(255, 255, 255, .55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -12px 20px -10px rgba(20, 10, 70, .55), 0 18px 40px -12px rgba(47, 107, 255, .8); }
}
.btn-wa { color: #fff; border-color: rgba(255, 255, 255, .25); background: linear-gradient(180deg, #1B9A47, #15803D);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -10px 16px -10px rgba(0, 40, 10, .5), 0 10px 26px -12px rgba(22, 128, 61, .7); }
.btn-wa::before { display: block; content: ""; position: absolute; inset: 0 0 50% 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); }
@media (hover: hover) and (pointer: fine) { .btn-wa:hover { background: linear-gradient(180deg, #1FA64E, #16883F); } }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn, .btn::after { transition-duration: .001ms; } }

/* FAQ: the extra questions sit behind a button */
.faq-toggle { justify-self: start; margin-top: 12px; }
.faq details[hidden] { display: none; }

/* ---------- hover is stable: nothing moves out from under the pointer ----------
   A control that lifts on hover leaves the pointer when it is touched on its lower edge, drops back, is hovered again ... and shakes.
   So hover changes only light, border and shadow; the press (:active) is what moves. */
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .btn-primary:hover, .btn-wa:hover { transform: none; }
  .service:hover, .price-card:hover, .rung:hover, .video-toggle:hover, .wa-float:hover { transform: none; }
  .service:hover, .price-card:hover { box-shadow: var(--edge), 0 22px 44px -22px rgba(25, 200, 255, .45); }
  .rung:hover { box-shadow: 0 0 0 1px rgba(25, 200, 255, .35), 0 12px 28px -16px rgba(25, 200, 255, .5); }
  .wa-float:hover { filter: brightness(1.08); }
  .video-toggle:hover { filter: brightness(1.15); }
}



/* ---------- on-screen number pad for PIN boxes (assets/js/numpad.js, touch screens only) ---------- */
.numpad { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 12, 24, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line-strong); box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, .8);
  transform: translateY(105%); transition: transform .32s cubic-bezier(.23, 1, .32, 1); }
.numpad.on { transform: none; }
.numpad button { min-height: 54px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); color: var(--fg);
  font: 700 1.35rem var(--f-mono); display: grid; place-items: center; cursor: pointer; touch-action: manipulation; transition: transform .12s ease-out, background-color .15s ease; }
.numpad button:active { transform: scale(.94); background: rgba(25, 200, 255, .16); }
.numpad .np-done { color: #fff; background: linear-gradient(135deg, #19C8FF, #2F6BFF); border-color: rgba(255, 255, 255, .4); }
.numpad svg { width: 22px; height: 22px; }
html.numpad-open body { padding-bottom: 300px; }
@media (prefers-reduced-motion: reduce) { .numpad { transition-duration: .001ms; } }


/* project form: the optional steps (features, design, timeline, budget) sit behind one "more details" row */
.more-opts { border: 1px dashed var(--line-strong); border-radius: var(--r-card); background: rgba(255, 255, 255, .02); overflow: hidden; }
.more-opts > summary { list-style: none; display: grid; gap: 4px; padding: 16px 52px 16px 20px; cursor: pointer; position: relative; min-height: 44px; }
.more-opts > summary::-webkit-details-marker { display: none; }
.more-opts > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--cyan); font-weight: 800; transition: transform .3s cubic-bezier(.23, 1, .32, 1); }
.more-opts[open] > summary::after { transform: rotate(45deg); }
.mo-t { font-weight: 800; }
.mo-t small { color: var(--faint); font-weight: 600; }
.mo-s { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.mo-body { display: grid; gap: 22px; padding: 4px 20px 22px; }
.more-opts .form-step { border: 0; background: none; box-shadow: none; padding: 0; }
.more-opts .step-head .n { display: none; }
.more-opts .step-head { margin-bottom: 8px; }

@media (forced-colors: active) {
  .btn, .rung, .price-card, .pk-panel, .tl-body, .term, .cta-band, .picker, .legal-sec, .acc-card, .acc-proj, .form-step, .summary, .estimate, .svc-box, .faq details, .to-top, .skip-link, .ad-card { clip-path: none; border: 1px solid CanvasText; }
  .btn::before, .btn::after, body::before { display: none; }
  .rung[aria-selected="true"], .tab[aria-selected="true"], .svx-tab[aria-selected="true"] { outline: 2px solid Highlight; }
}

/* printing the estimate / a page: no menus, chat or backgrounds, black on white */
@media print {
  .site-header, .wa-float, .float-chat, .to-top, #fx, .loader, .progress, .est-bar, .notice-bar, .lc, .skip-link, .nav-backdrop, .site-footer .foot-grid + .foot-bottom .admin-lock { display: none !important; }
  body { background: #fff; color: #000; }
  * { color: #000 !important; box-shadow: none !important; text-shadow: none !important; background-image: none !important; }
  .form-step, .summary, .price-card, .legal-sec, .estimate { background: #fff !important; border: 1px solid #999 !important; clip-path: none !important; break-inside: avoid; }
  a { text-decoration: underline; }
}

/* ---- Shorter page: tighter sections, services picker lives in #services, one-line terms ---- */
section { --sec-pad: clamp(44px, 5.5vw, 76px); padding-block: var(--sec-pad); }
@media (min-width: 1100px) { section { --sec-pad: clamp(60px, 6vw, 84px); } }
@media (max-width: 760px) { section { --sec-pad: 38px; padding-block: 38px; } }
.section-head { margin-bottom: clamp(22px, 3.5vw, 36px); }
#services .picker-wrap { margin-top: 0; }
.terms-line { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.terms-line b { color: var(--fg); font-weight: 700; }
@media (max-width: 760px) {
  .ladder-intro, .hero-points, .faq-left .lead { display: none; }
  .cta-band .lead { font-size: .95rem; }
}

/* ---- Elastic motion (a slide that overshoots a little and settles): package list, tab bars, details panel ---- */
:root { --ease-elastic: cubic-bezier(.175, .885, .32, 1.1); }
.ladder-list { position: relative; }
.rung-ind { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; border-radius: var(--r-card); border: 1px solid var(--cyan);
  background: linear-gradient(120deg, rgba(25, 200, 255, .2), rgba(47, 107, 255, .26)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 12px 28px -14px rgba(25, 200, 255, .85);
  transition: transform .55s var(--ease-elastic), width .55s var(--ease-elastic), height .55s var(--ease-elastic); }
.rung { z-index: 1; }
.rung[aria-selected="true"] { background: transparent; border-color: transparent; box-shadow: none; transform: none; }
.tabs-ind { transition: transform .55s var(--ease-elastic), width .55s var(--ease-elastic); }
/* the details slide in from the side the choice moved to (phone: left/right along the list; desktop: out of the list, a little up or down) */
@keyframes pk-in { from { opacity: 0; transform: translate(var(--dx, -28px), var(--dy, 0)); } to { opacity: 1; transform: none; } }
.pk-panel.on { animation: pk-in .55s var(--ease-elastic) both; --dx: -30px; --dy: 12px; }
.ladder[data-dir="prev"] .pk-panel.on { --dy: -12px; }
@media (max-width: 899px) {
  .pk-panel.on { --dx: 38px; --dy: 0px; }
  .ladder[data-dir="prev"] .pk-panel.on { --dx: -38px; --dy: 0px; }
}
.pk-panel.on > * { animation: fade-up .45s var(--ease) both; }
.pk-panel.on > :nth-child(2) { animation-delay: .06s; } .pk-panel.on > :nth-child(3) { animation-delay: .12s; } .pk-panel.on > :nth-child(4) { animation-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  .rung-ind, .tabs-ind { transition: none; }
  .pk-panel.on, .pk-panel.on > * { animation: none; }
}

/* ---- Swipe lists (phone) and scroll reveals: soft edge fades, cards ease out as they leave, smoother entrance ---- */
.timeline.hs, .ladder-list.hs, .tabs-bar.hs {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent 100%); }
.hs > .tl-item > .tl-body, .hs > .rung, .hs > .tab { filter: opacity(calc(.28 + .72 * var(--vis, 1))); scale: calc(.9 + .1 * var(--vis, 1)); }
.hs > .tab { scale: 1; }
.hs > .rung, .hs > .tl-item { scroll-snap-stop: normal; }
@media (max-width: 899px) { .ladder-list { padding-block: 12px; margin-block: -12px; scroll-behavior: smooth; } .timeline { scroll-behavior: smooth; } }
.js .rv { transform: translateY(34px) scale(.985); transition: opacity 1s cubic-bezier(.22, 1, .36, 1), transform 1s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--rd, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hs > .tl-item > .tl-body, .hs > .rung { filter: none; scale: 1; } .js .rv { transform: none; } .ladder-list, .timeline { scroll-behavior: auto; } }

/* ---- Switching tabs (pricing): the new content slides in from the side the choice moved to ---- */
@keyframes tp-in { from { opacity: 0; translate: var(--tx, 34px) 0; } to { opacity: 1; translate: 0 0; } }
.tp.on { animation: tp-in .55s var(--ease-elastic) both; --tx: 34px; }
[data-tabs][data-dir="prev"] > .tp.on { --tx: -34px; }
@media (prefers-reduced-motion: reduce) { .tp.on { animation: none; } }
/* panels that slide in sideways must never widen the page (a phone would zoom out while they move) */
[data-tabs], .ladder, .ladder-panel { overflow-x: clip; }

/* ---- Edge fades: the page fades out under the header and above the bottom edge instead of being cut off ---- */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 56px; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: linear-gradient(180deg, rgba(5, 6, 12, .96) 0%, rgba(5, 6, 12, .6) 38%, rgba(5, 6, 12, 0) 100%); }
.site-header.scrolled::after { opacity: 1; }
body::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: calc(52px + env(safe-area-inset-bottom, 0px)); z-index: 40; pointer-events: none;
  background: linear-gradient(0deg, rgba(5, 6, 12, .88) 0%, rgba(5, 6, 12, .45) 45%, rgba(5, 6, 12, 0) 100%); }
@media print { .site-header::after, body::after { display: none; } }

/* ---- Login / Register switch: sliding highlight, card height easing, form sliding in field by field ---- */
.acc-tabs { position: relative; }
.acc-tabs button { position: relative; z-index: 1; transition: color .3s ease; }
.acc-tabs button[aria-selected="true"] { background: transparent; box-shadow: none; }
.acc-tab-ind { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 16px) / 2); border-radius: 10px; pointer-events: none; background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 8px 22px -12px rgba(25, 200, 255, .7); transition: transform .55s var(--ease-elastic); }
.acc-tabs[data-i="1"] .acc-tab-ind { transform: translateX(calc(100% + 6px)); }
@keyframes acc-in { from { opacity: 0; translate: var(--ax, 34px) 0; } to { opacity: 1; translate: 0 0; } }
.acc-swap > :not(.acc-tabs) { animation: acc-in .55s var(--ease-elastic) both; --ax: 34px; }
.acc-swap[data-dir="prev"] > :not(.acc-tabs) { --ax: -34px; }
.acc-swap .acc-form > .field, .acc-swap .acc-form > .acc-agree { animation: acc-in .55s var(--ease-elastic) both; animation-delay: calc(var(--n, 0) * 55ms); --ax: 26px; }
.acc-swap[data-dir="prev"] .acc-form > .field { --ax: -26px; }
.acc-swap .acc-form > :nth-child(1) { --n: 1; } .acc-swap .acc-form > :nth-child(2) { --n: 2; } .acc-swap .acc-form > :nth-child(3) { --n: 3; } .acc-swap .acc-form > :nth-child(4) { --n: 4; } .acc-swap .acc-form > :nth-child(5) { --n: 5; }
.acc-swap > .acc-form { animation: none; }
@media (prefers-reduced-motion: reduce) { .acc-tab-ind { transition: none; } .acc-swap > *, .acc-swap .acc-form > * { animation: none; } }

/* ---------- approved app packages: platform / screens tags, "include නෑ" list, From price ---------- */
.pk-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pk-tags span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.pk-ex { padding-top: 12px; border-top: 1px dashed var(--line); color: var(--faint); font-size: .84rem; }
.pk-ex b { display: block; margin-bottom: 6px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--f-mono); font-weight: 600; }
.pk-ex ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.pk-ex li { display: flex; gap: 8px; }
.pk-ex li::before { content: "✕"; opacity: .6; }
.price-pre, .rung-from { font-size: .5em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; vertical-align: middle; }
.rung-from { font-size: .7em; }
.pkg-inc li.meta { color: var(--muted); }
.pkg-inc li.meta::before { content: "• "; color: var(--muted); }
.pkg-inc li.no { opacity: .7; }
.pkg-inc li.no::before { content: "✕ "; color: var(--faint); }

.pk-blurb { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.pk-infra p { margin: 0; line-height: 1.5; }
.pk-fees { margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card, rgba(255,255,255,.02)); }
.pk-fees summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pk-fees summary::-webkit-details-marker { display: none; }
.pk-fees summary::after { content: "+"; font-family: var(--f-mono); font-size: 1.2rem; color: var(--faint); transition: transform .3s; }
.pk-fees[open] summary::after { transform: rotate(45deg); }
.pk-fees summary small { display: block; font-weight: 400; color: var(--faint); font-size: .8rem; margin-top: 2px; }
.pk-fees-body { padding: 0 20px 18px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.pk-fees dl { margin: 0; display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: 10px 18px; }
.pk-fees dt { font-weight: 700; color: var(--text, inherit); }
.pk-fees dd { margin: 0; }
.pk-quote { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .86rem; color: var(--faint); }
@media (max-width: 720px) { .pk-fees dl { grid-template-columns: 1fr; gap: 4px; } .pk-fees dd { margin-bottom: 8px; } }


/* =====================================================================================================
   v4 — red / white / black. Three colours, no tints: a true black page, white paper panels for the parts a
   customer reads most closely (the price list, the chosen package, the estimate, the "let's talk" band) and
   one red for the price, the primary action and the current selection. No gradients, no glow, no grey
   shadows; corners small and the same everywhere; hairline rules. Everything above this block still sets
   the layout — this block only changes what things are made of.
   ===================================================================================================== */
:root {
  --bg: #05060C; --bg-2: #090B16; --surface: #0D1022; --surface-2: #131833;
  --line: rgba(140, 165, 255, .14); --line-strong: rgba(140, 165, 255, .28);
  --fg: #F4F7FF; --muted: #C2CAE3; --faint: #8F99BA;
  --cyan: #3FD0FF; --blue: #2F6BFF; --violet: #7B2BFD; --violet-soft: #8FD8FF;
  --grad: linear-gradient(120deg, #00D8FD 0%, #0065FC 52%, #7B2BFD 100%); --grad-ink: linear-gradient(120deg, #0B6BFF 0%, #4A4CF8 55%, #7B2BFD 100%); --on-accent: #FFFFFF;
  --r: 10px; --r-lg: 14px; --r-btn: 8px; --r-card: 12px; --r-icon: 8px;
  --lift: none; --edge: none;
  /* the white paper panels */
  --paper: #0B0E1E; --paper-2: #11162D; --paper-ink: #F4F7FF; --paper-muted: #C2CAE3; --paper-faint: #8F99BA; --paper-line: rgba(140, 165, 255, .16); --paper-line-strong: rgba(140, 165, 255, .34);
}
html, body { background: var(--bg); }
body::before, .hero::before { display: none; }   /* no hex pattern, no red glow behind the hero */

/* type: one heavy sans, tight; the red full stop is the only accent in a headline */
.display { font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; }
h1.display { font-size: clamp(2.6rem, 6.4vw, 5.2rem); letter-spacing: -0.045em; }
.lead { color: var(--muted); }
.eyebrow { font-family: var(--f-body); font-size: .9rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--cyan); gap: 10px; }
.eyebrow::before { width: 22px; height: 2px; background: var(--cyan); opacity: 1; }
.eyebrow[data-no]::before { content: ""; }

/* buttons: solid red, or white outline on black; nothing shines */
.btn { border-radius: var(--r-btn); font-weight: 800; letter-spacing: 0; box-shadow: none; }
.btn::before { background: var(--bg); border-radius: calc(var(--r-btn) - 1px); }
.btn::after { display: none; }
.btn:not(.btn-primary):not(.btn-wa) { border: 1px solid var(--line-strong); background: transparent; color: var(--fg); }
.btn:not(.btn-primary):not(.btn-wa)::before { display: none; }
.btn-primary { background: var(--cyan); background-size: auto; box-shadow: none; }
.btn-primary:hover { background: #4A84FF; }
.btn:not(.btn-primary):not(.btn-wa):hover { border-color: var(--fg); }
.btn:hover { transform: none; }
.btn-wa { background: #1DA851; }

/* header: black, white links, a red hairline on top (nav.js already draws the progress line) */
.site-header.scrolled { background: rgba(0, 0, 0, .9); border-bottom-color: var(--line); }
.nav-links a:not(.btn) { color: var(--fg); }
.nav-links a:not(.btn)::after { background: var(--cyan); height: 2px; }
.menu-btn { background: transparent; border-color: var(--line-strong); border-radius: var(--r-btn); }

/* icon tiles: white stroke in a hairline square */
.hex-icon, .pick .hex-icon, .svx-row .hex-icon { background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-icon); }
.hex-icon svg, .float-card .ic svg, .term .ic svg { stroke: var(--fg); }
.service.creative .hex-icon svg { stroke: var(--fg); }
.float-card .ic, .term .ic { background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-icon); }

/* surfaces: one flat near-black, hairline edge, no gradient, no blur blobs */
.service, .price-card, .faq details, .term, .tl-body, .svc-box, .acc-card, .form-step, .summary, .float-card, .legal-sec, .cut,
.rung, .menu-btn, .ad-card, .to-top { background: var(--surface); border-color: var(--line); box-shadow: none; border-radius: var(--r-card); }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.site-footer { background: var(--bg); }
.float-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
.video-frame { background: var(--line-strong); box-shadow: none; }
.video-frame > .hx3d-canvas { background: radial-gradient(60% 70% at 50% 46%, #101640, #05060C 72%); }
.tl-dot { background: var(--surface); border: 1px solid var(--line-strong); color: var(--fg); }
.tl-item.on .tl-dot { background: var(--cyan); border-color: var(--cyan); }
.tl-fill { background: var(--cyan); box-shadow: none; }
.tl-item.on .tl-body { border-color: var(--line-strong); }
.hero-points li::before { background: var(--cyan); box-shadow: none; }
.price-card.featured { background: var(--surface); border: 1px solid var(--fg); box-shadow: none; }
.input { background: var(--bg-2); border-radius: var(--r-btn); border-color: var(--line-strong); }
.input:focus { border-color: var(--fg); box-shadow: none; }
.opt-box { background: var(--bg-2); border-radius: var(--r-btn); }
.opt input:checked + .opt-box { background: var(--surface-2); border-color: var(--cyan); }
.opt input:checked + .opt-box .tick { background: var(--cyan); }
.opt-box .tick::after { background: var(--paper); }
.chip, .stepper li, .ad-pill { border-radius: 4px; }
.stepper li.done { color: var(--fg); border-color: var(--fg); background: transparent; }
.stepper li.done::before { color: var(--cyan); }
.faq summary::after { color: var(--fg); }
.faq details[open] summary::after { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.svx-row:focus-visible, .svx-panel.creative .svx-row:focus-visible { background: var(--surface); }
.notice-bar { background: var(--cyan); }
.wa-float { box-shadow: none; }
.est-bar { background: rgba(0, 0, 0, .94); border-top: 1px solid var(--line); }

/* ---- the white paper ----
   The price list, the open package, the estimate and the "let's talk" band are printed on white. */
.paper, #pricing, .pk-panel, .estimate, .cta-band, .summary, .ad-gate-card {
  --bg: var(--paper); --bg-2: var(--paper-2); --surface: var(--paper); --surface-2: var(--paper-2);
  --fg: var(--paper-ink); --muted: var(--paper-muted); --faint: var(--paper-faint);
  --line: var(--paper-line); --line-strong: var(--paper-line-strong); --on-accent: #FFFFFF;
  color: var(--paper-ink); background: var(--paper);
}
#pricing { border-block: 0; padding-block: clamp(56px, 8vw, 110px); }
#pricing .section-head h2, #pricing .lead { color: var(--paper-ink); }
#pricing .lead { color: var(--paper-muted); }
.tabs-bar { border-bottom: 1px solid var(--paper-line-strong); }
.tab { color: var(--paper-faint); font-weight: 800; }
.tab[aria-selected="true"] { color: var(--paper-ink); background: transparent; }
.tab::after, .tabs-ind { background: var(--cyan); }
.rung { background: var(--paper); border-color: var(--paper-line); color: var(--paper-ink); border-radius: var(--r-card); }
.rung-meta { color: var(--paper-faint); }
.rung[aria-selected="true"] { background: linear-gradient(120deg, rgba(0, 216, 253, .16), rgba(123, 43, 253, .22)); border-color: rgba(90, 160, 255, .7); color: #fff; transform: none; }
.rung[aria-selected="true"] .rung-meta { color: #C2CAE3; }
.rung[aria-selected="true"] .rung-price { color: #7FDBFF; }
.rung-badge { background: var(--cyan); color: #fff; border-radius: 4px; }
.pk-panel { background: var(--paper); border: 1px solid var(--paper-line-strong); border-radius: var(--r-card); box-shadow: none; }
.pk-panel::after { display: none; }
.pk-panel .price-amt, .price-amt.grad-text, .grad-text { color: var(--cyan); }
.pk-panel .price-from { color: var(--paper-faint); }
.pk-panel h3 { color: var(--paper-ink); }
.pk-badge { background: var(--grad-ink); color: #fff; border-radius: 6px; }
.pk-badge:hover { background: var(--cyan); }
.pk-tags span { border-color: var(--paper-line-strong); color: var(--paper-muted); border-radius: 4px; }
.pk-list { border-top-color: var(--paper-line); color: var(--paper-muted); }
.pk-list li::before { color: var(--cyan); }
.pk-ex { border-top-color: var(--paper-line); color: var(--paper-faint); }
.pk-blurb { color: var(--paper-muted); }
.pk-fees { background: var(--paper); border-color: var(--paper-line-strong); border-radius: var(--r-card); }
.pk-fees summary { color: var(--paper-ink); }
.pk-fees summary::after { color: var(--paper-ink); }
.pk-fees-body, .pk-fees dd { color: var(--paper-muted); }
.pk-fees dt { color: var(--paper-ink); }
.pk-quote { color: var(--paper-faint); border-top-color: var(--paper-line); }
.ladder-note, .ladder-intro, #pricing .terms-line { color: var(--paper-muted); }
#pricing .terms-line b { color: var(--paper-ink); }
#pricing .price-card { background: var(--paper); border-color: var(--paper-line); color: var(--paper-ink); }
#pricing .price-card ul { color: var(--paper-muted); }
#pricing .price-card .price-amt { color: var(--cyan); }
#pricing .price-card.featured { border-color: rgba(90, 160, 255, .7); }
#pricing .price-card .badge { background: var(--grad-ink); color: #fff; }
#pricing .price-usd, #pricing .price-from { color: var(--paper-faint); }
#pricing .btn:not(.btn-primary) { border-color: var(--paper-line-strong); color: var(--paper-ink); }
#pricing .btn:not(.btn-primary):hover { border-color: #7FDBFF; color: #fff; }
.svc-body .pk-panel .btn:not(.btn-primary), .pk-panel .btn:not(.btn-primary) { border-color: var(--paper-line-strong); color: var(--paper-ink); }
/* the estimate (project form) */
.estimate { background: var(--paper); border: 1px solid var(--paper-line-strong); border-radius: var(--r-card); box-shadow: none; color: var(--paper-ink); }
.estimate .est-label, .estimate .est-usd, .estimate .est-note, .estimate .est-rate { color: var(--paper-faint); }
.estimate .est-total { color: var(--cyan); }
.estimate .est-total .to { color: var(--paper-muted); }
.estimate .est-meta div { background: var(--paper-2); border-color: var(--paper-line); color: var(--paper-ink); }
.estimate .est-meta span { color: var(--paper-faint); }
.estimate .est-lines li { color: var(--paper-muted); }
.estimate .est-lines li b { color: var(--paper-ink); }
.estimate .btn:not(.btn-primary) { border-color: var(--paper-line-strong); color: var(--paper-ink); }
/* the "let's talk" band */
.cta-band { background: var(--paper); border: 0; border-radius: var(--r-card); color: var(--paper-ink); }
.cta-band::before, .cta-band::after { display: none; }
.cta-band h2, .cta-band .lead { color: var(--paper-ink); }
.cta-band .lead { color: var(--paper-muted); }
.cta-band .btn:not(.btn-primary):not(.btn-wa) { border-color: var(--paper-line-strong); color: var(--paper-ink); }
.summary { background: var(--paper); border-color: var(--paper-line-strong); color: var(--paper-ink); }
.summary pre { background: var(--paper-2); color: var(--paper-muted); border-color: var(--paper-line); }

/* the service picker on the home page: a plain list with hairline rules */
.pick { border-radius: var(--r-card); }
.pick-t em, .pick-go { color: var(--cyan); }

/* the phone layout keeps its swipe lists; the paper keeps its 16px gutter */
@media (max-width: 700px) { #pricing { padding-block: 48px; } }
/* v4 fixes: no grey fades under the header / above the bottom (they smudge the white paper); the red button has no
   stray outline; four pricing tabs scroll sideways on a phone instead of overlapping */
.site-header::after, body::after { display: none; }
.btn-primary, .btn-primary:focus-visible { border: 0; outline-offset: 3px; }
.btn-primary::before { display: none; }
.pk-panel .btn-primary, .estimate .btn-primary, .cta-band .btn-primary { color: #fff; }
@media (max-width: 560px) { .tab { flex: 0 0 auto; min-width: max-content; padding: 0 14px; } .tabs-bar { gap: 4px; } }
.btn-wa, .btn-wa:focus-visible { border: 0; }
.btn-wa::before { display: none; }

/* monthly maintenance plans: the "/ month" after a price */
.price-per { font-size: .42em; font-weight: 600; letter-spacing: 0; opacity: .75; margin-left: 2px; }
.rung-per { display: block; font-size: .68rem; font-weight: 500; color: var(--faint); text-align: right; }
.rung[aria-selected="true"] .rung-per { color: #C2CAE3; }

/* ---- every device: tap targets of 44px, no iOS zoom on inputs, service lines never cut mid-sentence ---- */
.nav-links a:not(.btn) { padding: 11px 2px; }
.notice-close { width: 36px; height: 36px; margin-top: -18px; }
.svx-t small { -webkit-line-clamp: 3; }
@media (hover: none) and (pointer: coarse) {
  .input, select.input, textarea.input, .ad-field .input { font-size: 16px; }   /* iOS zooms into any field smaller than 16px */
  .faq summary, .pk-fees summary, .rung, .opt-box, .tab, .svc-chip, .svx-row { -webkit-tap-highlight-color: transparent; }
  .svc-chip { min-height: 44px; }
  .pk-fees summary { min-height: 56px; }
}
@media (max-width: 360px) {
  h1.display { font-size: 2.2rem; }
  .pk-tags span { font-size: .62rem; }
  .price-amt, .pk-price .price-amt { font-size: 1.6rem; }
}

/* ---- why Hexora / our work / reviews ---- */
.why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.work-grid, .reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .work-grid, .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .work-grid, .reviews-grid { grid-template-columns: 1fr; } }
.work-card { display: grid; gap: 8px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: var(--fg); text-decoration: none; }
a.work-card:hover { border-color: var(--fg); }
.work-tag { font-size: .74rem; font-weight: 700; color: var(--cyan); }
.work-card h3 { font-size: 1.05rem; }
.work-card p { color: var(--muted); font-size: .92rem; }
.work-go { color: var(--cyan); font-weight: 700; font-size: .9rem; }
.review { margin: 0; display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.6; }
.review blockquote::before { content: "\201C"; color: var(--cyan); font-size: 2rem; line-height: 0; margin-right: 4px; vertical-align: -.4em; }
.review figcaption { display: grid; gap: 2px; font-size: .88rem; }
.review figcaption b { color: var(--fg); }
.review figcaption span { color: var(--faint); }
/* the "request received" note sits on the white summary card: dark text, readable */
.summary .saved-note { background: var(--paper-2); border-color: var(--paper-line-strong); color: var(--paper-ink); }
.summary .saved-note * { color: inherit; }
.summary .saved-note b:first-child, .summary .saved-note > b { color: #4BE3A6; }
.summary .saved-note a { color: var(--cyan); }


/* =====================================================================================================
   v5 — the Hexora brand (2026-11): black-navy ground, the logo's cyan → blue → violet light, white type.
   The look comes from the brand banner: deep black, gradient light blades cutting in from the edges, a glossy
   H, a wide white wordmark with a gradient X, BUILD ◆ CODE ◆ INNOVATE in wide tracking.
   One authored moment: the hero. On load the blades cut in, the H rises out of a blur, the headline lines
   unmask, the tagline draws left to right, and one light sweep crosses the H. Everything else stays calm.
   ===================================================================================================== */
:root {
  --brand-cyan: #00D8FD; --brand-blue: #0065FC; --brand-violet: #7B2BFD; --brand-navy: #0A087F;
  --glow: 0 30px 80px -40px rgba(47, 107, 255, .65);
  --r-btn: 10px; --r-card: 16px; --r-icon: 10px;
}
html, body { background: var(--bg); }
body { background: radial-gradient(1200px 700px at 85% -10%, rgba(123, 43, 253, .14), transparent 60%), radial-gradient(900px 600px at -10% 20%, rgba(0, 216, 253, .08), transparent 60%), var(--bg); background-attachment: fixed; }
::selection { background: rgba(47, 107, 255, .55); color: #fff; }
html { scrollbar-color: #2F3A78 #05060C; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #05060C; }
::-webkit-scrollbar-thumb { background: linear-gradient(#1F6BFF, #6A2BF5); border-radius: 10px; border: 2px solid #05060C; }
:focus-visible { outline: 2px solid #3FD0FF; outline-offset: 3px; }
input, textarea { caret-color: #3FD0FF; }
a { text-underline-offset: 3px; }

/* headings carry their own weight: no labels above them (the hero has none either) */
.section-head > .eyebrow { display: none; }
.section-head { gap: 12px; }

/* buttons: the logo's light on the primary action, a hairline on the rest */
.btn-primary { background: var(--grad-ink); background-size: 160% 100%; background-position: 0 0; color: #fff; box-shadow: 0 14px 34px -18px rgba(47, 107, 255, .9); transition: background-position .5s var(--ease), box-shadow .3s ease, transform .2s ease; }
.btn-primary:hover { background: var(--grad-ink); background-size: 160% 100%; background-position: 100% 0; box-shadow: 0 18px 40px -16px rgba(123, 43, 253, .9); }
.btn:not(.btn-primary):not(.btn-wa) { border-color: rgba(140, 165, 255, .3); }
.btn:not(.btn-primary):not(.btn-wa):hover { border-color: #7FDBFF; background: rgba(47, 107, 255, .08); }
.btn:active { transform: scale(.98); }
.nav-links a:not(.btn)::after, .tab::after, .tabs-ind { background: var(--grad); }
.hero-points li::before { background: linear-gradient(135deg, #00D8FD, #7B2BFD); transform: rotate(45deg); border-radius: 1px; width: 7px; height: 7px; }

/* surfaces: deep navy with a hairline that catches the brand light at the top edge */
.service, .price-card, .faq details, .term, .tl-body, .svc-box, .acc-card, .form-step, .float-card, .legal-sec, .cut, .menu-btn, .to-top, .work-card, .review {
  background: linear-gradient(180deg, rgba(22, 30, 68, .55), rgba(11, 14, 30, .78)); border-color: rgba(140, 165, 255, .16);
}
.pk-panel, .estimate, .cta-band, .summary, .pk-fees { box-shadow: var(--glow); }
.pk-panel, .estimate, .cta-band { position: relative; }
.pk-panel::before, .estimate::before, .cta-band::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; border-radius: inherit; background: linear-gradient(90deg, transparent, rgba(0, 216, 253, .8), rgba(123, 43, 253, .8), transparent); pointer-events: none; display: block; width: auto; filter: none; opacity: 1; animation: none; }
.hex-icon svg, .float-card .ic svg, .term .ic svg, .svc-chip svg { stroke: #7FDBFF; }
.tl-item.on .tl-dot { background: var(--grad-ink); border-color: transparent; }
.rung-badge, .opt.pkg .pkg-badge, .pk-badge { background: var(--grad-ink); }
.price-amt, .pk-price .price-amt, .estimate .est-total, .rung-price { color: #F4F7FF; }
.pk-price .price-amt, .estimate .est-total { background: linear-gradient(120deg, #7FE6FF, #6FA2FF 50%, #A98BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notice-bar { background: var(--grad-ink); }
.site-header.scrolled { background: rgba(5, 6, 12, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.band { background: linear-gradient(180deg, rgba(13, 16, 34, .6), rgba(5, 6, 12, .2)); }
#pricing { background: transparent; }
.site-footer { background: #04050A; border-top: 1px solid rgba(140, 165, 255, .14); }

/* ---- the hero ---- */
.hero { overflow: clip; isolation: isolate; }
.hero-shards { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shard { position: absolute; display: block; will-change: transform, opacity; }
/* left blades, like the banner's left edge */
.shard.s1 { left: -12%; top: -20%; width: 46%; height: 150%; background: linear-gradient(160deg, rgba(0, 216, 253, .55), rgba(0, 101, 252, .35) 45%, rgba(123, 43, 253, 0) 75%); clip-path: polygon(0 0, 38% 0, 100% 100%, 64% 100%); opacity: .38; transform: translate3d(calc(var(--hx, 0) * -1px), 0, 0); }
.shard.s2 { left: -18%; top: 10%; width: 40%; height: 120%; background: linear-gradient(175deg, rgba(123, 43, 253, 0), rgba(123, 43, 253, .6) 55%, rgba(0, 101, 252, .4)); clip-path: polygon(0 18%, 18% 0, 100% 100%, 70% 100%); opacity: .3; filter: blur(.5px); }
/* right blades, the banner's right edge */
.shard.s3 { right: -14%; top: -30%; width: 38%; height: 140%; background: linear-gradient(200deg, rgba(0, 216, 253, .45), rgba(47, 107, 255, .25) 40%, transparent 70%); clip-path: polygon(62% 0, 100% 0, 100% 40%, 0 100%); opacity: .3; }
.shard.s4 { right: -8%; bottom: -30%; width: 30%; height: 90%; background: linear-gradient(20deg, rgba(123, 43, 253, .55), rgba(47, 107, 255, .2) 60%, transparent); clip-path: polygon(100% 0, 100% 100%, 0 100%); opacity: .25; }
.hero h1.display { letter-spacing: -0.04em; }
.hero h1 .grad-text { background: linear-gradient(110deg, #3FD0FF 0%, #2F6BFF 48%, #8B4BFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.video-frame { background: linear-gradient(150deg, rgba(0, 216, 253, .65), rgba(47, 107, 255, .2) 40%, rgba(123, 43, 253, .6)); box-shadow: 0 50px 110px -50px rgba(47, 107, 255, .8); }
.hero-tag { --s: .5; display: block; margin: 22px auto 0; max-width: 100%; opacity: .92; }
.hero-sweep { position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(180, 230, 255, .28) 48%, rgba(255, 255, 255, .5) 50%, rgba(160, 140, 255, .25) 52%, transparent 65%); background-size: 260% 100%; background-position: 130% 0; opacity: 0; }
.float-card { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
@media (max-width: 900px) { .hero-tag { --s: .4; } .shard.s3, .shard.s4 { opacity: .18; } }
@media (max-width: 480px) { .hero-tag { --s: .36; } }

/* the first page of a visit shows the loader for ~0.7 s: the moment starts when it lifts */
:root { --intro: .75s; }
.no-loader { --intro: 0s; }
@media (prefers-reduced-motion: no-preference) {
  /* the authored moment: everything starts already in its place except what the sequence brings in */
  .js .shard.s1 { animation: shard-in-l 1.2s cubic-bezier(.16, 1, .3, 1) calc(var(--intro) + .05s) both; }
  .js .shard.s2 { animation: shard-in-l 1.4s cubic-bezier(.16, 1, .3, 1) calc(var(--intro) + .2s) both; }
  .js .shard.s3 { animation: shard-in-r 1.2s cubic-bezier(.16, 1, .3, 1) calc(var(--intro) + .12s) both; }
  .js .shard.s4 { animation: shard-in-r 1.4s cubic-bezier(.16, 1, .3, 1) calc(var(--intro) + .3s) both; }
  .js .hero .stage.fade-up { animation: h-rise 1.4s cubic-bezier(.16, 1, .3, 1) calc(var(--intro) + .35s) both; }
  .js .hero h1.fade-up { animation: line-unmask 1.1s cubic-bezier(.16, 1, .3, 1) calc(var(--intro) + .25s) both; }
  .js .hero-tag { animation: tag-draw 1.2s cubic-bezier(.65, 0, .35, 1) calc(var(--intro) + 1.15s) both; }
  .js .hero-sweep { animation: sweep 1.6s cubic-bezier(.45, 0, .2, 1) calc(var(--intro) + 1.5s) 1 both; }
  /* afterwards the blades breathe very slowly, like light in the banner */
  .js .shard.s1 { animation: shard-in-l 1.2s cubic-bezier(.16, 1, .3, 1) calc(var(--intro) + .05s) both, blade 14s ease-in-out calc(var(--intro) + 1.4s) infinite alternate; }
  .js .shard.s3 { animation: shard-in-r 1.2s cubic-bezier(.16, 1, .3, 1) calc(var(--intro) + .12s) both, blade 17s ease-in-out calc(var(--intro) + 1.4s) infinite alternate-reverse; }
}
@keyframes shard-in-l { from { opacity: 0; transform: translate3d(-40%, 0, 0) skewX(-6deg); } }
@keyframes shard-in-r { from { opacity: 0; transform: translate3d(40%, 0, 0) skewX(6deg); } }
@keyframes blade { to { filter: brightness(1.35) saturate(1.15); } }
@keyframes h-rise { from { opacity: 0; transform: translate3d(0, 26px, 0) scale(.96); filter: blur(14px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes line-unmask { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate3d(0, 24px, 0); } to { opacity: 1; clip-path: inset(0 0 -10% 0); transform: none; } }
@keyframes tag-draw { from { clip-path: inset(0 100% 0 0); opacity: 0; } to { clip-path: inset(0 0 0 0); opacity: .92; } }
@keyframes sweep { 0% { opacity: 0; background-position: 130% 0; } 15% { opacity: 1; } 100% { opacity: 0; background-position: -30% 0; } }

/* sections enter with a soft unblur rather than a slide */
@media (prefers-reduced-motion: no-preference) {
  .js .section-head.rv { opacity: 0; filter: blur(8px); transform: translate3d(0, 14px, 0); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), filter .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
  .js .section-head.rv.in { opacity: 1; filter: none; transform: none; }
}

/* footer / header logo glow */
.brand-mark { filter: drop-shadow(0 0 14px rgba(0, 150, 255, .45)); }
@media (prefers-reduced-motion: no-preference) { .js .hero .fade-up:not(h1):not(.stage) { animation-delay: calc(var(--intro) + var(--d, 0ms)); } }
/* the float card sits on the frame's lower-left corner: the tagline starts below it */
.hero-tag { margin-top: 58px; }
@media (max-width: 480px) { .hero-tag { margin-top: 52px; } }
/* the tagline hangs below the frame, outside the stage box, so the float card keeps its corner on the frame */
.hero-tag { position: absolute; left: 50%; top: 100%; margin: 0; transform: translateX(-50%); translate: 0 52px; }
@media (max-width: 900px) { .hero { padding-bottom: 96px; } }
@media (max-width: 480px) { .hero-tag { translate: 0 54px; } }


/* =====================================================================================================
   v6 — one system for every page and the admin. Built on the v5 brand.
   • One typeface family for the interface (Manrope + Noto Sans Sinhala); monospace only where text is code or a PIN.
   • Labels in sentence case, no tracked capitals, no labels above headings.
   • One control size scale: 40 / 48 / 56 px. One radius scale: 10 / 14 / 20 / 999.
   • Three button kinds: primary (brand light), secondary (glass hairline), WhatsApp. Ghost links underline on hover.
   • Fields: 50 px, navy fill, hairline that turns cyan with a soft ring on focus; errors in rose with the message under the field.
   ===================================================================================================== */
:root {
  --f-mono: var(--f-body);
  --f-code: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, Consolas, monospace;
  --rad-s: 10px; --rad-m: 14px; --rad-l: 20px;
  --ctl-s: 40px; --ctl-m: 48px; --ctl-l: 56px;
  --field: #080A15; --field-line: rgba(140, 165, 255, .24); --ring: 0 0 0 4px rgba(63, 208, 255, .16);
  --danger: #FF6B8A;
}
/* code and secrets keep a monospace face */
code, pre, kbd, .ad-key, .ad-pin, .summary pre, .pin-pad button, .ref-code, .sum-ref { font-family: var(--f-code); }

/* ---- labels: sentence case, no tracking ---- */
.eyebrow { display: none !important; }
.price-from, .pk-tags span, .foot-grid .foot-h, .est-label, .cat-tab, .svc-label, .tl-time, .badge, .pk-ex b, .price-pre, .rung-from, .acc-note b, .picker-cap, .video-tag, .chip, .stepper li, .crumbs, .ad-pill, .ad-label, .rate-pill {
  text-transform: none !important; letter-spacing: 0 !important; font-family: var(--f-body);
}
.price-from, .est-label { font-size: .82rem; font-weight: 600; color: var(--faint); }
.pk-tags span { font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; border-color: rgba(140, 165, 255, .24); background: rgba(47, 107, 255, .07); color: #CFE0FF; }
.pk-ex b { font-size: .86rem; font-weight: 700; color: var(--muted); }
.foot-grid .foot-h { font-size: .88rem; font-weight: 700; color: var(--fg); margin-bottom: 12px; }
.tl-time { font-size: .8rem; font-weight: 700; color: #7FDBFF; }
.crumbs { font-size: .84rem; color: var(--faint); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #7FDBFF; }
.price-pre, .rung-from { font-size: .55em; font-weight: 700; opacity: .8; }

/* ---- numbers: the interface face with tabular figures ---- */
.price-amt, .rung-price, .est-total, .est-meta b, .est-lines li b, .est-bar .v, .opt-box .p, .pick-t small, .ad-stat b, .ad-todo-i b, .pk-price .price-amt { font-family: var(--f-body); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.price-amt, .pk-price .price-amt { font-weight: 800; }
.rung-price { font-weight: 800; font-size: 1rem; }
.est-total { font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -0.02em; }
.price-usd, .est-usd, .est-rate { font-family: var(--f-body); font-size: .84rem; color: var(--faint); letter-spacing: 0; }

/* ---- buttons ---- */
.btn { min-height: var(--ctl-m); padding: 0 22px; border-radius: var(--rad-m); font-family: var(--f-body); font-size: .96rem; font-weight: 800; gap: 10px; letter-spacing: 0; clip-path: none; }
.btn::before { display: none !important; }
.btn:not(.btn-primary):not(.btn-wa) { background: rgba(255, 255, 255, .04); border: 1px solid rgba(140, 165, 255, .28); color: var(--fg); }
.btn:not(.btn-primary):not(.btn-wa):hover { background: rgba(47, 107, 255, .1); border-color: rgba(127, 219, 255, .7); }
.btn-wa { background: #13A452; color: #fff; border: 0; box-shadow: 0 14px 30px -18px rgba(19, 164, 82, .9); }
.btn-wa:hover { background: #10944A; }
.btn-sm, .btn.ad-small, .nav-cta, .nav-cta-mini { min-height: var(--ctl-s); padding: 0 16px; font-size: .88rem; border-radius: var(--rad-s); }
.btn-block { width: 100%; }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn .arrow { width: 22px; height: 22px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.btn:focus-visible { outline: 2px solid #7FDBFF; outline-offset: 3px; }
@media (hover: none) { .btn { min-height: var(--ctl-m); } .btn-sm, .nav-cta-mini { min-height: 44px; } }

/* ---- fields ---- */
.input, select.input, textarea.input, .lc input, .lc textarea, .acc-card input:not([type=checkbox]):not([type=radio]) {
  min-height: 50px; border-radius: var(--rad-m); background: var(--field); border: 1px solid var(--field-line); color: var(--fg); font-family: var(--f-body); transition: border-color .2s ease, box-shadow .2s ease;
}
textarea.input { min-height: 120px; line-height: 1.55; padding-block: 14px; }
.input::placeholder { color: #6E789A; }
.input:hover { border-color: rgba(140, 165, 255, .4); }
.input:focus, .input:focus-visible { outline: none; border-color: #3FD0FF; box-shadow: var(--ring); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FDBFF' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
label, .group-label, .field > label { font-weight: 700; }
.hint, .group-hint, .ad-hint { color: var(--faint); }
.invalid .input, .input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 107, 138, .12); }
.err, .ad-gate-msg, .acc-msg:not(.ok) { color: var(--danger); }
.acc-msg.ok { color: #4BE3A6; }

/* ---- choice tiles (project form) ---- */
.opt-box { border-radius: var(--rad-m); background: var(--field); border-color: var(--field-line); }
.opt:hover .opt-box { border-color: rgba(140, 165, 255, .45); }
.opt input:checked + .opt-box { border-color: #3FD0FF; background: linear-gradient(140deg, rgba(0, 216, 253, .1), rgba(123, 43, 253, .12)); box-shadow: var(--ring); }
.opt-box .tick { border-color: rgba(140, 165, 255, .45); }
.opt input:checked + .opt-box .tick { background: var(--grad-ink); border-color: transparent; }
.opt.pkg .opt-box .p, .opt input:checked + .opt-box .p { color: #7FDBFF; }
.opt.pkg .pkg-badge { border-radius: 999px; }
.qty button { border-radius: var(--rad-s); }

/* ---- cards and sections ---- */
.service, .price-card, .term, .tl-body, .svc-box, .acc-card, .acc-proj, .form-step, .legal-sec, .cut, .work-card, .review, .pk-panel, .estimate, .cta-band, .summary, .pk-fees, .rung, .faq details { border-radius: var(--rad-l); }
.rung { border-radius: var(--rad-m); }
.faq details { border-radius: var(--rad-m); }
.faq summary { min-height: 60px; }
.faq summary::after { border-color: rgba(140, 165, 255, .35); color: #7FDBFF; }
.faq details[open] summary::after { background: var(--grad-ink); border-color: transparent; color: #fff; }
.legal-sec, .form-step, .acc-card, .svc-box { background: linear-gradient(180deg, rgba(22, 30, 68, .5), rgba(11, 14, 30, .8)); border: 1px solid rgba(140, 165, 255, .16); }

/* ---- small chips / tabs / badges ---- */
.cat-tab { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: .88rem; font-weight: 700; border-color: rgba(140, 165, 255, .24); color: var(--muted); }
.cat-tab[aria-selected="true"] { background: var(--grad-ink); border-color: transparent; color: #fff; }
.cat-tab span, .cat-tab small { opacity: .8; }
.svc-chip { border-radius: 999px; border-color: rgba(140, 165, 255, .2); background: rgba(255, 255, 255, .03); }
.svc-chip[aria-current="page"], .svc-chip.on { background: rgba(47, 107, 255, .16); border-color: rgba(127, 219, 255, .6); color: #fff; }
.stepper li { border-radius: 999px; padding: 7px 14px; font-size: .82rem; font-weight: 700; }
.stepper li.done { border-color: rgba(75, 227, 166, .55); color: #CFFFEA; background: rgba(75, 227, 166, .08); }
.badge, .rung-badge, .pk-badge, .pkg-badge { border-radius: 999px; font-weight: 800; }
.chip { border-radius: 999px; }

/* ---- header and the phone menu ---- */
@media (max-width: 900px) {
  .nav-links { background: rgba(7, 9, 20, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(140, 165, 255, .16); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
  .nav-links a:not(.btn) { min-height: 54px; display: flex; align-items: center; font-size: 1.02rem; }
  .nav-links li + li { border-top-color: rgba(140, 165, 255, .1); }
}
.menu-btn { border-radius: var(--rad-m); background: rgba(255, 255, 255, .04); border-color: rgba(140, 165, 255, .24); }
.nav-backdrop { background: rgba(3, 4, 10, .6); }

/* ---- footer ---- */
.foot-grid a { color: var(--muted); }
.foot-grid a:hover { color: #7FDBFF; }
.foot-bottom { color: var(--faint); }

/* ---- live chat, toasts, floating buttons ---- */
.lc { border-radius: var(--rad-l); border: 1px solid rgba(140, 165, 255, .2); background: #0A0D1C; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), var(--glow); }
.lc-head, .lc header { background: linear-gradient(120deg, rgba(0, 216, 253, .12), rgba(123, 43, 253, .16)); }
.toast { border-radius: var(--rad-m); background: #11162D; border: 1px solid rgba(140, 165, 255, .24); color: var(--fg); }
.to-top { border-radius: var(--rad-m); }
.wa-float { background: #13A452; }

/* ---- the brand's wide wordmark rhythm for the one place text acts as brand: footer note ---- */
.foot-brand .muted { max-width: 34ch; }
.nav-cta-mini { padding: 0 12px; }
@media (max-width: 360px) { .nav-cta-mini { padding: 0 10px; font-size: .84rem; } }
.acc-note { border: 1px solid rgba(140, 165, 255, .2); }
.acc-note b { color: #C9B6FF; }

/* ---- header: Services menu (desktop dropdown, phone list) and the phone's quick contact row ---- */
.nav-svc { position: relative; }
.nav-svc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--muted); font: 700 .94rem/1 var(--f-body); cursor: pointer; transition: color .2s ease; }
.nav-svc-btn .chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.nav-svc.open .nav-svc-btn, .nav-svc-btn[aria-current="page"] { color: var(--fg); }
.nav-svc.open .chev { transform: rotate(180deg); }
.nav-svc-btn:focus-visible { outline: 2px solid #7FDBFF; outline-offset: 4px; border-radius: 6px; }
.nsp-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 18px; }
.nsp-h { display: block; padding: 4px 12px 8px; font-size: .8rem; font-weight: 700; color: var(--faint); }
.nsp-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-links .nsp-col li a:not(.btn) { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 12px; color: var(--fg); font-weight: 700; font-size: .93rem; }
.nav-links .nsp-col li a:not(.btn)::after { display: none; }
.nsp-col a svg { flex: none; width: 20px; height: 20px; fill: none; stroke: #7FDBFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nsp-col a:hover, .nsp-col a:focus-visible { background: rgba(47, 107, 255, .12); }
.nav-links .nsp-col li a:not(.btn)[aria-current="page"] { background: rgba(47, 107, 255, .16); color: #fff; }
.nav-links li a.nsp-all:not(.btn) { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 14px 12px 4px; border-top: 1px solid rgba(140, 165, 255, .14); color: #7FDBFF; font-size: .9rem; }
.nav-links li a.nsp-all:not(.btn)::after { display: none; }
.nav-quick { display: none; }
@media (min-width: 901px) {
  .nav-svc-panel { position: absolute; top: calc(100% + 18px); left: 50%; width: min(600px, 86vw); padding: 14px; border-radius: 20px; background: #0A0D1C; border: 1px solid rgba(140, 165, 255, .2);
    box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .3); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .2s ease, transform .25s var(--ease), visibility 0s .25s; z-index: 30; }
  .nav-svc-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }   /* keeps the menu open while the pointer moves down to it */
  .nav-svc.open .nav-svc-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s ease, transform .25s var(--ease); }
  @media (hover: hover) { .nav-svc-btn:hover { color: var(--fg); } }
}
@media (max-width: 900px) {
  .nav-svc-btn { width: 100%; min-height: 54px; justify-content: space-between; font-size: 1.02rem; border-bottom: 1px solid rgba(140, 165, 255, .1); }
  .nav-svc-panel { display: none; padding: 8px 0 12px; border-bottom: 1px solid rgba(140, 165, 255, .1); }
  .nav-svc.open .nav-svc-panel { display: block; }
  .nsp-cols { grid-template-columns: 1fr; gap: 10px; }
  .nsp-h { padding: 6px 4px 6px; }
  .nav-links .nsp-col li a:not(.btn) { min-height: 48px; padding: 8px 4px; border-bottom: 0; font-size: .98rem; }
  .nav-links li a.nsp-all:not(.btn) { border-bottom: 0; padding: 12px 4px 0; min-height: 44px; }
  .nav-quick { display: flex; gap: 10px; margin-top: 16px; }
  .nav-quick .btn { flex: 1; min-height: 48px; }
  .nav-links li.nav-quick + li { margin-top: 10px; }
}
.nav-links .nsp-col li { margin-top: 0 !important; }
@media (max-width: 900px) { .nav-svc-btn { color: var(--fg); } }

/* ---- pictures from the admin panel: home banner, work, review photos, service picture ---- */
.promo { padding-block: clamp(8px, 2vw, 24px) 0; }
.promo-card { display: block; border-radius: var(--rad-l); overflow: hidden; border: 1px solid rgba(140, 165, 255, .18); background: #080A15; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9); transition: border-color .2s ease, transform .3s var(--ease); }
a.promo-card:hover { border-color: rgba(127, 219, 255, .6); }
a.promo-card:focus-visible { outline: 2px solid #7FDBFF; outline-offset: 3px; }
.promo-pic { display: block; aspect-ratio: 16 / 6; }
.promo-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.promo-m { display: none !important; }
@media (max-width: 700px) {
  .promo-pic:has(.promo-m) { aspect-ratio: 1 / 1; }
  .promo-pic:not(:has(.promo-m)) { aspect-ratio: 16 / 7; }
  .promo-d.has-m { display: none !important; }
  .promo-m { display: block !important; }
}
.work-card { overflow: hidden; }
.work-pic { display: block; margin: -22px -22px 6px; aspect-ratio: 4 / 3; background: #080A15; border-bottom: 1px solid rgba(140, 165, 255, .14); }
.work-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.rv-who { display: grid; gap: 2px; }
.rv-photo { flex: none; width: 44px; height: 44px; border-radius: 999px; overflow: hidden; background: #080A15; border: 1px solid rgba(140, 165, 255, .25); }
.rv-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-stage .an-img::before { display: none; }
.svc-stage .an-img img { width: 100%; height: 100%; object-fit: cover; }
