/* =============================================================
   Abogados para Emprender — Creamos Empresas en Colombia
   1. Tokens
   ============================================================= */
:root {
  --petrol: #042A2B;
  --petrol-2: #0A3A3C;
  --petrol-3: #114B4D;
  --mustard: #F4E04D;
  --mustard-deep: #E3CD2A;
  --mustard-soft: rgba(244, 224, 77, .16);
  --teal: #5EB1BF;
  --teal-deep: #3E95A3;
  --teal-soft: #E4F2F4;
  --teal-mist: #F1F8F9;
  --white: #FFFFFF;
  --cream: #FAFBF8;
  --ink: #042A2B;
  --ink-soft: #3B5C5D;
  --ink-mute: #6E8A8B;
  --line: rgba(4, 42, 43, .10);
  --line-dark: rgba(255, 255, 255, .10);

  --display: 'Fjalla One', 'Arial Narrow', Impact, sans-serif;
  --sans: 'Pavanam', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1200px;
  --nav-h: 76px;

  --shadow-card: 0 20px 50px -24px rgba(4, 42, 43, .35), 0 2px 6px rgba(4, 42, 43, .06);
  --shadow-card-hover: 0 34px 70px -28px rgba(4, 42, 43, .45), 0 4px 10px rgba(4, 42, 43, .08);
  --shadow-yellow: 0 14px 34px -12px rgba(244, 224, 77, .55);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video, iframe { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
p { text-wrap: pretty; }
ul[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; }
::selection { background: var(--mustard); color: var(--petrol); }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; border-radius: 10px;
  background: var(--mustard); color: var(--petrol); font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-deep); font-weight: 700;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--mustard); border-radius: 2px; }
.eyebrow--light { color: var(--teal); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

.section-head { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.section-head .eyebrow { margin-bottom: .9rem; }
.section-head p { color: var(--ink-soft); margin-top: 1rem; font-size: 1.08rem; }

/* =============================================================
   4. Typography
   ============================================================= */
h1, .h1 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; }
h2, .h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: .005em; }
h3, .h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.55rem); letter-spacing: .01em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); }
.hl { background: linear-gradient(transparent 55%, var(--mustard) 55%); padding-inline: .1em; }
.hl-dark { color: var(--mustard); }

/* =============================================================
   5. Components
   ============================================================= */
/* Buttons */
.btn {
  --btn-bg: var(--mustard);
  --btn-fg: var(--petrol);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 1rem; line-height: 1; letter-spacing: .01em;
  box-shadow: var(--shadow-yellow);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s;
  will-change: transform;
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(244, 224, 77, .7); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.28);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--mustard); background: rgba(244,224,77,.08); }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--petrol); box-shadow: inset 0 0 0 2px var(--petrol); }
.btn--ghost-dark:hover { background: var(--petrol); color: var(--white); box-shadow: inset 0 0 0 2px var(--petrol); }
.btn--petrol { --btn-bg: var(--petrol); --btn-fg: var(--white); box-shadow: 0 14px 34px -14px rgba(4,42,43,.7); }
.btn--petrol:hover { box-shadow: 0 20px 40px -14px rgba(4,42,43,.75); }
.btn--sm { padding: .75rem 1.2rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .7; pointer-events: none; }

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

/* Form fields */
.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 700; color: var(--ink-soft); letter-spacing: .02em; }
.field input, .field textarea, .field select {
  width: 100%; padding: .9rem 1.05rem;
  border-radius: 14px; border: 1.5px solid rgba(4,42,43,.14);
  background: var(--white);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal-deep);
  box-shadow: 0 0 0 4px rgba(94,177,191,.22);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #d0663a; }
.field .hint { font-size: .8rem; color: var(--ink-mute); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--petrol); flex: none; cursor: pointer; }
.check a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-msg { display: none; padding: .9rem 1.1rem; border-radius: 12px; font-size: .95rem; margin-top: 1rem; }
.form-msg.is-error { display: block; background: #FDECE6; color: #8A3416; }
.form-msg.is-ok { display: block; background: #E3F5EA; color: #1B5E3A; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .95rem; border-radius: 999px; font-size: .9rem; font-weight: 700;
  background: rgba(255,255,255,.07); color: var(--white); border: 1px solid var(--line-dark);
  backdrop-filter: blur(6px);
}
.pill svg { width: 18px; height: 18px; color: var(--mustard); }

/* =============================================================
   6. Header / nav
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--petrol);
  transition: box-shadow .4s, background .4s;
}
.site-header.is-scrolled { box-shadow: 0 10px 40px -20px rgba(0,0,0,.7); background: rgba(4,42,43,.94); backdrop-filter: blur(12px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--white); }
.brand img { width: 46px; height: 46px; border-radius: 50%; background: var(--mustard); padding: 2px; }
.brand-name { font-family: var(--display); font-size: 1.1rem; line-height: 1.05; letter-spacing: .02em; }
.brand-name small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.nav-links { display: none; gap: 1.6rem; align-items: center; }
.nav-links a { color: rgba(255,255,255,.82); font-weight: 700; font-size: .95rem; position: relative; padding-block: .3rem; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mustard); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: none; }
.nav-burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--white); background: rgba(255,255,255,.06); }
.nav-burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-burger span + span { margin-top: 5px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 890;
  background: var(--petrol); padding: 1rem var(--gutter) 1.6rem;
  display: grid; gap: .4rem; border-top: 1px solid var(--line-dark);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease-out), opacity .3s;
}
.mobile-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a:not(.btn) { color: var(--white); font-weight: 700; padding: .8rem .4rem; border-bottom: 1px solid var(--line-dark); }
.mobile-menu .btn { margin-top: .8rem; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--petrol); color: var(--white);
  padding-block: clamp(3rem, 7vw, 6rem) clamp(6rem, 12vw, 9rem);
  min-height: calc(100svh - var(--nav-h));
  display: grid; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .glow-1 { position: absolute; width: 60vw; height: 60vw; max-width: 780px; max-height: 780px; right: -14vw; top: -20vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(94,177,191,.45), transparent 62%); filter: blur(30px); }
.hero-bg .glow-2 { position: absolute; width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; left: -12vw; bottom: -10vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,224,77,.22), transparent 62%); filter: blur(30px); }
.hero-bg .grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(2.9rem, 7.2vw, 5.6rem);
  line-height: .98; margin: .9rem 0 1.4rem; max-width: 14ch;
  color: var(--white);
}
.hero-title .accent { color: var(--mustard); display: inline-block; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 56ch; }
.hero-lead strong { color: var(--white); }
.hero-points { display: grid; gap: .8rem; margin: 1.6rem 0 2rem; }
.hero-point { display: flex; gap: .85rem; align-items: flex-start; color: rgba(255,255,255,.9); }
.hero-point .ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--mustard-soft); color: var(--mustard); border: 1px solid rgba(244,224,77,.25); }
.hero-point .ico svg { width: 18px; height: 18px; }
.hero-point strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero-note { margin-top: 1.2rem; font-size: .88rem; color: rgba(255,255,255,.6); display: flex; gap: .5rem; align-items: center; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ED37A; box-shadow: 0 0 0 4px rgba(62,211,122,.2); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(62,211,122,.2);} 50% { box-shadow: 0 0 0 9px rgba(62,211,122,0);} }

.hero-art { position: relative; display: grid; place-items: center; min-height: 340px; }
.hero-blob {
  position: absolute; inset: 6% 4%; z-index: 0;
  background: linear-gradient(135deg, rgba(94,177,191,.55), rgba(94,177,191,.15));
  border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%;
  filter: blur(2px);
  animation: blob 14s ease-in-out infinite alternate;
}
@keyframes blob {
  0% { border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%; transform: rotate(0deg) scale(1); }
  100% { border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%; transform: rotate(8deg) scale(1.04); }
}
.hero-ring { position: absolute; inset: 0; z-index: 0; border-radius: 50%; border: 1.5px dashed rgba(244,224,77,.35); transform: scale(.92); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: scale(.92) rotate(360deg); } }
.hero-img { position: relative; z-index: 1; width: min(100%, 520px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.float-badge {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem 1rem; border-radius: 16px;
  background: rgba(255,255,255,.96); color: var(--petrol);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  font-size: .9rem; line-height: 1.15; font-weight: 700;
  animation: floaty 6s ease-in-out infinite;
}
.float-badge .num { font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--petrol); }
.float-badge .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--mustard); color: var(--petrol); flex: none; }
.float-badge .ico svg { width: 20px; height: 20px; }
.float-badge small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .78rem; }
.float-badge--a { top: 6%; left: -2%; }
.float-badge--b { bottom: 10%; right: -2%; animation-delay: -3s; }
.float-badge--c { top: 48%; right: -6%; animation-delay: -1.5s; display: none; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 1; }
.wave svg { width: 100%; height: clamp(50px, 8vw, 110px); }

/* Trust strip under hero */
.trust { background: var(--teal-soft); padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 2.2rem; align-items: center; }
.trust-item { display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--ink-soft); font-size: .95rem; }
.trust-item svg { width: 20px; height: 20px; color: var(--teal-deep); }

/* =============================================================
   8. Services
   ============================================================= */
.services { background: linear-gradient(180deg, var(--teal-mist), var(--white) 70%); overflow: clip; }
.services::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 60%;
  background: radial-gradient(50% 50% at 50% 0%, rgba(94,177,191,.22), transparent 70%);
  pointer-events: none;
}
.services-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.service-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; gap: 1rem;
  padding: 1.6rem 1.6rem 1.7rem;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.service-card:hover { box-shadow: var(--shadow-card-hover); }
.service-card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--mustard), var(--teal));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }
.service-art {
  height: 190px; display: grid; place-items: center; position: relative;
  border-radius: var(--radius-sm);
  background: radial-gradient(60% 70% at 50% 60%, var(--mustard-soft), transparent 75%);
}
.service-art img { max-height: 170px; width: auto; transition: transform .7s var(--ease-out); filter: drop-shadow(0 14px 18px rgba(4,42,43,.16)); }
.service-card:hover .service-art img { transform: translateY(-6px) scale(1.04); }
.service-num { position: absolute; top: 1.1rem; right: 1.2rem; font-family: var(--display); font-size: .95rem; color: var(--teal-deep); opacity: .8; letter-spacing: .08em; }
.service-card h3 { margin-bottom: .45rem; }
.service-card p { color: var(--ink-soft); font-size: .98rem; }
.service-card .btn { justify-self: start; }

/* =============================================================
   9. Quote band
   ============================================================= */
.quote-band { position: relative; background: var(--petrol); color: var(--white); overflow: clip; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.quote-band .container { position: relative; z-index: 1; text-align: center; }
.quote-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); max-width: 22ch; margin-inline: auto; line-height: 1.12; }
.quote-band .mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mustard); color: var(--petrol); margin-bottom: 1.4rem; box-shadow: var(--shadow-yellow); }
.quote-band .mark svg { width: 30px; height: 30px; }
.quote-sub { margin-top: 1rem; color: var(--teal); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.marquee { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none; opacity: .06; white-space: nowrap; overflow: clip; }
.marquee-track { display: inline-block; font-family: var(--display); font-size: clamp(5rem, 14vw, 12rem); line-height: 1; letter-spacing: .04em; animation: marquee 40s linear infinite; padding-right: 2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   10. Process
   ============================================================= */
.process { background: var(--white); }
.process-grid { display: grid; gap: 1.6rem; position: relative; }
.step {
  position: relative; padding: 2rem 1.6rem 1.8rem; text-align: center;
  display: grid; gap: .8rem; justify-items: center;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.step-num {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mustard); color: var(--petrol); font-family: var(--display); font-size: 1.25rem;
  box-shadow: var(--shadow-yellow), 0 0 0 6px var(--white);
}
.step-art { height: 200px; display: grid; place-items: center; }
.step-art img { max-height: 190px; width: auto; filter: drop-shadow(0 14px 18px rgba(4,42,43,.16)); }
.step h3 { max-width: 22ch; }
.step p { color: var(--ink-soft); font-size: .98rem; }
.step-tag { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.process-line { display: none; }
.process-cta { margin-top: 3rem; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.process-cta p { color: var(--ink-soft); }

/* =============================================================
   11. Diagnóstico (AI wizard)
   ============================================================= */
.diag { background: var(--teal); color: var(--petrol); overflow: clip; }
.diag::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(255,255,255,.28), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(4,42,43,.16), transparent 70%); pointer-events: none; }
.diag .container { position: relative; }
.diag-grid { display: grid; gap: 2rem; align-items: start; }
.diag-intro .eyebrow { color: var(--petrol); }
.diag-intro .eyebrow::before { background: var(--petrol); }
.diag-intro h2 { margin: .8rem 0 1rem; }
.diag-intro p { color: rgba(4,42,43,.85); font-size: 1.05rem; }
.diag-intro ul { margin-top: 1.2rem; display: grid; gap: .6rem; }
.diag-intro li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 700; }
.diag-intro li svg { width: 22px; height: 22px; flex: none; color: var(--petrol); background: var(--mustard); border-radius: 50%; padding: 3px; }
.diag-disclaimer { margin-top: 1.5rem; font-size: .85rem; color: rgba(4,42,43,.72); border-left: 3px solid var(--petrol); padding-left: .9rem; }

.wizard { padding: clamp(1.4rem, 3vw, 2.2rem); position: relative; min-height: 420px; display: grid; }
.wizard-progress { display: flex; gap: .4rem; margin-bottom: 1.4rem; }
.wizard-progress span { flex: 1; height: 6px; border-radius: 6px; background: rgba(4,42,43,.1); overflow: hidden; position: relative; }
.wizard-progress span::after { content: ""; position: absolute; inset: 0; background: var(--teal-deep); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.wizard-progress span.is-done::after, .wizard-progress span.is-active::after { transform: scaleX(1); }
.wizard-progress span.is-active::after { background: var(--mustard-deep); }
.wizard-step { display: none; animation: fadeUp .5s var(--ease-out); }
.wizard-step.is-active { display: grid; gap: 1rem; align-content: start; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wizard-q { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.15; }
.wizard-step-label { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.opt-grid { display: grid; gap: .7rem; }
.opt {
  display: flex; align-items: center; gap: .8rem; padding: .95rem 1.1rem;
  border-radius: 14px; border: 1.5px solid rgba(4,42,43,.14); background: var(--white);
  cursor: pointer; text-align: left; font-weight: 700; transition: border-color .25s, background .25s, transform .3s var(--ease-out);
}
.opt:hover { border-color: var(--teal-deep); transform: translateY(-1px); }
.opt.is-selected { border-color: var(--petrol); background: var(--mustard-soft); box-shadow: inset 0 0 0 1px var(--petrol); }
.opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(4,42,43,.3); flex: none; display: grid; place-items: center; }
.opt.is-selected .radio { border-color: var(--petrol); }
.opt.is-selected .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--petrol); }
.opt small { display: block; font-weight: 400; color: var(--ink-mute); font-size: .82rem; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .6rem; }
.wizard-nav .btn-back { color: var(--ink-mute); font-weight: 700; padding: .5rem; display: inline-flex; gap: .3rem; align-items: center; }
.wizard-nav .btn-back:hover { color: var(--petrol); }
.wizard-fields { display: grid; gap: .9rem; }
.wizard-loading { display: grid; place-items: center; gap: 1rem; text-align: center; padding: 2rem 0; }
.loader { width: 54px; height: 54px; border-radius: 50%; border: 4px solid rgba(4,42,43,.12); border-top-color: var(--teal-deep); animation: spinL 1s linear infinite; }
@keyframes spinL { to { transform: rotate(360deg); } }
.wizard-result { display: grid; gap: 1.1rem; }
.result-head { display: flex; gap: 1rem; align-items: center; }
.result-head .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--mustard); display: grid; place-items: center; flex: none; }
.result-head .ico svg { width: 24px; height: 24px; }
.result-time { padding: 1rem 1.2rem; border-radius: 14px; background: var(--petrol); color: var(--white); display: flex; gap: 1rem; align-items: center; }
.result-time .big { font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--mustard); }
.result-time small { display: block; color: rgba(255,255,255,.7); font-size: .82rem; }
.checklist { display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .9rem; border-radius: 12px; background: var(--teal-mist); font-size: .95rem; }
.checklist li svg { width: 20px; height: 20px; flex: none; color: var(--teal-deep); margin-top: .1rem; }
.checklist li strong { display: block; }
.checklist li span { color: var(--ink-soft); font-size: .88rem; }
.result-note { font-size: .82rem; color: var(--ink-mute); }
.result-summary { color: var(--ink-soft); }

/* =============================================================
   12. Contact
   ============================================================= */
.contact { background: var(--cream); overflow: clip; }
.contact::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px; right: -20vw; bottom: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(244,224,77,.35), transparent 62%); pointer-events: none; }
.contact-grid { display: grid; gap: 2.5rem; align-items: center; position: relative; }
.contact-art { display: none; text-align: center; }
.contact-art img { max-height: 560px; width: auto; margin-inline: auto; filter: drop-shadow(0 30px 30px rgba(4,42,43,.18)); }
.contact-art .quote { margin-top: 1.2rem; font-family: var(--display); font-size: 1.4rem; color: var(--petrol); max-width: 26ch; margin-inline: auto; }
.contact-form { padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
.form-foot { display: grid; gap: .9rem; }
.form-foot .btn { justify-self: start; }

/* =============================================================
   13. Footer
   ============================================================= */
.site-footer { background: var(--petrol); color: rgba(255,255,255,.85); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,.66); max-width: 40ch; }
.footer-title { font-family: var(--display); font-size: 1.25rem; color: var(--white); margin-bottom: 1rem; letter-spacing: .02em; }
.footer-list { display: grid; gap: .8rem; }
.footer-list li { display: flex; gap: .8rem; align-items: flex-start; }
.footer-list svg { width: 20px; height: 20px; color: var(--mustard); flex: none; margin-top: .15rem; }
.footer-list a:hover { color: var(--mustard); }
.footer-map { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line-dark); aspect-ratio: 16 / 10; background: var(--petrol-2); }
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.footer-bottom { margin-top: 3rem; padding-block: 1.4rem; border-top: 1px solid var(--line-dark); display: grid; gap: .9rem; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.footer-links a { color: rgba(255,255,255,.8); font-weight: 700; }
.footer-links a:hover { color: var(--mustard); }

/* =============================================================
   14. Floating: WhatsApp + AI chat + cookies
   ============================================================= */
.fab-wa {
  position: fixed; right: 18px; bottom: 96px; z-index: 950;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.7);
  transition: transform .4s var(--ease-out);
}
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(37,211,102,.45); animation: ripple 2.4s ease-out infinite; z-index: -1; }
@keyframes ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 32px; height: 32px; }
.fab-wa .tip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--white); color: var(--petrol); font-size: .85rem; font-weight: 700;
  padding: .5rem .8rem; border-radius: 10px; white-space: nowrap; box-shadow: var(--shadow-card);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease-out);
}
.fab-wa:hover .tip { opacity: 1; transform: translateY(-50%) translateX(0); }

.chat-toggle {
  position: fixed; right: 18px; bottom: 24px; z-index: 950;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--mustard); color: var(--petrol); display: grid; place-items: center;
  box-shadow: var(--shadow-yellow);
  transition: transform .4s var(--ease-out);
}
.chat-toggle:hover { transform: scale(1.08); }
.chat-toggle svg { width: 28px; height: 28px; }
.chat-toggle .badge { position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; border-radius: 50%; background: var(--petrol); color: var(--mustard); font-size: .68rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--mustard); }
.chat-toggle .close-ico { display: none; }
.chat-toggle.is-open .chat-ico { display: none; }
.chat-toggle.is-open .close-ico { display: block; }

.chat-panel {
  position: fixed; right: 18px; bottom: 96px; z-index: 960;
  width: min(380px, calc(100vw - 36px)); height: min(560px, calc(100svh - 120px));
  background: var(--white); border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(4,42,43,.55);
  display: grid; grid-template-rows: auto 1fr auto;
  transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none;
  transform-origin: bottom right;
  transition: transform .45s var(--ease-out), opacity .3s;
}
.chat-panel.is-open { transform: none; opacity: 1; pointer-events: auto; }
.chat-head { background: var(--petrol); color: var(--white); padding: .9rem 1rem; display: flex; gap: .8rem; align-items: center; }
.chat-head .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--mustard); display: grid; place-items: center; color: var(--petrol); flex: none; }
.chat-head .avatar svg { width: 22px; height: 22px; }
.chat-head strong { display: block; font-family: var(--display); font-weight: 400; letter-spacing: .02em; }
.chat-head small { color: var(--teal); font-size: .78rem; display: flex; align-items: center; gap: .35rem; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ED37A; }
.chat-body { overflow-y: auto; padding: 1rem; display: grid; gap: .7rem; align-content: start; background: var(--teal-mist); scroll-behavior: smooth; }
.msg { max-width: 88%; padding: .7rem .95rem; border-radius: 16px; font-size: .93rem; line-height: 1.5; animation: fadeUp .4s var(--ease-out); white-space: pre-line; }
.msg--bot { background: var(--white); color: var(--ink); border-bottom-left-radius: 4px; justify-self: start; box-shadow: 0 4px 14px -8px rgba(4,42,43,.3); }
.msg--user { background: var(--petrol); color: var(--white); border-bottom-right-radius: 4px; justify-self: end; }
.msg a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; }
.msg--bot .msg-cta { display: inline-flex; margin-top: .5rem; text-decoration: none; color: var(--petrol); }
.msg-typing { display: inline-flex; gap: 4px; padding: .9rem 1rem; }
.msg-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-deep); animation: bounce 1.2s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; } .msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: .4rem; }
.chat-suggest button { font-size: .8rem; padding: .4rem .7rem; border-radius: 999px; border: 1px solid rgba(4,42,43,.18); background: var(--white); font-weight: 700; color: var(--petrol); transition: background .25s, border-color .25s; }
.chat-suggest button:hover { background: var(--mustard); border-color: var(--mustard); }
.chat-foot { border-top: 1px solid var(--line); padding: .7rem; display: flex; gap: .5rem; background: var(--white); }
.chat-foot input { flex: 1; padding: .75rem .9rem; border-radius: 12px; border: 1.5px solid rgba(4,42,43,.14); }
.chat-foot input:focus { outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 3px rgba(94,177,191,.22); }
.chat-foot button { width: 46px; height: 46px; border-radius: 12px; background: var(--petrol); color: var(--mustard); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease-out); }
.chat-foot button:hover { transform: scale(1.05); }
.chat-foot button svg { width: 20px; height: 20px; }
.chat-legal { grid-column: 1 / -1; font-size: .7rem; color: var(--ink-mute); text-align: center; padding: 0 .8rem .6rem; background: var(--white); }
.chat-panel { grid-template-rows: auto 1fr auto auto; }

.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 980;
  max-width: 560px; margin-inline: auto;
  background: var(--white); color: var(--ink);
  padding: 1.1rem 1.2rem; border-radius: 18px;
  box-shadow: 0 30px 60px -24px rgba(4,42,43,.6);
  border: 1px solid var(--line);
  display: none; gap: 1rem; align-items: center;
  animation: fadeUp .6s var(--ease-out);
}
.cookie-banner.is-visible { display: grid; }
.cookie-banner p { font-size: .9rem; color: var(--ink-soft); }
.cookie-banner a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
body.has-cookie .fab-wa, body.has-cookie .chat-toggle, body.has-cookie .chat-panel { transform: translateY(-120px); }
body.has-cookie .chat-panel { opacity: 0; pointer-events: none; }
body.has-cookie .chat-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(-120px); }

/* =============================================================
   15. Inner pages (gracias, legal)
   ============================================================= */
.page-hero { background: var(--petrol); color: var(--white); padding-block: clamp(3rem, 7vw, 5rem); position: relative; overflow: clip; }
.page-hero .eyebrow, .thanks-copy .eyebrow { margin-bottom: .9rem; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,.75); margin-top: .8rem; max-width: 60ch; }
.legal { padding-block: clamp(3rem, 6vw, 5rem); }
.legal-body { max-width: 780px; margin-inline: auto; }
.legal-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.2rem 0 .8rem; }
.legal-body h3, .legal-body h4 { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; margin: 1.8rem 0 .6rem; text-transform: uppercase; letter-spacing: .04em; color: var(--petrol); }
.legal-body p { margin-bottom: 1rem; color: var(--ink-soft); }
.legal-body ul, .legal-body ol { margin: 0 0 1rem 1.3rem; color: var(--ink-soft); }
.legal-body li { margin-bottom: .4rem; }
.legal-body a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal-body strong { color: var(--petrol); }
.legal-body code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .9em; background: var(--teal-soft); padding: .1em .4em; border-radius: 6px; }

.thanks { min-height: calc(100svh - var(--nav-h)); display: grid; align-items: center; background: var(--petrol); color: var(--white); position: relative; overflow: clip; padding-block: clamp(3rem, 7vw, 5rem); }
.thanks-grid { display: grid; gap: 2.5rem; align-items: start; position: relative; z-index: 1; }
.thanks-copy { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.thanks-result.is-visible + .thanks-art { display: none; }
.thanks-copy h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; }
.thanks-copy .lead { color: rgba(255,255,255,.8); margin-top: 1rem; }
.thanks-check { width: 76px; height: 76px; border-radius: 50%; background: var(--mustard); color: var(--petrol); display: grid; place-items: center; margin-bottom: 1.4rem; box-shadow: var(--shadow-yellow); animation: pop .7s var(--ease-bounce) both; }
.thanks-check svg { width: 38px; height: 38px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.thanks-steps { margin-top: 1.6rem; display: grid; gap: .8rem; }
.thanks-steps li { display: flex; gap: .8rem; align-items: flex-start; color: rgba(255,255,255,.85); }
.thanks-steps .n { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--mustard); font-family: var(--display); display: grid; place-items: center; flex: none; font-size: .95rem; }
.thanks-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.thanks-result { color: var(--ink); padding: clamp(1.4rem, 3vw, 2rem); display: none; }
.thanks-result.is-visible { display: grid; gap: 1rem; }
.thanks-art { display: none; }
.thanks-art img { max-height: 480px; width: auto; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }

/* =============================================================
   16. Reveal effects
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .3s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .4s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .5s; }
html.no-js .reveal, html.no-js .reveal-stagger > * { opacity: 1; transform: none; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split-word > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); }
.is-ready .split-word > span { transform: none; }

/* =============================================================
   17. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .cookie-banner { grid-template-columns: 1fr auto; }
  .float-badge--c { display: flex; }
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .process-line { display: block; position: absolute; left: 12%; right: 12%; top: 2px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 20px); opacity: .5; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
  .thanks-grid { grid-template-columns: 1.1fr .9fr; }
}
@media (min-width: 960px) {
  .nav-links, .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 2rem; }
  .hero-title { margin-top: 1rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .diag-grid { grid-template-columns: .9fr 1.1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: .8fr 1.2fr; }
  .contact-art { display: block; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.3fr; }
  .thanks-art { display: block; }
}
@media (min-width: 1280px) {
  .hero-grid { gap: 3rem; }
  .services-grid { gap: 1.8rem; }
}

/* =============================================================
   18. Reduced motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-blob, .hero-ring, .marquee-track, .fab-wa::before { animation: none; }
  .float-badge { animation: none; }
}
