/* ==========================================================================
   Project Web – styles
   Mobile-first. Edit the design tokens in :root to re-theme the whole site.
   ========================================================================== */

:root {
  /* Colours */
  --bg: #05070d;
  --bg-2: #0a0f1c;
  --blue: #1e6bff;
  --blue-2: #3d82ff;
  --cyan: #5ce1ff;
  --text: #ffffff;
  --muted: #a9b3c8;
  --dim: #6b7690;
  --line: rgba(120, 170, 255, 0.16);
  --line-strong: rgba(92, 225, 255, 0.45);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(30, 107, 255, 0.07);
  --ok: #5cf2b4;

  /* Glows */
  --glow-sm: 0 0 0 1px rgba(92, 225, 255, 0.25), 0 0 18px rgba(30, 107, 255, 0.35);
  --glow-lg: 0 0 0 1px rgba(92, 225, 255, 0.45), 0 0 40px rgba(30, 107, 255, 0.45), 0 0 80px rgba(92, 225, 255, 0.12);

  /* Type */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 200; background: var(--blue); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 820px; }
.mono-dim { font-family: var(--font-mono); font-size: 0.78rem; color: var(--dim); }

/* Gradient text for key headings */
.grad-text {
  background: linear-gradient(100deg, #ffffff 0%, var(--cyan) 40%, var(--blue-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Background: animated grid + glow orbs ---------- */
.bg-grid {
  position: fixed; inset: -80px 0 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(92, 225, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 85%);
  animation: grid-drift 18s linear infinite;
}
@keyframes grid-drift { to { transform: translateY(56px); } }
.bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-glow span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; }
.bg-glow span:first-child { width: 520px; height: 520px; background: var(--blue); top: -160px; right: -120px; animation: float 16s ease-in-out infinite; }
.bg-glow span:last-child { width: 420px; height: 420px; background: #0aa8d6; bottom: -200px; left: -160px; opacity: 0.18; animation: float 20s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(-40px, 40px) scale(1.1); } }

/* ---------- Glass panels ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.75em 1.3em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn-glow {
  background: linear-gradient(135deg, var(--blue) 0%, #2f7dff 55%, #29b6f6 100%);
  color: #fff; box-shadow: var(--glow-sm);
}
.btn-glow:hover { box-shadow: var(--glow-lg); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(30, 107, 255, 0.1); transform: translateY(-2px); }
.btn-lg { padding: 0.95em 1.6em; font-size: 1rem; }
.btn-sm { padding: 0.55em 1em; font-size: 0.85rem; }
.btn-block { width: 100%; }

.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(92, 242, 180, 0.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(92, 242, 180, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 242, 180, 0); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(5, 7, 13, 0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(5, 7, 13, 0.85); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.02em; }
.logo .accent { color: var(--blue-2); text-shadow: 0 0 18px rgba(30, 107, 255, 0.7); margin-left: -0.3em; }
/* Brand logo mark (the PW logo image) */
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px; flex: none; object-fit: cover;
  border: 1px solid var(--line-strong); box-shadow: 0 0 16px rgba(30, 107, 255, 0.45);
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 0.25rem; }
.main-nav a:not(.btn) { display: block; padding: 0.5rem 0.75rem; text-decoration: none; color: var(--muted); font-size: 0.92rem; font-weight: 500; border-radius: 8px; transition: color 0.2s; }
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--text); }
.main-nav a.active { text-shadow: 0 0 12px rgba(92, 225, 255, 0.6); }
.nav-cta-mobile { display: none; }
.header-cta { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Mobile nav (below 960px) */
@media (max-width: 959px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: rgba(5, 7, 13, 0.97); border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem; display: none;
  }
  .main-nav.open { display: block; animation: drop 0.3s var(--ease); }
  .main-nav ul { flex-direction: column; }
  .main-nav a:not(.btn) { padding: 0.85rem 0.25rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta-mobile { display: flex; margin-top: 1.25rem; width: 100%; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
@media (min-width: 960px) {
  .header-cta { display: inline-flex; }
  .main-nav { margin-right: 0.5rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 3rem 0 4rem; position: relative; }
.hero-inner { display: grid; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); border: 1px solid var(--line); background: var(--glass); padding: 0.4rem 0.85rem; border-radius: 999px; margin-bottom: 1.5rem; }
.hero-title { font-size: clamp(2.5rem, 9vw, 4.6rem); line-height: 1.02; margin-bottom: 1.25rem; }
.hero-sub { color: var(--muted); font-size: clamp(1.02rem, 2.4vw, 1.18rem); max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-actions .btn { flex: 1 1 220px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: var(--muted); font-size: 0.9rem; }
.hero-meta strong { color: var(--text); font-family: var(--font-head); }

@media (min-width: 1000px) {
  .hero { padding: 5rem 0 6rem; }
  .hero-inner { grid-template-columns: 1.02fr 1fr; gap: 3.5rem; }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* HUD tags (little interface labels) */
.hud-tag { position: absolute; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--cyan); opacity: 0.8; z-index: 3; }
.hud-tl { top: -1.6rem; left: 0.25rem; }
.hud-br { bottom: -1.6rem; right: 0.25rem; }

/* Mock browser */
.hero-visual { position: relative; padding-bottom: 2.5rem; }
.browser { position: relative; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(92, 225, 255, 0.12), 0 0 60px rgba(30, 107, 255, 0.18); }
.browser::before { /* glowing top edge */
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.browser-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); background: rgba(5, 7, 13, 0.5); }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #2a3247; }
.dots i:first-child { background: #ff5f6d; } .dots i:nth-child(2) { background: #ffc35c; } .dots i:last-child { background: #4fe0a0; }
.url { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); background: rgba(255, 255, 255, 0.05); padding: 0.3rem 0.7rem; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lock { font-size: 0.62rem; }
.status-chip { display: none; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); }
@media (min-width: 480px) { .status-chip { display: inline-flex; } }

/* The sample site inside the browser – themed by data-theme */
.browser-body {
  --s-bg: #f6efe6; --s-ink: #2b1d12; --s-accent: #c26a2e; --s-soft: #e8dccd;
  position: relative; aspect-ratio: 16 / 11; padding: 4.5% 5%; background: var(--s-bg); color: var(--s-ink);
  display: flex; flex-direction: column; gap: 5%; overflow: hidden; transition: background 0.6s;
}
.browser-body[data-theme="salon"] { --s-bg: #f7eef2; --s-ink: #2d1a26; --s-accent: #b2487a; --s-soft: #ebd9e2; }
.browser-body[data-theme="trades"] { --s-bg: #10161f; --s-ink: #eef4ea; --s-accent: #7bc043; --s-soft: #1f2a36; }
.b-step { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.b-step.in { opacity: 1; transform: none; }
.m-nav { display: flex; align-items: center; gap: 4%; font-family: var(--font-head); font-weight: 700; font-size: clamp(0.62rem, 1.6vw, 0.9rem); }
.m-logo { white-space: nowrap; }
.m-links { display: flex; gap: 8px; margin-left: auto; }
.m-links i { width: 28px; height: 5px; border-radius: 3px; background: var(--s-soft); }
.m-btn { font-size: 0.7em; background: var(--s-accent); color: #fff; padding: 0.35em 0.9em; border-radius: 999px; }
.m-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5%; flex: 1; align-items: center; }
.m-hero-text { display: flex; flex-direction: column; gap: 0.5rem; }
.m-kicker { font-family: var(--font-mono); font-size: clamp(0.5rem, 1.2vw, 0.66rem); text-transform: uppercase; letter-spacing: 0.12em; color: var(--s-accent); }
.m-h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(0.95rem, 3vw, 1.7rem); line-height: 1.05; letter-spacing: -0.02em; min-height: 2.1em; }
.m-h1.typing::after { content: "▍"; color: var(--s-accent); animation: blink 0.8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.m-line { height: 6px; border-radius: 3px; background: var(--s-soft); width: 90%; }
.m-line.short { width: 60%; }
.m-cta { align-self: flex-start; margin-top: 0.3rem; font-size: clamp(0.55rem, 1.3vw, 0.75rem); font-weight: 600; background: var(--s-ink); color: var(--s-bg); padding: 0.45em 1em; border-radius: 999px; }
.m-hero-img { height: 100%; min-height: 80px; border-radius: 10px; background: linear-gradient(135deg, var(--s-accent), var(--s-soft)); position: relative; overflow: hidden; }
.m-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%); transform: translateX(-100%); animation: shimmer 2.8s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; height: 18%; }
.m-cards span { border-radius: 8px; background: var(--s-soft); }
.m-footer { display: flex; gap: 4%; height: 10%; }
.m-map { width: 30%; border-radius: 6px; background: repeating-linear-gradient(45deg, var(--s-soft), var(--s-soft) 6px, transparent 6px, transparent 12px); }
.m-lines { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.m-lines i { height: 5px; width: 70%; background: var(--s-soft); border-radius: 3px; }
.m-lines i:last-child { width: 45%; }
.scanline { position: absolute; left: 0; right: 0; height: 60px; top: -60px; background: linear-gradient(180deg, transparent, rgba(92, 225, 255, 0.25), transparent); pointer-events: none; }
.scanline.run { animation: scan 1.6s var(--ease); }
@keyframes scan { to { top: 110%; } }

/* Build log panel overlapping the browser */
.build-log {
  position: relative; margin: -1.5rem 0 0 auto; width: min(260px, 78%); padding: 0.9rem 1rem; z-index: 2;
  font-family: var(--font-mono); font-size: 0.72rem; background: rgba(8, 12, 22, 0.82); box-shadow: var(--glow-sm);
}
.log-title { color: var(--cyan); margin-bottom: 0.5rem; letter-spacing: 0.06em; }
.build-log ol { min-height: 6.2em; color: var(--muted); }
.build-log li { animation: log-in 0.35s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.build-log li::before { content: "> "; color: var(--blue-2); }
.build-log li .ok { color: var(--ok); }
@keyframes log-in { from { opacity: 0; transform: translateX(-6px); } }
.log-price { margin: 0.5rem 0 0; padding-top: 0.5rem; border-top: 1px dashed var(--line); color: var(--muted); }
.log-price strong { color: var(--ok); }
@media (min-width: 1000px) {
  .build-log { position: absolute; right: -1.25rem; bottom: 0; margin: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; position: relative; }
@media (min-width: 900px) { .section { padding: 6.5rem 0; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-label { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.9rem; }
.section-head h2, .about-copy h2, .contact-copy h2 { font-size: clamp(2rem, 6vw, 3.2rem); }
.section-intro { color: var(--muted); font-size: 1.08rem; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 1rem; counter-reset: s; }
.step { padding: 1.5rem; position: relative; transition: border-color 0.3s, transform 0.3s var(--ease); }
.step:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.step-num { display: inline-block; font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan); border: 1px solid var(--line-strong); border-radius: 8px; padding: 0.2rem 0.5rem; margin-bottom: 1rem; box-shadow: 0 0 14px rgba(92, 225, 255, 0.2); }
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: #dbe2f0; font-size: 1.02rem; line-height: 1.65; margin: 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step:not(:last-child)::after { /* connector line */
    content: ""; position: absolute; top: 2.15rem; right: -1rem; width: 1rem; height: 1px;
    background: linear-gradient(90deg, var(--cyan), transparent);
  }
}

/* ---------- Pricing / care cards ---------- */
.price-grid { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { padding: 1.75rem 1.5rem; position: relative; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.price-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 0 40px rgba(30, 107, 255, 0.15); }
.price-card.featured {
  border-color: rgba(92, 225, 255, 0.5);
  background: linear-gradient(160deg, rgba(30, 107, 255, 0.16), rgba(255, 255, 255, 0.02) 60%);
  box-shadow: var(--glow-lg);
}
.badge { position: absolute; top: -0.8rem; left: 1.5rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.75rem; border-radius: 999px; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #04101f; font-weight: 600; box-shadow: 0 0 20px rgba(92, 225, 255, 0.5); }
.price-top { border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; margin-bottom: 1.25rem; }
.price-top h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.price { font-family: var(--font-head); font-size: 3rem; font-weight: 700; line-height: 1; margin: 0 0 0.35rem; letter-spacing: -0.03em; }
.price .cur { font-size: 0.5em; vertical-align: 0.6em; color: var(--cyan); margin-right: 2px; }
.price .per { font-size: 0.35em; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.price-sub { color: var(--muted); font-size: 0.9rem; margin: 0; }
.list-title { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.checklist { display: grid; gap: 0.6rem; margin-bottom: 1.75rem; font-size: 0.93rem; }
.checklist li { position: relative; padding-left: 1.7rem; color: #dbe2f0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: rgba(30, 107, 255, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ce1ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat;
  border: 1px solid rgba(92, 225, 255, 0.35);
}
.checklist li strong { color: #fff; font-weight: 600; }
.checklist li.li-plus { font-weight: 600; color: var(--cyan); }
.checklist li.li-plus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ce1ff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.checklist li.li-time { color: var(--muted); font-style: italic; }
.checklist li.li-time::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ce1ff' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/svg%3E"); }
.price-card .btn { margin-top: auto; }

.callout { display: flex; align-items: center; justify-content: center; gap: 0.75rem; text-align: center; margin: 2.5rem auto 1rem; font-family: var(--font-head); font-size: clamp(1.05rem, 2.6vw, 1.3rem); font-weight: 600; }
.fine-print { text-align: center; color: var(--muted); font-size: 0.88rem; max-width: 680px; margin: 1rem auto 0; }
.fine-print strong { color: var(--text); }

/* Compare table */
.compare { margin-top: 2.5rem; overflow: hidden; }
.compare summary, .faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.compare summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.compare summary { padding: 1.15rem 1.5rem; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.chev { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform 0.35s var(--ease), border-color 0.3s; }
.chev::before { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: translateY(-2px) rotate(45deg); }
details[open] > summary .chev { transform: rotate(180deg); border-color: var(--line-strong); }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid rgba(120, 170, 255, 0.08); }
.compare-table thead th { font-family: var(--font-head); font-size: 1rem; vertical-align: bottom; }
.compare-table thead th span { display: block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); font-weight: 400; }
.compare-table tbody th { font-weight: 500; color: #dbe2f0; position: sticky; left: 0; background: #080c16; }
.compare-table td { color: var(--text); }
.compare-table td.yes::before { content: "✓ "; color: var(--cyan); font-weight: 700; }
.compare-table td.no { color: var(--dim); }
.compare-table td.no::before { content: "– "; }
.compare-table .col-hi { background: rgba(30, 107, 255, 0.08); }

/* ---------- Package builder ---------- */
.builder { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1000px) { .builder { grid-template-columns: 1.5fr 1fr; gap: 2rem; } }
.opt-group { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.opt-group legend { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; margin-bottom: 1rem; padding: 0; }
.step-pill { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--cyan); }
.opt-grid { display: grid; gap: 0.75rem; }
@media (min-width: 560px) { .opt-grid { grid-template-columns: repeat(3, 1fr); } }
.opt {
  position: relative; display: flex; flex-direction: column; gap: 0.2rem; padding: 1.2rem 1.1rem; cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.35s var(--ease), transform 0.3s var(--ease), background 0.3s;
}
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.opt-name { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; }
.opt-price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--text); }
.opt-price small { font-size: 0.55em; color: var(--muted); font-weight: 500; }
.opt-desc { font-size: 0.85rem; color: var(--muted); }
.opt-tag { position: absolute; top: 0.7rem; right: 0.7rem; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.opt::after { /* selection indicator */
  content: ""; position: absolute; right: 0.9rem; bottom: 0.9rem; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--line); transition: all 0.3s var(--ease);
}
.opt:has(input:checked) {
  border-color: var(--cyan); background: linear-gradient(160deg, rgba(30, 107, 255, 0.22), rgba(92, 225, 255, 0.04));
  box-shadow: var(--glow-lg);
}
.opt:has(input:checked)::after {
  border-color: var(--cyan); background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305070d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 65% no-repeat;
  box-shadow: 0 0 12px var(--cyan);
}
.opt:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.opt-none { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 0.75rem; padding-right: 3rem; }
.opt-none .opt-name { font-size: 0.98rem; }
.opt-none .opt-price { font-size: 1.1rem; }
.opt-none::after { top: 50%; bottom: auto; transform: translateY(-50%); }
/* Mobile: keep the three options in one compact row */
@media (max-width: 559.98px) {
  .opt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .opt-grid .opt { padding: 0.85rem 0.6rem 2.1rem; gap: 0.15rem; text-align: center; align-items: center; }
  .opt-grid .opt-tag { position: static; order: -1; font-size: 0.5rem; letter-spacing: 0.04em; line-height: 1.2; }
  .opt-grid .opt-name { font-size: 0.95rem; }
  .opt-grid .opt-price { font-size: 1.2rem; }
  .opt-grid .opt-desc { font-size: 0.72rem; line-height: 1.35; }
  .opt-grid .opt::after { width: 18px; height: 18px; right: 50%; bottom: 0.6rem; transform: translateX(50%); }
}

.summary { padding: 1.75rem 1.5rem; border-color: rgba(92, 225, 255, 0.4); box-shadow: var(--glow-sm), 0 30px 60px rgba(0,0,0,0.4); }
@media (min-width: 1000px) { .summary { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.summary-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.4rem; }
.summary-title { font-size: 1.4rem; }
.summary-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.25rem 0 0.5rem; }
.summary-figures div { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.8rem 0.9rem; }
.summary-figures dt { font-size: 0.78rem; color: var(--muted); }
.summary-figures dd { margin: 0; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.summary-figures .sum-total { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(30,107,255,0.25), rgba(92,225,255,0.08)); border-color: rgba(92,225,255,0.4); }
.summary-figures .sum-total dd { font-size: 2.2rem; }
.summary-figures dd.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); color: var(--cyan); text-shadow: 0 0 18px var(--cyan); } }
.summary-breakdown { font-family: var(--font-mono); font-size: 0.75rem; color: var(--dim); margin-bottom: 1.25rem; }
.summary-features { margin-bottom: 1.5rem; }
.summary-features li { animation: feat-in 0.45s var(--ease) both; }
@keyframes feat-in { from { opacity: 0; transform: translateX(-8px); } }
.summary-note { text-align: center; color: var(--muted); font-size: 0.82rem; margin: 0.9rem 0 0; }

/* ---------- Concept designs ---------- */
.work-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .work-grid { grid-template-columns: repeat(6, 1fr); }
  .work-grid li:nth-child(1), .work-grid li:nth-child(2) { grid-column: span 3; }
  .work-grid li:nth-child(n + 3) { grid-column: span 2; }
}
/* Each card: a mini browser window showing the live concept page, with the
   name underneath. The name link is stretched to make the whole card clickable. */
.work-card {
  position: relative; display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-2); color: var(--text);
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
}
.work-browser { display: block; background: #0d1220; }
.wb-bar { display: flex; align-items: center; gap: 0.75rem; height: 2rem; padding: 0 0.75rem; background: #161c2c; border-bottom: 1px solid var(--line); }
.wb-dots { display: flex; gap: 0.35rem; flex: none; }
.wb-dots i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #ff5f57; }
.wb-dots i:nth-child(2) { background: #febc2e; }
.wb-dots i:nth-child(3) { background: #28c840; }
.wb-url {
  display: flex; align-items: center; gap: 0.35rem; flex: 1; min-width: 0; max-width: 22rem; margin-inline: auto; height: 1.3rem; padding: 0 0.6rem;
  border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--muted); font-family: var(--font-mono); font-size: 0.66rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wb-url svg { width: 0.7rem; height: 0.7rem; flex: none; color: #28c840; }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex: 1; padding: 1rem 1.25rem 1.1rem; border-top: 1px solid var(--line); }
.work-info { display: flex; flex-direction: column; min-width: 0; }
.work-industry { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.work-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.25; color: #fff; text-decoration: none; }
.work-name::after { content: ""; position: absolute; inset: 0; z-index: 3; } /* whole card is the link */
.work-name:focus-visible { outline: none; }
.work-view { flex: none; font-weight: 600; font-size: 0.85rem; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.work-view span { display: inline-block; transition: transform 0.3s var(--ease); }
.work-card:hover, .work-card:focus-within { border-color: var(--line-strong); box-shadow: var(--glow-lg); transform: translateY(-4px); }
.work-card:has(.work-name:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 4px; }
.work-card:hover .work-view, .work-card:focus-within .work-view { background: var(--blue); border-color: var(--blue); box-shadow: var(--glow-sm); }
.work-card:hover .work-view span, .work-card:focus-within .work-view span { transform: translateX(3px); }
.work-card:active { transform: translateY(-1px); }

/* The live preview: the concept page renders at a desktop width (--wb-w) and is
   scaled down to fit. main.js sets --wb-scale from the card's real width. */
.work-thumb { position: relative; display: block; aspect-ratio: 16 / 10; padding: 2.2rem 1.25rem 0; overflow: hidden; }
.wb-frame {
  --wb-w: 1280px;
  position: absolute; top: 0; left: 0; z-index: 2; width: var(--wb-w); height: calc(var(--wb-w) * 10 / 16); border: 0;
  transform: scale(var(--wb-scale, 0.3)); transform-origin: 0 0; pointer-events: none; background: transparent;
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.wb-frame.loaded { opacity: 1; }

@media (prefers-reduced-motion: reduce) { .work-card, .work-card:hover, .work-card:focus-within { transform: none; } }

@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } }

/* CSS-drawn placeholders, shown in each concept's palette until the live preview loads */
.wt-title { position: relative; z-index: 1; display: block; max-width: 70%; font-size: clamp(1.35rem, 3.4vw, 2rem); line-height: 1.02; }
.wt-title em { font-style: inherit; }
.wt-btn { position: relative; z-index: 1; display: inline-block; margin-top: 0.8rem; padding: 0.35rem 0.8rem; font: 700 0.72rem/1.2 system-ui, sans-serif; }
.wt-art { position: absolute; inset: 0; z-index: 0; }

.wt-trades { background: linear-gradient(180deg, #1b3324, #2f5b36); color: #fbf7ee; }
.wt-trades .wt-title { font: 800 clamp(1.35rem, 3.4vw, 2rem)/1 "Arial Narrow", "Roboto Condensed", Arial, sans-serif; text-transform: uppercase; }
.wt-trades .wt-btn { background: #f3ecdc; color: #1f3a2a; border-radius: 4px; }
.wt-trades .wt-art {
  top: 62%; clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%); background-color: #e6d9b8;
  background-image: linear-gradient(rgba(140,120,80,0.5) 2px, transparent 2px), linear-gradient(90deg, rgba(140,120,80,0.5) 2px, transparent 2px);
  background-size: 60px 24px, 60px 48px;
}

.wt-salon { background: radial-gradient(circle at 82% 60%, #f2d4d1 0 26%, transparent 26.5%), #3a1636; color: #fbf3f1; }
.wt-salon .wt-title { font: 400 clamp(1.4rem, 3.6vw, 2.1rem)/1.05 "Didot", "Bodoni 72", Georgia, serif; }
.wt-salon .wt-title em { font-style: italic; color: #e3c57d; }
.wt-salon .wt-btn { background: #e3c57d; color: #3a1636; border-radius: 999px; }
.wt-salon .wt-art { left: 62%; right: 6%; top: 18%; bottom: -10%; border: 2px solid #e3c57d; border-bottom: 0; border-radius: 999px 999px 0 0; }

.wt-cafe { background: radial-gradient(circle at 85% 40%, #f1d3a8 0 30%, transparent 30.5%), #fdf6e9; color: #4a2c1d; }
.wt-cafe .wt-title { font: 700 clamp(1.4rem, 3.6vw, 2.1rem)/1.02 "Cooper Black", "Rockwell", Georgia, serif; }
.wt-cafe .wt-btn { background: #4a2c1d; color: #fdf6e9; border-radius: 999px; }
.wt-cafe .wt-art { left: auto; right: 12%; top: 26%; width: 30%; height: 30%; border-radius: 50% 50% 18% 18%; background: repeating-linear-gradient(-60deg, #b8733a 0 12px, #d9954f 12px 18px); }

.wt-store { background: linear-gradient(90deg, #f5f7fb 0 58%, #e9eef7 58%); color: #14213d; }
.wt-store .wt-title { font: 700 clamp(1.3rem, 3.3vw, 1.95rem)/1.05 "Helvetica Neue", system-ui, sans-serif; letter-spacing: -0.02em; max-width: 56%; }
.wt-store .wt-btn { background: #14213d; color: #fff; border-radius: 3px; }
.wt-store .wt-art { left: 66%; right: 10%; top: 22%; height: 34%; border-radius: 50%; background: #ff5a36; }

.wt-clothing { background: #0b0b0b; color: #f2efe8; }
.wt-clothing .wt-title { max-width: 62%; font: 900 clamp(1.4rem, 3.4vw, 2.1rem)/0.92 Impact, "Arial Narrow", "Roboto Condensed", "Arial Black", sans-serif; font-stretch: condensed; font-synthesis: none; text-transform: uppercase; }
.wt-clothing .wt-title em { color: #c6ff00; }
.wt-clothing .wt-btn { background: #c6ff00; color: #0b0b0b; text-transform: uppercase; letter-spacing: 0.08em; }
.wt-clothing .wt-art { left: 72%; right: 7%; top: 16%; height: 34%; background: #c6ff00; }

/* ---------- About ---------- */
.about { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; } }
.photo-frame { position: relative; max-width: 420px; margin-inline: auto; border-radius: 24px; padding: 8px; background: linear-gradient(160deg, rgba(92,225,255,0.5), rgba(30,107,255,0.15) 40%, rgba(255,255,255,0.04)); box-shadow: var(--glow-lg); }
.photo-frame img { border-radius: 18px; aspect-ratio: 5 / 6; object-fit: cover; object-position: center top; width: 100%; }
.photo-frame .hud-tl { top: -1.5rem; }
.photo-frame .hud-br { bottom: -1.5rem; }
.lead { font-size: 1.2rem; color: var(--text); font-weight: 500; }
.about-copy p:not(.lead):not(.section-label) { color: var(--muted); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 2rem 0; }
.about-stats li { padding: 1rem; border-radius: var(--radius-sm); }
.about-stats strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--cyan); }
.about-stats span { font-size: 0.78rem; color: var(--muted); line-height: 1.3; display: block; }

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why { padding: 1.6rem; transition: border-color 0.3s, transform 0.3s var(--ease); }
.why:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.why-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1rem; background: rgba(30, 107, 255, 0.15); border: 1px solid var(--line-strong); box-shadow: 0 0 18px rgba(30,107,255,0.3); }
.why-icon svg, .socials svg, .chat svg, .success-ring svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-icon svg { color: var(--cyan); }
.why h3 { font-size: 1.15rem; }
.why p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.75rem; }
.faq { transition: border-color 0.3s; overflow: hidden; }
.faq[open] { border-color: var(--line-strong); background: linear-gradient(160deg, rgba(30,107,255,0.1), rgba(255,255,255,0.015)); }
.faq summary { padding: 1.15rem 1.25rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.faq-body { padding: 0 1.25rem 1.25rem; color: var(--muted); }
.faq-body p { margin: 0; }
.faq[open] .faq-body { animation: drop 0.35s var(--ease); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } }
.contact-copy .lead { color: var(--muted); font-weight: 400; font-size: 1.1rem; }
.contact-list { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.contact-list li { display: flex; gap: 1rem; align-items: baseline; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); width: 4.5rem; flex: none; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--cyan); }
.form-shell { padding: 1.5rem; box-shadow: var(--glow-sm); }
@media (min-width: 640px) { .form-shell { padding: 2rem; } }
.field-grid { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 0.85rem; font-weight: 500; color: #dbe2f0; padding: 0; margin-bottom: 0.4rem; }
.field > label { margin-bottom: 0; }
.req { color: var(--cyan); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.6); transition: border-color 0.25s, box-shadow 0.25s; font-size: 1rem;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ce1ff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 16px; padding-right: 2.5rem; }
.field select option { background: var(--bg-2); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(92, 225, 255, 0.18), 0 0 20px rgba(30,107,255,0.25); }
.field input[aria-invalid="true"] { border-color: #ff6b7d; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field.prefilled select { border-color: var(--line-strong); animation: prefill 1.2s var(--ease); }
@keyframes prefill { 0%, 40% { box-shadow: 0 0 0 3px rgba(92,225,255,0.4), 0 0 30px rgba(30,107,255,0.5); } }
.seg { display: flex; gap: 0.4rem; background: rgba(5,7,13,0.6); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px; }
.seg label { flex: 1; position: relative; margin: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 0.55rem 0.3rem; border-radius: 9px; font-size: 0.85rem; color: var(--muted); transition: all 0.25s; }
.seg input:checked + span { background: var(--blue); color: #fff; box-shadow: var(--glow-sm); }
.seg input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 1px; }
.form-error { color: #ff9aa8; font-size: 0.9rem; }
.form-note { text-align: center; color: var(--dim); font-size: 0.82rem; margin: 0.9rem 0 0; }
.form-success { text-align: center; padding: 2rem 0.5rem; animation: pop 0.5s var(--ease); }
.form-success:focus { outline: none; }
.success-ring { width: 76px; height: 76px; margin: 0 auto 1.25rem; border-radius: 50%; display: grid; place-items: center; background: rgba(92, 242, 180, 0.12); border: 1px solid rgba(92, 242, 180, 0.5); box-shadow: 0 0 40px rgba(92, 242, 180, 0.3); color: var(--ok); }
.success-ring svg { width: 34px; height: 34px; stroke-width: 2.5; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.7s 0.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 1.6rem; }
.form-success p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 6.5rem; background: linear-gradient(180deg, transparent, rgba(30, 107, 255, 0.05)); }
@media (min-width: 960px) { .site-footer { padding-bottom: 2rem; } }
.footer-inner { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-tag { font-family: var(--font-head); font-size: 1.1rem; margin: 1rem 0 0.4rem; }
.footer-area { color: var(--muted); font-size: 0.9rem; }
.footer-col h2 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.55rem; color: var(--muted); font-size: 0.92rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--cyan); }
.socials { display: flex !important; gap: 0.6rem !important; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); transition: all 0.25s; }
.socials a:hover { border-color: var(--line-strong); box-shadow: var(--glow-sm); color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 1rem; right: 5.5rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 90;
  padding: 0.95em 1em; transform: translateY(150%); transition: transform 0.4s var(--ease);
}
.sticky-cta.show { transform: none; }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* ---------- Chatbot ---------- */
.chat { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 120; }
.chat-bubble {
  width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(92,225,255,0.6); cursor: pointer; position: relative;
  background: radial-gradient(circle at 30% 25%, var(--cyan), var(--blue) 60%); color: #fff;
  box-shadow: 0 0 0 4px rgba(30,107,255,0.15), 0 0 30px rgba(30,107,255,0.7), 0 0 60px rgba(92,225,255,0.25);
  display: grid; place-items: center; transition: transform 0.3s var(--ease);
  animation: bubble-glow 3s ease-in-out infinite;
}
@keyframes bubble-glow { 50% { box-shadow: 0 0 0 7px rgba(30,107,255,0.1), 0 0 42px rgba(30,107,255,0.9), 0 0 80px rgba(92,225,255,0.35); } }
.chat-bubble:hover { transform: scale(1.06); }
.chat-bubble svg { width: 26px; height: 26px; position: absolute; transition: opacity 0.25s, transform 0.3s var(--ease); }
.chat-bubble .ic-close { opacity: 0; transform: rotate(-90deg); }
.chat-bubble[aria-expanded="true"] .ic-open { opacity: 0; transform: rotate(90deg); }
.chat-bubble[aria-expanded="true"] .ic-close { opacity: 1; transform: none; }
.chat-ping { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--ok); border: 2px solid var(--bg); }
.chat-bubble[aria-expanded="true"] .chat-ping, .chat.seen .chat-ping { display: none; }

.chat-panel {
  position: absolute; right: 0; bottom: 76px; width: min(380px, calc(100vw - 2rem)); height: min(580px, calc(100dvh - 120px));
  display: flex; flex-direction: column; overflow: hidden; background: rgba(8, 12, 22, 0.94);
  border-color: rgba(92,225,255,0.4); box-shadow: var(--glow-lg), 0 30px 80px rgba(0,0,0,0.6);
  transform-origin: bottom right; animation: chat-in 0.35s var(--ease);
}
@keyframes chat-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } }
.chat-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #04101f; flex: none; }
.chat-name { margin: 0; font-weight: 600; font-family: var(--font-head); }
.chat-status { margin: 0; font-size: 0.75rem; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; }
.chat-x { margin-left: auto; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: transparent; font-size: 1.3rem; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 0.65rem 0.9rem; border-radius: 16px; font-size: 0.9rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; animation: log-in 0.3s var(--ease); }
.msg.bot { align-self: flex-start; background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--blue), #2f7dff); border-bottom-right-radius: 4px; }
.msg.typing span { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: var(--cyan); animation: dots 1s infinite; }
.msg.typing span:nth-child(2) { animation-delay: 0.15s; } .msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 50% { opacity: 0.2; transform: translateY(-3px); } }
.chat-chips { display: flex; gap: 0.4rem; padding: 0 1rem 0.75rem; overflow-x: auto; scrollbar-width: none; }
.chat-chips button { flex: none; font-size: 0.78rem; padding: 0.4rem 0.75rem; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(30,107,255,0.1); cursor: pointer; transition: background 0.2s; }
.chat-chips button:hover { background: rgba(30,107,255,0.3); }
.chat-chips button[data-lead] { background: var(--blue); border-color: var(--blue); }
.chat-input { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; min-width: 0; padding: 0.7rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(5,7,13,0.7); font-size: 0.95rem; }
.chat-input input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(92,225,255,0.18); }
.chat-input button { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; cursor: pointer; background: var(--blue); display: grid; place-items: center; box-shadow: var(--glow-sm); }
.chat-input button svg { width: 18px; height: 18px; }
.chat-lead { display: grid; gap: 0.5rem; padding: 0.9rem 1rem; border-top: 1px solid var(--line); background: rgba(30,107,255,0.06); }
.chat-lead[hidden] { display: none; }
.chat-lead-note { margin: 0; font-size: 0.85rem; color: var(--muted); }
.chat-lead-note a { color: var(--cyan); }
.chat-lead [aria-invalid="true"] { border-color: #ff9aa8; }
.chat-lead-title { margin: 0; font-family: var(--font-head); font-weight: 600; }
.chat-lead input { padding: 0.6rem 0.8rem; border-radius: 10px; border: 1px solid var(--line); background: rgba(5,7,13,0.7); font-size: 0.95rem; }
.chat-lead textarea { padding: 0.6rem 0.8rem; border-radius: 10px; border: 1px solid var(--line); background: rgba(5,7,13,0.7); font: inherit; font-size: 0.95rem; resize: vertical; }
.chat-lead input:focus, .chat-lead textarea:focus { outline: none; border-color: var(--cyan); }
.chat-lead-actions { display: flex; gap: 0.5rem; justify-content: flex-end; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .b-step { opacity: 1; transform: none; }
}
