/* =========================================================
   WeFlow · sistema de diseño
   Tokens de marca en :root. Componentes reutilizables abajo.
   ========================================================= */
:root {
  --navy: #003561;
  --ink: #001B36;
  --ink-2: #04284A;
  --ink-3: #00152B;
  --orange: #F59A00;
  --coral: #FF7A65;
  --purple: #A672D0;
  --sky: #69B9D0;
  --lilac: #CDA8F0;

  --text: #F3F5F8;
  --text-2: #C9D6E3;
  --muted: #A9B8C9;
  --faint: #7F93AA;
  --glass: rgba(255, 255, 255, .045);
  --glass-line: rgba(255, 255, 255, .1);

  --paper: #F7F8FA;
  --white: #FFFFFF;
  --ink-text: #0F2238;
  --muted-l: #4A5B70;
  --line-l: #E2E6EC;
  --purple-ink: #7B48B0;
  --error: #B42318;
  --error-dark: #FF9C8A;

  --grad: linear-gradient(115deg, #F59A00 0%, #FF7A65 26%, #A672D0 52%, #69B9D0 78%, #003561 100%);
  --grad-soft: linear-gradient(115deg, #F59A00, #FF7A65, #A672D0, #69B9D0);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --r-sm: 10px; --r: 14px; --r-lg: 22px; --r-xl: 28px;
  --container: 1200px;
  --gutter: 24px;
  --section: clamp(80px, 10vw, 120px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --mx: -999px; --my: -999px;
  color-scheme: dark;
}
@media (max-width: 600px) { :root { --gutter: 16px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 125%; letter-spacing: -0.02em; font-weight: 700; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--orange); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lilac); }
.eyebrow--orange { color: var(--orange); }
.h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.06; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); }
.shimmer { background: linear-gradient(90deg, #F59A00, #FF7A65, #CDA8F0, #69B9D0, #F59A00); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: 300% 0; } }
.grid-auto { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 270px)), 1fr)); }
.check { flex: none; margin-top: 4px; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: var(--r); font: 700 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; border: 0; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:disabled { opacity: .7; cursor: progress; }
.btn--cta { position: relative; overflow: hidden; background: var(--orange); color: var(--ink); box-shadow: 0 14px 34px rgba(245, 154, 0, .32); }
.btn--cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.6s ease-in-out infinite; pointer-events: none; }
.btn--cta:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(245, 154, 0, .5); }
.btn--pulse { animation: pulse 3s ease-in-out infinite; }
.btn--lg { font-size: 18px; padding: 18px 32px; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; box-shadow: none; }
.btn--ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; opacity: .9; }
.btn--ghost:hover { opacity: 1; transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--wa { background: #1FAF5A; color: var(--white); }
.btn--block { width: 100%; }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 154, 0, .45), 0 14px 34px rgba(245, 154, 0, .3); } 50% { box-shadow: 0 0 0 10px rgba(245, 154, 0, 0), 0 14px 34px rgba(245, 154, 0, .3); } }

/* ---------- luz que sigue al cursor ---------- */
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0; background: radial-gradient(circle, rgba(105, 185, 208, .16), rgba(166, 114, 208, .08) 40%, transparent 70%); transform: translate(calc(var(--mx) - 260px), calc(var(--my) - 260px)); transition: opacity .4s; }
.has-glow .cursor-glow { opacity: 1; }

/* ---------- cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(0, 27, 54, .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.is-scrolled { background: rgba(0, 27, 54, .85); border-color: rgba(255, 255, 255, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.site-logo img { height: 26px; width: auto; }
.site-nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; opacity: .88; padding: 8px 0; }
.site-nav a:hover { opacity: 1; color: var(--orange); }
.site-nav .btn { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; place-items: center; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; padding: 5px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); text-decoration: none; }
.lang-switch__opt { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font: 600 13px var(--font-body); }
.lang-switch__opt.is-active { background: var(--orange); color: var(--ink); }
.lang-switch svg { width: 22px; height: 15px; border-radius: 3px; }

@media (max-width: 920px) {
  .nav-toggle { display: grid; }
  .header-actions .btn--cta { display: none; }
  .site-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; background: #00152B; border-bottom: 1px solid rgba(255, 255, 255, .08); transform: translateY(-110%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav .btn { display: inline-flex; margin-top: 16px; border-bottom: 0; }
}

/* ---------- fondos animados ---------- */
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .4; pointer-events: none; animation: float 16s ease-in-out infinite; z-index: 0; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(60px, -40px) scale(1.1); } 66% { transform: translate(-50px, 30px) scale(.95); } }
.bg-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.section > .container { position: relative; z-index: 2; }

/* ---------- hero con vídeo ---------- */
.hero { position: relative; isolation: isolate; min-height: min(860px, 100svh); display: flex; align-items: center; overflow: hidden; }
.hero__video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(0, 27, 54, .92) 0%, rgba(0, 27, 54, .6) 48%, rgba(0, 27, 54, .25) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 30%); }
.hero .bg-grid { z-index: -1; }
.hero__inner { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; padding-block: 88px 120px; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.hero h1 { font-size: clamp(38px, 5.4vw, 74px); line-height: 1.02; }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 32em; }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero__note { font-size: 14px; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.hero__visual { position: relative; display: flex; flex-direction: column; gap: 18px; margin: 0; transition: transform .25s ease-out; }
.notif-wrap { transition: transform .25s ease-out; }
.notif { display: flex; align-items: center; gap: 14px; max-width: 420px; background: rgba(255, 255, 255, .95); color: var(--ink-text); border-radius: 18px; padding: 16px 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); animation: bob 6s ease-in-out infinite; }
.notif:nth-child(2) { animation-delay: -2s; }
.notif__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; }
.notif__title { font-weight: 700; font-size: 15px; }
.notif__body { font-size: 14px; color: var(--muted-l); }
.notif__time { margin-left: auto; font-size: 12px; color: var(--muted-l); align-self: flex-start; }
.hero__visual figcaption { font-size: 14px; color: var(--text-2); padding-left: 8px; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-hint span { width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: scrollhint 1.8s ease-in-out infinite; }
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@media (max-width: 700px) {
  .hero__inner { padding-block: 48px 96px; gap: 40px; }
  .notif-wrap:nth-child(n) { margin-left: 0 !important; }
  .scroll-hint { display: none; }
}

/* ---------- cinta de sectores ---------- */
.marquee { overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); padding: 22px 0; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; font: 600 22px var(--font-display); font-stretch: 125%; color: var(--faint); }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- tarjetas de cristal ---------- */
.glass { position: relative; background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--r-lg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .35s var(--ease), border-color .35s, background .35s; overflow: hidden; }
.glass:hover { transform: translateY(-6px); border-color: rgba(245, 154, 0, .55); background: rgba(255, 255, 255, .07); }
.card-pad { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.quote-mark { font: 700 48px/0.6 var(--font-display); }
.card-title { font-size: 22px; }
.card-text { font-size: 15px; color: var(--muted); }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.card-glow { position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; filter: blur(50px); opacity: .35; pointer-events: none; }
.closing-line { font: 700 clamp(22px, 2.4vw, 30px)/1.2 var(--font-display); font-stretch: 125%; }

/* ---------- bloque Instagram ---------- */
.ig { background: var(--grad-soft); padding: 2px; border-radius: 24px; }
.ig__inner { background: var(--ink-2); border-radius: 22px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: center; }
.ig__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; font-size: 15px; }
.ig__cols ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ig__no li { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 122, 101, .7); }

/* ---------- secciones claras ---------- */
.light { background: var(--paper); color: var(--ink-text); }
.light .eyebrow { color: var(--purple-ink); }
.light .h2 { color: var(--navy); }
.light .lead { color: var(--muted-l); }
.light--top { border-radius: 40px 40px 0 0; }
.dark-top { border-radius: 40px 40px 0 0; margin-top: -40px; background: var(--ink); }
.center { text-align: center; margin-inline: auto; }
.section-head { max-width: 820px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.section-head--split { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }

/* ---------- planes ---------- */
.plans { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: stretch; }
.plan-wrap { border-radius: 26px; padding: 1px; background: var(--line-l); display: flex; }
.plan-wrap--featured { padding: 3px; background: conic-gradient(from var(--ang, 0deg), #F59A00, #FF7A65, #A672D0, #69B9D0, #F59A00); animation: spin 6s linear infinite; box-shadow: 0 30px 60px rgba(0, 27, 54, .18); }
@media (min-width: 1000px) { .plan-wrap--featured { transform: translateY(-12px); } }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --ang: 360deg; } }
.plan { flex: 1; background: var(--white); border-radius: 24px; padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 30px; }
.plan__name { font-size: 28px; color: var(--navy); }
.badge { background: var(--orange); color: var(--ink); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; }
.plan__promise { font-size: 17px; font-weight: 600; }
.plan__ideal { font-size: 15px; color: var(--muted-l); }
.plan__ideal strong { color: var(--navy); }
.plan__list { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line-l); display: flex; flex-direction: column; gap: 10px; font-size: 15px; flex: 1; }
.plan__list li { display: flex; gap: 10px; }
.plan__price { background: #F1EEF8; color: #4E2D78; border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; text-align: center; }
.plans-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-top: 48px; }
.plans-foot small { font-size: 14px; color: var(--muted-l); max-width: 44em; }

/* ---------- pasos ---------- */
.steps { position: relative; }
.steps__line { position: absolute; left: 24px; right: 24px; top: 24px; height: 4px; border-radius: 4px; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.steps.is-in .steps__line { transform: scaleX(1); }
.steps ol { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps li { display: flex; flex-direction: column; gap: 14px; }
.step-num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 800 20px var(--font-display); color: var(--ink); box-shadow: 0 0 0 8px var(--paper), 0 10px 24px rgba(0, 27, 54, .15); }
.steps strong { font-size: 20px; color: var(--navy); line-height: 1.3; }
.steps span.step-body { font-size: 15px; color: var(--muted-l); }
@media (max-width: 760px) { .steps__line { display: none; } }
.included { margin-top: 48px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); background: var(--white); border: 1px solid var(--line-l); border-radius: var(--r-lg); padding: 26px; }
.included strong { grid-column: 1 / -1; color: var(--navy); }
.included span { display: flex; gap: 8px; align-items: center; font-size: 15px; }

/* ---------- proyectos ---------- */
.projects { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.project { display: flex; flex-direction: column; gap: 16px; }
.mock { position: relative; border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: 28px 28px 38px; transition: transform .5s var(--ease); transform: perspective(900px) rotateX(0) rotateY(0); }
.mock:hover { transform: perspective(900px) rotateX(4deg) rotateY(-6deg) translateY(-6px); }
.mock__browser { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.mock__bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: #EEF1F5; }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; }
.mock__bar span { margin-left: 8px; font: 11px ui-monospace, Menlo, monospace; color: var(--muted-l); }
.mock__screen { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 16px; text-align: center; font-size: 13px; color: var(--muted-l); background: var(--paper); }
.mock__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mock__phone { position: absolute; right: 18px; bottom: -16px; width: 26%; background: var(--ink-text); border-radius: 14px; padding: 5px; box-shadow: 0 16px 34px rgba(0, 0, 0, .45); }
.mock__phone > div { aspect-ratio: 9 / 19; background: var(--paper); border-radius: 10px; display: grid; place-items: center; text-align: center; font-size: 10px; color: var(--muted-l); padding: 4px; overflow: hidden; }
.project__meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding-top: 8px; }
.project__name { font-size: 24px; }
.project__link { font-weight: 600; color: var(--orange); }
.projects-close { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 32px; margin-top: 48px; }
.projects-close p { font: 700 24px var(--font-display); font-stretch: 125%; }
.project-row { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; padding: clamp(20px, 3vw, 36px); }

/* ---------- por qué / sectores ---------- */
.split { display: grid; gap: 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: center; }
.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; }
.why-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; margin-top: 8px; }
.why-list strong { display: block; font-size: 18px; }
.why-list span { font-size: 15px; color: var(--muted); }
.sector-bar { display: block; height: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq details { padding: 0 24px; }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { flex: none; font-size: 24px; line-height: 1; color: var(--orange); transition: transform .25s; }
.faq details[open] .faq__plus { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--text-2); max-width: 46em; }

/* ---------- CTA final ---------- */
.final { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.final video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scaleX(-1); }
.final__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(0, 27, 54, .45), rgba(0, 27, 54, .92) 70%); }
.final__inner { max-width: 900px; margin: 0 auto; padding: clamp(96px, 12vw, 140px) var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 26px; }
.final__iso { height: 52px; width: auto; animation: bob 6s ease-in-out infinite; }
.final h2 { font-size: clamp(34px, 4.8vw, 64px); line-height: 1.02; }

/* ---------- pie ---------- */
.site-footer { position: relative; z-index: 2; background: var(--ink-3); border-top: 1px solid rgba(255, 255, 255, .08); padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col strong { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--orange); }
.footer-col span, .footer-tag { color: var(--muted); }
.footer-bar { height: 3px; border-radius: 3px; background: var(--grad); margin: 40px 0 16px; }
.footer-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--faint); }
.footer-legal button { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* ---------- CTA fijo en móvil ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(0, 21, 43, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, .1); }
  .mobile-cta .btn { width: 100%; }
  body.has-mobile-cta .site-footer { padding-bottom: 110px; }
  .menu-open .mobile-cta { display: none; }
}

/* ---------- banner de cookies ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-left: auto; background: var(--white); color: var(--ink-text); border-radius: 18px; padding: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: var(--navy); font-weight: 600; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.cookie-banner .btn--ghost { color: var(--navy); }

/* ---------- páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 104px) 0 32px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; }
.breadcrumb { font-size: 14px; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; color: var(--text-2); }
.prose h2 { font-size: 24px; color: var(--text); margin-top: 24px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.notice { border: 1px dashed var(--orange); border-radius: var(--r); padding: 14px 16px; color: var(--text); background: rgba(245, 154, 0, .08); }
.placeholder { outline: 1px dashed currentColor; outline-offset: 2px; }

/* ---------- formulario de calificación ---------- */
.quiz-page { background: var(--paper); color: var(--ink-text); min-height: 70vh; }
.quiz-head { padding: 40px 0 8px; text-align: center; }
.quiz-head h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; color: var(--navy); }
.quiz-head p { color: var(--muted-l); margin-top: 10px; }
.quiz-shell { max-width: 720px; margin: 0 auto; padding: 24px var(--gutter) 96px; scroll-margin-top: 96px; }
.q-wrap { display: flex; flex-direction: column; gap: 22px; }
.q-progress { display: flex; flex-direction: column; gap: 10px; }
.q-progress__label { font-size: 14px; font-weight: 700; color: var(--navy); }
.q-progress__bar { height: 8px; border-radius: 8px; background: var(--line-l); overflow: hidden; }
.q-progress__bar span { display: block; height: 100%; background: var(--grad); border-radius: 8px; transition: width .4s var(--ease); }
.q-card { background: var(--white); border: 1px solid var(--line-l); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 36px); box-shadow: 0 16px 40px rgba(0, 27, 54, .06); }
.q-enter { animation: qIn .28s ease-out; }
@keyframes qIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.q-fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.q-legend { padding: 0; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.q-legend:focus { outline: none; }
.q-title { font: 700 clamp(22px, 3vw, 28px)/1.2 var(--font-display); font-stretch: 125%; letter-spacing: -0.02em; color: var(--navy); }
.q-multi { font-size: 13px; font-weight: 600; color: var(--purple-ink); background: #F1EEF8; padding: 3px 10px; border-radius: 99px; }
.q-help { color: var(--muted-l); margin-bottom: 4px; }
.q-input { font: inherit; font-size: 16px; width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #C3CBD6; background: var(--white); color: var(--ink-text); min-height: 52px; }
.q-input:focus-visible { outline: 3px solid var(--sky); outline-offset: 1px; border-color: var(--navy); }
.q-input[aria-invalid="true"] { border-color: var(--error); }
.q-options { display: flex; flex-direction: column; gap: 10px; }
.q-option { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: var(--r); border: 1.5px solid #C3CBD6; background: var(--white); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.q-option:hover { border-color: var(--navy); }
.q-option.is-checked { border-color: var(--navy); background: #EEF3F8; }
.q-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q-option:focus-within { outline: 3px solid var(--sky); outline-offset: 2px; }
.q-option__box { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 2px solid var(--navy); display: grid; place-items: center; background: var(--white); }
.q-option.is-checked .q-option__box { background: var(--navy); }
.q-option.is-checked .q-option__box::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.q-option__box--radio { border-radius: 50%; }
.q-option.is-checked .q-option__box--radio::after { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.q-option__text { display: flex; flex-direction: column; gap: 2px; }
.q-option__text strong { font-size: 16px; color: var(--ink-text); }
.q-option__text span { font-size: 14px; color: var(--muted-l); }
.q-option--radio { padding: 12px 16px; align-items: center; }
.q-error { margin-top: 14px; color: var(--error); font-weight: 600; font-size: 14px; }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.q-nav .btn--ghost { color: var(--navy); border-color: #C3CBD6; }
.q-nav .btn--cta { margin-left: auto; }
.q-card--result { padding: 0; overflow: hidden; }
.q-result__head { background: var(--grad); padding: 26px clamp(20px, 4vw, 36px); }
.q-result__head h1 { font-size: clamp(24px, 3vw, 30px); color: #fff; text-shadow: 0 1px 12px rgba(0, 27, 54, .45); }
.q-result__head h1:focus, .q-card--no h1:focus { outline: none; }
.q-result__body { padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.q-lead { font-size: 17px; }
.f-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.f-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f-field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.f-opt { font-weight: 400; color: var(--muted-l); }
.f-error { color: var(--error); font-size: 13px; font-weight: 500; }
.f-radios { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; }
.f-radios legend { font-size: 14px; font-weight: 600; color: var(--navy); padding: 0; margin-bottom: 8px; }
.f-radios__row { display: flex; flex-wrap: wrap; gap: 10px; }
.f-grid .q-error, .f-grid .btn { grid-column: 1 / -1; }
.agenda { display: flex; flex-direction: column; gap: 12px; }
.agenda__intro { font-weight: 700; color: var(--navy); }
.agenda__intro:focus { outline: none; }
.agenda__frame { min-height: 520px; border-radius: 16px; overflow: auto; background: var(--paper); }
.agenda__fallback { align-self: flex-start; font-weight: 700; color: var(--navy); }
.q-card--no { display: flex; flex-direction: column; gap: 16px; }
.q-card--no h1 { font-size: clamp(24px, 3vw, 30px); color: var(--navy); }
.q-no__bar { height: 4px; width: 80px; border-radius: 4px; background: var(--grad); }
.q-no__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.q-no__actions .btn--ghost { color: var(--navy); border-color: #C3CBD6; }
.ideas { margin-top: 12px; background: var(--paper); border-radius: 16px; padding: 20px; }
.ideas__form { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.ideas__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.ideas__row .f-field { flex: 1 1 220px; }
.ideas__done { font-weight: 700; color: var(--navy); }
@media (max-width: 480px) { .q-nav .btn { padding-inline: 18px; } }

/* ---------- aparición al hacer scroll ---------- */
.reveal { opacity: 0; translate: 0 36px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.reveal.is-in { opacity: 1; translate: 0 0; }
.no-js .reveal { opacity: 1; translate: none; }

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
  .hero__video, .final video { display: none; }
  .steps__line { transform: none; }
}

/* ---------- botón flotante de WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 45; width: 60px; height: 60px; border-radius: 50%; background: #1FAF5A; display: grid; place-items: center; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1FAF5A; z-index: -1; animation: waPing 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float__tip { position: absolute; right: 72px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--white); color: var(--ink-text); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transition: opacity .2s; }
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; }
@keyframes waPing { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 720px) {
  body.has-mobile-cta .wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); right: 16px; width: 56px; height: 56px; }
  .wa-float__tip { display: none; }
}
.menu-open .wa-float { display: none; }

/* ---------- contacto ---------- */
.contact-card { padding: 28px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.contact-card .icon-tile { margin-bottom: 8px; }
.contact-card__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.contact-card__value { font: 700 20px/1.3 var(--font-display); font-stretch: 110%; overflow-wrap: anywhere; }
a.contact-card:hover .contact-card__value { color: var(--orange); }
.footer-address { font-style: normal; color: var(--muted); }
.footer-legal a { color: inherit; }

/* ---------- planes: plazo de entrega y condiciones ---------- */
.plan__foot { display: flex; flex-direction: column; gap: 10px; }
.plan__delivery { align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--navy); background: var(--white); border: 1px solid var(--line-l); padding: 7px 14px; border-radius: 99px; }
.conds { margin-top: 40px; display: grid; gap: 22px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); background: var(--navy); color: var(--text); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); position: relative; }
.conds::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--grad-soft); }
.conds div { display: flex; flex-direction: column; gap: 4px; }
.conds strong { font-size: 16px; }
.conds span { font-size: 14px; color: var(--text-2); }
.conds-note { margin-top: 14px; font-size: 13px; color: var(--muted-l); text-align: center; }

/* ---------- vista previa en vivo de las webs ---------- */
.mock--nophone { padding-bottom: 28px; }
.mock__screen { position: relative; overflow: hidden; padding: 0; }
.mock__phone > div { position: relative; padding: 0; }
.live { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(160deg, #F7F8FA, #E2E6EC); }
.live iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; transform: scale(var(--live-s, .25)); pointer-events: none; background: #fff; opacity: 0; transition: opacity .6s; }
.live.is-loaded iframe { opacity: 1; }
.live__host { position: absolute; inset: 0; display: grid; place-items: center; font: 600 13px ui-monospace, Menlo, monospace; color: var(--muted-l); padding: 8px; text-align: center; overflow-wrap: anywhere; }
.live--mobile .live__host { font-size: 9px; }
.live:not(.is-loaded)::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 40%; background: var(--grad-soft); animation: liveBar 1.4s ease-in-out infinite; }
@keyframes liveBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* ---------- carrusel de proyectos ---------- */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; border-radius: var(--r-lg); }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.carousel__slide.glass:hover { transform: none; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.carousel__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.carousel__btn:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.carousel__btn:disabled { opacity: .35; cursor: default; background: rgba(255, 255, 255, .06); color: var(--text); border-color: rgba(255, 255, 255, .2); }
.carousel__dots { display: flex; gap: 6px; }
.carousel__dot { width: 24px; height: 24px; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.carousel__dot::before { content: ""; width: 10px; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .3); transition: width .3s, background .3s; }
.carousel__dot[aria-current="true"]::before { width: 26px; background: var(--orange); }
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }

/* ---------- logos: proporción fija en todos los tamaños ---------- */
.site-logo { flex: none; display: inline-flex; }
.site-logo img { height: 26px; width: auto; max-width: none; flex: none; }
.footer-logo { height: 24px; width: auto; align-self: flex-start; max-width: 100%; object-fit: contain; }
@media (max-width: 420px) {
  .site-logo img { height: 21px; }
  .site-header__inner { gap: 10px; }
  .lang-switch__opt { padding: 6px 8px; gap: 0; font-size: 0; }
  .lang-switch__opt svg { width: 22px; height: 15px; }
}

/* ---------- planes: lista de lo que incluyen (sustituye a la banda oscura) ---------- */
.included--plans { margin-top: 40px; }
.included--plans strong { font-size: 18px; font-family: var(--font-display); font-stretch: 110%; }
@media (max-width: 360px) {
  .site-logo img { height: 19px; }
  .site-header__inner { gap: 8px; }
  .lang-switch { padding: 4px; gap: 2px; }
  .lang-switch__opt { padding: 6px; }
}

/* =========================================================
   Ampliación: escaparate, submenú, CTAs, planes, páginas nuevas,
   contacto, ventana de salida
   ========================================================= */
.text-link { font-weight: 700; color: var(--orange); text-decoration: underline; text-underline-offset: 4px; }
.light .text-link { color: var(--navy); }

/* ---------- submenú "Cómo funciona" ---------- */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop__top { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop__menu { position: absolute; top: 100%; left: -16px; min-width: 200px; padding: 8px; border-radius: 14px; background: #00152B; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-drop__menu a { padding: 10px 12px !important; border-radius: 10px; opacity: 1 !important; }
.nav-drop__menu a:hover { background: rgba(255, 255, 255, .06); }
.nav-drop:hover .nav-drop__menu, .nav-drop:focus-within .nav-drop__menu { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 920px) {
  .nav-drop { flex-direction: column; align-items: stretch; }
  .nav-drop__top svg { display: none; }
  .nav-drop__menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .nav-drop__menu a { font-size: 16px !important; padding: 12px 0 !important; border-radius: 0; color: var(--text-2); }
}

/* ---------- escaparate de sectores (hero) ---------- */
.showcase { margin: 0; display: flex; flex-direction: column; gap: 14px; max-width: 540px; justify-self: end; width: 100%; }
.showcase__stage { position: relative; transition: transform .25s ease-out; }
.sc-browser { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.sc-browser .mock__bar span { font-family: var(--font-body); font-weight: 600; }
.sc-screens { position: relative; aspect-ratio: 16 / 10.5; background: #fff; }
.sc-screen { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 12px 14px 14px; gap: 10px; color: var(--ink-text); opacity: 0; transform: scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.sc-screen.is-active { opacity: 1; transform: none; }
.sc-nav { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.sc-logo { width: 22px; height: 22px; border-radius: 7px; background: var(--sc); display: grid; place-items: center; }
.sc-links { margin-left: auto; display: flex; gap: 6px; }
.sc-links i { width: 26px; height: 5px; border-radius: 3px; background: #E2E6EC; }
.sc-hero { flex: 1; border-radius: 12px; display: grid; grid-template-columns: 1.4fr 1fr; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--sc) 18%, #fff), color-mix(in srgb, var(--sc) 6%, #fff)); }
.sc-copy { padding: 14px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.sc-copy strong { font: 700 clamp(15px, 1.6vw, 19px)/1.15 var(--font-display); font-stretch: 115%; color: var(--navy); }
.sc-lines { display: flex; flex-direction: column; gap: 5px; }
.sc-lines i { height: 5px; border-radius: 3px; background: rgba(0, 53, 97, .15); width: 90%; }
.sc-lines i + i { width: 65%; }
.sc-btn { align-self: flex-start; background: var(--sc); color: #001B36; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 99px; margin-top: 4px; box-shadow: 0 6px 16px color-mix(in srgb, var(--sc) 45%, transparent); }
.sc-art { background: linear-gradient(160deg, var(--sc), color-mix(in srgb, var(--sc) 55%, #003561)); display: grid; place-items: center; position: relative; overflow: hidden; }
.sc-art::before, .sc-art::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.sc-art::before { width: 120px; height: 120px; right: -40px; top: -40px; }
.sc-art::after { width: 70px; height: 70px; left: -20px; bottom: -20px; }
.sc-screen.is-active .sc-art svg { animation: scPop .8s var(--ease) both; }
@keyframes scPop { from { transform: scale(.6) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.sc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sc-cards i { height: 34px; border-radius: 8px; background: #F1F3F6; border-top: 3px solid var(--sc); }
.sc-toast { position: absolute; left: -26px; bottom: -22px; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink-text); border-radius: 14px; padding: 10px 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s var(--ease) .25s, transform .5s var(--ease) .25s; pointer-events: none; }
.sc-toast.is-active { opacity: 1; transform: none; }
.sc-toast__dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.sc-toast b { display: block; font-size: 13px; }
.sc-toast small { font-size: 12px; color: var(--muted-l); }
.sc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.sc-tab { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; min-height: 40px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: var(--text-2); font: 600 13px var(--font-body); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.sc-tab:hover { color: var(--text); border-color: rgba(255, 255, 255, .35); }
.sc-tab.is-active { background: var(--sc); color: #001B36; border-color: var(--sc); }
.sc-tab__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgba(0, 27, 54, .45); }
.showcase.is-playing .sc-tab.is-active .sc-tab__bar { animation: scBar var(--sc-dur, 4500ms) linear forwards; }
.showcase.is-paused .sc-tab.is-active .sc-tab__bar { animation-play-state: paused; }
@keyframes scBar { from { width: 0; } to { width: 100%; } }
.sc-examples p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--text-2); }
.sc-examples span::before { content: "✓ "; color: var(--orange); font-weight: 700; }
.sc-examples p:not([hidden]) { animation: qIn .4s ease-out; }
.sc-more { font-size: 13px; color: var(--muted); }
.sc-more a { color: var(--orange); font-weight: 600; }
@media (max-width: 999px) { .showcase { justify-self: stretch; max-width: none; } }
@media (max-width: 600px) {
  .sc-toast { left: 8px; bottom: -18px; }
  .sc-tab { padding: 7px 10px; font-size: 12px; }
}

/* ---------- CTA intermedio ---------- */
.cta-row { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.cta-row p { font: 700 clamp(18px, 1.8vw, 22px)/1.3 var(--font-display); font-stretch: 110%; max-width: 32em; }
.cta-row--light { background: var(--white); border-color: var(--line-l); color: var(--navy); }

/* ---------- planes ---------- */
.plan-content { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -16px auto 32px; max-width: 760px; text-align: center; font-size: 17px; font-weight: 600; color: var(--navy); background: #F1EEF8; border-radius: 99px; padding: 12px 22px; }
.plan-content svg { flex: none; }
.plan__tagline { font: 700 18px/1.3 var(--font-display); font-stretch: 110%; color: var(--purple-ink); }
.plan__promise { font-weight: 500; color: var(--ink-text); }
.plan__inc { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-l); margin-bottom: -8px; }
.plan .btn--block { margin-top: 4px; }
@media (max-width: 600px) { .plan-content { border-radius: 16px; font-size: 15px; } }

/* ---------- pasos: 5 en la home ---------- */
.steps ol { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }

/* ---------- página Cómo funciona ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 20px; bottom: 20px; width: 3px; border-radius: 3px; background: var(--grad); opacity: .7; }
.timeline__item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; position: relative; }
.timeline__num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 800 20px var(--font-display); box-shadow: 0 0 0 6px var(--ink); }
.timeline__card { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.timeline__top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.timeline__time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--orange); }
.who-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.who { border-radius: var(--r-lg); padding: 28px; }
.who h3 { font-size: 24px; margin-bottom: 16px; }
.who ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.who li { display: flex; gap: 10px; font-size: 16px; }
.who--you { background: var(--white); border: 1px solid var(--line-l); }
.who--you h3 { color: var(--purple-ink); }
.who--we { background: var(--navy); color: var(--text); }

/* ---------- página Sectores ---------- */
.sectors-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.sector-card { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.sector-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--sc); }
.sector-card__head { display: flex; justify-content: space-between; align-items: flex-start; }
.badge--soft { background: rgba(245, 154, 0, .15); color: var(--orange); border: 1px solid rgba(245, 154, 0, .4); }
.sector-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.sector-list li { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); }
.sector-list sup { color: var(--orange); }
.plan-chip { flex: none; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: var(--text-2); white-space: nowrap; }
.not-for { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: center; background: var(--white); border: 1px solid var(--line-l); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); }
.not-for ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.not-for li { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ink-text); }

/* ---------- contacto: formulario y mapa ---------- */
.contact-split { margin-top: 40px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.contact-form, .contact-map { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.contact-form h2, .contact-map h2 { font-size: 24px; }
.contact-form__frame { background: var(--white); border-radius: 14px; overflow: hidden; margin-top: 8px; min-height: 400px; }
.contact-map__frame { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; margin: 8px 0; background: var(--ink-2); }
.contact-map__frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }

/* ---------- calendario tras calificar ---------- */
.agenda__iframe { width: 100%; min-height: 720px; border: 0; border-radius: 14px; background: var(--paper); }

/* ---------- ventana de salida ---------- */
.exit-pop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(0, 12, 26, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadeIn .3s ease-out; }
.exit-pop[hidden] { display: none; }
.exit-pop__card { position: relative; max-width: 520px; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: clamp(28px, 5vw, 44px); border-radius: 26px; background: radial-gradient(circle at 20% 0%, rgba(166, 114, 208, .35), transparent 55%), radial-gradient(circle at 100% 100%, rgba(245, 154, 0, .3), transparent 50%), var(--ink-2); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); animation: popIn .4s var(--ease); }
.exit-pop__card h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.12; }
.exit-pop__card p { color: var(--text-2); }
.exit-pop__iso { height: 40px; width: auto; }
.exit-pop__close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.exit-pop__later { background: none; border: 0; color: var(--muted); font: 500 14px var(--font-body); text-decoration: underline; cursor: pointer; padding: 8px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.sc-examples p[hidden] { display: none; }
.plan .btn--block { font-size: 15px; padding-inline: 16px; }

/* contacto: valores largos (email) sin cortes raros */
.contact-card__value { font-stretch: 100%; font-size: clamp(16px, 1.35vw, 19px); overflow-wrap: normal; word-break: normal; }
.contact-card__value--email { font-size: clamp(15px, 1.2vw, 17px); }
.contact-grid { --min: 250px !important; }
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (min-width: 1100px) { .contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr !important; } }

/* formulario: último paso con los datos de contacto */
.q-contact__fields { display: grid; gap: 14px; margin-top: 6px; }
.q-privacy { font-size: 13px; color: var(--muted-l); margin-top: 12px; }
.q-privacy a { color: var(--navy); text-decoration: underline; }
.q-calnote { font-size: 14px; color: var(--navy); background: var(--paper); border-radius: 12px; padding: 10px 14px; margin: 10px 0 4px; }

/* contacto: formulario de LeadConnector a todo el ancho en móvil (form_embed.js ajusta la altura) */
.contact-form__frame iframe { display: block; width: 100%; min-height: 713px; }
@media (max-width: 600px) {
  .contact-form { padding: 18px 12px; }
  .contact-form h2, .contact-form > p { padding: 0 6px; }
  .contact-form__frame { border-radius: 10px; }
}
