/* ==========================================================================
   Actium Soluciones – Design System & Visual Architecture
   Paleta: Navy #003366 · Royal #007ACC · Sky #CCE0FF · Fondo #E6F0FF
   ========================================================================== */
:root {
  --navy: #003366;
  --navy-950: #001428;
  --navy-900: #001f3f;
  --navy-800: #00284f;
  --royal: #007acc;
  --royal-600: #0068ae;
  --sky: #cce0ff;
  --sky-light: #e6f0ff;
  --bg: #e6f0ff;
  --white: #ffffff;
  --ink: #0b2340;
  --muted: #4a6283;
  --line: rgba(0, 51, 102, .12);

  --grad-hero: radial-gradient(1200px 600px at 85% -10%, rgba(0,122,204,.42), transparent 60%),
               radial-gradient(900px 500px at -10% 110%, rgba(124,196,255,.20), transparent 60%),
               linear-gradient(165deg, #00162e 0%, var(--navy-900) 45%, #00386b 100%);
  --grad-dark-section: radial-gradient(1000px 500px at 20% 0%, rgba(0,122,204,.30), transparent 60%),
                       radial-gradient(900px 480px at 85% 100%, rgba(110,190,255,.18), transparent 60%),
                       linear-gradient(170deg, #07192d 0%, #0d2747 50%, #0a213b 100%);
  --grad-royal: linear-gradient(135deg, var(--royal) 0%, #2b9bf0 100%);
  --grad-soft: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(0, 51, 102, .06);
  --shadow: 0 14px 40px -12px rgba(0, 51, 102, .22);
  --shadow-lg: 0 30px 70px -20px rgba(0, 51, 102, .35);

  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--royal);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-royal); color: #fff; box-shadow: 0 10px 24px -8px rgba(0,122,204,.6); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(0,122,204,.7); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--royal); color: var(--royal); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 6px 18px -4px rgba(0,51,102,.12); }
.btn-light:hover { color: var(--royal); transform: translateY(-2px); box-shadow: 0 12px 24px -6px rgba(0,51,102,.2); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: rgba(255,255,255,.16); color: #fff; border-color: #fff; }
.btn-sm { padding: .6em 1.2em; font-size: .9rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header (Alineación Impecable) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: rgba(0,51,102,.16); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 20px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; max-width: none; flex-shrink: 0; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 10px; background: none; border: 0; white-space: nowrap;
  font: 500 .95rem var(--font-head); color: var(--ink); cursor: pointer;
}
.nav-link:hover, .nav-link.active, .has-dropdown.active > .nav-link { color: var(--royal); background: rgba(0,122,204,.08); }
.has-dropdown { position: relative; }
.has-dropdown svg { transition: transform .25s; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 290px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px;
  border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .25s var(--ease);
}
.dropdown a { display: block; padding: 12px 14px; border-radius: 12px; }
.dropdown a strong { display: block; font-family: var(--font-head); color: var(--navy); font-weight: 600; }
.dropdown a span { font-size: .85rem; color: var(--muted); }
.dropdown a:hover, .dropdown a.active { background: var(--bg); }
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover svg, .has-dropdown.open svg { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
#btn-client-area { height: 42px; padding: 0 1.4em; font-size: .95rem; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (Cabeceras con Patrón Sutil y Moderno) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--grad-hero); padding: 110px 0 130px;
}
/* Patrón sutil y moderno, no agresivo */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("/assets/img/pattern-hero.svg");
  background-repeat: repeat;
  background-size: 80px 80px;
  opacity: .75;
  mask-image: radial-gradient(ellipse at 50% 35%, rgba(0,0,0,1) 50%, rgba(0,0,0,.55) 85%, rgba(0,0,0,.25) 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, rgba(0,0,0,1) 50%, rgba(0,0,0,.55) 85%, rgba(0,0,0,.25) 100%);
}
.hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,224,255,.25), transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1, .hero h2 { color: #fff; }
.hero h1 .hl { background: linear-gradient(90deg, var(--sky), #7cc4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.9); max-width: 620px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-badges { display: flex; gap: 28px; margin-top: 46px; flex-wrap: wrap; }
.hero-badges div { font-size: .9rem; color: rgba(255,255,255,.78); }
.hero-badges strong { display: block; font: 700 1.8rem var(--font-head); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font: 600 .8rem var(--font-head); letter-spacing: .12em; text-transform: uppercase;
  background: rgba(0,122,204,.1); color: var(--royal); margin-bottom: 18px;
}
.hero .eyebrow, .dark .eyebrow {
  background: rgba(204,224,255,.16); color: var(--sky);
  border: 1px solid rgba(204,224,255,.25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(124,196,255,.3); animation: pulse 2s infinite; }

/* Page Hero: Cabecera común a todas las páginas interiores */
.page-hero {
  padding: 95px 0 105px; text-align: center;
  background:
    radial-gradient(900px 450px at 50% -10%, rgba(0,122,204,.4), transparent 65%),
    radial-gradient(700px 350px at 85% 100%, rgba(124,196,255,.16), transparent 55%),
    linear-gradient(165deg, #001730 0%, #00284f 50%, #003a6c 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("/assets/img/pattern-hero.svg");
  background-repeat: repeat;
  background-size: 80px 80px;
  opacity: .75;
  mask-image: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,1) 50%, rgba(0,0,0,.55) 85%, rgba(0,0,0,.25) 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,1) 50%, rgba(0,0,0,.55) 85%, rgba(0,0,0,.25) 100%);
}
.page-hero p.lead { margin: 0 auto; max-width: 680px; }
.page-hero .hero-cta { justify-content: center; }

/* Hero visual card */
.hero-visual { position: relative; }
.glass {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.chart-card { padding: 26px; animation: float 7s ease-in-out infinite; }
.chart-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.chart-card .pair { font: 600 1rem var(--font-head); }
.chart-card .chg { font: 600 .9rem var(--font-head); color: #6ee7b7; background: rgba(110,231,183,.12); padding: 4px 10px; border-radius: 999px; }
.chart-card svg { width: 100%; height: 180px; }
.chart-card .line { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.8s var(--ease) forwards .3s; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.mini-stats div { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 12px; font-size: .8rem; color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.08); }
.mini-stats b { display: block; color: #fff; font: 600 1rem var(--font-head); }
.floating-chip { position: absolute; padding: 12px 16px; font-size: .85rem; display: flex; gap: 10px; align-items: center; animation: float 6s ease-in-out infinite; }
.floating-chip.c1 { top: -48px; right: -10px; animation-delay: -2s; }
.floating-chip.c2 { bottom: -28px; left: -24px; animation-delay: -4s; }
.floating-chip .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-royal); }

/* ---------- Ticker ---------- */
.ticker { background: var(--navy-950); color: #fff; overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.06); }
.ticker-track { display: flex; gap: 48px; padding: 14px 0; width: max-content; animation: marquee 40s linear infinite; }
.ticker-item { font: 500 .9rem var(--font-head); display: flex; gap: 10px; white-space: nowrap; color: rgba(255,255,255,.75); }
.ticker-item b { color: #fff; }
.ticker-item .up { color: #6ee7b7; } .ticker-item .down { color: #fca5a5; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.section.white { background: #fff; }
.section.soft { background: var(--grad-soft); }

/* ---------- Secciones Oscuras (Patrón Satinado Suave y Confortable) ---------- */
.section.dark {
  background: var(--grad-dark-section);
  color: rgba(255,255,255,.9);
  position: relative; overflow: hidden;
}
.section.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("/assets/img/pattern-dark.svg");
  background-repeat: repeat;
  background-size: 60px 60px;
  opacity: .70;
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,1) 50%, rgba(0,0,0,.55) 85%, rgba(0,0,0,.25) 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,1) 50%, rgba(0,0,0,.55) 85%, rgba(0,0,0,.25) 100%);
}
.section.dark > .container { position: relative; z-index: 1; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.dark .section-head p { color: rgba(255,255,255,.82); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.lead-muted { color: var(--muted); font-size: 1.08rem; }

/* ---------- Cards & Grids (Alineación Perfecta de Altura) ---------- */
.grid { display: grid; gap: 24px; align-items: stretch; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-royal);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0,122,204,.25); }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); margin: 0; flex: 1 1 auto; }
.card h3 { margin-bottom: .45em; }
.icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sky), var(--bg)); color: var(--royal); margin-bottom: 22px;
  transition: transform .35s var(--ease), background .35s; flex-shrink: 0;
}
.icon svg { width: 26px; height: 26px; }
.card:hover .icon { transform: rotate(-6deg) scale(1.06); background: var(--grad-royal); color: #fff; }

.dark .card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 35px -10px rgba(0,0,0,.35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background .35s;
}
.dark .card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(124,196,255,.4);
  box-shadow: 0 20px 45px -12px rgba(0,51,102,.5);
}
.dark .card p { color: rgba(255,255,255,.78); }
.dark .card .icon { background: rgba(204,224,255,.16); color: var(--sky); border: 1px solid rgba(204,224,255,.2); }
.dark .card:hover .icon { background: var(--grad-royal); color: #fff; border-color: transparent; }
.card .meta { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); font-size: .92rem; }
.card .meta b { display: block; color: var(--navy); font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.card .meta + .meta { margin-top: 12px; padding-top: 0; border: 0; }
.dark .card .meta b { color: var(--sky); }
.dark .card .meta { border-color: rgba(255,255,255,.15); }
.tag { display: inline-block; font: 700 .72rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--royal); margin-bottom: 10px; }

/* Feature list */
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: 0 0 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--royal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.check-list strong { color: var(--navy); font-family: var(--font-head); }
.dark .check-list strong { color: #fff; }

/* Visual panel */
.visual-panel {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3.4; background: var(--grad-hero);
}
.visual-panel img { width: 100%; height: 100%; object-fit: cover; }
.visual-panel .overlay-stat { position: absolute; left: 22px; bottom: 22px; padding: 16px 20px; color: #fff; }
.visual-panel .overlay-stat strong { display: block; font: 700 1.6rem var(--font-head); }

/* Stats band (Métricas con Alineación Perfecta en Cards) */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.stats > div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 32px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.3);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.stats > div:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 196, 255, 0.45);
  box-shadow: 0 14px 35px -10px rgba(0, 122, 204, 0.3);
}
.stats strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font: 800 clamp(1.65rem, 2.4vw, 2.35rem) var(--font-head);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  white-space: nowrap;
  line-height: 1.15;
}
.dark .stats strong {
  color: #fff;
}
.stats span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font: 500 .95rem var(--font-body);
  color: rgba(204, 224, 255, 0.85);
  line-height: 1.35;
  text-align: center;
}
.dark .stats span {
  color: rgba(204, 224, 255, 0.85);
}

.section:not(.dark) .stats > div {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.section:not(.dark) .stats strong {
  color: var(--navy);
}
.section:not(.dark) .stats span {
  color: var(--muted);
}

/* Steps */
.steps { counter-reset: step; }
.steps .card { padding-top: 64px; }
.steps .card::after {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 22px; left: 32px; font: 800 1.5rem var(--font-head); color: var(--sky);
}

/* Callout quote */
.quote-band { text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 860px; font: 600 clamp(1.5rem, 3vw, 2.3rem)/1.3 var(--font-head); color: #fff; position: relative; z-index: 1; }
.quote-band blockquote span { color: var(--sky); }

/* ---------- Pricing / Accounts (Alineación Horizontal y Vertical Exacta) ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  padding: 36px 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0,122,204,.3); }

/* Cabecera del plan con alturas consistentes para alinear el precio en fila */
.plan-head {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.plan-name {
  font: 800 .85rem var(--font-head);
  letter-spacing: .16em;
  color: var(--royal);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.plan-for {
  color: var(--muted);
  font-size: .92rem;
  margin: 0 0 14px;
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}
.plan .price {
  font: 800 2.3rem/1.1 var(--font-head);
  color: var(--navy);
  margin: 0;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.plan .price small {
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

/* Lista de ventajas con expansión automática */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}
.plan-features li {
  padding-left: 26px;
  position: relative;
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.45;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--royal);
  border-bottom: 2.5px solid var(--royal);
  transform: rotate(-45deg);
}

/* Pie del plan anclado al fondo */
.plan-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}
.plan .best {
  background: var(--bg);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 20px;
  border: 1px solid rgba(0, 51, 102, .06);
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.4;
}
.plan .best b {
  color: var(--navy);
  display: block;
  font-family: var(--font-head);
  margin-bottom: 3px;
}
.plan .btn {
  width: 100%;
}

/* Plan destacado */
.plan.featured {
  background:
    radial-gradient(450px 300px at 90% 10%, rgba(0,122,204,.6), transparent 60%),
    linear-gradient(165deg, #001f3f 0%, #003366 55%, #004d94 100%);
  border: 2px solid var(--sky);
  color: #fff;
  box-shadow: 0 20px 50px -15px rgba(0,51,102,.5);
}
.plan.featured::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("/assets/img/pattern-dark.svg");
  background-repeat: repeat;
  background-size: 60px 60px;
  opacity: .5;
}
.plan.featured .plan-head { border-bottom-color: rgba(255,255,255,.18); }
.plan.featured .price, .plan.featured .plan-features li { color: #fff; }
.plan.featured .plan-for { color: rgba(255,255,255,.82); }
.plan.featured .plan-name { color: var(--sky); }
.plan.featured .plan-features li::before { border-color: var(--sky); }
.plan.featured .best {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.18);
}
.plan.featured .best b { color: #fff; }
.plan.featured:hover { transform: translateY(-6px); box-shadow: 0 28px 65px -15px rgba(0,51,102,.65); }
.plan .ribbon {
  position: absolute; top: 18px; right: 18px;
  background: var(--sky); color: var(--navy);
  font: 700 .7rem var(--font-head); letter-spacing: .1em;
  padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  z-index: 2;
}

/* ---------- Glossary ---------- */
.glossary-layout { display: grid; grid-template-columns: 260px 1fr; gap: 50px; align-items: start; }
.glossary-nav { position: sticky; top: 110px; background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.glossary-nav h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.glossary-nav a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.glossary-nav a:hover, .glossary-nav a.active { background: var(--bg); color: var(--royal); }
.search-box { position: relative; margin-bottom: 30px; }
.search-box input { width: 100%; padding: 16px 20px 16px 50px; border-radius: 999px; border: 1px solid var(--line); font: 1rem var(--font-body); background: #fff; box-shadow: var(--shadow-sm); }
.search-box input:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(0,122,204,.15); }
.search-box svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.term-group { margin-bottom: 50px; scroll-margin-top: 110px; }
.term-group h2 { font-size: 1.6rem; }
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: stretch; }
.term { background: #fff; border-radius: var(--radius-sm); padding: 20px 22px; border: 1px solid var(--line); border-left: 4px solid var(--royal); box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; }
.term dt { font: 600 1.05rem var(--font-head); color: var(--navy); margin-bottom: 4px; }
.term dd { margin: 0; color: var(--muted); font-size: .95rem; flex: 1 1 auto; }
.no-results { display: none; text-align: center; color: var(--muted); padding: 30px; }

/* ---------- Form Architecture & Perfect Alignment ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  margin: 0 0 20px;
  width: 100%;
}
.form-row .field {
  margin: 0;
}
.field label {
  display: block;
  font: 600 .88rem var(--font-head);
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.field input, .field select, .field textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font: 1rem/1.5 var(--font-body);
  color: var(--ink);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input, .field select {
  height: 52px;
  padding: 0 16px;
  line-height: 50px;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}
.field textarea {
  min-height: 140px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,122,204,.12);
}
.field.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin: 10px 0 24px;
}
.field.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: var(--royal);
}
.field.check label {
  margin: 0;
  font: 400 .9rem/1.5 var(--font-body);
  color: var(--muted);
  cursor: pointer;
}
#contact-submit {
  min-width: 220px;
  height: 48px;
}
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 12px; display: none; font-weight: 500; }
.form-status.ok { display: block; background: #e7f8ef; color: #0f7a43; }
.form-status.err { display: block; background: #fdecec; color: #b42318; }

.info-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 320px at 90% 10%, rgba(0,122,204,.5), transparent 60%),
    linear-gradient(160deg, #001f3f 0%, #002d59 55%, #003f7a 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 44px;
  border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow);
}
.info-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("/assets/img/pattern-dark.svg");
  background-repeat: repeat;
  background-size: 60px 60px;
  opacity: .6;
}
.info-card > * { position: relative; z-index: 1; }
.info-card h3 { color: #fff; }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-item:last-child { border: 0; }
.info-item .icon { margin: 0; flex: 0 0 48px; width: 48px; height: 48px; background: rgba(204,224,255,.16); color: var(--sky); border: 1px solid rgba(204,224,255,.2); }
.info-item small { display: block; font: 700 .75rem var(--font-head); letter-spacing: .12em; color: var(--sky); text-transform: uppercase; }
.info-item a, .info-item span { color: #fff; }

/* ---------- Economic calendar ---------- */
.widget-shell { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 16px; min-height: 620px; overflow: hidden; border: 1px solid var(--line); }

/* ---------- Legal ---------- */
.legal { max-width: 860px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); padding: 56px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-lg); padding: 70px 60px;
  background:
    radial-gradient(700px 380px at 90% 10%, rgba(0,122,204,.55), transparent 60%),
    radial-gradient(600px 300px at 10% 90%, rgba(124,196,255,.22), transparent 55%),
    linear-gradient(160deg, #001f3f 0%, #003366 50%, #004b8f 100%);
  color: #fff; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
  box-shadow: 0 20px 50px -15px rgba(0,51,102,.45);
  border: 1px solid rgba(255,255,255,.18);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("/assets/img/pattern-dark.svg");
  background-repeat: repeat;
  background-size: 60px 60px;
  opacity: .65;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.86); margin: 0; position: relative; z-index: 1; }
.cta-band .hero-cta { margin: 0; position: relative; z-index: 1; }

/* ---------- Risk band & Footer ---------- */
.risk-band { background: var(--sky); padding: 26px 0; font-size: .86rem; color: var(--navy); border-top: 1px solid rgba(0,51,102,.08); }
.risk-band p { margin: 0; line-height: 1.6; }
.site-footer {
  background:
    radial-gradient(900px 450px at 50% 0%, rgba(0,122,204,.2), transparent 70%),
    #001428;
  color: rgba(255,255,255,.75); padding: 80px 0 0;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("/assets/img/pattern-dark.svg");
  background-repeat: repeat;
  background-size: 60px 60px;
  opacity: .35;
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 50px; width: auto; max-width: 100%; align-self: flex-start; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; font-size: .95rem; line-height: 1.6; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: .02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.72); font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding: 26px 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }

/* ---------- Modal & cookies ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(0, 20, 45, .65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .3s; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; max-width: 480px; border-radius: var(--radius-lg); padding: 40px; text-align: center; box-shadow: var(--shadow-lg); animation: pop .4s var(--ease); border: 1px solid var(--line); }
.modal-card p { color: var(--muted); }
.modal-icon { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--grad-royal); color: #fff; box-shadow: 0 10px 24px -8px rgba(0,122,204,.6); }
.modal-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.cookie-bar { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 150; max-width: 560px; margin-right: auto; display: flex; gap: 16px; align-items: center; background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: .9rem; animation: pop .4s var(--ease); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; color: var(--muted); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(124,196,255,.25); } 50% { box-shadow: 0 0 0 8px rgba(124,196,255,0); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; margin-left: 10px; display: flex; align-items: center; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  font: 600 .85rem var(--font-head); color: var(--navy); transition: border-color .2s, box-shadow .2s;
}
.lang-btn:hover, .lang-switch.open .lang-btn { border-color: var(--royal); box-shadow: 0 0 0 4px rgba(0,122,204,.1); }
.lang-btn img, .lang-opt img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lang-btn svg { transition: transform .25s; }
.lang-switch.open .lang-btn svg { transform: rotate(180deg); }
.lang-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 420px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 12px; z-index: 120; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease);
}
.lang-switch.open .lang-panel { opacity: 1; visibility: visible; transform: none; }
.lang-search { position: relative; margin-bottom: 8px; }
.lang-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.lang-search input { width: 100%; padding: 10px 12px 10px 36px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); font: .9rem var(--font-body); }
.lang-search input:focus { outline: none; border-color: var(--royal); background: #fff; }
.lang-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; max-height: 340px; overflow-y: auto; }
.lang-opt {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 10px;
  background: none; cursor: pointer; font: 500 .9rem var(--font-body); color: var(--ink); text-align: left;
}
.lang-opt:hover { background: var(--bg); color: var(--royal); }
.lang-opt.active { background: var(--sky); color: var(--navy); font-weight: 600; }
.lang-note { margin: 8px 4px 0; font-size: .75rem; color: var(--muted); text-align: right; }

/* Ocultar interfaz Google Translate */
body { top: 0 !important; position: static !important; }
body > .skiptranslate, .goog-te-banner-frame, iframe.skiptranslate,
#goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .goog-te-spinner-pos,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.goog-text-highlight, font[style] { background: none !important; box-shadow: none !important; }

/* ---------- Responsive Optimization across all screen sizes ---------- */
@media (max-width: 1200px) {
  .lang-switch { margin-left: auto; }
  .lang-btn { height: 40px; padding: 0 10px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .main-nav { position: fixed; inset: 78px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 24px; gap: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); }
  .main-nav.open { transform: none; }
  .main-nav > ul { flex-direction: column; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px; font-size: 1.05rem; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; display: none; padding: 0 0 0 12px; min-width: 0; }
  .has-dropdown:hover .dropdown { transform: none; }
  .has-dropdown.open .dropdown { display: block; transform: none; }
  .nav-actions { flex-direction: column; }
  .menu-toggle { display: block; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 992px) {
  .hero-grid, .split, .contact-grid, .glossary-layout, .cta-band { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .glossary-nav { position: static; }
  .section { padding: 80px 0; }
  .cta-band { padding: 50px 36px; text-align: center; }
  .cta-band .hero-cta { justify-content: center; }
}

@media (max-width: 768px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-for { min-height: auto; }
  .plan .best { min-height: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .field { margin-bottom: 20px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .terms { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 16px; }
  .stats > div { padding: 26px 18px; }
  .stats strong { font-size: 1.9rem; min-height: 46px; }
  .stats span { min-height: auto; }
  .hero { padding: 75px 0 85px; }
  .page-hero { padding: 70px 0 80px; }
  .hero p.lead, .page-hero p.lead { font-size: 1.05rem; }
  .form-card, .info-card, .legal { padding: 26px 20px; }
  .cta-band { padding: 40px 22px; border-radius: var(--radius); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .floating-chip { display: none; }
  .cookie-bar { flex-direction: column; align-items: flex-start; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; }
  .header-inner { height: 70px; }
  .brand img { height: 38px; }
  .main-nav { inset: 70px 0 0 0; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.65rem; }
}

@media (max-width: 380px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .btn { width: 100%; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }
  .price { font-size: 1.9rem !important; }
}
