/* ============================================================
   CONTALIA — Despacho contable para empresas
   Design system. Deep navy canvas, blue to violet gradient,
   layered-glass motif derived from the logo icon.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg-950: #060a18;
  --bg-900: #0b1024;
  --bg-850: #0e1530;
  --bg-800: #121a3a;
  --line:   rgba(149, 165, 226, 0.14);
  --line-strong: rgba(149, 165, 226, 0.28);

  /* Brand */
  --blue:   #3d5afe;
  --blue-bright: #5a78ff;
  --violet: #7c4dff;
  --violet-soft: #9a78ff;
  --grad:   linear-gradient(115deg, #3d5afe 0%, #6b5bff 50%, #7c4dff 100%);
  --grad-soft: linear-gradient(115deg, #5a78ff 0%, #9a78ff 100%);

  /* Text */
  --white:  #ffffff;
  --ink-100: #eef1fb;
  --ink-300: #c3cae6;
  --ink-400: #9aa3c7;
  --ink-500: #717aa3;
  --ink-600: #525a82;

  /* Glow */
  --glow-blue: rgba(61, 90, 254, 0.55);
  --glow-violet: rgba(124, 77, 255, 0.45);

  /* Type */
  --f-logo: "Poppins", -apple-system, system-ui, sans-serif;
  --f-head: "Sora", -apple-system, system-ui, sans-serif;
  --f-body: "Hanken Grotesk", -apple-system, system-ui, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 26px;

  /* Shadow (color-tinted, layered) */
  --shadow-1: 0 1px 0 rgba(255,255,255,0.04) inset, 0 18px 40px -24px rgba(8,12,30,0.9);
  --shadow-glow: 0 30px 80px -40px rgba(61,90,254,0.6);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  background: var(--bg-900);
  color: var(--ink-300);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: auto;
}

/* Atmospheric base: layered radial blooms + faint grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 45% at 82% 4%, rgba(124,77,255,0.12), transparent 60%),
    radial-gradient(50% 40% at 10% 24%, rgba(61,90,254,0.10), transparent 60%),
    radial-gradient(70% 55% at 50% 112%, rgba(90,120,255,0.07), transparent 60%),
    var(--bg-900);
}
/* Grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  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.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--white); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.h-display { font-size: clamp(2.7rem, 7.2vw, 5.6rem); font-weight: 800; line-height: 0.98; }
.h-section { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
.h-sub     { font-size: clamp(1.3rem, 2.4vw, 1.85rem); font-weight: 600; letter-spacing: -0.02em; }

.eyebrow {
  font-family: var(--f-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--grad-soft);
  display: inline-block;
}
.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-300); line-height: 1.6; }
.muted { color: var(--ink-400); }
.grad-text {
  background: var(--grad-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; padding-block: clamp(72px, 11vw, 150px); }
.section-num {
  font-family: var(--f-head);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--ink-500);
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 16px 26px;
  border-radius: 100px;
  min-height: 52px;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  will-change: transform;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  color: #fff;
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: 0 14px 34px -14px rgba(98,90,255,0.8), 0 0 0 1px rgba(154,120,255,0.25) inset;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 48px -16px rgba(98,90,255,0.95), 0 0 0 1px rgba(154,120,255,0.4) inset; background-position: 100% 0; }
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
  color: var(--ink-100);
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--violet-soft); color: #fff; background: rgba(124,77,255,0.08); }

/* ---------- Cursor glow (reused element) ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 460px; height: 460px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124,77,255,0.16), rgba(61,90,254,0.08) 38%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  mix-blend-mode: screen;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow.on { opacity: 1; } }

/* ============================================================
   TOP BAR + MENU side panel (reused minimalist nav)
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(8,12,28,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: 12px;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo svg { width: 34px; height: 34px; display: block; }
.logo .wordmark {
  font-family: var(--f-logo);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1;
}

.nav-cta { display: inline-flex; align-items: center; gap: 14px; }

/* Menu trigger */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-head);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-100);
}
.menu-btn .bars { display: inline-flex; flex-direction: column; gap: 4px; width: 22px; }
.menu-btn .bars span { height: 1.6px; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--ease), width 0.4s var(--ease), opacity 0.3s; }
.menu-btn .bars span:nth-child(1) { width: 22px; }
.menu-btn .bars span:nth-child(2) { width: 15px; align-self: flex-end; }
.menu-btn:hover .bars span:nth-child(2) { width: 22px; }

/* Side panel */
.menu-panel {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(440px, 90vw);
  background: linear-gradient(180deg, var(--bg-850), var(--bg-950));
  border-left: 1px solid var(--line);
  z-index: 80;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 34px 40px;
  box-shadow: -40px 0 80px -40px rgba(0,0,0,0.8);
}
.menu-panel.open { transform: translateX(0); }
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(4,7,18,0.6);
  backdrop-filter: blur(3px);
  z-index: 70;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.menu-close { font-family: var(--f-head); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-400); display: inline-flex; gap: 9px; align-items: center; transition: color 0.3s; }
.menu-close:hover { color: #fff; }
.menu-close span { font-size: 1.2rem; line-height: 1; }
.menu-nav { display: flex; flex-direction: column; gap: 4px; }
.menu-nav a {
  font-family: var(--f-head);
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-300);
  padding: 9px 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}
.menu-nav a .idx { font-size: 0.7rem; color: var(--ink-600); font-weight: 600; letter-spacing: 0.1em; }
.menu-nav a:hover { color: #fff; transform: translateX(8px); }
.menu-foot { margin-top: auto; padding-top: 30px; border-top: 1px solid var(--line); color: var(--ink-400); font-size: 0.9rem; }
.menu-foot a:hover { color: var(--violet-soft); }
.menu-foot .mf-row { margin-bottom: 8px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(130px, 18vh, 200px); padding-bottom: clamp(60px, 8vw, 110px); min-height: 100svh; display: flex; align-items: center; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  width: 100%;
}
.hero h1 { margin: 22px 0 0; max-width: 14ch; }
.hero .lead { margin-top: 26px; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 40px; }
.hero-trust .ht { display: flex; flex-direction: column; gap: 2px; }
.hero-trust .ht b { font-family: var(--f-head); font-size: 1.7rem; color: #fff; font-weight: 700; letter-spacing: -0.02em; }
.hero-trust .ht span { font-size: 0.84rem; color: var(--ink-400); }

/* Hero visual: layered glass slabs (logo motif) */
.hero-visual { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; }
.stack { position: relative; width: min(420px, 80%); aspect-ratio: 1/1; transform-style: preserve-3d; }
.slab {
  position: absolute;
  left: 50%; top: 50%;
  width: 78%; height: 46%;
  border-radius: 22px;
  transform: translate(-50%, -50%) rotate(-14deg) skewX(-12deg);
  border: 1px solid rgba(154,170,255,0.25);
  background: linear-gradient(135deg, rgba(124,77,255,0.16), rgba(61,90,254,0.05));
  backdrop-filter: blur(4px);
  box-shadow: 0 30px 60px -30px rgba(61,90,254,0.5);
}
.slab.s1 { transform: translate(-58%, -86%) rotate(-14deg) skewX(-12deg); background: var(--grad); border-color: rgba(180,160,255,0.5); box-shadow: 0 30px 70px -24px rgba(124,77,255,0.75); }
.slab.s2 { transform: translate(-50%, -50%) rotate(-14deg) skewX(-12deg); background: linear-gradient(135deg, rgba(124,77,255,0.22), rgba(61,90,254,0.08)); }
.slab.s3 { transform: translate(-42%, -14%) rotate(-14deg) skewX(-12deg); background: linear-gradient(135deg, rgba(238,241,251,0.92), rgba(195,202,230,0.7)); border-color: rgba(255,255,255,0.6); box-shadow: 0 26px 60px -28px rgba(8,12,30,0.8); }
.stack .halo {
  position: absolute; inset: -16% -10%;
  background: radial-gradient(circle at 60% 40%, var(--glow-violet), transparent 62%), radial-gradient(circle at 30% 70%, var(--glow-blue), transparent 60%);
  filter: blur(8px);
  z-index: -1;
}
/* Floating mini chips on the stack */
.chip {
  position: absolute;
  font-family: var(--f-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-100);
  padding: 8px 13px;
  border-radius: 100px;
  background: rgba(12,18,42,0.85);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-1);
  display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-soft); display: inline-block; }
.chip.c1 { top: 6%; right: -4%; }
.chip.c2 { bottom: 14%; left: -8%; }
.chip.c3 { bottom: -2%; right: 8%; }

/* When a real hero image is available it layers behind the stack */
.hero-img { position: absolute; inset: 0; object-fit: contain; opacity: 0.9; z-index: -1; pointer-events: none; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { padding-block: clamp(26px, 4vw, 46px); border-block: 1px solid var(--line); overflow: hidden; }
.marquee-track { display: flex; gap: 0; white-space: nowrap; width: max-content; will-change: transform; }
.marquee-track span {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.4vw, 3.2rem);
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(149,165,226,0.32);
  padding-inline: 28px;
  display: inline-flex; align-items: center; gap: 28px;
}
.marquee-track span::after { content: "•"; color: var(--violet); -webkit-text-stroke: 0; }
.marquee-track .filled { color: var(--ink-100); -webkit-text-stroke: 0; }

/* ============================================================
   PAIN
   ============================================================ */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .h-section { margin-top: 16px; }
.section-head p { margin-top: 18px; }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain-card {
  position: relative;
  padding: 34px 30px 38px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18,26,58,0.6), rgba(11,16,36,0.4));
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.pain-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0, rgba(124,77,255,0.12), transparent 60%); opacity: 0; transition: opacity 0.5s var(--ease); }
.pain-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.pain-card:hover::before { opacity: 1; }
.pain-tag { font-family: var(--f-head); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-soft); }
.pain-card h3 { font-size: 1.32rem; font-weight: 600; margin: 16px 0 12px; line-height: 1.2; color: var(--white); }
.pain-card p { font-size: 0.98rem; color: var(--ink-400); line-height: 1.6; }
.pain-card .glyph {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(124,77,255,0.1);
  border: 1px solid var(--line-strong);
  margin-bottom: 22px;
  color: var(--violet-soft);
}
.pain-card .glyph svg { width: 22px; height: 22px; }

/* ============================================================
   SOLUTION
   ============================================================ */
.solution-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.solution-visual { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, var(--bg-850), var(--bg-950)); display: grid; place-items: center; }
.solution-visual img { width: 100%; height: 100%; object-fit: cover; }
.solution-visual .placeholder-art { position: absolute; inset: 0; background: radial-gradient(60% 60% at 65% 35%, rgba(124,77,255,0.3), transparent 60%), radial-gradient(50% 50% at 30% 70%, rgba(61,90,254,0.3), transparent 60%); }
.sol-list { display: flex; flex-direction: column; gap: 6px; margin-top: 30px; }
.sol-list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sol-list li:last-child { border-bottom: none; }
.sol-list .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin-top: 2px; box-shadow: 0 6px 16px -6px rgba(124,77,255,0.7); }
.sol-list .tick svg { width: 13px; height: 13px; }
.sol-list p { color: var(--ink-300); font-size: 1.02rem; }
.sol-note { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--ink-400); }
.sol-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #46e3a0; box-shadow: 0 0 12px #46e3a0; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-card {
  position: relative;
  padding: 36px 34px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18,26,58,0.55), rgba(11,16,36,0.35));
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.svc-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--grad); transition: width 0.6s var(--ease); }
.svc-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.svc-card:hover::after { width: 100%; }
.svc-num { font-family: var(--f-head); font-size: 0.78rem; color: var(--ink-500); font-weight: 600; letter-spacing: 0.1em; }
.svc-card h3 { font-size: 1.5rem; font-weight: 600; margin: 18px 0 12px; color: var(--white); }
.svc-card p { color: var(--ink-400); font-size: 1rem; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.svc-tags span { font-family: var(--f-head); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-300); padding: 6px 13px; border-radius: 100px; border: 1px solid var(--line-strong); background: rgba(124,77,255,0.06); }
.svc-card .svc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 14px 30px -14px rgba(124,77,255,0.8); }
.svc-card .svc-icon svg { width: 25px; height: 25px; }
.svc-head { display: flex; justify-content: space-between; align-items: flex-start; }

/* ============================================================
   STATS (count up)
   ============================================================ */
.stats { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(124,77,255,0.05), transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat .num { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .num .suffix { font-size: 0.5em; -webkit-text-fill-color: var(--violet-soft); }
.stat .label { margin-top: 14px; color: var(--ink-400); font-size: 0.95rem; }

/* ============================================================
   HOW IT WORKS (pinned)
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 38px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(18,26,58,0.5), rgba(11,16,36,0.3)); }
.step .step-no { font-family: var(--f-head); font-size: 3.4rem; font-weight: 800; line-height: 1; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.85; }
.step h3 { font-size: 1.35rem; font-weight: 600; margin: 18px 0 12px; color: var(--white); }
.step p { color: var(--ink-400); font-size: 0.98rem; }
.steps-line { position: absolute; top: 64px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); z-index: -1; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 940px; margin-inline: auto; }
.price-card {
  position: relative;
  padding: 42px 38px 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18,26,58,0.6), rgba(11,16,36,0.4));
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-850), var(--bg-850)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-glow);
}
.price-badge { position: absolute; top: -13px; left: 38px; font-family: var(--f-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; padding: 7px 16px; border-radius: 100px; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(124,77,255,0.9); }
.price-name { font-family: var(--f-head); font-size: 1.15rem; font-weight: 600; color: var(--violet-soft); letter-spacing: 0.02em; }
.price-amt { display: flex; align-items: flex-start; gap: 4px; margin: 18px 0 4px; }
.price-amt .cur { font-family: var(--f-head); font-size: 1.4rem; font-weight: 600; color: var(--ink-300); margin-top: 12px; }
.price-amt .val { font-family: var(--f-head); font-size: clamp(3rem, 7vw, 4.2rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.03em; }
.price-amt .per { color: var(--ink-400); font-size: 0.95rem; align-self: flex-end; margin-bottom: 10px; }
.price-desc { color: var(--ink-400); font-size: 0.98rem; min-height: 3.2em; margin-bottom: 24px; }
.price-incl { font-family: var(--f-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 16px; }
.price-list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; }
.price-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-300); font-size: 0.98rem; }
.price-list .tick { flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(124,77,255,0.18); border: 1px solid var(--line-strong); display: grid; place-items: center; margin-top: 3px; }
.price-list .tick svg { width: 11px; height: 11px; color: var(--violet-soft); }
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }
.price-note { text-align: center; margin-top: 30px; color: var(--ink-400); font-size: 0.96rem; }
.price-note a { color: var(--violet-soft); border-bottom: 1px solid currentColor; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst-card { padding: 34px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(18,26,58,0.5), rgba(11,16,36,0.3)); display: flex; flex-direction: column; }
.tst-stars { display: flex; gap: 3px; margin-bottom: 18px; color: #ffc24b; }
.tst-stars svg { width: 17px; height: 17px; }
.tst-card blockquote { font-size: 1.08rem; color: var(--ink-100); line-height: 1.55; font-weight: 400; }
.tst-author { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.tst-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; color: #fff; font-size: 1rem; flex: none; }
.tst-author .who b { display: block; font-family: var(--f-head); color: var(--white); font-weight: 600; font-size: 0.98rem; }
.tst-author .who span { font-size: 0.85rem; color: var(--ink-400); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 70px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 26px 0; font-family: var(--f-head); font-size: 1.12rem; font-weight: 600; color: var(--ink-100); transition: color 0.3s; }
.faq-q:hover { color: #fff; }
.faq-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; position: relative; transition: background 0.4s var(--ease), border-color 0.4s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--violet-soft); border-radius: 2px; transition: transform 0.4s var(--ease); }
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item.open .faq-icon { background: var(--grad); border-color: transparent; }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-item.open .faq-icon::after { transform: rotate(90deg) scaleX(0); }
.faq-a { overflow: hidden; height: 0; }
.faq-a-inner { padding: 0 0 26px; color: var(--ink-400); font-size: 1rem; line-height: 1.65; max-width: 60ch; }

/* ============================================================
   FINAL CTA + FORM
   ============================================================ */
.cta { position: relative; overflow: hidden; }
.cta-inner {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(20,28,64,0.85), rgba(11,16,36,0.9));
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
  overflow: hidden;
}
.cta-inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 100% 0, rgba(124,77,255,0.22), transparent 55%), radial-gradient(50% 60% at 0 100%, rgba(61,90,254,0.18), transparent 55%); pointer-events: none; }
.cta-copy { position: relative; }
.cta-copy .h-section { margin: 16px 0 18px; }
.cta-bullets { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.cta-bullets li { display: flex; gap: 11px; align-items: center; color: var(--ink-300); font-size: 0.98rem; }
.cta-bullets .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(124,77,255,0.18); border: 1px solid var(--line-strong); display: grid; place-items: center; }
.cta-bullets .tick svg { width: 11px; height: 11px; color: var(--violet-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: 60px 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 46px; }
.footer-brand { max-width: 340px; }
.footer-brand p { margin-top: 18px; color: var(--ink-400); font-size: 0.95rem; }
.footer-cols { display: flex; gap: clamp(40px, 7vw, 90px); flex-wrap: wrap; }
.footer-col h4 { font-family: var(--f-head); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: var(--ink-300); font-size: 0.95rem; padding: 6px 0; transition: color 0.3s; }
.footer-col a:hover { color: var(--violet-soft); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line); }
.footer-copy { font-size: 0.9rem; color: #a09890; }
.footer-copy a { color: var(--violet-soft); transition: color 0.3s; }
.footer-copy a:hover { color: #fff; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 0.85rem; color: #8a8278; transition: color 0.3s; }
.footer-legal a:hover { color: var(--violet-soft); }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 55; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,0.7); transition: transform 0.4s var(--ease-spring); }
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal defaults (JS-driven) ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
.reveal-ready [data-reveal] { will-change: opacity, transform; }

/* ============================================================
   PHOTO TREATMENTS (Nano Banana Pro imagery)
   ============================================================ */
.hero-visual { aspect-ratio: auto; }
.hero-figure {
  position: relative;
  width: min(440px, 100%);
  margin-inline: auto;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
}
.hero-figure .halo { position: absolute; inset: -14% -10%; z-index: 0; }
.hero-photo {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -40px rgba(8,12,30,0.92), 0 0 0 1px rgba(154,120,255,0.12) inset;
}
.hero-figure::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(11,16,36,0) 45%, rgba(11,16,36,0.5) 100%),
    radial-gradient(80% 55% at 82% 4%, rgba(124,77,255,0.16), transparent 60%);
  pointer-events: none;
}
.hero-figure .chip { z-index: 3; }

.solution-visual img { width: 100%; height: 100%; object-fit: cover; }

/* Stats band with proof photo */
.stats-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.stats-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; box-shadow: var(--shadow-1); }
.stats-figure img { width: 100%; height: 100%; object-fit: cover; }
.stats-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,36,0) 55%, rgba(11,16,36,0.45)); pointer-events: none; }
.stats-2x2 { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; text-align: left; }
.stats-2x2 .stat { text-align: left; }

/* ============================================================
   LIGHT ZONES (rebalance the dark/violet rhythm)
   ============================================================ */
.zone-light {
  background: #eef1f8;
  color: #46506e;
  /* re-theme the shared tokens used by components */
  --white: #0b1024;
  --ink-300: #46506e;
  --ink-400: #6c7596;
  --ink-100: #18213f;
  --line: rgba(11, 16, 36, 0.10);
  --line-strong: rgba(11, 16, 36, 0.16);
}
.zone-light .section-num { color: #9aa1bd; }
.zone-light .eyebrow { color: #6b46e5; }
.zone-light .eyebrow::before { background: var(--grad); }

/* Services on light */
.zone-light .svc-card {
  background: #ffffff;
  border-color: rgba(11, 16, 36, 0.08);
  box-shadow: 0 18px 44px -30px rgba(11, 16, 36, 0.3);
}
.zone-light .svc-card:hover { border-color: rgba(11, 16, 36, 0.16); }
.zone-light .svc-tags span { background: rgba(124, 77, 255, 0.07); color: #46506e; }
.zone-light .svc-num { color: #9aa1bd; }

/* Pricing on light */
.zone-light .price-card {
  background: #ffffff;
  border-color: rgba(11, 16, 36, 0.08);
  box-shadow: 0 18px 44px -30px rgba(11, 16, 36, 0.3);
}
.zone-light .price-card.featured {
  background: linear-gradient(#ffffff, #ffffff) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 34px 80px -42px rgba(124, 77, 255, 0.55);
}
.zone-light .price-name { color: #6b46e5; }
.zone-light .price-amt .val { color: #0b1024; }
.zone-light .price-list .tick { background: rgba(124, 77, 255, 0.12); }
.zone-light .price-list .tick svg { color: #6b46e5; }
.zone-light .btn-ghost { color: #0b1024; border-color: rgba(11, 16, 36, 0.18); background: rgba(11, 16, 36, 0.02); }
.zone-light .btn-ghost:hover { border-color: var(--violet); color: #0b1024; background: rgba(124, 77, 255, 0.07); }
.zone-light .price-note a { color: #6b46e5; }

/* FAQ on light */
.zone-light .faq-q:hover { color: #0b1024; }
.zone-light .faq-icon::before,
.zone-light .faq-icon::after { background: #6b46e5; }

/* Pain cards on light */
.zone-light .pain-card {
  background: #ffffff;
  border-color: rgba(11, 16, 36, 0.08);
  box-shadow: 0 18px 44px -30px rgba(11, 16, 36, 0.3);
}
.zone-light .pain-card:hover { border-color: rgba(11, 16, 36, 0.16); }
.zone-light .pain-card .glyph { background: rgba(124, 77, 255, 0.09); color: #6b46e5; }

/* Process steps on light */
.zone-light .step {
  background: #ffffff;
  border-color: rgba(11, 16, 36, 0.08);
  box-shadow: 0 18px 44px -30px rgba(11, 16, 36, 0.3);
}

/* Testimonials on light */
.zone-light .tst-card {
  background: #ffffff;
  border-color: rgba(11, 16, 36, 0.08);
  box-shadow: 0 18px 44px -30px rgba(11, 16, 36, 0.3);
}

/* ============================================================
   WHATSAPP DEMO
   ============================================================ */
.wa-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.wa-copy .section-head { margin-bottom: 0; }
.wa-bullets { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.wa-bullets li { display: flex; gap: 13px; align-items: center; color: #46506e; font-size: 1rem; }
.wa-bullets .tick { flex: none; width: 26px; height: 26px; border-radius: 8px; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(37, 211, 102, 0.7); }
.wa-bullets .tick svg { width: 14px; height: 14px; }

/* Phone frame */
.wa-phone {
  width: min(380px, 100%);
  margin-inline: auto;
  border-radius: 38px;
  background: #0b141a;
  padding: 12px;
  box-shadow: 0 50px 90px -40px rgba(11, 16, 36, 0.55), 0 0 0 1px rgba(11, 16, 36, 0.08);
}
.wa-screen { border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; height: 560px; }

.wa-header { background: #008069; color: #fff; display: flex; align-items: center; gap: 12px; padding: 14px 16px; flex: none; }
.wa-header .wa-back { font-size: 1.3rem; line-height: 1; opacity: 0.95; }
.wa-avatar { width: 40px; height: 40px; border-radius: 50%; background: #0b1024; display: grid; place-items: center; flex: none; overflow: hidden; }
.wa-avatar svg { width: 24px; height: 24px; }
.wa-id { display: flex; flex-direction: column; line-height: 1.25; }
.wa-id b { font-family: var(--f-head); font-size: 1rem; font-weight: 600; color: #fff; }
.wa-id span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.85); }
.wa-header .wa-actions { margin-left: auto; display: flex; gap: 18px; opacity: 0.92; }
.wa-header .wa-actions svg { width: 19px; height: 19px; }

/* Chat body with dotted pattern */
.wa-body {
  flex: 1;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(11, 20, 26, 0.07) 1.4px, transparent 1.4px);
  background-size: 18px 18px;
  padding: 18px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.wa-body::-webkit-scrollbar { width: 0; }

.wa-msg {
  position: relative;
  max-width: 80%;
  padding: 7px 10px 18px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #111b21;
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(11, 20, 26, 0.13);
  animation: waPop 0.26s var(--ease-spring) both;
}
.wa-msg.in { align-self: flex-start; background: #ffffff; border-radius: 0 8px 8px 8px; }
.wa-msg.out { align-self: flex-end; background: #d9fdd3; border-radius: 8px 0 8px 8px; }
.wa-msg.in::before { content: ""; position: absolute; top: 0; left: -7px; border-top: 8px solid #ffffff; border-left: 7px solid transparent; }
.wa-msg.out::before { content: ""; position: absolute; top: 0; right: -7px; border-top: 8px solid #d9fdd3; border-right: 7px solid transparent; }
.wa-meta { position: absolute; right: 9px; bottom: 5px; display: flex; align-items: center; gap: 3px; font-size: 0.64rem; color: #667781; }
.wa-meta .wa-checks { width: 15px; height: 15px; color: #53bdeb; }
@keyframes waPop { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Typing indicator */
.wa-typing { align-self: flex-start; background: #fff; border-radius: 0 8px 8px 8px; padding: 12px 14px; display: inline-flex; gap: 4px; box-shadow: 0 1px 1px rgba(11,20,26,0.13); animation: waPop 0.26s var(--ease-spring) both; position: relative; }
.wa-typing::before { content: ""; position: absolute; top: 0; left: -7px; border-top: 8px solid #fff; border-left: 7px solid transparent; }
.wa-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa6ad; display: inline-block; animation: waDot 1.2s infinite ease-in-out; }
.wa-typing i:nth-child(2) { animation-delay: 0.2s; }
.wa-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes waDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Input bar */
.wa-input { flex: none; background: #f0f2f5; padding: 8px 12px; display: flex; align-items: center; gap: 10px; }
.wa-input .wa-field { flex: 1; background: #fff; border-radius: 100px; padding: 9px 14px; color: #8696a0; font-size: 0.85rem; }
.wa-input .wa-send { width: 38px; height: 38px; border-radius: 50%; background: #008069; display: grid; place-items: center; flex: none; }
.wa-input .wa-send svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .wa-msg, .wa-typing { animation: none !important; }
  .wa-typing i { animation: none !important; }
  .wa-body { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin-inline: auto; aspect-ratio: auto; }
  .solution-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .svc-grid { gap: 18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .stats-layout { grid-template-columns: 1fr; gap: 36px; }
  .stats-figure { max-width: 520px; }
  .cta-inner { grid-template-columns: 1fr; }
  .wa-grid { grid-template-columns: 1fr; gap: 44px; }
  .wa-copy .section-head { max-width: 640px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .pain-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 18px; }
  .steps-line { display: none; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
  .tst-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-primary { display: none; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero-trust { gap: 18px 26px; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .h-display { font-size: clamp(2.3rem, 11vw, 3rem); }
  .stats-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .price-amt .val { font-size: 3rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .menu-panel { padding: 26px 24px; }
  .wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}

/* ============================================================
   SIMPLE / LEGAL / THANK-YOU PAGES
   ============================================================ */
.doc { padding-top: clamp(130px, 16vh, 180px); padding-bottom: clamp(70px, 10vw, 130px); min-height: 70vh; }
.doc .wrap { max-width: 820px; }
.doc .eyebrow { margin-bottom: 18px; }
.doc h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 14px; }
.doc .updated { color: var(--ink-500); font-size: 0.9rem; margin-bottom: 40px; }
.doc h2 { font-size: 1.4rem; margin: 40px 0 14px; color: #fff; }
.doc h3 { font-size: 1.1rem; margin: 26px 0 10px; color: var(--ink-100); }
.doc p, .doc li { color: var(--ink-300); font-size: 1.02rem; line-height: 1.75; margin-bottom: 14px; }
.doc ul { padding-left: 22px; list-style: disc; }
.doc ul li { margin-bottom: 8px; }
.doc a { color: var(--violet-soft); border-bottom: 1px solid currentColor; }
.doc strong { color: #fff; }
.doc .back { display: inline-flex; align-items: center; gap: 8px; margin-top: 46px; font-family: var(--f-head); font-weight: 600; color: var(--violet-soft); border-bottom: none; }
.doc .back:hover { color: #fff; }

.ty { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; }
.ty-inner { max-width: 640px; }
.ty .badge { width: 84px; height: 84px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin: 0 auto 30px; box-shadow: var(--shadow-glow); }
.ty .badge svg { width: 40px; height: 40px; }
.ty h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: 18px; }
.ty p { color: var(--ink-300); font-size: 1.1rem; margin-bottom: 14px; }
.ty .ty-cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
  .cursor-glow { display: none !important; }
  .float-y, .stack, .slab, .chip { animation: none !important; transform: none; }
}
