/* =====================================================================
   AZ FORTIS S.C. — Hoja de estilos del sitio
   Paleta tomada del logotipo: azul marino profundo, oro y plata.
   ===================================================================== */

:root {
  --navy-950: #050f27;
  --navy-900: #0a1f4d;
  --navy-800: #0f2b66;
  --navy-700: #173b82;
  --navy-600: #24509f;
  --gold-300: #f2d996;
  --gold-400: #e4bf63;
  --gold-500: #d4a64a;
  --gold-600: #b8862f;
  --gold-700: #8c6420;   /* oro accesible sobre blanco */
  --silver-200: #eef1f6;
  --silver-300: #d9dee8;
  --silver-400: #b9c1cf;
  --ink: #0c1a33;
  --ink-2: #33415c;
  --muted: #5b6a84;
  --line: #e3e8f1;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --wa: #1fae55;
  --wa-dark: #178a43;
  --danger: #c0392b;

  --grad-gold: linear-gradient(135deg, #f2d996 0%, #d4a64a 45%, #a9792a 100%);
  --grad-silver: linear-gradient(180deg, #ffffff 0%, #cfd6e2 55%, #9aa4b5 100%);
  --grad-navy: radial-gradient(1200px 600px at 75% 10%, #1d4594 0%, #0f2b66 35%, #0a1f4d 65%, #050f27 100%);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 77, .06), 0 2px 8px rgba(10, 31, 77, .05);
  --shadow: 0 10px 30px -12px rgba(10, 31, 77, .25);
  --shadow-lg: 0 30px 60px -20px rgba(5, 15, 39, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-700); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.ico-xs { width: .85em; height: .85em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold-500); color: var(--navy-950); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: 46px; padding: 0; }
.btn-gold { background: var(--grad-gold); color: var(--navy-950); box-shadow: 0 8px 24px -10px rgba(212, 166, 74, .8); }
.btn-gold:hover { box-shadow: 0 14px 30px -10px rgba(212, 166, 74, .95); }
.btn-gold .ico { transition: transform .25s var(--ease); }
.btn-gold:hover .ico { transform: translateX(3px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); box-shadow: 0 10px 24px -10px rgba(31, 174, 85, .8); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-outline-gold { border-color: var(--gold-500); color: var(--gold-300); }
.btn-outline-gold:hover { background: var(--gold-500); color: var(--navy-950); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: var(--gold-400); color: var(--gold-300); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--navy-700); }
.link-arrow:hover { color: var(--gold-700); }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Etiquetas ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; margin-bottom: 14px;
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-700);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow-gold { color: var(--gold-400); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-950); color: var(--silver-300); font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar strong { color: var(--gold-400); }
.topbar-sep { opacity: .5; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar-links a:hover { color: var(--gold-300); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 0 rgba(228, 191, 99, .7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(228, 191, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(228, 191, 99, 0); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 31, 77, .92); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(212, 166, 74, .18);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled { background: rgba(5, 15, 39, .96); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .6); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(212, 166, 74, .45); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: .08em;
  background: var(--grad-silver); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-name b { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.brand-name small { font-size: .62em; letter-spacing: .04em; }
.brand-tag { margin-top: 5px; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--silver-400); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > a, .nav-drop > a {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 999px;
  color: var(--silver-300); font-weight: 600; font-size: .93rem; transition: color .2s, background .2s;
}
.nav-links > a:hover, .nav-drop > a:hover, .nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-links a.is-active { color: var(--gold-300); }
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 560px; transform: translate(-50%, 8px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav-drop-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop-menu a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; transition: background .2s; }
.nav-drop-menu a:hover { background: var(--bg-soft); }
.nav-drop-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--navy-900); color: var(--gold-400); flex: none; }
.nav-drop-menu strong { display: block; font-size: .9rem; color: var(--ink); }
.nav-drop-menu small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-links + .nav-cta { margin-left: 8px; }
.nav:not(:has(.nav-links)) .nav-cta { margin-left: auto; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; cursor: pointer; }
.nav-toggle .ico { width: 22px; height: 22px; }
.mobile-menu { background: var(--navy-950); border-top: 1px solid rgba(255, 255, 255, .08); padding: 12px 24px 24px; }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.mobile-menu-cta { display: grid; gap: 10px; margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; padding: 96px 0 120px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.streak {
  position: absolute; height: 2px; width: 46vw; border-radius: 2px; transform: rotate(-38deg);
  background: linear-gradient(90deg, transparent, rgba(242, 217, 150, .95), transparent);
  filter: drop-shadow(0 0 6px rgba(228, 191, 99, .8));
  animation: streak 7s var(--ease) infinite;
}
.s1 { top: 18%; left: -14%; }
.s2 { bottom: 14%; right: -18%; animation-delay: 2.4s; }
.s3 { top: 52%; left: 38%; width: 22vw; opacity: .5; animation-delay: 4.2s; }
@keyframes streak { 0%, 100% { opacity: .15; } 45% { opacity: 1; } }
.hero-glow { position: absolute; top: -140px; left: 36%; width: 420px; height: 260px; background: radial-gradient(closest-side, rgba(255, 255, 255, .28), transparent); filter: blur(10px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 600; margin-bottom: 22px; }
.hero h1 em { color: transparent; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; }
.hero .lead { font-size: 1.13rem; color: var(--silver-300); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; color: var(--silver-300); font-size: .9rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ico { color: var(--gold-400); }

.hero-panel { position: relative; }
.panel-card {
  position: relative; padding: 26px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px); box-shadow: var(--shadow-lg);
}
.panel-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(242, 217, 150, .8), transparent 40%, transparent 70%, rgba(242, 217, 150, .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.panel-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; color: var(--gold-300); }
.panel-live { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--silver-300); }
.countdown { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 22px; padding: 18px; border-radius: var(--radius); background: rgba(5, 15, 39, .45); margin-bottom: 18px; position: relative; }
.ring { width: 120px; height: 120px; transform: rotate(-90deg); grid-row: 1; grid-column: 1; }
.ring circle { fill: none; stroke-width: 9; }
.ring-bg { stroke: rgba(255, 255, 255, .1); }
.ring-fg { stroke: var(--gold-400); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: calc(327 - 327 * var(--p) / 100); transition: stroke-dashoffset 1.6s var(--ease); }
.countdown-num { grid-row: 1; grid-column: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.countdown-num strong { font-family: var(--font-display); font-size: 2.6rem; color: #fff; }
.countdown-num span { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--silver-400); margin-top: 4px; }
.countdown-txt { display: flex; flex-direction: column; gap: 3px; }
.countdown-txt small { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--silver-400); }
.countdown-txt strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-300); line-height: 1.1; }
.countdown-txt span { font-size: .9rem; color: var(--silver-300); }
.panel-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.panel-tasks li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: .92rem; color: var(--silver-300); }
.panel-tasks li.done { color: #fff; }
.panel-tasks li.done .ico { color: #5fd38d; }
.panel-tasks li.doing { color: var(--gold-300); background: rgba(212, 166, 74, .12); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(242, 217, 150, .3); border-top-color: var(--gold-300); animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.panel-foot { margin: 16px 0 0; font-size: .82rem; color: var(--silver-400); text-align: center; }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; color: var(--navy-900); font-weight: 700; font-size: .82rem; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.float-chip .ico { color: var(--gold-600); }
.chip-a { top: -18px; right: -14px; }
.chip-b { bottom: -22px; left: -26px; animation-delay: 1.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Pilares ---------- */
.pillars { position: relative; margin-top: -56px; z-index: 2; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.pillar { display: flex; gap: 18px; padding: 30px 28px; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar-n { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; font-weight: 700; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillar h3 { font-size: 1.5rem; margin-bottom: 4px; }
.pillar p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--grad-navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy h2 em { color: var(--gold-400); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-navy .section-head p { color: var(--silver-300); }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy-900); color: var(--gold-400); margin-bottom: 22px; transition: transform .35s var(--ease); }
.service-ico .ico { width: 26px; height: 26px; }
.service-card:hover .service-ico { transform: rotate(-6deg) scale(1.05); }
.service-code { position: absolute; top: 30px; right: 26px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; color: var(--silver-400); }
.service-card h3 { font-size: 1.55rem; }
.service-card p { color: var(--muted); flex: 1; }
.service-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--navy-700); }
.service-card:hover .service-more { color: var(--gold-700); }

/* ---------- Perfiles ---------- */
.profiles { border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); padding: 10px; }
.profile-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; background: rgba(5, 15, 39, .5); border-radius: 16px; }
.profile-tabs button { min-height: 50px; border: 0; border-radius: 12px; background: transparent; color: var(--silver-300); font-weight: 700; cursor: pointer; transition: background .25s, color .25s; }
.profile-tabs button:hover { color: #fff; }
.profile-tabs button[aria-selected="true"] { background: var(--grad-gold); color: var(--navy-950); }
.profile-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 34px; animation: fadeUp .45s var(--ease); }
.profile-panel h3 { font-size: 2rem; }
.profile-pain { display: flex; gap: 10px; color: var(--silver-300); font-size: 1.05rem; margin-bottom: 26px; }
.profile-pain .ico { color: var(--gold-400); margin-top: 4px; }
.profile-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.profile-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.profile-list .ico { color: var(--gold-400); margin-top: 3px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.about-visual { position: relative; }
.about-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(242, 217, 150, .55); border-radius: 14px; pointer-events: none; }
.about-stamp { position: absolute; right: -22px; bottom: -26px; display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-radius: 18px; background: var(--grad-gold); color: var(--navy-950); box-shadow: var(--shadow); }
.about-stamp strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.about-stamp span { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; }
.about-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.about-copy > p { color: var(--ink-2); font-size: 1.05rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.values div { padding: 20px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.values .ico { width: 26px; height: 26px; color: var(--gold-600); margin-bottom: 10px; }
.values h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.values p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Comparativo ---------- */
.compare { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare-col { padding: 44px 40px; }
.compare-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.7rem; margin-bottom: 22px; }
.compare-col ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.compare-col li { position: relative; padding-left: 28px; }
.compare-bad { background: #fff; color: var(--muted); }
.compare-bad h3 { color: var(--ink-2); }
.compare-bad h3 .ico { color: var(--danger); }
.compare-bad li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 12px; height: 1.5px; background: var(--danger); }
.compare-good { background: var(--grad-navy); color: var(--silver-200); }
.compare-good h3 { color: #fff; }
.compare-good h3 .ico { color: var(--gold-400); }
.compare-good li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--grad-gold); }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; height: 1.5px; background: repeating-linear-gradient(90deg, var(--gold-500) 0 8px, transparent 8px 16px); }
.steps li { position: relative; text-align: center; padding: 0 10px; }
.step-n { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--navy-900); color: var(--gold-300); font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line); }
.steps h3 { font-size: 1.45rem; }
.steps p { color: var(--muted); font-size: .95rem; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-900); }
.post-card-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-img > img { transform: scale(1.05); }
.post-card-ph { display: grid; place-items: center; height: 100%; background: var(--grad-navy); }
.post-card-ph img { width: 96px; border-radius: 18px; opacity: .9; box-shadow: 0 0 0 1px rgba(212, 166, 74, .4); }
.post-type { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: #fff; color: var(--navy-900); }
.post-type-articulo { background: var(--grad-gold); color: var(--navy-950); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-meta { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.post-meta a { color: var(--gold-700); font-weight: 700; }
.post-card h3 { font-size: 1.45rem; }
.post-card h3 a:hover { color: var(--navy-700); }
.post-card-body > p:not(.post-meta) { color: var(--muted); font-size: .95rem; flex: 1; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-grid h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.faq-grid > div > p { color: var(--muted); }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--gold-600); transition: transform .3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; padding: 90px 0; }
.cta-band::before { content: ""; position: absolute; width: 60vw; height: 2px; top: 30%; right: -10%; transform: rotate(-30deg); background: linear-gradient(90deg, transparent, var(--gold-400), transparent); opacity: .6; }
.cta-band-in { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-band h2 em { color: var(--gold-400); }
.cta-band p { color: var(--silver-300); font-size: 1.08rem; margin: 0; }
.cta-band-actions { display: grid; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #030a1c; color: var(--silver-400); padding: 80px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.2fr; gap: 44px; padding-bottom: 56px; }
.footer-brand img { width: 240px; border-radius: 14px; margin-bottom: 18px; }
.site-footer h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 9px; word-break: break-all; }
.footer-contact .ico { color: var(--gold-500); }
.newsletter { margin-top: 26px; }
.newsletter label { display: block; font-weight: 700; color: #fff; margin-bottom: 8px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .05); color: #fff; }
.newsletter input::placeholder { color: var(--silver-400); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 12px; }
.wa-float-btn { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(31, 174, 85, .7); transition: transform .3s var(--ease); }
.wa-float-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float-btn .ico { width: 30px; height: 30px; }
.wa-float:hover .wa-float-btn { transform: scale(1.08); }
.wa-float-bubble { padding: 10px 16px; border-radius: 14px 14px 4px 14px; background: #fff; color: var(--ink); font-size: .85rem; box-shadow: var(--shadow); opacity: 0; transform: translateX(10px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.wa-float.show-bubble .wa-float-bubble, .wa-float:hover .wa-float-bubble { opacity: 1; transform: none; }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; padding: 80px 0 90px; }
.page-hero::after { content: ""; position: absolute; width: 50vw; height: 2px; bottom: 30%; right: -12%; transform: rotate(-28deg); background: linear-gradient(90deg, transparent, var(--gold-400), transparent); opacity: .55; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 860px; }
.page-hero h1 em { color: var(--gold-400); }
.page-hero p.lead { color: var(--silver-300); font-size: 1.1rem; max-width: 680px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--silver-400); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb .ico { width: .9em; height: .9em; }

/* ---------- Blog listado ---------- */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--navy-700); color: var(--navy-700); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip small { opacity: .6; }
.post-grid-2 { grid-template-columns: repeat(2, 1fr); }
.featured-post { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; }
.featured-post-img { min-height: 320px; background: var(--grad-navy); display: grid; place-items: center; }
.featured-post-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-post-img .ph { width: 140px; border-radius: 24px; }
.featured-post-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-post-body .post-meta { color: var(--silver-400); }
.featured-post-body .post-meta a { color: var(--gold-400); }
.featured-post-body h2 { color: #fff; font-size: 2.2rem; }
.featured-post-body p { color: var(--silver-300); }
.featured-post-body .link-arrow { color: var(--gold-300); }
.sidebar { position: sticky; top: 100px; display: grid; gap: 22px; }
.widget { padding: 26px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.widget h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 16px; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.widget li a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; font-weight: 600; color: var(--ink-2); }
.widget li a:hover, .widget li a.is-active { background: #fff; color: var(--navy-700); }
.widget li small { color: var(--muted); }
.widget-cta { background: var(--grad-navy); color: #fff; border: 0; }
.widget-cta h3 { color: var(--gold-400); }
.widget-cta p { color: var(--silver-300); font-size: .93rem; }
.widget-cta strong { font-family: var(--font-display); font-size: 1.6rem; color: #fff; display: block; line-height: 1.15; margin-bottom: 10px; font-weight: 600; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.search-form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy-900); color: var(--gold-300); cursor: pointer; display: grid; place-items: center; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; }
.pagination a:hover { border-color: var(--navy-700); }
.pagination .is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.empty-state { text-align: center; padding: 70px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.empty-state .ico { width: 42px; height: 42px; color: var(--gold-600); margin: 0 auto 14px; }

/* ---------- Artículo ---------- */
.article-hero { padding-bottom: 150px; }
.article-hero .post-meta { color: var(--silver-300); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; }
.article-hero .post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-hero .post-meta .ico { color: var(--gold-400); }
.article-cover { position: relative; z-index: 2; margin-top: -110px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 21 / 9; background: var(--navy-900); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 60px; padding: 64px 0 100px; align-items: start; }
.article-wrap.no-cover { padding-top: 0; margin-top: -90px; position: relative; z-index: 2; }
.article-wrap.no-cover .prose { background: #fff; padding: 44px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); align-items: center; }
.share span { font-weight: 700; margin-right: 6px; }
.share a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.share a:hover { border-color: var(--navy-700); }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 30px; padding: 22px; border-radius: var(--radius); background: var(--bg-soft); }
.author-box img { width: 56px; height: 56px; border-radius: 14px; }
.author-box strong { display: block; }
.author-box p { margin: 0; font-size: .9rem; color: var(--muted); }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad-gold); z-index: 70; }

/* Contenido del editor (Quill) */
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--ink-2); min-width: 0; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 2rem; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3 { font-size: 1.55rem; margin: 1.4em 0 .5em; color: var(--ink); }
.prose h4 { font-size: 1.25rem; margin: 1.3em 0 .4em; }
.prose p { margin: 0 0 1.2em; }
.prose a { color: var(--navy-600); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; padding-left: .3em; }
.prose li::marker { color: var(--gold-600); font-weight: 700; }
.prose ol li[data-list="bullet"] { list-style-type: disc; }
.prose ol li[data-list="ordered"] { list-style-type: decimal; }
.prose .ql-ui { display: none; }
.prose blockquote { margin: 1.8em 0; padding: 22px 28px; border-left: 4px solid var(--gold-500); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.5; color: var(--navy-900); font-style: italic; }
.prose img { border-radius: var(--radius); margin: 1.6em auto; box-shadow: var(--shadow-sm); }
.prose pre { background: var(--navy-950); color: var(--silver-200); padding: 18px 22px; border-radius: var(--radius); overflow-x: auto; font-size: .9rem; }
.prose code { font-size: .9em; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { padding-left: 2em; }
.prose .ql-indent-2 { padding-left: 4em; }
.prose .ql-size-small { font-size: .85em; }
.prose .ql-size-large { font-size: 1.3em; }

/* ---------- Ficha de servicio (estilo ficha técnica) ---------- */
.spec-layout { display: grid; grid-template-columns: 1fr 380px; gap: 56px; padding: 80px 0 110px; align-items: start; }
.spec-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); font-size: .82rem; color: var(--silver-300); margin-bottom: 20px; }
.spec-badge span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-gold); color: var(--navy-950); }
.spec-block { margin-bottom: 48px; }
.spec-block h2 { font-size: 1.9rem; display: flex; align-items: center; gap: 12px; }
.spec-block h2 .ico { color: var(--gold-600); width: 26px; height: 26px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.check-list .ico { color: var(--gold-600); margin-top: 3px; }
.spec-card { position: sticky; top: 100px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.spec-card-head { padding: 22px 26px; background: var(--navy-900); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.spec-card-head strong { font-family: var(--font-display); font-size: 1.4rem; }
.spec-card-head small { font-size: .72rem; letter-spacing: .12em; color: var(--gold-300); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 14px 26px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
.spec-table th { width: 44%; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.spec-table td { font-weight: 700; }
.spec-card-cta { padding: 22px 26px; display: grid; gap: 10px; }
.spec-card-cta p { margin: 0 0 4px; font-size: .88rem; color: var(--muted); text-align: center; }
.services-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.services-mini a { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; font-weight: 700; transition: all .25s; }
.services-mini a:hover { border-color: var(--gold-500); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---------- Formularios ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--gold-700); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(36, 80, 159, .12); }
.field-hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.hp { position: absolute !important; left: -9999px !important; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy-700); flex: none; }
.consent a { color: var(--navy-700); text-decoration: underline; }
.form-msg { margin: 10px 0 0; font-size: .9rem; min-height: 1em; }
.form-msg.ok { color: #138a43; }
.form-msg.err { color: var(--danger); }
.form-success { text-align: center; padding: 40px 20px; }
.form-success .ico { width: 56px; height: 56px; color: #1fae55; margin: 0 auto 16px; }
.form-success h3 { font-size: 2rem; }

/* ---------- Contacto ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; padding: 0 0 110px; margin-top: -60px; position: relative; z-index: 2; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .3s var(--ease); }
.contact-card:hover { transform: translateX(6px); }
.contact-card-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-900); color: var(--gold-400); flex: none; }
.contact-card-ico.wa { background: var(--wa); color: #fff; }
.contact-card small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.contact-card strong { font-size: 1.05rem; word-break: break-word; }
.contact-form { padding: 40px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.contact-form h2 { font-size: 2rem; }
.contact-form > p { color: var(--muted); }
.promise { margin-top: 10px; padding: 22px; border-radius: var(--radius-lg); background: var(--grad-navy); color: var(--silver-300); }
.promise strong { color: var(--gold-300); }
.promise ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: .92rem; }
.promise li { display: flex; gap: 8px; }
.promise .ico { color: var(--gold-400); margin-top: 4px; }

/* ---------- Landing de diagnóstico ---------- */
.landing-hero { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; padding: 70px 0 100px; }
.landing-grid { display: grid; grid-template-columns: 1fr 480px; gap: 60px; align-items: start; }
.landing-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); }
.landing-hero h1 em { color: transparent; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; }
.landing-hero .lead { color: var(--silver-300); font-size: 1.12rem; }
.landing-benefits { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.landing-benefits li { display: flex; gap: 14px; align-items: flex-start; }
.landing-benefits .b-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(212, 166, 74, .15); color: var(--gold-300); flex: none; }
.landing-benefits strong { display: block; color: #fff; }
.landing-benefits span { color: var(--silver-300); font-size: .93rem; }
.urgency { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(212, 166, 74, .35); font-size: .92rem; color: var(--silver-200); }
.urgency strong { color: var(--gold-300); }
.quiz { position: relative; padding: 32px; border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
.quiz-progress { height: 6px; border-radius: 6px; background: var(--silver-200); overflow: hidden; margin-bottom: 8px; }
.quiz-progress span { display: block; height: 100%; width: 25%; background: var(--grad-gold); transition: width .5s var(--ease); }
.quiz-step-label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.quiz-step { display: none; animation: fadeUp .4s var(--ease); }
.quiz-step.is-active { display: block; }
.quiz-step h2 { font-size: 1.75rem; margin-bottom: 18px; }
.quiz-options { display: grid; gap: 10px; }
.quiz-option { position: relative; }
.quiz-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.quiz-option label { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; transition: all .2s; }
.quiz-option label .ico { color: var(--gold-600); width: 22px; height: 22px; }
.quiz-option input:checked + label { border-color: var(--navy-700); background: rgba(36, 80, 159, .06); box-shadow: 0 0 0 3px rgba(36, 80, 159, .12); }
.quiz-option input:focus-visible + label { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.quiz-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.quiz-back { background: none; border: 0; color: var(--muted); font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; }
.quiz-back[hidden] { display: none; }
.quiz-secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .8rem; color: var(--muted); margin: 16px 0 0; }
.landing-proof { padding: 80px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.proof-item { padding: 28px 24px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); text-align: center; }
.proof-item .ico { width: 32px; height: 32px; color: var(--gold-600); margin: 0 auto 12px; }
.proof-item h3 { font-size: 1.35rem; margin-bottom: 6px; }
.proof-item p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; padding: 70px 24px 100px; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 120px 24px; }
.not-found strong { display: block; font-family: var(--font-display); font-size: 8rem; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta { margin-left: auto; }
  .hero-grid, .about-grid, .landing-grid, .cta-band-in, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-layout, .article-wrap, .spec-layout, .contact-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .hero-panel { max-width: 520px; }
  .blog-layout, .article-wrap, .spec-layout { grid-template-columns: 1fr; }
  .sidebar, .spec-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-mini { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .services-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .profile-panel { grid-template-columns: 1fr; padding: 28px 18px; gap: 24px; }
  .profile-tabs { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-img { min-height: 220px; }
  .topbar-links { display: none; }
  .check-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 64px 0 100px; }
  .services-grid, .post-grid, .post-grid-2, .values, .form-grid, .footer-grid, .services-mini, .proof-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .brand-tag, .hide-sm { display: none; }
  .brand-name { font-size: 1.2rem; }
  .nav { gap: 10px; min-height: 66px; }
  .nav-cta .btn-gold { padding: 0 14px; font-size: .82rem; min-height: 42px; }
  .nav-cta .btn-gold .ico { display: none; }
  .countdown { grid-template-columns: 96px 1fr; gap: 14px; }
  .ring { width: 96px; height: 96px; }
  .countdown-num strong { font-size: 2rem; }
  .float-chip { display: none; }
  .about-stamp { right: 10px; bottom: -20px; }
  .compare-col, .contact-form, .quiz { padding: 26px 20px; }
  .article-wrap.no-cover .prose { padding: 26px 20px; }
  .wa-float-bubble { display: none; }
  .wa-float { right: 16px; bottom: 16px; }
  .topbar-sep { display: none; }
  .topbar p { font-size: .75rem; }
}
@media (max-width: 420px) {
  .nav-cta .btn-gold { display: none; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 1.1rem; }
  .hero-actions .btn { width: 100%; }
}
body { overflow-x: hidden; }

/* Acceso al panel */
.topbar-admin { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .15); color: var(--gold-400); font-weight: 600; }
.footer-admin { display: inline-flex; align-items: center; gap: 5px; color: var(--gold-400); }
