/* =========================================================
   SAMVIA · Hoja de estilos principal
   Índice: 1 Tokens · 2 Base · 3 Botones · 4 Cabecera · 5 Portada
           6 Secciones · 7 Servicios · 8 Sectores · 9 Por qué
           10 Proceso · 11 Proyectos · 12 Mantenimiento · 13 FAQ
           14 Contacto · 15 Pie · 16 Animaciones · 17 Responsive
   ========================================================= */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #021bf9;
  --blue-600: #0016d1;
  --blue-700: #000f9c;
  --blue-400: #4a5dff;
  --blue-200: #c4cbff;
  --blue-100: #e5e8ff;
  --blue-50: #f3f4ff;
  --ink: #0a1033;
  --ink-2: #232b52;
  --muted: #5b6488;
  --line: #e3e8f5;
  --bg: #ffffff;
  --bg-soft: #f6f8fe;
  --navy: #060b2a;
  --ok: #12b76a;
  --error: #d92d20;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 16, 51, .06), 0 2px 8px rgba(10, 16, 51, .04);
  --shadow: 0 10px 30px -10px rgba(10, 16, 51, .15), 0 4px 12px -4px rgba(10, 16, 51, .06);
  --shadow-lg: 0 40px 80px -24px rgba(10, 30, 120, .28), 0 16px 32px -16px rgba(10, 16, 51, .14);
  --shadow-blue: 0 14px 30px -10px rgba(2,27,249, .55);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(80px, 11vw, 140px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; color: var(--ink); margin: 0; line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
h2 em, h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--blue); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.text-gradient { background: linear-gradient(100deg, var(--blue) 10%, #4a5dff 55%, var(--blue-600) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 3. Botones ---------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: var(--bh); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); letter-spacing: -.005em;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --bh: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(2,27,249,.6), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border-color: var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--blue-200); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-100); transform: translateY(-2px); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- 4. Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line); --header-h: 66px; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--blue); }
.brand img { width: 46px; height: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.04); }
.brand-name { font: 800 21px/1 var(--font); letter-spacing: .16em; color: var(--blue); padding-top: 2px; }
.brand-light, .brand-light .brand-name { color: #fff; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a { position: relative; display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .2s, background-color .2s; }
.main-nav ul a:hover { color: var(--blue); background: var(--blue-50); }
.main-nav ul a.active { color: var(--blue); }
.main-nav ul a.active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); transform: translateX(-50%); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- 5. Portada ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--blue-50) 0%, #fff 75%); }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(2,27,249,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(2,27,249,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 35%, #000 20%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.glow-1 { width: 560px; height: 560px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(2,27,249,.35), transparent 70%); }
.glow-2 { width: 420px; height: 420px; left: -160px; top: 280px; background: radial-gradient(circle, rgba(120,160,255,.35), transparent 70%); }
.hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 7px 14px 7px 10px; border: 1px solid var(--blue-200); border-radius: 999px; background: rgba(255,255,255,.75); font: 500 12.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--blue-700); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(2,27,249,.18); animation: pulse 2.4s infinite; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin-bottom: 24px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; }

.hero-visual { position: relative; aspect-ratio: 1 / .92; min-height: 380px; }
.device-browser {
  position: absolute; left: 0; top: 6%; width: 88%;
  border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(10,16,51,.06);
  transform: perspective(1600px) rotateY(-9deg) rotateX(4deg);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #f3f5fb; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dcea; }
.browser-bar i:first-child { background: #ff6b5f; } .browser-bar i:nth-child(2) { background: #ffc145; } .browser-bar i:nth-child(3) { background: #2bcb5b; }
.browser-bar span { margin-left: 12px; flex: 1; max-width: 230px; height: 20px; border-radius: 6px; background: #fff; font: 500 10.5px/20px var(--mono); color: var(--muted); padding: 0 10px; overflow: hidden; }
.device-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.device-phone {
  position: absolute; right: 2%; bottom: 2%; width: 31%;
  padding: 8px; border-radius: 34px; background: #0b1030;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.12);
  transform: perspective(1400px) rotateY(-12deg) rotateX(3deg);
}
.device-phone img { width: 100%; aspect-ratio: 390 / 800; object-fit: cover; object-position: top; border-radius: 27px; }
.phone-notch { position: absolute; top: 14px; left: 50%; width: 32%; height: 15px; border-radius: 10px; background: #0b1030; transform: translateX(-50%); z-index: 2; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 11px; border-radius: 16px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.9) inset; border: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.25; color: var(--ink);
}
.chip strong { display: block; font-weight: 700; }
.chip small { display: block; color: var(--muted); font-size: 12px; }
.chip-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--blue); color: #fff; }
.chip-ico .ico { width: 19px; height: 19px; }
.chip-ico-wa { background: #25d366; }
.chip-1 { left: -4%; bottom: 14%; }
.chip-2 { right: -2%; top: 0; }
.chip-3 { left: 34%; bottom: -2%; }
.hero-visual-note { position: absolute; left: 0; bottom: -8px; margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); opacity: .75; }

.sector-marquee { margin-top: clamp(56px, 8vw, 100px); padding: 22px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.6); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-weight: 600; font-size: 18px; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); }

/* ---------- 6. Secciones comunes ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 500 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 750; }
.section-sub { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 620px; }
.section-head-light h2 { color: #fff; }
.section-head-light h2 em { color: #9db3ff; }
.kicker-light, .section-head-light .kicker { color: #9db3ff; }

.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(2,27,249,.08), transparent 60%); }
.card:hover::before { opacity: 1; }
.card-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 15px; background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100); }
.card-ico .ico { width: 24px; height: 24px; }
.card h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -.025em; }
.card p { color: var(--muted); font-size: 16px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { padding: 7px 13px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s; }
.tags li:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.checklist { display: grid; gap: 10px; margin-top: 18px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23021bf9' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }

.inline-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 48px; font-weight: 600; font-size: 18px; color: var(--ink); }
.inline-cta p { margin: 0; }

/* ---------- 2b. Quiénes somos ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-head { position: sticky; top: calc(var(--header-h) + 40px); }
.about-head h2 { font-size: clamp(34px, 4.6vw, 58px); }
.about-body > p { font-size: 19px; color: var(--ink-2); }
.about-body > p:first-child { font-size: clamp(20px, 1.9vw, 24px); color: var(--ink); font-weight: 600; letter-spacing: -.015em; line-height: 1.45; }
.principles { margin-top: 40px; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.principles .num { font: 500 14px/1.9 var(--mono); color: var(--blue); }
.principles h3 { font-size: 21px; margin-bottom: 6px; }
.principles p { margin: 0; color: var(--muted); }

/* ---------- 7. Servicios ---------- */
.services { background: var(--bg-soft); }
.services::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento > .card { grid-column: span 4; }
.bento > .card-lg { grid-column: span 4; }
.bento > .card-wide { grid-column: span 12; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.card-blue { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%); border-color: transparent; color: #fff; }
.card-blue::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); pointer-events: none; }
.card-blue h3 { color: #fff; font-size: clamp(24px, 2.4vw, 30px); }
.card-blue p { color: rgba(255,255,255,.85); }
.card-blue .card-ico { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); color: #fff; }
.card-blue .note { font-size: 14px; color: rgba(255,255,255,.7); margin: 0; padding-left: 14px; border-left: 2px solid rgba(255,255,255,.35); }
.card-blue:hover { border-color: transparent; }
.presence-list { display: grid; gap: 14px; position: relative; z-index: 1; }
.presence-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); font-size: 15px; color: rgba(255,255,255,.85); transition: background-color .3s, transform .3s var(--ease); }
.presence-list li:hover { background: rgba(255,255,255,.16); transform: translateX(4px); }
.presence-list .ico { width: 22px; height: 22px; margin-top: 2px; color: #fff; }
.presence-list strong { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }

/* ---------- 8. Sectores ---------- */
.sector-tabs { display: grid; grid-template-columns: 360px 1fr; gap: 24px; }
.sector-list { display: grid; gap: 8px; align-content: start; }
.sector-list button {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  font: 600 16px/1.2 var(--font); color: var(--ink-2); text-align: left; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.sector-list button .ico { width: 22px; height: 22px; color: var(--blue); transition: color .25s; }
.sector-list button:hover { border-color: var(--blue-200); transform: translateX(4px); }
.sector-list button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow); }
.sector-list button[aria-selected="true"] .ico { color: #9db3ff; }
.sector-panels { position: relative; border-radius: var(--radius-lg); background: radial-gradient(120% 100% at 100% 0%, var(--blue-100) 0%, var(--blue-50) 40%, #fff 100%); border: 1px solid var(--line); overflow: hidden; min-height: 420px; }
.sector-panels::before { content: ""; position: absolute; right: -60px; bottom: -60px; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(2,27,249,.06); }
.sector-panel { position: relative; padding: clamp(32px, 5vw, 56px); height: 100%; display: flex; flex-direction: column; justify-content: center; animation: panelIn .5s var(--ease); }
.sector-panel:focus-visible { outline-offset: -6px; }
.panel-ico { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 28px; border-radius: 20px; background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.panel-ico .ico { width: 32px; height: 32px; stroke-width: 1.6; }
.sector-panel h3 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
.sector-panel p { font-size: 18px; color: var(--muted); max-width: 520px; }
.tags-soft li { background: #fff; }

/* ---------- 9. Por qué ---------- */
.why { background: var(--navy); color: #c9d1f2; overflow: hidden; isolation: isolate; }
.why-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 85% 0%, rgba(2,27,249,.45), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(77,116,255,.25), transparent 70%); }
.why-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.why-card:hover { background: rgba(255,255,255,.07); border-color: rgba(157,179,255,.35); transform: translateY(-4px); }
.why-card h3 { color: #fff; font-size: 18.5px; margin: 18px 0 8px; letter-spacing: -.02em; }
.why-card p { margin: 0; font-size: 15px; color: #a9b3dc; }
.why-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(2,27,249,.25); color: #b7c6ff; border: 1px solid rgba(157,179,255,.25); }
.why-feature { grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; background: linear-gradient(160deg, var(--blue) 0%, var(--blue-700) 100%); border-color: transparent; position: relative; overflow: hidden; }
.why-feature::before { content: ""; position: absolute; right: -40px; top: -40px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255,255,255,.08); }
.why-feature .why-ico { width: 56px; height: 56px; background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.25); margin-bottom: auto; }
.why-feature .why-ico .ico { width: 26px; height: 26px; }
.why-feature h3 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 40px; }
.why-feature p { font-size: 16.5px; color: rgba(255,255,255,.85); max-width: 440px; }
.why-feature:hover { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-700) 100%); border-color: transparent; }

/* ---------- 10. Proceso ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 28px; top: 28px; height: 2px; width: calc((100% - 56px) * var(--progress, 0)); background: linear-gradient(90deg, var(--blue), var(--blue-400)); transition: width 1.4s var(--ease); }
.step { position: relative; z-index: 1; }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font: 700 20px/1 var(--font); color: var(--ink); transition: background-color .5s, border-color .5s, color .5s, box-shadow .5s; }
.step.on .step-num { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 8px rgba(2,27,249,.1); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--muted); margin: 0; }

/* ---------- 11. Proyectos ---------- */
.projects { background: var(--bg-soft); }
.demo-notice { display: flex; gap: 12px; align-items: flex-start; max-width: 440px; margin: 0; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px dashed var(--blue-200); font-size: 14px; color: var(--muted); }
.demo-notice .ico { color: var(--blue); margin-top: 2px; }
.demo-notice strong { color: var(--ink); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.project-media { position: relative; display: block; padding: 58px 28px 0; background: linear-gradient(160deg, color-mix(in srgb, var(--pc, var(--blue)) 18%, #fff) 0%, var(--blue-50) 100%); overflow: hidden; }
.project-media .pm-frame { border-radius: 12px 12px 0 0; overflow: hidden; background: #fff; box-shadow: 0 -2px 30px rgba(10,16,51,.12); transition: transform .6s var(--ease); }
.project-card:hover .pm-frame { transform: translateY(-8px) scale(1.015); }
.pm-frame .browser-bar { height: 26px; }
.pm-frame .browser-bar i { width: 8px; height: 8px; }
.pm-frame img { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; object-position: top; }
.badge { position: absolute; left: 20px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(10,16,51,.86); color: #fff; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(6px); }
.badge-real { background: var(--ok); }
.project-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-sector { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.project-body h3 { font-size: 24px; }
.project-body p { color: var(--muted); font-size: 15.5px; margin: 0 0 8px; }
.project-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.project-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--ink); color: #c9d1f2; position: relative; overflow: hidden; }
.project-cta::before { content: ""; position: absolute; right: -90px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(2,27,249,.6), transparent 70%); }
.project-cta h3 { color: #fff; font-size: clamp(26px, 2.8vw, 34px); position: relative; }
.project-cta p { position: relative; margin: 0 0 10px; max-width: 380px; }
.project-cta .btn { position: relative; }
.project-cta .pc-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; border: 1px dashed rgba(157,179,255,.5); color: #9db3ff; position: relative; }

/* ---------- 12. Mantenimiento ---------- */
.maint-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.maint-copy > p:not(.kicker) { font-size: 18px; color: var(--muted); margin-top: 20px; }
.maint-list { display: grid; gap: 4px; margin-top: 28px; }
.maint-list li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.maint-list li:last-child { border-bottom: 0; }
.mi { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100); }
.maint-list h3 { font-size: 17.5px; margin: 2px 0 4px; }
.maint-list p { margin: 0; font-size: 15px; color: var(--muted); }
.maint-visual { position: relative; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: radial-gradient(100% 100% at 0% 0%, var(--blue-100), var(--blue-50) 50%, #fff); border: 1px solid var(--line); }
.panel { background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.panel-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.panel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(18,183,106,.15); }
.panel-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 0; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.panel-row em { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 5px 8px; border-radius: 6px; background: var(--bg-soft); color: var(--muted); }
.pr-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.pr-ico .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.pr-ico.ok { background: rgba(18,183,106,.12); color: var(--ok); }
.pr-ico.wip { background: var(--blue-100); color: var(--blue); }
.pr-ico.wip .ico { animation: spin 3s linear infinite; }
.panel-bar { height: 8px; margin: 14px 0 12px; border-radius: 8px; background: var(--bg-soft); overflow: hidden; }
.panel-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue-400)); transition: width 1.6s var(--ease) .3s; }
.maint-visual.in .panel-bar span { width: var(--w); }
.panel-foot { margin: 0; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.panel-float { position: absolute; left: -18px; bottom: -22px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); animation: floatA 6s ease-in-out infinite; }
.panel-float .ico { color: #9db3ff; }

/* ---------- 13. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-head > p:not(.kicker) { color: var(--muted); font-size: 18px; margin: 20px 0 28px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq-list details[open] { border-color: var(--blue-200); box-shadow: var(--shadow); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; font-weight: 650; font-size: 17.5px; color: var(--ink); letter-spacing: -.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.faq-ico { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); transition: background-color .3s, transform .4s var(--ease); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background-color .3s; }
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq-ico { background: var(--blue); transform: rotate(180deg); }
details[open] .faq-ico::before, details[open] .faq-ico::after { background: #fff; }
details[open] .faq-ico::after { transform: translate(-50%, -50%) rotate(0); }
.faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }
.faq-body p { margin: 0; }
details[open] .faq-body { animation: faqIn .4s var(--ease); }

/* ---------- 14. Contacto ---------- */
.contact { background: var(--navy); color: #c9d1f2; overflow: hidden; isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 0% 0%, rgba(2,27,249,.5), transparent 70%), radial-gradient(50% 50% at 100% 100%, rgba(77,116,255,.3), transparent 70%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact h2 { color: #fff; font-size: clamp(34px, 4.4vw, 54px); }
.contact h2 em { color: #9db3ff; }
.contact-copy > p:not(.kicker) { font-size: 18px; margin: 22px 0 36px; color: #b4bde3; max-width: 480px; }
.contact-direct { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.direct-btn { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none !important; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
a.direct-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(157,179,255,.4); transform: translateY(-3px); }
.direct-btn strong { display: block; font-size: 15.5px; }
.direct-btn small { display: block; font-size: 13px; color: #a9b3dc; word-break: break-word; }
.db-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: rgba(2,27,249,.35); color: #fff; }
.db-wa { background: #25d366; }
.db-ig { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); color: var(--ink-2); }
.form-title { font-size: 24px; margin-bottom: 4px; }
.form-hint { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--bg-soft);
  font: 500 16px/1.4 var(--font); color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6488' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #98a0bd; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue-200); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(2,27,249,.12); }
.field.invalid input, .field.invalid textarea { border-color: var(--error); background: #fff8f7; }
.field-error { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--error); min-height: 0; }
.field-error:empty { display: none; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; margin: 6px 0 22px; }
.field-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.field-check label { margin: 0; font-weight: 500; font-size: 14px; color: var(--muted); }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-size: 14.5px; }
.form-status:empty { display: none; }
.status-box { padding: 16px 18px; border-radius: 14px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--ink-2); }
.status-box strong { display: block; color: var(--ink); margin-bottom: 4px; }
.status-box.ok { background: #ecfdf3; border-color: #abefc6; }
.status-box.err { background: #fef3f2; border-color: #fecdca; }
.status-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.status-actions .btn { --bh: 42px; font-size: 14px; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fb457; transform: translateY(-2px); }

/* ---------- 15. Pie ---------- */
.site-footer { background: #040820; color: #a2abd4; padding: clamp(56px, 8vw, 88px) 0 28px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .brand img { width: 52px; }
.footer-brand p { max-width: 340px; margin-bottom: 22px; }
.footer-col h2 { font-size: 13px; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.site-footer a { color: #c9d1f2; }
.site-footer a:hover { color: #fff; }
.site-footer .btn-light, .site-footer .btn-light:hover { color: var(--ink); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .ico { color: #9db3ff; width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 26px; font-size: 14px; }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 28px; height: 28px; }

/* ---------- 16. Animaciones ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.float-a { animation: floatA 7s ease-in-out infinite; }
.float-b { animation: floatB 8s ease-in-out infinite; }
.float-c { animation: floatA 9s ease-in-out infinite reverse; }
@keyframes floatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes floatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(2,27,249,.18); } 50% { box-shadow: 0 0 0 8px rgba(2,27,249,.05); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

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

/* ---------- 17. Responsive ---------- */
@media (max-width: 1080px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-feature { grid-row: auto; min-height: 260px; }
  .bento > .card, .bento > .card-lg { grid-column: span 6; }
  .bento > .card-lg { grid-column: span 12; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .sector-tabs { grid-template-columns: 300px 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: stretch; gap: 32px;
    padding: 96px var(--gutter) 40px; background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul a { font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav ul a:hover { background: none; }
  .main-nav ul a.active::after { display: none; }
  .nav-cta { --bh: 56px; font-size: 16px; }
  body.menu-open { overflow: hidden; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-visual { max-width: 620px; width: 100%; margin: 24px auto 0; }
  .about-grid, .maint-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-head, .faq-head { position: static; }
  .sector-tabs { grid-template-columns: 1fr; }
  .sector-list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .sector-list::-webkit-scrollbar { display: none; }
  .sector-list button { width: auto; flex: none; white-space: nowrap; padding: 12px 16px; font-size: 15px; scroll-snap-align: start; }
  .sector-list button:hover { transform: none; }
  .sector-panels { min-height: 0; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .steps::after { height: calc((100% - 56px) * var(--progress, 0)); bottom: auto; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 30px; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: 14px; }
  .bento > .card-wide { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 0; aspect-ratio: 1 / 1.02; }
  .device-browser { width: 94%; }
  .device-phone { width: 36%; right: 0; }
  .chip { padding: 8px 12px 8px 8px; font-size: 12px; border-radius: 13px; }
  .chip small { display: none; }
  .chip-ico { width: 30px; height: 30px; border-radius: 9px; }
  .chip-1 { left: 0; bottom: 20%; }
  .chip-2 { right: 0; top: -4%; }
  .chip-3 { left: 12%; bottom: 0; }
  .bento > .card, .bento > .card-lg { grid-column: span 12; }
  .why-grid { grid-template-columns: 1fr; }
  .why-feature { grid-column: auto; }
  .project-grid { grid-template-columns: 1fr; }
  .project-media { padding: 52px 18px 0; }
  .project-body { padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-direct { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .principles li { grid-template-columns: 44px 1fr; }
  .panel-float { left: 8px; right: 8px; bottom: -26px; font-size: 13px; }
  .maint-visual { margin-bottom: 20px; }
  .section-head-row { align-items: flex-start; }
  .inline-cta { flex-direction: column; text-align: center; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ---------- 18. Páginas interiores (proyecto, legales, 404) ---------- */
.page { background: linear-gradient(180deg, var(--blue-50), #fff 420px); }
.page-nav { display: flex; align-items: center; gap: 18px; }
.back-link { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.page-main { padding: calc(var(--header-h) + 48px) 0 96px; min-height: 70vh; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--ink); font-weight: 600; }
.badge-static { position: static; margin-bottom: 18px; }
.pd-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; margin-bottom: 48px; }
.pd-head h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; letter-spacing: -.04em; margin: 8px 0 18px; }
.pd-features { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pd-features h2 { font-size: 18px; letter-spacing: -.01em; }
.pd-shot { padding: clamp(18px, 4vw, 48px) clamp(18px, 4vw, 48px) 0; border-radius: var(--radius-lg); background: linear-gradient(160deg, color-mix(in srgb, var(--pc) 22%, #fff), var(--blue-50)); overflow: hidden; }
.pd-shot img { width: 100%; }
.pd-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.pd-more { margin-top: 72px; }
.pd-more h2 { font-size: 28px; margin-bottom: 24px; }
.pd-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pd-mini { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; transition: transform .35s var(--ease), box-shadow .35s; }
.pd-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pd-mini img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.pd-mini span { display: block; padding: 16px 18px; }
.pd-mini strong { display: block; }
.pd-mini small { color: var(--muted); }
.page-empty { text-align: center; padding: 80px 0; }
.page-empty h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 14px; }
.site-footer-mini { padding: 0 0 28px; }

.legal { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.04em; margin-bottom: 12px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }
.legal-warning { display: flex; gap: 12px; padding: 16px 18px; margin: 20px 0 32px; border-radius: 14px; background: #fffaeb; border: 1px solid #fedf89; color: #7a2e0e; font-size: 15px; }
.legal-warning strong { color: #7a2e0e; }
.pendiente { background: #fff1c2; color: #7a2e0e; padding: 1px 6px; border-radius: 5px; font-weight: 600; font-size: .95em; }
.legal-updated { font: 500 13px/1 var(--mono); color: var(--muted); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg-soft); }

@media (max-width: 820px) {
  .pd-head { grid-template-columns: 1fr; }
  .pd-more-grid { grid-template-columns: 1fr; }
  .back-link { display: none; }
}
@media (max-width: 420px) {
  .page-nav .btn { padding: 0 14px; font-size: 13px; }
  .brand img { width: 38px; }
  .brand-name { font-size: 18px; letter-spacing: .12em; }
}

/* ---------- 19. Conversión (fase final) ---------- */
.nav-wa { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none !important; transition: border-color .2s, color .2s, transform .2s var(--ease); }
.nav-wa .ico { width: 18px; height: 18px; color: #1fae54; }
.nav-wa:hover { border-color: #25d366; transform: translateY(-1px); }
.main-nav .nav-wa + .nav-cta { margin-left: -16px; }
.hero-alt { margin: -20px 0 30px; font-size: 15px; color: var(--muted); }
.hero-alt a { font-weight: 700; }
.panel-cta { align-self: flex-start; margin-top: 28px; }
.why-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-top: 28px; padding: 26px 30px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.why-cta p { margin: 0; max-width: 620px; color: #c9d1f2; font-size: 16.5px; }
.why-cta strong { color: #fff; }
.label-like { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 600; color: var(--ink); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg-soft); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background-color .2s, border-color .2s, color .2s; }
.choice input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.choice:hover span { border-color: var(--blue-200); }
.rgpd-note { margin: -8px 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.rgpd-note strong { color: var(--ink-2); }
.mobile-cta { display: none; }
@media (max-width: 1080px) { .nav-wa span { display: none; } .nav-wa { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 920px) {
  .nav-wa { display: none !important; }
  .mobile-cta { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95; padding: 8px; border-radius: 22px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -12px rgba(10,16,51,.35); border: 1px solid var(--line); transform: translateY(140%); transition: transform .4s var(--ease); }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn-primary { flex: 1; }
  .mobile-cta-wa { width: 52px; padding: 0; flex: none; }
  .mobile-cta-wa .ico { width: 24px; height: 24px; }
  body.has-wa .wa-float { display: none !important; }
  .panel-cta { width: 100%; white-space: normal; text-align: center; height: auto; min-height: 52px; padding: 12px 20px; }
  .why-cta .btn { width: 100%; }
}

.label-hint { font-weight: 500; color: var(--muted); font-size: 12.5px; }

.form-free { margin: 12px 0 0; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.form-free::before { content: "✓ "; color: var(--ok); }
