/* ==========================================================
   CONTADORES & ABOGADOS — Hoja de estilos global
   Mobile-first · Breakpoints: 768 / 1024 / 1440
   ----------------------------------------------------------
   1. Variables          7. Header / mega-menú
   2. Reset y base       8. Menú móvil
   3. Tipografía         9. Footer
   4. Layout            10. Flotantes (WhatsApp, top, cursor)
   5. Botones           11. Componentes (cards, page-hero, cta, faq)
   6. Topbar            12. Animaciones y reduced-motion
   ========================================================== */

/* ---------- 1. Variables ---------- */
:root {
  /* Marca */
  --navy:        #0B2A6B;
  --navy-900:    #071C49;
  --navy-700:    #13368A;
  --blue:        #2F6FE0;
  --blue-600:    #1F5BC8;   /* acento con contraste AA sobre blanco */
  --blue-100:    #E3ECFC;
  --white:       #FFFFFF;
  --gray-50:     #F4F7FC;
  --gray-100:    #E8EDF5;
  --gray-300:    #C5CEDD;
  --gray-500:    #6B7489;
  --ink:         #1A2238;   /* texto principal */
  --ink-soft:    #4A5368;   /* texto secundario (AA) */
  --wa:          #25D366;

  /* Tipografía */
  --font-head: 'Montserrat', 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Escala fluida */
  --fs-sm:  0.875rem;
  --fs-base:1rem;
  --fs-lg:  clamp(1.05rem, 1rem + .3vw, 1.2rem);
  --fs-h4:  clamp(1.1rem, 1rem + .4vw, 1.3rem);
  --fs-h3:  clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
  --fs-h2:  clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem);
  --fs-h1:  clamp(2.1rem, 1.5rem + 3vw, 3.75rem);

  /* Espaciado, radios, sombras */
  --space-section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(11, 42, 107, .06);
  --shadow:    0 10px 30px rgba(11, 42, 107, .08);
  --shadow-lg: 0 24px 60px rgba(11, 42, 107, .14);

  --header-h: 84px;
  --header-h-compact: 66px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1240px;
}

/* ---------- 2. Reset y base ---------- */
*, *::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: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }
.icon { width: 1.15em; height: 1.15em; stroke-width: 1.75; flex-shrink: 0; }

/* Foco visible (accesibilidad) */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 9999;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 600; }
p  { margin: 0 0 1em; }
.lead { font-size: var(--fs-lg); color: var(--ink-soft); }
.text-accent { color: var(--blue); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #A9C4F5; }

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px)  { .container { padding-inline: 2rem; } }

.section       { padding-block: var(--space-section); }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: #DCE6F8; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head  { max-width: 720px; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: 2rem; }
}

/* ---------- 5. Botones ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; min-height: 48px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd);
  border-radius: 999px; cursor: pointer; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,42,107,.22); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--navy); }
.btn--primary:hover { --btn-bg: var(--navy-700); }
.btn--accent  { --btn-bg: var(--blue-600); }
.btn--accent:hover  { --btn-bg: var(--blue); }
.btn--white   { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--gray-300); }
.btn--ghost:hover { --btn-bd: var(--navy); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: #fff; }
.btn--sm { padding: .6rem 1.1rem; min-height: 40px; font-size: .85rem; }
.btn--lg { padding: 1rem 1.9rem; min-height: 56px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-family: var(--font-head); font-size: .92rem; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- 6. Topbar ---------- */
.topbar { background: var(--navy-900); color: #C9D6EE; font-size: .8rem; }
.topbar__inner { display: flex; justify-content: center; align-items: center; gap: 1rem; min-height: 38px; }
.topbar__slogan { display: none; margin: 0; align-items: center; gap: .45rem; }
.topbar__links { display: flex; gap: 1.25rem; align-items: center; }
.topbar__links li { display: flex; align-items: center; gap: .4rem; }
.topbar a { color: #E6EEFB; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; }
.topbar__links { flex-wrap: wrap; justify-content: center; row-gap: .1rem; }
.topbar__links b { font-weight: 600; color: #A9C4F5; }
.topbar__mail, .topbar__hide-md { display: none !important; }
@media (min-width: 768px) {
  .topbar__inner { justify-content: space-between; }
  .topbar__slogan { display: flex; }
  .topbar__mail { display: flex !important; }
}
@media (min-width: 1200px) { .topbar__hide-md { display: flex !important; } }

/* ---------- 7. Header / mega-menú ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-compact { box-shadow: var(--shadow); border-color: var(--gray-100); }
.site-header__inner {
  display: flex; align-items: center; gap: 1rem;
  height: var(--header-h-compact);
  transition: height .3s var(--ease);
}
.brand__logo { height: 40px; width: auto; transition: height .3s var(--ease); }
.site-header__cta { display: none; margin-left: auto; white-space: nowrap; flex-shrink: 0; }
.brand { flex-shrink: 0; }

@media (min-width: 1024px) {
  .site-header__inner { height: var(--header-h); }
  .site-header.is-compact .site-header__inner { height: var(--header-h-compact); }
  .brand__logo { height: 48px; }
  .site-header.is-compact .brand__logo { height: 40px; }
}

/* Nav escritorio (aparece ≥ 1200px para que quepan 8 ítems + CTA) */
.main-nav { display: none; }
@media (min-width: 1200px) {
  .main-nav { display: block; margin-left: auto; }
  .site-header__cta { display: inline-flex; margin-left: 1rem; }
  .burger { display: none !important; }
}
/* Pantallas 1200–1365: nav más compacta para que quepa todo en una línea */
@media (min-width: 1200px) and (max-width: 1365px) {
  .topbar__hide-md { display: none !important; }
  .main-nav__item.has-mega .main-nav__link { padding-right: .3rem; }
  .main-nav__link { padding-inline: .38rem; font-size: .83rem; }
  .site-header__cta .icon { display: none; }
  .brand__logo { height: 42px; }
  .site-header__cta { padding-inline: 1.1rem; }
}
.main-nav__list { display: flex; align-items: center; gap: .15rem; }
.main-nav__item { position: static; display: flex; align-items: center; }
.main-nav__link {
  position: relative; display: block; padding: .6rem .7rem;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy);
}
.main-nav__link::after {
  content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav__item:hover > .main-nav__link::after,
.main-nav__item.is-active > .main-nav__link::after { transform: scaleX(1); }
.main-nav__item.is-active > .main-nav__link { color: var(--blue-600); }
.main-nav__toggle { margin-left: -.35rem; width: 22px; height: 28px; padding: 0; color: var(--navy); display: grid; place-items: center; border-radius: 6px; }
.main-nav__toggle .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.has-mega:hover .main-nav__toggle .icon,
.has-mega.is-open .main-nav__toggle .icon { transform: rotate(180deg); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  padding-top: 0; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-mega:hover > .mega,
.has-mega:focus-within > .mega,
.has-mega.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner {
  max-width: calc(var(--container) - 4rem); margin: 0 auto;
  display: grid; grid-template-columns: 280px 1fr; gap: 2rem;
  background: #fff; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); border-top: 3px solid var(--blue);
  padding: 2rem;
}
.mega__intro { background: var(--gray-50); border-radius: var(--radius); padding: 1.5rem; }
.mega__intro p { font-size: .9rem; color: var(--ink-soft); }
.mega__icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--navy); color: #fff; margin-bottom: 1rem;
}
.mega__title { font-size: 1.15rem; margin-bottom: .5rem; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; align-content: start; }
.mega__link {
  display: flex; gap: .8rem; padding: .8rem; border-radius: var(--radius-sm);
  color: var(--ink); transition: background .2s, transform .2s var(--ease);
}
.mega__link:hover, .mega__link.is-active { background: var(--blue-100); color: var(--ink); transform: translateX(3px); }
.mega__link strong { display: block; font-family: var(--font-head); font-size: .88rem; color: var(--navy); line-height: 1.3; }
.mega__link small { display: block; font-size: .78rem; color: var(--ink-soft); line-height: 1.4; margin-top: .2rem; }
.mega__link-icon {
  flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; background: var(--gray-50); color: var(--blue-600); transition: background .2s, color .2s;
}
.mega__link:hover .mega__link-icon { background: var(--navy); color: #fff; }

/* Hamburguesa */
.burger { margin-left: auto; width: 46px; height: 46px; display: grid; place-content: center; gap: 5px; border-radius: 12px; background: var(--gray-50); }
.burger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
@media (min-width: 768px) and (max-width: 1199px) {
  .site-header__cta { display: inline-flex; }
  .burger { margin-left: .75rem; }
}

/* ---------- 8. Menú móvil ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.mobile-menu.is-open { visibility: visible; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(7,28,73,.55); opacity: 0; transition: opacity .3s; }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 400px);
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--gray-100); }
.mobile-menu__close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--gray-50); color: var(--navy); }
.mobile-menu__list { padding: .75rem 1.25rem; flex: 1; }
.mobile-menu__list > li { border-bottom: 1px solid var(--gray-100); }
.mobile-menu__link, .acc__btn {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  padding: 1rem .25rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); text-align: left;
}
.mobile-menu__link.is-active { color: var(--blue-600); }
.acc__btn span { display: inline-flex; align-items: center; gap: .6rem; }
.acc__chev { transition: transform .3s var(--ease); }
.acc__btn[aria-expanded="true"] .acc__chev { transform: rotate(180deg); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc__panel li a { display: flex; align-items: center; gap: .6rem; padding: .6rem .5rem; color: var(--ink-soft); font-size: .93rem; border-radius: 8px; }
.acc__panel li a:hover { background: var(--gray-50); color: var(--navy); }
.acc__panel .icon { color: var(--blue-600); }
.acc__all { font-weight: 600; color: var(--blue-600) !important; }
.mobile-menu__foot { padding: 1.25rem; display: grid; gap: .75rem; border-top: 1px solid var(--gray-100); }
body.menu-open { overflow: hidden; }

/* ---------- 9. Footer ---------- */
.site-footer { background: var(--navy-900); color: #B9C7E2; font-size: .92rem; }
.site-footer a { color: #DCE6F8; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 2.5rem; padding-block: 4.5rem 3rem; }
@media (min-width: 768px)  { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr .8fr 1.6fr 1.3fr; gap: 3rem; } }
.site-footer__brand img { height: 48px; width: auto; margin-bottom: 1.25rem; }
.site-footer__slogan { color: #fff; font-family: var(--font-head); font-weight: 600; }
.site-footer__small { font-size: .85rem; }
.site-footer__title { color: #fff; font-size: 1rem; margin-bottom: 1.25rem; letter-spacing: .02em; }
.site-footer__links li { margin-bottom: .55rem; }
.site-footer__links a { display: inline-block; transition: transform .2s var(--ease), color .2s; }
.site-footer__links a:hover { transform: translateX(4px); }
.site-footer__cols { display: grid; gap: 0 1.5rem; }
@media (min-width: 480px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); } }
.site-footer__cat { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-head); font-weight: 600; color: #fff !important; margin-bottom: .5rem; }
.site-footer__links--compact { font-size: .85rem; margin-bottom: 1rem; }
.site-footer__contact li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .85rem; }
.site-footer__contact .icon { margin-top: .25rem; color: var(--blue); }
.site-footer__ptitle { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #8DB4F5; }
.sidebar__ptitle { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-top: .5rem; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: background .25s, border-color .25s, transform .25s; }
.social a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.site-footer__bottom-inner { display: flex; flex-direction: column; gap: .35rem; padding-block: 1.4rem; text-align: center; }
.site-footer__bottom p { margin: 0; }
@media (min-width: 768px) { .site-footer__bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ---------- 10. Flotantes ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 950;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .3s var(--ease);
}
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float::before, .wa-float::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
  z-index: -1; animation: wa-pulse 2.4s infinite var(--ease);
}
.wa-float::after { animation-delay: 1.2s; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
.wa-float__tooltip {
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translate(8px, -50%);
  background: #fff; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  padding: .55rem .9rem; border-radius: 10px; white-space: nowrap; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.wa-float__tooltip::after { content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-right: 0; border-left-color: #fff; }
.wa-float:hover .wa-float__tooltip, .wa-float.show-tip .wa-float__tooltip { opacity: 1; transform: translate(0, -50%); }

.to-top {
  position: fixed; right: 26px; bottom: 96px; z-index: 940;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-600); }

/* Cursor personalizado: solo si main.js añade .has-cursor (puntero fino) */
.cursor-dot, .cursor-ring { display: none; }
.has-cursor .cursor-dot, .has-cursor .cursor-ring {
  display: block; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10000;
  border-radius: 50%; will-change: transform;
}
.has-cursor .cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--blue); }
.has-cursor .cursor-ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1.5px solid rgba(47,111,224,.6);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s, opacity .3s;
}
.has-cursor .cursor-ring.is-hover {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: rgba(47,111,224,.10); border-color: rgba(47,111,224,.35);
}
.has-cursor .cursor-ring.is-hidden, .has-cursor .cursor-dot.is-hidden { opacity: 0; }

/* ---------- 11. Componentes ---------- */

/* Tarjeta base con hover: elevación + borde azul + icono en movimiento */
.card {
  position: relative; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 2rem 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--blue-100); color: var(--blue-600); margin-bottom: 1.25rem;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.card__icon .icon { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--navy); color: #fff; transform: translateY(-4px) rotate(-6deg); }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .95rem; }
.card--link { display: block; color: inherit; }
.card--link:hover { color: inherit; }

/* Hero de páginas interiores */
.page-hero {
  position: relative; isolation: isolate; color: #fff;
  padding-block: clamp(4rem, 3rem + 6vw, 7.5rem) clamp(3rem, 2.5rem + 3vw, 5rem);
  background: var(--navy);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7,28,73,.94) 0%, rgba(11,42,107,.82) 55%, rgba(11,42,107,.55) 100%); }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero p  { color: #D3DEF3; max-width: 640px; font-size: var(--fs-lg); }

/* Breadcrumb */
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .85rem; margin-bottom: 1.25rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .35rem; color: #A9C4F5; }
.breadcrumb li + li::before { content: '›'; opacity: .6; }
.breadcrumb a { color: #DCE6F8; display: inline-flex; align-items: center; gap: .3rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* Banda CTA */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy) 50%, var(--navy-700)); color: #D3DEF3; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,224,.45), transparent 65%); pointer-events: none; }
.cta-band__inner { position: relative; z-index: 1; display: grid; gap: 2rem; padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem); align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: 1.3fr 1fr; } .cta-band__actions { justify-content: flex-end; } }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }

/* Acordeón FAQ (también se usa en servicios) */
.faq__item { border: 1px solid var(--gray-100); border-radius: var(--radius); background: #fff; margin-bottom: .85rem; transition: border-color .3s, box-shadow .3s; }
.faq__item.is-open { border-color: var(--blue); box-shadow: var(--shadow); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; padding: 1.2rem 1.4rem; text-align: left; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.faq__q .icon { transition: transform .3s var(--ease); color: var(--blue-600); }
.faq__item.is-open .faq__q .icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--ink-soft); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* Imagen con máscara (revelado) */
.reveal-img { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.reveal-img img { width: 100%; height: 100%; object-fit: cover; }

/* Formularios base */
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,111,224,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.field .error { color: #B42318; font-size: .8rem; margin-top: .3rem; }

/* Placeholder de página (solo Etapa 1) */
.stage-note { background: var(--gray-50); border: 1px dashed var(--gray-300); border-radius: var(--radius); padding: 2rem; text-align: center; }

/* ---------- 12. Animaciones ---------- */
/* Aparición al hacer scroll (IntersectionObserver en main.js).
   Solo aplica si JS está activo (html.js-anim) → sin JS todo es visible.
   Al terminar se agrega .anim-done y el elemento vuelve a su estilo normal (hover, etc.). */
:root { --anim-dur: .55s; --anim-ease: cubic-bezier(.22, .61, .36, 1); --anim-y: 24px; }
.js-anim [data-anim="fade-up"]:not(.anim-done),
.js-anim [data-anim="stagger"] > :not(.anim-done) {
  opacity: 0; transform: translate3d(0, var(--anim-y), 0);
  transition: opacity var(--anim-dur) var(--anim-ease), transform var(--anim-dur) var(--anim-ease);
}
/* Tarjetas: además un zoom sutil 1.05 → 1 */
.js-anim [data-anim="stagger"] > :not(.anim-done) { transform: translate3d(0, var(--anim-y), 0) scale(1.05); }
.js-anim [data-anim="fade-in"]:not(.anim-done) { opacity: 0; transition: opacity var(--anim-dur) var(--anim-ease); }
/* Imágenes: se revelan de IZQUIERDA A DERECHA con una máscara (como la primera versión)
   y la foto hace un zoom suave de 1.15 → 1. La máscara se aplica al contenido (no al contenedor)
   para que el navegador detecte cuándo el contenedor entra en pantalla. */
.js-anim [data-anim="mask"]:not(.anim-done) > * {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(.77, 0, .18, 1), transform 1.6s cubic-bezier(.22, .61, .36, 1);
  transition-delay: inherit;
}
.js-anim [data-anim="mask"]:not(.anim-done) > img { transform: scale(1.15); }
.js-anim [data-anim="mask"]:not(.anim-done) { transition: box-shadow 1s ease .4s; }
.js-anim [data-anim="mask"]:not(.is-in) { box-shadow: none; }
.js-anim [data-anim="mask"].is-in:not(.anim-done) > * { clip-path: inset(0 0 0 0); }
.js-anim [data-anim="mask"].is-in:not(.anim-done) > img { transform: scale(1); }
/* Estado visible */
.js-anim [data-anim].is-in:not(.anim-done),
.js-anim [data-anim="stagger"] > .is-in:not(.anim-done) { 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; }
  .js-anim [data-anim], .js-anim [data-anim="stagger"] > *, .js-anim [data-anim] img, .js-anim [data-anim="mask"] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .wa-float::before, .wa-float::after { display: none; }
}

/* ==========================================================
   13. SECCIONES DE PÁGINAS
   ========================================================== */

/* ---------- Utilidades extra ---------- */
.h4 { font-size: var(--fs-h4); }
.text-grad { background: linear-gradient(90deg, #8DB4F5, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.checklist { display: grid; gap: .65rem; margin: 1.25rem 0 1.75rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; }
.checklist .icon { color: var(--blue-600); margin-top: .2rem; }
.section-head--split { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: flex-end; max-width: none; }
.section-head--split h2 { margin: 0; }
.btn--wa { --btn-bg: var(--wa); --btn-fg: #fff; }
.btn--wa:hover { --btn-bg: #1EB858; }
.section--navy .lead { color: #C9D6EE; }

/* ---------- Split (texto + imagen) ---------- */
.split { display: grid; gap: 3rem; align-items: center; }
.split--top { align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.split__media { position: relative; }
.split__img { aspect-ratio: 4/3.4; box-shadow: var(--shadow-lg); }
.badge-float {
  position: absolute; right: -6px; bottom: -24px; background: var(--navy); color: #fff;
  border-radius: var(--radius); padding: 1.1rem 1.4rem; box-shadow: var(--shadow-lg); max-width: 210px;
  display: flex; align-items: center; gap: .8rem; border: 4px solid #fff;
}
.badge-float strong { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; }
.badge-float span { font-size: .85rem; line-height: 1.3; color: #C9D6EE; }
@media (min-width: 1024px) { .badge-float { right: -32px; } }

/* ---------- HERO HOME (video) ---------- */
.hero { position: relative; isolation: isolate; min-height: min(92vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; padding-block: 6rem 7rem; }
.hero__media, .hero__overlay { position: absolute; inset: 0; z-index: -2; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .8s ease; }
.hero__video.is-playing { opacity: 1; }
/* Capa azul marino oscura (igual que la primera versión del sitio):
   93 % a la izquierda (texto) → 80 % al centro → 55 % a la derecha, con un brillo azul arriba a la derecha. */
.hero__overlay { z-index: -1; background: linear-gradient(105deg, rgba(7,28,73,.93) 0%, rgba(11,42,107,.80) 50%, rgba(11,42,107,.55) 100%); }
.hero__overlay::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(47,111,224,.35), transparent 50%); }
@media (max-width: 767px) { .hero__overlay { background: linear-gradient(180deg, rgba(7,28,73,.88) 0%, rgba(11,42,107,.78) 100%); } }
.hero__sub, .hero__exp { text-shadow: 0 1px 12px rgba(7,28,73,.55); }
.hero__video, .hero__poster { object-position: center center; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none !important; } }
.hero__content { max-width: var(--container); }
.hero__chips { margin-bottom: 1.5rem; }
.hero__title { color: #fff; text-shadow: 0 2px 24px rgba(7,28,73,.35); max-width: 860px; font-size: clamp(2.2rem, 1.4rem + 4vw, 4.25rem); }
.hero__sub { font-size: var(--fs-lg); color: #D3DEF3; max-width: 640px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 768px) { .hero__actions .btn { flex: 0 0 auto; } }
.hero__exp { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2.25rem; font-size: .9rem; color: #A9C4F5; }
.hero__scroll { position: absolute; left: 50%; bottom: 2rem; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.55); border-radius: 20px; transform: translateX(-50%); display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 4px; animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@media (min-width: 768px) { .hero__scroll { display: block; } }

/* ---------- Barra de confianza ---------- */
.trust { position: relative; z-index: 2; margin-top: -3.5rem; }
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.trust__item { padding: 1.6rem 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .3rem; border-bottom: 1px solid var(--gray-100); }
.trust__item:nth-child(odd) { border-right: 1px solid var(--gray-100); }
.trust__icon { color: var(--blue-600); margin-bottom: .2rem; }
.trust__icon .icon { width: 26px; height: 26px; }
.trust__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); color: var(--navy); line-height: 1.1; }
.trust__label { font-size: .85rem; color: var(--ink-soft); }
.trust__num--map { display: flex; align-items: center; justify-content: center; height: 1.1em; }
.trust__num--map .mx-icon { height: 100%; width: auto; color: var(--navy); }
.mx-icon { display: inline-block; }
@media (min-width: 1024px) {
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .trust__item { border-bottom: 0; border-right: 1px solid var(--gray-100); padding: 2.2rem 1rem; }
  .trust__item:last-child { border-right: 0; }
}

/* ---------- ¿A quién atendemos? ---------- */
.segments { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .segments { grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 2rem; } .segment--main { grid-row: span 2; } }
.segment--main { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; min-height: 460px; display: flex; align-items: flex-end; box-shadow: var(--shadow-lg); }
.segment__img { position: absolute; inset: 0; }
.segment__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.segment--main:hover .segment__img img { transform: scale(1.05); }
.segment--main::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,28,73,.15) 0%, rgba(7,28,73,.92) 62%); }
.segment__body { position: relative; z-index: 2; padding: 2rem; }
@media (min-width: 768px) { .segment__body { padding: 2.75rem; } }
.segment__body h3 { color: #fff; font-size: var(--fs-h2); display: flex; align-items: center; gap: .6rem; }
.segment__body p { color: #DCE6F8; max-width: 520px; }
.segment__tag { display: inline-flex; align-items: center; gap: .4rem; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.mini-list { display: grid; gap: .4rem .9rem; margin-bottom: 1.6rem; color: #fff; font-size: .92rem; }
@media (min-width: 768px) { .mini-list { grid-template-columns: 1fr 1fr; } }
.mini-list li { padding-left: 1.2rem; position: relative; }
.mini-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* ---------- Soluciones ---------- */
.solution { display: grid; gap: 2.5rem; align-items: center; margin-bottom: clamp(4rem, 6vw, 6rem); }
.solution:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
  .solution { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; }
  .solution--rev .solution__media { order: 2; }
}
.solution__media { aspect-ratio: 5/4; position: relative; box-shadow: var(--shadow-lg); }
.solution__badge { position: absolute; left: 1.25rem; top: 1.25rem; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.solution__badge .icon { width: 28px; height: 28px; }
.solution__title { font-size: var(--fs-h2); }
.solution__list { display: grid; gap: .5rem; margin: 1.5rem 0 2rem; }
@media (min-width: 640px) { .solution__list { grid-template-columns: 1fr 1fr; } }
.solution__list a { display: flex; align-items: center; gap: .65rem; padding: .75rem .9rem; border-radius: 12px; background: var(--gray-50); color: var(--navy); font-weight: 500; font-size: .93rem; border: 1px solid transparent; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.solution__list a > .icon:first-child { color: var(--blue-600); }
.solution__list a span { flex: 1; }
.solution__arrow { opacity: 0; transform: translate(-4px, 4px); transition: opacity .25s, transform .25s var(--ease); }
.solution__list a:hover { background: #fff; border-color: var(--blue); transform: translateX(3px); }
.solution__list a:hover .solution__arrow { opacity: 1; transform: none; }

/* ---------- Por qué elegirnos ---------- */
.why { position: relative; overflow: hidden; }
.why::before { content: ''; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,224,.35), transparent 65%); }
.why .container { position: relative; }
.why__item { padding: 2rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .35s var(--ease), border-color .3s; }
.why__item:hover { background: rgba(255,255,255,.09); transform: translateY(-6px); border-color: rgba(141,180,245,.6); }
.why__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--blue); color: #fff; margin-bottom: 1.25rem; transition: transform .4s var(--ease); }
.why__item:hover .why__icon { transform: rotate(-8deg) scale(1.06); }
.why__item h3 { font-size: 1.12rem; }
.why__item p { color: #C9D6EE; margin: 0; font-size: .95rem; }

/* ---------- Cómo trabajamos (pasos) ---------- */
.steps { display: grid; gap: 1.5rem; counter-reset: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 2rem 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray-100); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.step__num { position: absolute; right: 1.4rem; top: 1rem; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--gray-100); line-height: 1; }
.step__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 1.25rem; box-shadow: 0 0 0 8px var(--blue-100); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
@media (min-width: 1024px) {
  .step:not(:last-child)::after { content: ''; position: absolute; top: 3.7rem; right: -1.7rem; width: 1.4rem; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 6px, transparent 6px 10px); }
}

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px)  { .team { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 1200px) { .team { grid-template-columns: repeat(5, 1fr); } }
.team__card { background: #fff; border-radius: var(--radius); padding: 1rem 1rem 1.25rem; text-align: center; border: 1px solid var(--gray-100); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.team__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.team__photo { aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; margin-bottom: 1rem; background: linear-gradient(150deg, var(--navy), var(--blue-600)); }
.team__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team__card:hover .team__photo img { transform: scale(1.06); }
.avatar-ini { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); color: rgba(255,255,255,.92); letter-spacing: .04em; }
.team__card h3 { font-size: .95rem; margin-bottom: .2rem; }
.team__card p { font-size: .82rem; color: var(--blue-600); font-weight: 600; margin: 0; }

/* ---------- Carrusel de testimonios ---------- */
.carousel { position: relative; max-width: 880px; margin-inline: auto; }
.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; gap: 0; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: center; }
.testi { margin: 0; padding: 2.5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .testi { padding: 3rem 4rem; } }
.testi__quote { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); margin-bottom: 1rem; }
.testi__stars { display: flex; justify-content: center; gap: .2rem; color: #F5B300; margin-bottom: 1.25rem; }
.testi__stars .icon { fill: currentColor; width: 18px; height: 18px; }
.testi blockquote { margin: 0 0 1.5rem; }
.testi blockquote p { font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); line-height: 1.55; color: var(--navy); font-family: var(--font-head); font-weight: 500; }
.testi figcaption strong { display: block; color: var(--navy); font-family: var(--font-head); }
.testi figcaption span { font-size: .88rem; color: var(--ink-soft); }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.carousel__btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--gray-300); color: var(--navy); transition: background .25s, color .25s, border-color .25s; }
.carousel__btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.carousel__dots { display: flex; gap: .5rem; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 999px; background: var(--gray-300); transition: width .3s var(--ease), background .3s; }
.carousel__dots button[aria-selected="true"] { width: 30px; background: var(--blue-600); }

/* ---------- Tarjeta de blog ---------- */
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-100); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.post-card__img { position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__cat { position: absolute; left: 1rem; top: 1rem; background: #fff; color: var(--navy); font-size: .75rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px; }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__body time { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--ink-soft); margin-bottom: .6rem; }
.post-card__body h3 { font-size: 1.08rem; }
.post-card__body h3 a { color: var(--navy); }
.post-card__body h3 a:hover { color: var(--blue-600); }
.post-card__body p { font-size: .92rem; color: var(--ink-soft); flex: 1; }

/* ---------- CTA final con formulario ---------- */
.final-cta { position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; width: 600px; height: 600px; right: -250px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,224,.4), transparent 65%); }
.final-cta__grid { position: relative; display: grid; gap: 3rem; }
@media (min-width: 1024px) { .final-cta__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; } }
.contact-list { display: grid; gap: .85rem; margin: 1.75rem 0; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; color: #DCE6F8; }
.contact-list .icon { color: #8DB4F5; margin-top: .25rem; }
.contact-list a { color: #fff; font-weight: 500; }
.contact-list--dark li { color: var(--ink); }
.contact-list--dark .icon { color: var(--blue-600); width: 22px; height: 22px; }
.contact-list--dark a { color: var(--navy); }
.contact-list--dark small { display: block; font-size: .75rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.map-embed { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow); background: var(--gray-100); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-embed--tall { aspect-ratio: 4/3; }
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .form-card { padding: 2.5rem; } }
.form-card h3 { font-size: 1.35rem; }
.form-card--light { box-shadow: var(--shadow); border: 1px solid var(--gray-100); }

/* ---------- Formulario ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; color: var(--ink-soft); font-size: .88rem; }
.field--check input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--blue-600); flex-shrink: 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #B42318; }
.form-foot { margin-top: 1.25rem; display: grid; gap: .75rem; }
.form-foot .btn { width: 100%; }
.form-note { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--ink-soft); margin: 0; }
.form-status:empty { display: none; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; font-size: .92rem; }
.form-status.is-ok, .alert--ok { background: #E7F7EE; color: #0E6B3A; border: 1px solid #B9E7CC; }
.form-status.is-error { background: #FDECEC; color: #9B1C1C; border: 1px solid #F5C2C2; }
.alert { display: flex; gap: .6rem; align-items: center; padding: 1rem; border-radius: 12px; margin-bottom: 1.25rem; }
.contact-form button[disabled] { opacity: .7; cursor: wait; }

/* ---------- Page hero extras ---------- */
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.page-hero .eyebrow .icon { width: 1.2em; height: 1.2em; }

/* ---------- Nosotros ---------- */
.mv-card { padding: 2.5rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); height: 100%; }
.mv-card h2 { font-size: var(--fs-h3); }
.mv-card p { font-size: var(--fs-lg); color: var(--ink-soft); margin: 0; }
.mv-card--dark { background: var(--navy); border-color: var(--navy); }
.mv-card--dark h2 { color: #fff; }
.mv-card--dark p { color: #C9D6EE; }
.mv-card--dark .card__icon { background: var(--blue); color: #fff; }
.values { display: grid; gap: 1.25rem; }
@media (min-width: 768px)  { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(5, 1fr); } }
.values__item { padding: 1.75rem 1.4rem; }
.mx-map { background: var(--gray-50); border-radius: var(--radius-lg); padding: 1.5rem; }
.mx-map svg { width: 100%; height: auto; overflow: visible; }
.mx-map__line { stroke: var(--blue); stroke-width: 1.2; stroke-dasharray: 4 5; opacity: .55; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.mx-map__city { fill: #fff; stroke: var(--blue-600); stroke-width: 3; }
.mx-map__pulse { fill: rgba(47,111,224,.35); transform-box: fill-box; transform-origin: center; animation: map-pulse 2.2s infinite var(--ease); }
@keyframes map-pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.mx-map__label { font-family: var(--font-head); font-weight: 700; font-size: 15px; fill: var(--navy); }

/* ---------- Paquetes ---------- */
.pricing { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px)  { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
/* Si se abre el detalle de un plan, las demás tarjetas de la fila no se estiran */
.pricing:has(.plan__details[open]) { align-items: start; }
/* Grupos: personas físicas / personas morales */
.pricing-group + .pricing-group { margin-top: clamp(3.5rem, 6vw, 5rem); }
.pricing-group__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.25rem; }
.pricing-group__head h2 { font-size: var(--fs-h3); margin: 0 0 .2rem; }
.pricing-group__head p { margin: 0; color: var(--ink-soft); }
.pricing-group__icon { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: #fff; }
.pricing-group__icon .icon { width: 26px; height: 26px; }
.plan { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 2.25rem 1.9rem; border: 1px solid var(--gray-100); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--featured { background: var(--navy); color: #DCE6F8; border-color: var(--navy); }
@media (min-width: 1024px) { .plan--featured { padding-block: 3rem; } }
.plan__ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; padding: .4rem 1rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.plan__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--blue-100); color: var(--blue-600); margin-bottom: 1rem; }
.plan--featured .plan__icon { background: var(--blue); color: #fff; }
.plan__name { font-size: 1.5rem; margin-bottom: .4rem; }
.plan--featured .plan__name { color: #fff; }
.plan__for { font-size: .9rem; color: var(--ink-soft); min-height: 3em; }
.plan--featured .plan__for { color: #C9D6EE; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem; padding: 1.25rem 0; margin-bottom: 1.25rem; border-block: 1px solid var(--gray-100); }
.plan--featured .plan__price { border-color: rgba(255,255,255,.15); }
.plan__price small { width: 100%; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.plan--featured .plan__price small { color: #A9C4F5; }
.plan__price strong { font-family: var(--font-head); font-size: 2.6rem; color: var(--navy); line-height: 1; }
.plan--featured .plan__price strong { color: #fff; }
.plan__price span { font-size: .9rem; color: var(--ink-soft); }
.plan--featured .plan__price span { color: #C9D6EE; }
.plan__features { display: grid; gap: .7rem; margin-bottom: 2rem; flex: 1; font-size: .93rem; }
.plan__features li { display: flex; gap: .55rem; align-items: flex-start; }
.plan__features .icon { color: var(--blue-600); margin-top: .2rem; }
.plan--featured .plan__features .icon { color: #8DB4F5; }
.plan__inc { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-600); margin: 0 0 .9rem; }
.plan--featured .plan__inc { color: #8DB4F5; }
.plan__features { margin-bottom: 1.25rem; flex: 0 0 auto; }
/* Detalle desplegable de cada plan */
.plan__details { margin: 0 0 1.5rem; border-top: 1px dashed var(--gray-300); padding-top: .9rem; flex: 1; }
.plan--featured .plan__details { border-color: rgba(255,255,255,.2); }
.plan__details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--blue-600); padding: .35rem 0; }
.plan__details summary::-webkit-details-marker { display: none; }
.plan__details summary .icon { transition: transform .3s var(--ease); }
.plan__details[open] summary .icon { transform: rotate(180deg); }
.plan__details[open] summary span::after { content: ' (ocultar)'; font-weight: 400; opacity: .7; }
.plan--featured .plan__details summary { color: #A9C4F5; }
.plan__groups { display: grid; gap: 1rem; margin-top: .9rem; }
.plan__group h4 { display: flex; align-items: center; gap: .45rem; font-size: .9rem; margin: 0 0 .4rem; }
.plan__group h4 .icon { color: var(--blue-600); }
.plan__group ul { display: grid; gap: .3rem; padding-left: 1.6rem; }
.plan__group li { position: relative; font-size: .86rem; line-height: 1.45; color: var(--ink-soft); }
.plan__group li::before { content: ''; position: absolute; left: -.85rem; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.plan--featured .plan__group h4 { color: #fff; }
.plan--featured .plan__group h4 .icon { color: #8DB4F5; }
.plan--featured .plan__group li { color: #C9D6EE; }
.plan__wa { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .9rem; font-size: .88rem; font-weight: 600; }
.plan--featured .plan__wa { color: #DCE6F8; }
.pricing__note { display: flex; gap: .55rem; justify-content: center; text-align: center; font-size: .88rem; color: var(--ink-soft); margin: 2.5rem auto 0; max-width: 760px; }
.extras { display: grid; gap: 1rem; }
@media (min-width: 640px)  { .extras { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .extras { grid-template-columns: repeat(3, 1fr); } }
.extras__item { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--gray-50); font-family: var(--font-head); font-weight: 600; color: var(--navy); transition: background .3s, transform .3s var(--ease); }
.extras__item:hover { background: var(--blue-100); transform: translateY(-3px); }
.extras__item span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--blue-600); flex-shrink: 0; }

/* ---------- FAQ (encabezado) ---------- */
.faq__h { margin: 0; font-size: inherit; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; } }
.contact-info { display: grid; gap: 1.5rem; }
.contact-card { background: var(--gray-50); border-radius: var(--radius-lg); padding: 2rem; }
.contact-card .contact-list { margin-top: 1rem; }

/* ---------- Blog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter { padding: .55rem 1.1rem; border-radius: 999px; background: var(--gray-50); color: var(--navy); font-weight: 600; font-size: .88rem; border: 1px solid var(--gray-100); }
.filter:hover { border-color: var(--blue); color: var(--navy); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.article-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; align-items: start; } }
.article__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .88rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.article__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.prose { font-size: 1.04rem; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.2rem; }
.prose ul { list-style: none; margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.article__share { display: flex; align-items: center; gap: .6rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); font-weight: 600; color: var(--navy); }
.article__share a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--gray-50); color: var(--navy); transition: background .25s, color .25s; }
.article__share a:hover { background: var(--navy); color: #fff; }

/* ---------- Sidebar ---------- */
.sidebar { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: calc(var(--header-h-compact) + 1.5rem); } }
.sidebar__box { background: var(--gray-50); border-radius: var(--radius); padding: 1.75rem; }
.sidebar__box h3 { font-size: 1.08rem; display: flex; align-items: center; gap: .5rem; }
.sidebar__box--cta { background: linear-gradient(150deg, var(--navy), var(--navy-700)); color: #C9D6EE; display: grid; gap: .75rem; }
.sidebar__box--cta h3 { color: #fff; margin: 0; }
.sidebar__box--cta p { margin: 0 0 .5rem; font-size: .92rem; }
.sidebar__box--cta .card__icon { background: var(--blue); color: #fff; margin-bottom: .25rem; }
.sidebar__list li + li { border-top: 1px solid var(--gray-100); }
.sidebar__list a { display: block; padding: .8rem 0; color: var(--navy); font-weight: 600; font-size: .92rem; line-height: 1.4; }
.sidebar__list small { display: block; font-weight: 400; color: var(--ink-soft); margin-top: .2rem; }
.sidebar__services { display: grid; gap: .25rem; margin-bottom: 1.25rem; }
.sidebar__services a { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: 10px; color: var(--ink); font-size: .92rem; transition: background .2s, color .2s, transform .2s var(--ease); }
.sidebar__services a .icon { color: var(--blue-600); }
.sidebar__services a:hover { background: #fff; color: var(--navy); transform: translateX(3px); }
.sidebar__services a.is-current { background: var(--navy); color: #fff; font-weight: 600; }
.sidebar__services a.is-current .icon { color: #8DB4F5; }
.sidebar__phone { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--navy); margin-bottom: .25rem; }
.sidebar__box--contact p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Aviso / 404 ---------- */
.legal-doc { max-width: 860px; }
.legal-doc__date { font-size: .88rem; color: var(--ink-soft); }
.nf__inner { text-align: center; max-width: 960px; }
.nf__code { display: flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 9rem); color: var(--navy); line-height: 1; margin-bottom: 1.5rem; }
.nf__code span { display: grid; place-items: center; width: .9em; height: .9em; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); }
.nf__code .icon { width: .5em; height: .5em; }
.nf__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .85rem; margin-bottom: 3rem; }
.nf__links { display: grid; gap: 1.25rem; text-align: left; }
@media (min-width: 768px) { .nf__links { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Página de categoría ---------- */
.audience-list { display: grid; gap: 1rem; }
.audience-list__title { font-size: 1.15rem; margin-bottom: .25rem; }
.audience-item { display: flex; gap: 1rem; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--gray-50); border: 1px solid transparent; transition: border-color .3s, transform .3s var(--ease); }
.audience-item:hover { border-color: var(--blue); transform: translateX(4px); }
.audience-item > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--blue-600); flex-shrink: 0; }
.audience-item h4 { margin: 0 0 .2rem; font-size: 1.02rem; }
.audience-item p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.audience-item--main { background: var(--navy); }
.audience-item--main h4 { color: #fff; }
.audience-item--main p { color: #C9D6EE; }
.audience-item--main > span { background: var(--blue); color: #fff; }
.service-card { display: flex; flex-direction: column; }
.service-card p { flex: 1; }
.benefit { text-align: center; padding: 1rem; }
.benefit__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); margin-bottom: 1.1rem; transition: transform .4s var(--ease), background .3s, color .3s; }
.benefit__icon .icon { width: 28px; height: 28px; }
.benefit:hover .benefit__icon { transform: translateY(-5px); background: var(--navy); color: #fff; }
.benefit h3 { font-size: 1.08rem; }
.benefit p { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.line-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.line-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.line-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,28,73,.25), rgba(7,28,73,.92) 70%); }
.line-card:hover img { transform: scale(1.06); }
.line-card:hover { color: #fff; }
.line-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem; }
.line-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue); margin-bottom: 1rem; }
.line-card h3 { color: #fff; }
.line-card p { color: #DCE6F8; font-size: .95rem; }
.line-card .link-arrow { color: #fff; }

/* ---------- Página de servicio ---------- */
.service-layout { display: grid; gap: 3rem; padding-block: var(--space-section); }
@media (min-width: 1024px) { .service-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; align-items: start; } }
.svc-block { margin-bottom: clamp(3.5rem, 5vw, 5rem); }
.svc-block:last-child { margin-bottom: 0; }
.svc-block > p { font-size: 1.04rem; }
.audience-cards { display: grid; gap: 1rem; }
@media (min-width: 768px) { .audience-cards { grid-template-columns: 1.3fr 1fr 1fr; } }
.audience-card { padding: 1.6rem 1.4rem; border-radius: var(--radius); background: var(--gray-50); border: 1px solid var(--gray-100); transition: transform .3s var(--ease), border-color .3s; }
.audience-card:hover { transform: translateY(-4px); border-color: var(--blue); }
.audience-card > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--blue-600); margin-bottom: 1rem; }
.audience-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.audience-card p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.audience-card--main { background: var(--navy); border-color: var(--navy); }
.audience-card--main h3 { color: #fff; }
.audience-card--main p { color: #C9D6EE; }
.audience-card--main > span { background: var(--blue); color: #fff; }
.benefits-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
.benefit--row { display: flex; gap: 1rem; text-align: left; padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--gray-100); background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.benefit--row:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.benefit--row .benefit__icon { width: 50px; height: 50px; margin: 0; flex-shrink: 0; }
.benefit--row .benefit__icon .icon { width: 24px; height: 24px; }
.benefit--row h3 { margin-bottom: .3rem; font-size: 1rem; }
.includes__box { background: linear-gradient(135deg, var(--navy-900), var(--navy)); border-radius: var(--radius-lg); padding: 2.25rem 1.75rem; color: #DCE6F8; position: relative; overflow: hidden; }
@media (min-width: 768px) { .includes__box { padding: 3rem; } }
.includes__box::after { content: ''; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,224,.45), transparent 65%); }
.includes__box h2 { color: #fff; position: relative; }
.includes__list { position: relative; display: grid; gap: .85rem 2rem; }
@media (min-width: 768px) { .includes__list { grid-template-columns: 1fr 1fr; } }
.includes__list li { display: flex; gap: .65rem; align-items: flex-start; }
.includes__list .icon { color: #8DB4F5; margin-top: .2rem; }
.timeline { position: relative; display: grid; gap: 1.25rem; }
.timeline::before { content: ''; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--blue), var(--blue-100)); }
.timeline__item { position: relative; display: flex; gap: 1.25rem; }
.timeline__num { position: relative; z-index: 1; flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; box-shadow: 0 0 0 6px #fff; }
.timeline__item > div { padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--gray-50); flex: 1; transition: background .3s; }
.timeline__item:hover > div { background: var(--blue-100); }
.timeline__item h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.timeline__item p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* ==========================================================
   14. AJUSTES v2 (blog, contacto, vista previa)
   ========================================================== */
.final-cta__wa { margin: -.5rem 0 1.75rem; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; margin-top: 3rem; }
.pagination ol { display: flex; gap: .4rem; }
.pagination__num, .pagination__btn { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--gray-100); background: #fff; color: var(--navy); font-weight: 600; font-size: .92rem; }
.pagination__num:hover, .pagination__btn:hover { border-color: var(--blue); color: var(--navy); }
.pagination__num.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.article__cat { display: inline-flex; align-items: center; gap: .35rem; background: var(--blue-100); color: var(--blue-600); font-weight: 600; padding: .25rem .75rem; border-radius: 999px; }
.article__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--gray-50); border-left: 4px solid var(--blue); }
.article__cta strong { display: block; color: var(--navy); font-family: var(--font-head); }
.article__cta span { font-size: .92rem; color: var(--ink-soft); }
.article__copy { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--gray-50); color: var(--navy); transition: background .25s, color .25s; }
.article__copy:hover, .article__copy.is-copied { background: var(--navy); color: #fff; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; height: auto; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--blue); background: var(--gray-50); border-radius: 0 12px 12px 0; color: var(--ink-soft); }
.prose ol { margin: 0 0 1.25rem 1.25rem; display: grid; gap: .45rem; }
.preview-bar { background: #FFF4D6; color: #6B4E00; text-align: center; padding: .75rem 1rem; font-size: .92rem; display: flex; justify-content: center; align-items: center; gap: .5rem; }
.mobile-menu__logo { height: 38px; width: auto; }
.site-footer__brand img { max-width: 240px; object-fit: contain; }
.brand__logo { max-width: 240px; object-fit: contain; }

/* Blog sin banner: un poco menos de espacio arriba */
.blog-list { padding-top: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); }
