/* ═══════════════════════════════════════════════════════════
   Youbi Key Solutions — Golden Hour
   Light premium design system: warm ivory, glass surfaces,
   signal-amber glow, interactive 3D depth
   ═══════════════════════════════════════════════════════════ */

/* ── self-hosted fonts (GDPR-safe, no Google request) ── */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/archivo-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/fraunces-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/space-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/space-mono-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #f7f4ec;            /* warm ivory */
  --bg-2: #fffdf8;          /* card white */
  --bg-3: #fdfaf2;
  --ink: #17150f;           /* warm near-black */
  --muted: #6f6a5c;
  --line: rgba(23, 21, 15, 0.1);
  --amber: #ffab00;
  --amber-deep: #ff7a00;
  --amber-ink: #96660a;     /* accessible amber for small text on light */
  --glow: rgba(255, 171, 0, 0.35);
  --glow-soft: rgba(255, 171, 0, 0.18);
  --shadow-card: 0 1px 2px rgba(23, 21, 15, 0.05), 0 16px 44px -18px rgba(23, 21, 15, 0.18);
  --shadow-glow: 0 6px 24px -6px var(--glow), 0 20px 60px -20px var(--glow-soft);
  --glass: rgba(255, 253, 248, 0.66);
  --font-sans: "Archivo", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --pad: clamp(1.25rem, 4vw, 4rem);
  --radius: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* no overflow-x here: a non-visible overflow on <body> turns it into a
     scroll container and silently breaks position:sticky (story section).
     Horizontal clipping is handled by overflow-x:clip on <html>. */
}

::selection { background: var(--amber); color: #17150f; }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(23, 21, 15, 0.22); border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--amber); }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── grain overlay (very subtle on light) ──────────────── */
.hero-grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── aurora: living glow field behind everything ───────── */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora i {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.5; will-change: transform;
}
.aurora i:nth-child(1) {
  width: 44vw; height: 44vw; top: -14vw; right: -8vw;
  background: radial-gradient(circle, rgba(255, 171, 0, 0.5), rgba(255, 171, 0, 0) 65%);
  animation: aurora-a 16s var(--ease-io) infinite alternate;
}
.aurora i:nth-child(2) {
  width: 36vw; height: 36vw; bottom: -12vw; left: -10vw;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.32), rgba(255, 122, 0, 0) 65%);
  animation: aurora-b 20s var(--ease-io) infinite alternate;
}
.aurora i:nth-child(3) {
  width: 28vw; height: 28vw; top: 34%; left: 38%;
  background: radial-gradient(circle, rgba(255, 214, 120, 0.4), rgba(255, 214, 120, 0) 65%);
  animation: aurora-c 24s var(--ease-io) infinite alternate;
}
@keyframes aurora-a { to { transform: translate(-8vw, 10vh) scale(1.15); } }
@keyframes aurora-b { to { transform: translate(6vw, -8vh) scale(1.2); } }
@keyframes aurora-c { to { transform: translate(-6vw, -6vh) scale(0.9); } }

main, .footer, .nav, .marquee { position: relative; z-index: 1; }

/* ═══ PRELOADER ═════════════════════════════════════════ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.preloader-panel { position: absolute; inset: 0; background: var(--bg); }
.preloader-panel.p2 {
  background: linear-gradient(120deg, var(--amber), var(--amber-deep));
  transform: scaleY(0);
}
.preloader-inner {
  position: relative; z-index: 2; width: min(30rem, 82vw);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.preloader-word {
  display: flex; overflow: hidden;
  font-weight: 900; font-size: clamp(1.25rem, 4.4vw, 2.4rem);
  letter-spacing: -0.03em; color: var(--ink);
}
.preloader-word span { display: inline-block; transform: translateY(120%); }
.preloader-word .pl-accent {
  color: var(--amber);
  text-shadow: 0 0 24px var(--glow);
}
.preloader-bar { height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader-bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep));
  box-shadow: 0 0 16px var(--glow);
}
.preloader-meta { display: flex; justify-content: space-between; color: var(--muted); }

/* ═══ CURSOR ════════════════════════════════════════════ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none;
  border-radius: 50%; opacity: 0;
}
.cursor-dot { width: 6px; height: 6px; background: var(--amber-deep); box-shadow: 0 0 10px var(--glow); }
.cursor-ring {
  width: 44px; height: 44px; border: 1.5px solid rgba(255, 138, 0, 0.55);
  display: flex; align-items: center; justify-content: center;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              background-color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.cursor-ring span {
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.1em;
  color: #17150f; opacity: 0; transition: opacity 0.25s; white-space: nowrap;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  background: rgba(255, 171, 0, 0.14); box-shadow: 0 0 28px var(--glow-soft);
}
.cursor-ring.is-label {
  width: 84px; height: 84px;
  background: var(--amber); border-color: var(--amber);
  box-shadow: 0 0 40px var(--glow);
}
.cursor-ring.is-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ═══ BUTTONS ═══════════════════════════════════════════ */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease-out), border-color 0.35s,
              transform 0.35s var(--ease-out), box-shadow 0.45s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn:hover::after { transform: translateY(0); }
.btn-solid {
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: #1c1204;
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-solid:hover {
  color: #fffdf8;
  box-shadow: 0 10px 34px -8px var(--glow), 0 26px 70px -22px var(--glow-soft);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1px solid var(--line); color: var(--ink);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { color: #fffdf8; border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1.02rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-whatsapp {
  background: linear-gradient(135deg, #2ad06e, #1cae59); color: #06130b;
  box-shadow: 0 6px 24px -6px rgba(34, 197, 94, 0.45);
}
.btn-nav { padding: 0.6rem 1.15rem; font-size: 0.85rem; }

/* ═══ NAV ═══════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.1rem var(--pad);
  transition: transform 0.5s var(--ease-out), background-color 0.4s,
              backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(255, 253, 248, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 34px -18px rgba(23, 21, 15, 0.25);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 900; font-size: 1.05rem; letter-spacing: -0.01em;
}
.nav-logo em {
  color: var(--amber-deep); font-family: inherit; font-style: normal;
  text-shadow: 0 0 18px var(--glow);
}
.nav-logo-mark { width: 1.9rem; height: 1.9rem; color: var(--amber-deep); filter: drop-shadow(0 0 8px var(--glow-soft)); }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
  position: relative; font-size: 0.92rem; font-weight: 500; color: var(--muted);
  transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep));
  border-radius: 2px; box-shadow: 0 0 10px var(--glow);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 1.1rem; }
.nav-clock { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.clock-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #1eb864; flex: none;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 184, 100, 0.5); }
  60% { box-shadow: 0 0 0 7px rgba(30, 184, 100, 0); }
}
.nav-burger { display: none; position: relative; width: 2.4rem; height: 2.4rem; }
.nav-burger span {
  position: absolute; left: 50%; width: 1.4rem; height: 2px; background: var(--ink);
  transform: translateX(-50%); transition: transform 0.4s var(--ease-out), top 0.4s;
}
.nav-burger span:nth-child(1) { top: calc(50% - 4px); }
.nav-burger span:nth-child(2) { top: calc(50% + 4px); }
.nav-burger.is-open span:nth-child(1) { top: 50%; transform: translateX(-50%) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { top: 50%; transform: translateX(-50%) rotate(-45deg); }

/* ═══ MOBILE MENU ═══════════════════════════════════════ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(247, 244, 236, 0.9);
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  display: flex; flex-direction: column; justify-content: center; gap: 3rem;
  padding: var(--pad); visibility: hidden; opacity: 0;
}
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.9rem 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em;
}
.menu-num { color: var(--amber-ink); }
.menu-footer { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ═══ HERO ══════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--pad) 5.5rem; overflow: hidden;
  z-index: 1;
}
#keyCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 74% 38%, rgba(255, 171, 0, 0.16), transparent 70%),
    radial-gradient(80% 55% at 50% 115%, rgba(255, 122, 0, 0.1), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; max-width: 74rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem; color: var(--amber-ink);
  margin-bottom: 1.6rem; padding: 0.5rem 1rem;
  background: var(--glass); border: 1px solid rgba(255, 171, 0, 0.35); border-radius: 999px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 24px var(--glow-soft);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-deep); animation: pulse-a 2s infinite; }
@keyframes pulse-a {
  0%, 100% { box-shadow: 0 0 0 0 var(--glow); }
  60% { box-shadow: 0 0 0 9px rgba(255, 171, 0, 0); }
}
.hero-title {
  font-size: clamp(2.9rem, 10.5vw, 8.6rem);
  font-weight: 900; line-height: 0.95; letter-spacing: -0.03em;
  text-transform: uppercase; margin-bottom: 1.8rem;
}
.hero-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-line-outline span {
  color: transparent;
  -webkit-text-stroke: 2px var(--amber-deep);
}
.hero-line-outline {
  filter: drop-shadow(0 0 22px var(--glow-soft));
}
.hero-title .char { display: inline-block; will-change: transform; }
.hero-sub { max-width: 34rem; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin-bottom: 2.4rem; }
.hero-sub em { color: var(--ink); font-size: 1.06em; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.2rem; }
.hero-stats { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap; }
.hstat { display: flex; flex-direction: column; gap: 0.2rem; }
.hstat-num { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.hstat-num small { font-size: 0.55em; color: var(--amber-deep); font-weight: 700; margin-left: 0.15em; }
.hstat-label { color: var(--muted); }
.hero-bottom {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 1.6rem; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: var(--muted);
}
.scroll-line { flex: none; width: 1px; height: 3rem; background: var(--line); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; inset: 0; background: var(--amber-deep);
  box-shadow: 0 0 12px var(--glow);
  animation: scrollhint 2.2s var(--ease-io) infinite;
}
@keyframes scrollhint {
  0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); }
}
@media (max-width: 700px) {
  .hero-bottom span:last-child { display: none; }
  .hero-title { font-size: clamp(2.2rem, 8.6vw, 3.4rem); }
}

/* ═══ MARQUEE ═══════════════════════════════════════════ */
.marquee {
  position: relative; z-index: 4;
  background: linear-gradient(100deg, var(--amber), var(--amber-deep));
  color: #1c1204;
  transform: rotate(-1.5deg) scale(1.02);
  margin: -1.2rem 0 0; padding: 0.9rem 0;
  overflow: hidden; white-space: nowrap;
  box-shadow: 0 18px 60px -18px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-track span {
  font-weight: 900; font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  letter-spacing: 0.02em; text-transform: uppercase; padding-right: 0.5rem;
}
.marquee-track i { font-style: normal; margin: 0 0.7rem; }

/* ═══ SECTION SHARED ════════════════════════════════════ */
section { padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--amber-ink); margin-bottom: 1.1rem;
}
.section-tag::before {
  content: ""; width: 2rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep));
  box-shadow: 0 0 10px var(--glow);
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900;
  letter-spacing: -0.025em; line-height: 1.02; text-transform: uppercase;
}
.section-title > span { display: block; overflow: hidden; padding-bottom: 0.08em; }
.section-title .char { display: inline-block; }
.section-sub { color: var(--muted); margin-top: 1.1rem; max-width: 36rem; }
.word { display: inline-block; white-space: nowrap; }

/* ═══ STORY ═════════════════════════════════════════════ */
.story { height: 420vh; padding: 0; position: relative; }
.story-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 6.5rem var(--pad) 3rem; overflow: hidden;
}
.story-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(255, 171, 0, 0.12), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #fdf6e3 50%, var(--bg) 100%);
}
.story-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.story-head .section-tag { margin: 0; }
.story-stage { position: relative; flex: 1; display: flex; align-items: center; }
.story-scene {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 1.1rem;
  max-width: 52rem;
  opacity: 0; visibility: hidden;
  transform: translateY(40px);
  filter: blur(6px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out),
              filter 0.55s var(--ease-out), visibility 0s 0.55s;
}
.story-scene.is-active {
  opacity: 1; visibility: visible; transform: none; filter: none;
  transition: opacity 0.55s var(--ease-out) 0.1s, transform 0.55s var(--ease-out) 0.1s,
              filter 0.55s var(--ease-out) 0.1s, visibility 0s;
}
.story-time {
  font-size: clamp(3.2rem, 9vw, 7rem); font-weight: 700;
  color: transparent; -webkit-text-stroke: 2px var(--amber-deep);
  letter-spacing: 0.04em; line-height: 1;
  filter: drop-shadow(0 0 26px var(--glow));
}
.story-title { font-size: clamp(1.9rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; }
.story-scene p { color: var(--muted); max-width: 33rem; font-size: clamp(1rem, 1.4vw, 1.15rem); }
/* static fallback: no JS or reduced motion (html.js absent) */
html:not(.js) .story { height: auto; }
html:not(.js) .story-pin { position: static; height: auto; gap: 2.5rem; }
html:not(.js) .story-stage { display: block; }
html:not(.js) .story-scene {
  position: static; opacity: 1; visibility: visible; transform: none; filter: none;
  margin-bottom: 3.5rem;
}
html:not(.js) .story-track, html:not(.js) .story-progress-label { display: none; }
.story-track { position: relative; height: 2px; background: var(--line); border-radius: 2px; }
.story-track-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep));
  box-shadow: 0 0 14px var(--glow);
  border-radius: 2px;
  transform-origin: left; transform: scaleX(0);
}
.story-ticks { position: absolute; inset: -4px 0; display: flex; justify-content: space-between; }
.story-ticks i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow-card); }

/* ═══ SERVICES ══════════════════════════════════════════ */
.service-list { border-top: 1px solid var(--line); }
.service-row { position: relative; border-bottom: 1px solid var(--line); }
.service-row::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(255, 171, 0, 0.1), rgba(255, 253, 248, 0.85) 60%);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s var(--ease-out);
}
.service-row:hover::before, .service-row.is-open::before { transform: scaleY(1); }
.service-head {
  position: relative; z-index: 1; width: 100%;
  display: grid; grid-template-columns: 4rem 1fr auto 3rem;
  align-items: center; gap: 1.2rem; text-align: left;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(0.5rem, 2vw, 1.5rem);
}
.service-num { color: var(--amber-ink); }
.service-name {
  font-size: clamp(1.5rem, 4.5vw, 3.2rem); font-weight: 900;
  letter-spacing: -0.02em; text-transform: uppercase; line-height: 1;
  transition: transform 0.5s var(--ease-out), color 0.3s, text-shadow 0.3s;
}
.service-row:hover .service-name {
  transform: translateX(0.6rem); color: var(--amber-deep);
  text-shadow: 0 0 30px var(--glow-soft);
}
.service-price { color: var(--muted); }
.service-toggle {
  position: relative; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line);
  border-radius: 50%; justify-self: end; background: var(--bg-2);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.35s, border-color 0.35s;
}
.service-row:hover .service-toggle { border-color: rgba(255, 171, 0, 0.5); box-shadow: 0 0 20px var(--glow-soft); }
.service-toggle::before, .service-toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--ink);
  transition: transform 0.45s var(--ease-out);
}
.service-toggle::before { width: 0.9rem; height: 1.5px; transform: translate(-50%, -50%); }
.service-toggle::after { width: 1.5px; height: 0.9rem; transform: translate(-50%, -50%); }
.service-row.is-open .service-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.service-body {
  position: relative; z-index: 1;
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out);
}
.service-row.is-open .service-body { grid-template-rows: 1fr; }
.service-body-inner {
  overflow: hidden; min-height: 0;
  display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start;
  max-width: 40rem;
  padding: 0 clamp(0.5rem, 2vw, 1.5rem);
}
.service-row.is-open .service-body-inner { padding-bottom: 2.2rem; }
.service-body p { color: var(--muted); }
.service-body strong { color: var(--ink); }
.service-body ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.service-body li { display: flex; gap: 0.6rem; align-items: baseline; color: var(--ink); font-size: 0.98rem; }
.service-body li::before { content: "✳"; color: var(--amber-deep); font-size: 0.8em; }
.service-visual {
  position: absolute; right: clamp(4rem, 12vw, 12rem); top: 50%; z-index: 2;
  width: clamp(5rem, 9vw, 8.5rem); color: var(--amber-deep);
  filter: drop-shadow(0 0 16px var(--glow));
  opacity: 0; transform: translateY(-50%) rotate(-6deg) scale(0.85);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}
.service-row:hover .service-visual { opacity: 1; transform: translateY(-50%) rotate(0deg) scale(1); }
.service-row.is-open .service-visual { opacity: 0; }
.sv-shackle { animation: shackle 2.4s var(--ease-io) infinite; }
@keyframes shackle { 0%, 60%, 100% { transform: translateY(0); } 75% { transform: translateY(-8px); } }
.sv-spin { animation: svspin 3s linear infinite; transform-origin: 70px 70px; transform-box: view-box; }
@keyframes svspin { to { transform: rotate(360deg); } }
.sv-bolt { animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.sv-pulse { stroke-dasharray: 240; animation: dash 2.6s linear infinite; }
@keyframes dash { from { stroke-dashoffset: 480; } to { stroke-dashoffset: 0; } }
@media (max-width: 900px) {
  .service-visual { display: none; }
  .service-head {
    grid-template-columns: 2rem 1fr 2.4rem;
    grid-template-areas: "num name toggle" "num price toggle";
    gap: 0.3rem 0.7rem;
  }
  .service-num { grid-area: num; }
  .service-name { grid-area: name; font-size: clamp(1.35rem, 6.2vw, 2rem); }
  .service-price { grid-area: price; }
  .service-toggle { grid-area: toggle; width: 2.4rem; height: 2.4rem; }
}

/* ═══ STEPS ═════════════════════════════════════════════ */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.step-card {
  position: relative; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.8rem, 3.5vw, 3rem); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.35s;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 171, 0, 0.45);
  box-shadow: var(--shadow-card), 0 0 40px var(--glow-soft);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: #1c1204; font-size: 0.7rem;
  box-shadow: 0 0 22px var(--glow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  margin-bottom: 2.6rem;
}
.step-card h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 0.7rem; }
.step-card p { color: var(--muted); font-size: 0.98rem; }
.step-line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep));
  box-shadow: 0 0 14px var(--glow);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.step-card:hover .step-line { transform: scaleX(1); }
@media (max-width: 800px) { .steps-grid { grid-template-columns: 1fr; } }

/* ═══ PRICES ════════════════════════════════════════════ */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; perspective: 1200px; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 1.1rem;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d; will-change: transform;
  transition: border-color 0.35s, box-shadow 0.5s var(--ease-out);
}
.price-card:hover {
  border-color: rgba(255, 171, 0, 0.5);
  box-shadow: var(--shadow-card), 0 0 46px var(--glow-soft);
}
.price-card.is-featured {
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    linear-gradient(135deg, var(--amber), var(--amber-deep)) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-card), 0 0 50px var(--glow-soft);
}
.price-flag {
  position: absolute; top: -0.7rem; left: 1.4rem;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: #1c1204; padding: 0.25rem 0.7rem; border-radius: 999px;
  font-size: 0.58rem; box-shadow: 0 4px 16px -4px var(--glow);
}
.price-tag { color: var(--muted); }
.price-value { font-size: clamp(2.3rem, 3.5vw, 3.1rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.price-value small { font-size: 0.5em; color: var(--amber-deep); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.price-card li { display: flex; gap: 0.55rem; align-items: baseline; color: var(--muted); font-size: 0.92rem; }
.price-card li::before { content: "→"; color: var(--amber-deep); font-size: 0.8em; }
.price-card .btn { align-self: flex-start; }
.price-note { color: var(--muted); margin-top: 1.6rem; }
@media (max-width: 1100px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }

/* ═══ AREA / RADAR ══════════════════════════════════════ */
.area-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.area-map { max-width: 34rem; width: 100%; margin-inline: auto; }
.radar {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 171, 0, 0.12) 0%, rgba(255, 171, 0, 0.04) 45%, transparent 70%),
    var(--bg-2);
  border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 70px var(--glow-soft);
}
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 138, 0, 0.35), transparent 18%);
  animation: sweep 5s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-rings i {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border: 1px dashed rgba(23, 21, 15, 0.15); border-radius: 50%;
}
.radar-rings i:nth-child(1) { width: 33%; height: 33%; }
.radar-rings i:nth-child(2) { width: 62%; height: 62%; }
.radar-rings i:nth-child(3) { width: 88%; height: 88%; }
.radar-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.radar-center span {
  display: block; width: 14px; height: 14px; border-radius: 50%;
  background: var(--amber-deep); box-shadow: 0 0 24px var(--glow);
  animation: pulse-a 2s infinite;
}
.radar-dot { position: absolute; top: var(--y); left: var(--x); }
.radar-dot::before {
  content: ""; display: block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink); opacity: 0.7;
  animation: ping 5s linear infinite; animation-delay: var(--d);
}
@keyframes ping {
  0%, 8% { box-shadow: 0 0 0 0 var(--glow); background: var(--amber-deep); }
  18% { box-shadow: 0 0 0 12px rgba(255, 171, 0, 0); }
  30%, 100% { box-shadow: 0 0 0 0 rgba(255, 171, 0, 0); background: var(--ink); }
}
.radar-dot b {
  position: absolute; top: -0.35rem; left: 1rem;
  font-family: var(--font-mono); font-weight: 400; font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.radar-radius { position: absolute; bottom: 7%; left: 50%; transform: translateX(-50%); color: var(--muted); }
.area-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 2.2rem; }
.area-tags span {
  padding: 0.45rem 0.95rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.85rem; color: var(--muted); background: var(--glass);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color 0.3s, color 0.3s, box-shadow 0.35s, transform 0.3s var(--ease-out);
}
.area-tags span:hover {
  border-color: var(--amber); color: var(--ink);
  transform: translateY(-2px); box-shadow: 0 0 18px var(--glow-soft);
}
.area-tags .is-accent { border-color: var(--amber); color: var(--amber-ink); box-shadow: 0 0 18px var(--glow-soft); }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } }

/* ═══ REVIEWS ═══════════════════════════════════════════ */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; perspective: 1200px; }
.review-card {
  display: flex; flex-direction: column; gap: 1.1rem;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow 0.5s var(--ease-out), border-color 0.35s;
}
.review-card:hover {
  border-color: rgba(255, 171, 0, 0.45);
  box-shadow: var(--shadow-card), 0 0 40px var(--glow-soft);
}
.review-stars { color: var(--amber-deep); letter-spacing: 0.2em; text-shadow: 0 0 14px var(--glow-soft); }
.review-card blockquote { color: var(--ink); font-size: 1.02rem; line-height: 1.55; flex: 1; }
.review-card figcaption { display: flex; align-items: center; gap: 0.8rem; }
.review-avatar {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: #1c1204; font-weight: 800;
  box-shadow: 0 0 18px var(--glow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.review-card figcaption div { display: flex; flex-direction: column; gap: 0.1rem; }
.review-card figcaption .mono { color: var(--muted); font-size: 0.58rem; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }

/* ═══ FAQ ═══════════════════════════════════════════════ */
.faq-list { max-width: 52rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 0.3rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 700; letter-spacing: -0.01em;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--amber-deep); }
.faq-icon {
  position: relative; width: 2.2rem; height: 2.2rem; flex: none;
  border: 1px solid var(--line); border-radius: 50%; background: var(--bg-2);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.35s, border-color 0.35s;
}
.faq-item summary:hover .faq-icon { border-color: rgba(255, 171, 0, 0.5); box-shadow: 0 0 18px var(--glow-soft); }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--amber-deep);
  transition: transform 0.4s var(--ease-out);
}
.faq-icon::before { width: 0.8rem; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 0.8rem; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item p { padding: 0 0.3rem 1.6rem; color: var(--muted); max-width: 44rem; }

/* ═══ CONTACT ═══════════════════════════════════════════ */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 50% 0%, rgba(255, 171, 0, 0.14), transparent 70%);
}
.contact-head { position: relative; text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.contact-head .section-tag { justify-content: center; }
.contact-head .section-tag::before { display: none; }
.contact-title {
  font-size: clamp(2.6rem, 8vw, 6.5rem); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.contact-title > span { display: block; overflow: hidden; padding-bottom: 0.08em; }
.contact-title .char { display: inline-block; }
.contact-phone {
  display: inline-block; position: relative;
  font-size: clamp(1.5rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.01em;
  background: linear-gradient(120deg, var(--amber-deep), var(--amber) 50%, var(--amber-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 22px var(--glow));
  transition: transform 0.4s var(--ease-out);
}
.contact-phone::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.1em; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-deep));
  box-shadow: 0 0 16px var(--glow);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.contact-phone:hover { transform: scale(1.03); }
.contact-phone:hover::after { transform: scaleX(1); transform-origin: left; }
.contact-sub { color: var(--muted); margin-top: 1.1rem; }
.contact-grid {
  position: relative; display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 4vw, 4rem); max-width: 68rem; margin-inline: auto;
}
.contact-form {
  display: flex; flex-direction: column; gap: 1.2rem;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field .mono { color: var(--muted); font-size: 0.6rem; }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 0.7rem;
  color: var(--ink); font: inherit; padding: 0.9rem 1.1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%; resize: vertical;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ff7a00' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; }
.field input::placeholder, .field textarea::placeholder { color: rgba(111, 106, 92, 0.55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 4px var(--glow-soft), 0 0 24px var(--glow-soft);
}
.form-hint { color: var(--muted); text-align: center; }
.contact-aside { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-tile {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.4rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.35s, transform 0.45s var(--ease-out), box-shadow 0.5s;
}
.contact-tile:hover {
  border-color: rgba(255, 171, 0, 0.5); transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 36px var(--glow-soft);
}
.contact-tile > .mono { color: var(--amber-ink); }
.contact-tile a { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.contact-tile p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ═══ FOOTER ════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) var(--pad) 2rem; overflow: hidden; }
.footer-word {
  font-size: clamp(2rem, 7.6vw, 7rem); font-weight: 900; line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.03em; text-align: center;
  color: transparent; -webkit-text-stroke: 1.5px rgba(23, 21, 15, 0.18);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  user-select: none; overflow: hidden;
}
.footer-word .char { display: inline-block; transition: color 0.3s, text-shadow 0.3s; }
.footer-word:hover .char {
  color: var(--amber); text-shadow: 0 0 34px var(--glow);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem; margin-bottom: 3rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.65rem; align-items: flex-start; }
.footer-brand p { color: var(--muted); }
.footer-clock { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); margin-top: 0.6rem; }
.footer-h { color: var(--amber-ink); margin-bottom: 0.4rem; }
.footer-col a { color: var(--muted); font-size: 0.95rem; transition: color 0.3s, transform 0.3s var(--ease-out); }
.footer-col a:hover { color: var(--ink); transform: translateX(4px); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--muted);
}
.footer-bottom a:hover { color: var(--amber-deep); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ═══ FLOATING CTA (mobile) ═════════════════════════════ */
.float-cta {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80;
  display: none; gap: 0.7rem;
  transform: translateY(140%); transition: transform 0.5s var(--ease-out);
}
.float-cta.is-visible { transform: none; }
.float-cta .btn { flex: 1; justify-content: center; }
@media (max-width: 820px) {
  .nav-links, .nav-clock, .btn-nav { display: none; }
  .nav-burger { display: block; }
  .float-cta { display: flex; }
}

/* ═══ REVEAL DEFAULTS (JS enhances) ═════════════════════ */
.js [data-reveal] { opacity: 0; transform: translateY(34px); }
.js [data-hero-fade] { opacity: 0; }
.js .hero-title .char { transform: translateY(115%); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal], .js [data-hero-fade] { opacity: 1; transform: none; }
  .js .hero-title .char { transform: none; }
  .aurora { display: none; }
}
