/* Electrifica Tu Hogar — estilos (mobile-first) */

:root {
  --navy: #0E2A47;
  --navy-2: #143a60;
  --green: #2FA84F;
  --lime: #C6F24E;
  --accent: #1B7F3E;
  --accent-dark: #156832;
  --wa: #25D366;
  --bg: #FFFFFF;
  --bg-alt: #F4FAF2;
  --text: #1F2933;
  --muted: #4A5866;
  --line: #DCE7DA;

  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 12px;
  --shadow: 0 6px 24px rgba(14, 42, 71, .08);
  --shadow-lg: 0 12px 36px rgba(14, 42, 71, .14);

  --header-h: 64px;
  --gutter: 16px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-top: var(--header-h);
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
strong { font-weight: 600; }
a[href^="tel:"] { white-space: nowrap; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--navy);
  border-radius: 4px;
}
main:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 200;
  background: var(--lime);
  color: var(--navy);
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 820px; }
.center { text-align: center; }

.icon { width: 1.35em; height: 1.35em; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(27, 127, 62, .28);
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn-xl { min-height: 60px; padding: 16px 34px; font-size: 1.15rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  text-decoration: none;
  margin-right: auto;
}
.brand-icon { flex: none; width: 44px; height: auto; }
.brand-text {
  display: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(.95rem, 4.3vw, 1.15rem);
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.brand-accent { color: var(--green); }
@media (min-width: 340px) {
  .brand-text { display: inline; }
}

.header-actions { flex: none; display: flex; align-items: center; gap: 8px; }
.btn-header { min-height: 44px; padding: 8px 14px; font-size: .95rem; box-shadow: none; }
.btn-header .label-long { display: none; }
/* Celular: el botón de WhatsApp queda solo con el ícono para que quepa el nombre completo
   (además está el botón flotante de WhatsApp). */
@media (max-width: 559px) {
  .btn-header { width: 44px; padding: 0; gap: 0; }
  .btn-header .label-short {   /* oculto a la vista, pero lo sigue leyendo el lector de pantalla */
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
}
@media (min-width: 560px) {
  .brand { gap: 10px; }
  .brand-icon { width: 52px; }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius-sm);
  color: #fff;
  cursor: pointer;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before,
.menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Menú móvil: panel debajo del header */
.main-nav {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .2);
  display: none;
}
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.main-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 4px 4px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.main-nav li:last-child a { border-bottom: 0; }
.main-nav a:hover { color: var(--lime); }

/* Sin JS: el menú queda visible como lista para no perder la navegación */
.no-js .main-nav { display: block; position: static; }
.no-js .menu-toggle { display: none; }

@media (min-width: 1024px) {
  :root { --header-h: 76px; }
  .brand-icon { width: 60px; }
  .brand-text { font-size: 1.3rem; }
  .btn-header .label-long { display: inline; }
  .btn-header .label-short { display: none; }
  .btn-header { padding: 10px 20px; }
  .menu-toggle { display: none; }
  .main-nav,
  .no-js .main-nav {
    position: static;
    display: block;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .main-nav ul { display: flex; gap: 4px; padding: 0; }
  .main-nav a {
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    font-size: .975rem;
  }
  .main-nav a:hover { background: rgba(255, 255, 255, .08); }
  .header-inner { gap: 20px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg, .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bg { z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 70% 30%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* En móvil la capa cubre todo, más densa abajo donde va el texto */
  background: linear-gradient(180deg, rgba(14, 42, 71, .35) 0%, rgba(14, 42, 71, .82) 42%, rgba(14, 42, 71, .94) 100%);
}
.hero-content { padding-top: 120px; padding-bottom: 40px; }

.tag {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 12px;
  background: var(--lime);
  color: var(--navy);
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 9vw, 4.2rem);
  letter-spacing: -.01em;
  max-width: 14ch;
}
.hero .hl { color: var(--lime); }
.hero-sub {
  font-size: 1.1rem;
  max-width: 36rem;
  color: #fff;
  margin-bottom: 24px;
}
.trust-line {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: .95rem;
  font-weight: 600;
}
.trust-line span { color: var(--lime); margin-right: 2px; }

@media (min-width: 641px) {
  .hero { min-height: 600px; align-items: center; }
  .hero-content { padding-top: 64px; padding-bottom: 64px; }
}
@media (min-width: 768px) {
  .hero::before {
    background: linear-gradient(90deg, rgba(14, 42, 71, .92) 0%, rgba(14, 42, 71, .82) 55%, rgba(14, 42, 71, .4) 85%, rgba(14, 42, 71, .2) 100%);
  }
  .hero-bg img { object-position: 60% 40%; }
  .hero-content > * { max-width: 540px; }
}
@media (min-width: 1024px) {
  .hero { min-height: 640px; }
  .hero::before {
    /* Capa azul marino al 70% a la izquierda, se desvanece hacia la derecha */
    background: linear-gradient(90deg, rgba(14, 42, 71, .9) 0%, rgba(14, 42, 71, .7) 45%, rgba(14, 42, 71, .15) 78%, rgba(14, 42, 71, 0) 100%);
  }
  .hero-content > * { max-width: 600px; }
}

/* ---------- Secciones ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  text-align: center;
  margin-bottom: 28px;
}
.note {
  max-width: 44rem;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
}
@media (min-width: 1024px) {
  .section { padding: 88px 0; }
  .section-title { margin-bottom: 40px; }
}

/* ---------- Aparatos ---------- */
.appliances { display: grid; gap: 24px; }
.appliances-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.15rem; margin-bottom: .25em; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.card-icon {
  flex: none;
  width: 56px; height: 56px;
  padding: 8px;
  border-radius: 12px;
  background: var(--bg-alt);
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card { flex-direction: column; }
}
@media (min-width: 1024px) {
  .appliances { grid-template-columns: 5fr 7fr; align-items: center; gap: 40px; }
}

/* ---------- Pasos ---------- */
.steps {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: none;
}
.step {
  position: relative;
  padding: 24px 20px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step h3 { font-size: 1.2rem; margin-top: 14px; margin-bottom: .35em; }
.step p { margin: 0; color: var(--muted); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--lime);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ---------- ¿Quién califica? ---------- */
.split { display: grid; gap: 32px; }
.split .section-title { text-align: left; margin-bottom: 16px; }
.split-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.checklist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.check { flex: none; width: 24px; height: 24px; color: var(--green); margin-top: 1px; }
@media (min-width: 560px) {
  .checklist { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .checklist-wide { grid-column: 1 / -1; }
}

.callout {
  padding: 16px 18px;
  background: var(--bg-alt);
  border-left: 6px solid var(--lime);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.callout p { margin: 0; }
.callout strong { color: var(--navy); }

.zips {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.zips summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 16px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
}
.zips summary::-webkit-details-marker { display: none; }
.zips summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--navy);
}
.zips[open] summary::after { content: "−"; }
.zip-list {
  list-style: none;
  margin: 0;
  padding: 4px 16px 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}
.zip-list li {
  text-align: center;
  padding: 6px 0;
  background: var(--bg-alt);
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
}

/* ---------- Documentos ---------- */
.doc-list {
  list-style: none;
  counter-reset: doc;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.doc-list li {
  counter-increment: doc;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-weight: 600;
}
.doc-list li::before {
  content: counter(doc);
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
}
@media (min-width: 768px) {
  .doc-list { grid-template-columns: 1fr 1fr; }
}

/* ---------- Confianza (franja azul) ---------- */
.section-navy {
  background: var(--navy);
  color: #fff;
}
.section-navy .section-title { color: #fff; }
.section-navy a { color: var(--lime); }
.section-navy a:hover { color: #fff; }
.trust-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.trust-grid li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--navy-2);
  border-radius: var(--radius);
}
.trust-grid p { margin: 0; }
.trust-grid strong { color: #fff; }
.trust-icon {
  flex: none;
  width: 32px; height: 32px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 768px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 1100px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-grid li { flex-direction: column; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q { margin: 0; font-size: 1.05rem; }
.faq-q button {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.faq-q button:hover { background: var(--bg-alt); }
.faq-chevron {
  flex: none;
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s;
}
.faq-q button[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a { padding: 0 18px 16px; }
.faq-a p { margin: 0; color: var(--text); }
.faq-a[hidden] { display: none; }

/* ---------- CTA final ---------- */
.cta-final .section-title { margin-bottom: 8px; }
.cta-text { font-size: 1.15rem; color: var(--muted); margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .88);
  padding: 48px 0 104px; /* espacio para el botón flotante en móvil */
  font-size: .95rem;
}
.footer-inner { display: grid; gap: 24px; }
.footer-brand img { width: 140px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--lime); }
.footer-contact a { display: inline-block; padding: 6px 0; }
.footer-links {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}
.footer-copy { margin: 0; color: rgba(255, 255, 255, .72); font-size: .875rem; }
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 180px 1fr; gap: 40px; align-items: start; }
  .footer-brand img { width: 160px; }
  .site-footer { padding-bottom: 56px; }
}

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  transition: transform .2s;
}
.wa-float .icon { width: 32px; height: 32px; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float.is-left { right: auto; left: 16px; }

/* ---------- Páginas legales ---------- */
.legal { padding: 40px 0 64px; }
.legal h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal .updated { color: var(--muted); font-size: .95rem; }
.legal ul { padding-left: 1.25em; }
.legal li { margin-bottom: .4em; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.legal .highlight {
  padding: 14px 18px;
  background: var(--bg-alt);
  border-left: 6px solid var(--green);
  border-radius: var(--radius-sm);
}

/* ---------- 404 ---------- */
.not-found { padding: 72px 0 96px; text-align: center; }
.not-found .big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 5rem;
  line-height: 1;
  color: var(--green);
  margin-bottom: 8px;
}
.not-found .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-ghost:hover { background: var(--bg-alt); color: var(--navy); }

/* =====================================================================
   v2: portada con 2 programas, /gas-electricos/ y /minisplits/
   ===================================================================== */

/* ---------- Header: enlace "← Inicio" ---------- */
.has-back .brand { margin-right: 0; }
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin-right: auto;
  padding: 0 4px;
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.back-home:hover { color: var(--lime); }
/* Celular chico: el nombre se oculta para que quepan "← Inicio", WhatsApp y el menú (el logo conserva su alt) */
@media (max-width: 419px) {
  .has-back .brand-text { display: none; }
}

/* ---------- Botón deshabilitado ("Muy pronto") ---------- */
.btn.is-disabled,
.btn.is-disabled:hover {
  background: #6B7785;
  color: #fff;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
@media (max-width: 559px) {
  .btn-header.is-disabled { width: auto; padding: 0 12px; }
  .btn-header.is-disabled .icon { display: none; }
  .btn-header.is-disabled .label-short { position: static; width: auto; height: auto; clip: auto; }
}

/* ---------- Portada: hero ---------- */
.home-hero {
  background: var(--bg-alt);
  padding: 40px 0 56px;
}
.tag-navy { background: var(--navy); color: var(--lime); }
.home-hero h1 {
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  color: var(--navy);
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.home-sub {
  max-width: 40rem;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: var(--muted);
}
@media (min-width: 1024px) {
  .home-hero { padding: 64px 0 88px; }
}

/* ---------- Portada: flyers flotantes ---------- */
.flyers {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 980px;
  display: grid;
  gap: 32px;
}
.flyers > li { display: flex; }
@media (min-width: 900px) {
  .flyers { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.flyer-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  animation: flotar 4s ease-in-out infinite;
  transition: box-shadow .25s ease, translate .25s ease;
}
.flyers > li:nth-child(2) .flyer-card { animation-delay: 1.2s; }
.flyer-card:hover,
.flyer-card:focus-visible {
  color: var(--text);
  translate: 0 -6px;
  box-shadow: 0 22px 48px rgba(14, 42, 71, .22);
}
@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .flyer-card { animation: none; }
  .flyer-card:hover, .flyer-card:focus-visible { translate: none; }
}
.flyer-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}
.flyer-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 24px;
}
.flyer-body h2 { font-size: 1.4rem; color: var(--navy); margin-bottom: .4em; }
.flyer-body > p { color: var(--muted); }
.flyer-body .btn { margin-top: auto; align-self: flex-start; }
.checklist-1col { grid-template-columns: 1fr !important; }

/* ---------- Portada: cómo trabajamos ---------- */
.how-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.how-grid li { display: flex; gap: 16px; align-items: center; }
.how-grid p { margin: 0; }
.how-grid strong { color: var(--navy); }
@media (min-width: 768px) {
  .how-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .how-grid li { flex-direction: column; text-align: center; }
}

/* ---------- Franja de confianza con 3 renglones ---------- */
@media (min-width: 768px) {
  .trust-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .trust-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Minisplits ---------- */
@media (min-width: 900px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}
.note-left { text-align: left; margin: 0; font-size: .95rem; }

/* ---------- Tarjeta cruzada entre programas ---------- */
.cross-section { padding-top: 0; }
.section-alt + .cross-section,
.section-navy + .cross-section { padding-top: 56px; }
.cross-card {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 24px;
  background: #fff;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cross-card p { margin: 0; font-size: 1.1rem; }
.cross-card strong { color: var(--navy); }
@media (min-width: 768px) {
  .cross-card { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
}

/* ---------- Footer: contactos en lista ---------- */
ul.footer-contact { list-style: none; margin: 0 0 1em; padding: 0; }
