/* ════════════════════════════════════════════════════════════════════════
   MAGNUS DESIGN SYSTEM v74 · April 2026
   ════════════════════════════════════════════════════════════════════════
   Sistema único, autoritativo. Define tokens, nav, footer, botones core,
   tipografía, contraste WCAG AAA. Pisa CSS local con specificity alta.
   
   Filosofía: 
   - Una fuente de verdad por token
   - Specificity ganadora sin abusar de !important
   - Mobile-first, AAA-compliant, performance-aware
   ════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════ TOKENS ═══════════════════ */
:root {
  /* Paleta Magnus oficial (locked) */
  --magnus-petroleo: #0B2F33;
  --magnus-petroleo-deep: #072024;
  --magnus-teal: #1B6E6A;
  --magnus-teal-soft: #0F4543;
  --magnus-amarillo: #E8B33C;
  --magnus-amarillo-glow: #E8B33C;
  --magnus-amarillo-deep: #E8B33C;
  --magnus-cream: #F4EFE6;
  --magnus-cream-warm: #FAF6EE;
  
  /* Texto AAA-validated */
  --magnus-text-on-cream: #0B2F33;        /* 13.5:1 */
  --magnus-text-secondary-on-cream: #1F4248;  /* 9.8:1 */
  --magnus-text-eyebrow-on-cream: #0F4543;    /* 7.5:1 */
  --magnus-text-accent-on-cream: #E8B33C;     /* 7.2:1 */
  --magnus-text-success-on-cream: #0F5C3F;    /* 7.4:1 */
  --magnus-text-error-on-cream: #A02020;      /* 7.0:1 */
  --magnus-text-on-petroleo: #F4EFE6;     /* 13.5:1 */
  --magnus-text-secondary-on-petroleo: rgba(244, 239, 230, 0.92);
  --magnus-text-glow-on-petroleo: #E8B33C;    /* 9.1:1 */
  
  /* Layout */
  --magnus-radius: 14px;
  --magnus-radius-pill: 999px;
  --magnus-shadow-sm: 0 2px 8px rgba(11, 47, 51, 0.08);
  --magnus-shadow: 0 8px 24px rgba(11, 47, 51, 0.12);
  --magnus-shadow-lg: 0 20px 48px rgba(11, 47, 51, 0.18);
  
  /* Animation */
  --magnus-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --magnus-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Typography */
  --magnus-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ═══════════════════ GLOBAL RESETS ═══════════════════ */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
}

/* Números siempre tabulares (Magnus Brand mandate) */
.tabular,
[class*="-num"],
[class*="-value"],
[class*="-num-value"],
[class*="-stat-num"],
[class*="-amount"],
[class*="-rate"],
[class*="-pct"],
.metric-value,
.stat-num,
.team-stat-num,
.case-num-value,
.fact-value,
.gloss-section-letter,
.timeline-year {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Touch states para mobile (active replace hover) */
@media (hover: none) {
  .case:active,
  .cofounder:active,
  .advisor:active,
  .partner-type:active,
  .related-card:active,
  .gloss-term:active,
  .doc:active,
  .download-item:active {
    transform: translateY(0) scale(0.99);
    transition: transform 0.1s var(--magnus-ease);
  }
}

/* ═══════════════════ NAV MAGNUS ═══════════════════ */
nav#magnus-nav,
nav.nav#magnus-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--magnus-petroleo);
  border-bottom: 1px solid rgba(244, 239, 230, 0.06);
  padding: 0;
  height: auto;
  min-height: 64px;
  display: block;
  font-family: var(--magnus-font);
}

nav#magnus-nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  height: auto;
  min-height: 64px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Logo wrapper */
nav#magnus-nav .nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  line-height: 0;
}

nav#magnus-nav .nav-logo img {
  height: 30px;
  width: auto;
  min-width: 100px;
  display: block;
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
  opacity: 1;
  visibility: visible;
}

/* Hamburger button — visible solo mobile */
nav#magnus-nav .nav-hamburger {
  display: none;
  background: rgba(244, 239, 230, 0.10);
  border: 1.5px solid rgba(244, 239, 230, 0.30);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 auto;
  margin-left: auto;
  transition: background 0.2s var(--magnus-ease);
}

nav#magnus-nav .nav-hamburger:hover,
nav#magnus-nav .nav-hamburger:focus-visible {
  background: rgba(244, 239, 230, 0.18);
}

nav#magnus-nav .nav-hamburger svg {
  width: 24px;
  height: 24px;
  stroke: var(--magnus-cream);
  stroke-width: 2.4;
}

/* Nav-cta (botón Calcular) */
nav#magnus-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  background: var(--magnus-amarillo);
  color: var(--magnus-petroleo);
  border-radius: var(--magnus-radius-pill);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
  box-shadow: 0 4px 14px rgba(232, 179, 60, 0.25);
  transition: all 0.2s var(--magnus-ease);
  font-family: var(--magnus-font);
}

nav#magnus-nav .nav-cta:hover {
  background: var(--magnus-amarillo);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232, 179, 60, 0.35);
}

/* Mobile breakpoint */
@media (max-width: 880px) {
  nav#magnus-nav .nav-hamburger {
    display: inline-flex;
  }
  nav#magnus-nav .nav-cta {
    padding: 10px 18px;
    font-size: 14px;
  }
  nav#magnus-nav .nav-logo img {
    height: 26px;
    min-width: 90px;
  }
  nav#magnus-nav .nav-inner {
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  nav#magnus-nav .nav-cta {
    padding: 9px 14px;
    font-size: 13px;
  }
}

/* ═══════════════════ MOBILE NAV OVERLAY ═══════════════════ */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 32, 36, 0.97);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  z-index: 9998;
  display: none;
  flex-direction: column;
  padding: 80px 24px 40px;
  overflow-y: auto;
  font-family: var(--magnus-font);
}

.nav-mobile-overlay.is-open {
  display: flex;
}

.nav-mobile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(244, 239, 230, 0.12);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--magnus-cream);
  font-weight: 300;
  line-height: 1;
  font-family: var(--magnus-font);
  transition: background 0.2s var(--magnus-ease);
}

.nav-mobile-close:hover {
  background: rgba(244, 239, 230, 0.22);
}

.nav-mobile-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-mobile-overlay ul li {
  border-bottom: 1px solid rgba(244, 239, 230, 0.10);
}

.nav-mobile-overlay ul li:last-child {
  border-bottom: none;
}

.nav-mobile-overlay ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--magnus-cream);
  text-decoration: none;
  transition: color 0.2s var(--magnus-ease);
  font-family: var(--magnus-font);
}

.nav-mobile-overlay ul a:hover,
.nav-mobile-overlay ul a:focus-visible {
  color: var(--magnus-amarillo);
}

.nav-mobile-overlay ul a::after {
  content: "→";
  font-size: 20px;
  opacity: 0.5;
}

.nav-mobile-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: var(--magnus-amarillo);
  color: var(--magnus-petroleo);
  border-radius: var(--magnus-radius-pill);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(232, 179, 60, 0.35);
  font-family: var(--magnus-font);
}

body.nav-mobile-open {
  overflow: hidden;
}

/* ═══════════════════ TIPOGRAFÍA AAA ═══════════════════ */
body {
  font-family: var(--magnus-font);
  color: var(--magnus-text-on-cream);
  background: var(--magnus-cream);
}

/* Eyebrows con detección contextual */
.eyebrow,
[class*="-eyebrow"] {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Sobre cream → teal-soft AAA */
body:not(.dark-mode) .eyebrow,
body:not(.dark-mode) [class*="-eyebrow"] {
  color: var(--magnus-text-eyebrow-on-cream);
}

/* Dentro de hero/dark sections → glow */
.hero .eyebrow,
[class*="hero"] .eyebrow,
.bg-petroleo .eyebrow,
.bg-dark .eyebrow,
[style*="background:var(--petroleo)"] .eyebrow,
[style*="background: var(--petroleo)"] .eyebrow,
[style*="background:#0B2F33"] .eyebrow,
[style*="background: #0B2F33"] .eyebrow,
body.dark-mode .eyebrow {
  color: var(--magnus-text-glow-on-petroleo);
}

/* ═══════════════════ FOOTER MAGNUS ═══════════════════ */
.footer-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 20px 0;
  margin-top: 16px;
  border-top: 1px solid rgba(244, 239, 230, 0.10);
  font-size: 14px;
  color: rgba(244, 239, 230, 0.92);
  align-items: center;
}

.footer-contact-info a {
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--magnus-ease);
}

.footer-contact-info a:hover {
  color: var(--magnus-amarillo);
}

.footer-contact-info-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-info-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  flex-shrink: 0;
}

.footer-contact-hours {
  font-size: 13px;
  color: rgba(244, 239, 230, 0.78);
  font-weight: 500;
}

@media (max-width: 540px) {
  .footer-contact-info {
    gap: 10px 18px;
    font-size: 13px;
  }
}

/* ═══════════════════ FOCUS VISIBLE (a11y) ═══════════════════ */
*:focus-visible {
  outline: 3px solid var(--magnus-amarillo);
  outline-offset: 2px;
  border-radius: 4px;
}
nav#magnus-nav .nav-cta:focus-visible,
.nav-mobile-cta:focus-visible {
  outline-offset: 4px;
}

/* ═══════════════════ TRUST BADGES ═══════════════════ */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  margin: 24px auto;
  max-width: 1100px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(15, 69, 67, 0.06);
  border: 1.5px solid rgba(15, 69, 67, 0.15);
  border-radius: var(--magnus-radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--magnus-text-eyebrow-on-cream);
  letter-spacing: 0.02em;
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

body.dark-mode .trust-badge,
.bg-petroleo .trust-badge,
[style*="background:var(--petroleo)"] .trust-badge {
  background: rgba(244, 239, 230, 0.08);
  border-color: rgba(244, 239, 230, 0.20);
  color: var(--magnus-text-glow-on-petroleo);
}

/* ═══════════════════ EYEBROWS ESPECIALES ═══════════════════ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(15, 69, 67, 0.10);
  border-radius: var(--magnus-radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magnus-text-eyebrow-on-cream);
}

.bg-petroleo .section-eyebrow,
.bg-dark .section-eyebrow {
  background: rgba(232, 179, 60, 0.15);
  color: var(--magnus-text-glow-on-petroleo);
}

/* ============================================================
   TRUST BADGES ROW — v75
   Componente global de credibilidad. Insertar después del hero
   en páginas críticas: home, legado, familia, comparativa,
   sobre-magnus, herederos, casos, manifiesto.
   ============================================================ */

.trust-badges-row {
  background: var(--magnus-cream-warm);
  border-top: 1px solid rgba(11, 47, 51, 0.06);
  border-bottom: 1px solid rgba(11, 47, 51, 0.06);
  padding: 28px 0;
}
.trust-badges-row.dark {
  background: var(--magnus-petroleo);
  border-color: rgba(244, 239, 230, 0.08);
}
.trust-badges-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
}
.trust-badge-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(15, 69, 67, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trust-badges-row.dark .trust-badge-icon {
  background: rgba(232, 179, 60, 0.18);
}
.trust-badge-icon svg {
  width: 22px;
  height: 22px;
  color: var(--magnus-text-eyebrow-on-cream);
}
.trust-badges-row.dark .trust-badge-icon svg {
  color: var(--magnus-amarillo);
}
.trust-badge-text {
  flex: 1;
  min-width: 0;
}
.trust-badge-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magnus-text-eyebrow-on-cream);
  margin-bottom: 2px;
}
.trust-badges-row.dark .trust-badge-label {
  color: var(--magnus-amarillo);
}
.trust-badge-value {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--magnus-text-on-cream);
  line-height: 1.3;
}
.trust-badges-row.dark .trust-badge-value {
  color: var(--magnus-cream);
}
.trust-badge a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.trust-badge a:hover .trust-badge-value {
  color: var(--magnus-text-accent-on-cream);
}
.trust-badges-row.dark .trust-badge a:hover .trust-badge-value {
  color: var(--magnus-amarillo);
}

@media (max-width: 768px) {
  .trust-badges-row { padding: 20px 0; }
  .trust-badges-inner { grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 20px; }
  .trust-badge { gap: 10px; }
  .trust-badge-icon { width: 36px; height: 36px; border-radius: 10px; }
  .trust-badge-icon svg { width: 18px; height: 18px; }
  .trust-badge-label { font-size: 10px; }
  .trust-badge-value { font-size: 13px; }
}

/* ═══════════════════ TRUST STRIP — Global thin band debajo del nav ═══════════════════ */
.trust-strip {
  background: var(--magnus-petroleo);
  color: rgba(244, 239, 230, 0.92);
  border-bottom: 1px solid rgba(232, 179, 60, 0.20);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: sticky;
  top: 64px;
  z-index: 49;
  padding: 0;
  overflow: hidden;
}
.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.trust-strip-inner::-webkit-scrollbar { display: none; }
.trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
}
.trust-strip-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(244, 239, 230, 0.20);
}
.trust-strip-item svg {
  width: 14px;
  height: 14px;
  color: var(--magnus-amarillo);
  flex-shrink: 0;
}
.trust-strip-item strong {
  color: var(--magnus-amarillo);
  font-weight: 700;
}
.trust-strip a.trust-strip-item {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s var(--magnus-ease);
}
.trust-strip a.trust-strip-item:hover {
  color: var(--magnus-amarillo);
}

@media (max-width: 768px) {
  .trust-strip { top: 60px; }
  .trust-strip-inner {
    padding: 9px 16px;
    justify-content: flex-start;
    overflow-x: auto;
  }
  .trust-strip-item { padding: 0 12px; font-size: 11px; }
}

/* ═══════════════════ WHATSAPP FLOATING BUTTON ═══════════════════ */
.wa-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.40), 0 4px 12px rgba(11, 47, 51, 0.18);
  z-index: 90;
  transition: all 0.25s var(--magnus-ease);
  border: none;
  cursor: pointer;
  font-family: var(--magnus-font);
}
.wa-float:hover, .wa-float:focus-visible {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.50);
  outline: 3px solid rgba(37, 211, 102, 0.40);
  outline-offset: 4px;
}
.wa-float svg {
  width: 30px;
  height: 30px;
  color: #fff;
}
.wa-float-label {
  position: absolute;
  right: 70px;
  background: var(--magnus-petroleo);
  color: var(--magnus-cream);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.2s var(--magnus-ease);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(11, 47, 51, 0.20);
}
.wa-float:hover .wa-float-label,
.wa-float:focus-visible .wa-float-label {
  opacity: 1;
  transform: translateX(0);
}
.wa-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 768px) {
  .wa-float { width: 56px; height: 56px; bottom: 14px; right: 14px; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float-pulse { animation: none; opacity: 0.20; }
}

/* ═══════════════════ FOOTER CTA — Quiero que me llamen ═══════════════════ */
.callback-footer {
  background: var(--magnus-petroleo);
  color: var(--magnus-cream);
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}
.callback-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(232, 179, 60, 0.10), transparent 55%);
  pointer-events: none;
}
.callback-footer-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.callback-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--magnus-amarillo);
  margin-bottom: 14px;
  padding: 6px 14px;
  background: rgba(232, 179, 60, 0.12);
  border-radius: 999px;
  border: 1px solid rgba(232, 179, 60, 0.25);
}
.callback-footer h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--magnus-cream);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.callback-footer h3 em {
  font-style: italic;
  color: var(--magnus-amarillo);
}
.callback-footer p {
  color: rgba(244, 239, 230, 0.85);
  font-size: 16px;
  margin: 0 0 28px;
  line-height: 1.55;
}
.callback-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  max-width: 580px;
  margin: 0 auto;
}
.callback-form input {
  padding: 14px 16px;
  background: rgba(244, 239, 230, 0.08);
  border: 1.5px solid rgba(244, 239, 230, 0.18);
  border-radius: 12px;
  color: var(--magnus-cream);
  font-family: var(--magnus-font);
  font-size: 15px;
  transition: all 0.2s var(--magnus-ease);
  width: 100%;
  box-sizing: border-box;
}
.callback-form input:focus {
  outline: none;
  border-color: var(--magnus-amarillo);
  background: rgba(244, 239, 230, 0.12);
}
.callback-form input::placeholder {
  color: rgba(244, 239, 230, 0.50);
}
.callback-form button {
  padding: 14px 22px;
  background: var(--magnus-amarillo);
  color: var(--magnus-petroleo);
  border: none;
  border-radius: 999px;
  font-family: var(--magnus-font);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s var(--magnus-ease);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.callback-form button:hover {
  background: var(--magnus-amarillo);
  transform: translateY(-1px);
}
.callback-status {
  margin-top: 16px;
  font-size: 14px;
  color: var(--magnus-amarillo);
  font-weight: 600;
  display: none;
}
.callback-status.shown { display: block; }
.callback-disclaimer {
  font-size: 12px;
  color: rgba(244, 239, 230, 0.50);
  margin-top: 16px;
  font-weight: 500;
}
@media (max-width: 720px) {
  .callback-form { grid-template-columns: 1fr; }
  .callback-form button { width: 100%; }
}

/* ═══════════════════ STICKY CTA MOBILE — Aparece tras scroll en blog/FAQ ═══════════════════ */
.sticky-cta {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: var(--magnus-petroleo);
  border-top: 2px solid var(--magnus-amarillo);
  padding: 14px 16px;
  z-index: 80;
  box-shadow: 0 -8px 24px rgba(11, 47, 51, 0.25);
  transition: bottom 0.3s var(--magnus-ease-out);
  display: none;
}
@media (max-width: 768px) {
  .sticky-cta { display: block; }
  .sticky-cta.visible { bottom: 0; }
}
.sticky-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
}
.sticky-cta-text {
  font-size: 13px;
  color: rgba(244, 239, 230, 0.92);
  line-height: 1.3;
  font-weight: 600;
}
.sticky-cta-text strong { color: var(--magnus-amarillo); }
.sticky-cta-action {
  padding: 10px 18px;
  background: var(--magnus-amarillo);
  color: var(--magnus-petroleo);
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.sticky-cta-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(244, 239, 230, 0.12);
  border: none;
  color: var(--magnus-cream);
  font-size: 18px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

/* ═══════════════════ TESTIMONIAL SLIM CAROUSEL ═══════════════════ */
.testimonial-strip {
  background: var(--magnus-cream-warm);
  padding: 40px 24px;
  border-top: 1px solid rgba(11, 47, 51, 0.06);
  border-bottom: 1px solid rgba(11, 47, 51, 0.06);
}
.testimonial-strip-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--magnus-text-eyebrow-on-cream);
  margin-bottom: 18px;
  display: block;
}
.testimonial-quotes {
  position: relative;
  min-height: 80px;
}
.testimonial-quote {
  font-size: clamp(16px, 1.8vw, 19px);
  font-style: italic;
  color: var(--magnus-text-on-cream);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity 0.6s var(--magnus-ease);
  pointer-events: none;
}
.testimonial-quote.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.testimonial-author {
  margin-top: 12px;
  font-size: 13px;
  color: var(--magnus-text-secondary-on-cream);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.testimonial-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 18px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(11, 47, 51, 0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s var(--magnus-ease);
}
.testimonial-dot.active {
  background: var(--magnus-amarillo);
  width: 22px;
  border-radius: 999px;
}
