/* ═══════════════════════════════════════════════════════════════
   ACCESIBILIDAD · prefers-reduced-motion
   Desactiva animaciones para usuarios con preferencia declarada.
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ACCESIBILIDAD · Skip link + focus visible institucional
   ═══════════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100px; left: 0;
  padding: 12px 20px;
  background: #0A2B5C;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  z-index: 999;
  border-radius: 0 0 4px 0;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #FFC72C;
  outline-offset: -3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #E30613;
  outline-offset: 2px;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   PÁGINA CONSTITUCIÓN · #constitucion
   Documento fundacional. Estética notarial-institucional:
   marfil, serifas, numerales romanos, franjas tricolor, capitulares.
   ═══════════════════════════════════════════════════════════════ */
.const-page { background: linear-gradient(180deg, #FFFDF8 0%, #FEF7E8 100%);
  padding: 72px max(24px, calc((100% - 900px) / 2 + 24px)) 100px;
  position: relative; overflow: hidden; }

/* Marca de agua institucional (logo gigante rotado) */
.const-page::before { content: "";
  position: absolute; top: 40%; right: -180px;
  width: 720px; height: 420px;
  background-image: url("assets/logo-05-official.png");
  background-repeat: no-repeat; background-position: center;
  background-size: contain;
  opacity: 0.022;
  transform: rotate(-6deg);
  pointer-events: none; z-index: 0; }
.const-page::after { content: "";
  position: absolute; bottom: 8%; left: -220px;
  width: 720px; height: 420px;
  background-image: url("assets/logo-05-official.png");
  background-repeat: no-repeat; background-position: center;
  background-size: contain;
  opacity: 0.018;
  transform: rotate(4deg);
  pointer-events: none; z-index: 0; }

.const-frame { max-width: 780px; margin: 0 auto;
  position: relative; z-index: 1; }

/* ═══ Portada (folio de apertura) ═══ */
.const-cover { text-align: center;
  padding: 20px 0 56px;
  border-bottom: 1px solid rgba(10,43,92,0.10);
  margin-bottom: 60px; }
.const-cover-eyebrow { display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 32px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 11px; font-style: italic; font-weight: 600;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: rgba(107,82,64,0.85);
  padding: 8px 20px;
  border: 1px solid rgba(10,43,92,0.15);
  border-radius: 2px;
  background: rgba(255,255,255,0.6); }
.const-cover-flag { width: 22px; height: 15px; flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12); }

.const-cover-h1 { margin: 0 0 22px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 68px; font-weight: 500; line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink); }
.const-cover-h1 em { font-style: italic; color: var(--red); font-weight: 500; }

.const-cover-year { display: inline-block; margin: 6px 0 34px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 22px; font-style: italic; font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--red);
  padding: 0 32px;
  position: relative; }
.const-cover-year::before, .const-cover-year::after { content: "";
  position: absolute; top: 50%; width: 22px; height: 1px;
  background: rgba(227,6,19,0.4); }
.const-cover-year::before { left: 0; }
.const-cover-year::after { right: 0; }

.const-cover-lead { margin: 0 auto; max-width: 620px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 17px; line-height: 1.75; font-style: italic;
  color: rgba(26,26,26,0.80);
  text-wrap: pretty; }
.const-cover-lead strong { font-style: normal;
  color: var(--navy); font-weight: 700;
  letter-spacing: 0.02em; }

/* ═══ Preámbulo firmado (bloque marfil recuadrado) ═══ */
.const-preamble { margin: 0 0 68px;
  padding: 40px 44px;
  background: #FFFDF8;
  border: 1px solid rgba(241,191,0,0.35);
  position: relative; }
.const-preamble::before, .const-preamble::after { content: "";
  position: absolute; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%); }
.const-preamble::before { top: 0; }
.const-preamble::after { bottom: 0; }
.const-preamble-eyebrow { margin: 0 0 18px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 10.5px; font-style: italic; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--red); }
.const-preamble-body { margin: 0 0 20px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 17px; line-height: 1.75; font-style: italic;
  color: rgba(26,26,26,0.85);
  text-wrap: pretty; }
.const-preamble-body:last-child { margin-bottom: 0; }
.const-preamble-body strong { font-style: normal; color: var(--red);
  font-weight: 700; letter-spacing: 0.01em; }

/* ═══ Títulos (secciones de artículos) ═══ */
.const-title { margin: 0 0 32px;
  display: flex; align-items: baseline; gap: 22px; }
.const-title-num { flex-shrink: 0;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 13px; font-style: italic; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--red); }
.const-title-line { flex: 0 0 32px; height: 1px;
  background: var(--red); }
.const-title-h { margin: 0;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 32px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--navy); }
.const-title-h em { font-style: italic; color: var(--red); font-weight: 500; }

/* ═══ Artículos (cada uno con capitular) ═══ */
.const-articles { margin: 0 0 72px;
  display: grid; gap: 28px; }
.const-article { padding: 26px 30px 24px 30px;
  background: rgba(255,255,255,0.85);
  border-left: 3px solid var(--yellow);
  position: relative; }
.const-article-num { display: inline-block;
  margin: 0 0 8px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 11px; font-style: italic; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--red); }
.const-article-h { margin: 0 0 12px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 22px; font-weight: 500;
  color: var(--navy); letter-spacing: -0.005em; }
.const-article-h em { font-style: italic; color: var(--red); font-weight: 500; }
.const-article-body { margin: 0;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 15.5px; line-height: 1.75;
  color: rgba(26,26,26,0.80);
  text-wrap: pretty; }
.const-article-body strong { color: var(--ink); font-weight: 700;
  font-style: normal; }
.const-article-body em { color: var(--red); font-style: italic; }

/* Cada 4º artículo (transición entre Títulos) — un poco más elevado */
.const-article.const-article--pivot {
  background: linear-gradient(180deg, #FFF9EF 0%, #FEF3D8 100%);
  border-left-color: var(--red);
  padding-top: 30px; }

/* ═══ Firma institucional al pie ═══ */
.const-sign { margin: 72px auto 0;
  max-width: 620px;
  text-align: center;
  padding: 44px 32px 40px;
  background: #FFFDF8;
  border-top: 3px solid;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%) 1;
  position: relative; }
.const-sign-eyebrow { margin: 0 0 22px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 10.5px; font-style: italic; font-weight: 700;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--red); }
.const-sign-body { margin: 0 0 28px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 17px; line-height: 1.7; font-style: italic;
  color: rgba(26,26,26,0.85); }
.const-sign-place { display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(10,43,92,0.15);
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 13px; letter-spacing: 0.02em;
  color: var(--navy); font-weight: 600; }
.const-sign-place span:first-child { font-style: italic;
  color: rgba(107,82,64,0.85); font-weight: 500; }
.const-sign-seal { display: inline-block; width: 60px; height: 60px;
  margin: 24px auto 0;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: radial-gradient(circle, #FFFDF8 0%, #FEF7E8 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(10,43,92,0.15); }
.const-sign-seal svg { width: 34px; height: 34px; }

/* ═══ CTA de regreso ═══ */
.const-back { text-align: center; margin: 52px 0 0; }
.const-back a { display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px 16px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 13px; font-style: italic; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid rgba(10,43,92,0.30);
  text-decoration: none;
  transition: all 0.3s; }
.const-back a:hover { border-color: var(--navy);
  background: rgba(10,43,92,0.04);
  color: var(--navy-deep);
  transform: translateY(-1px); }
.const-back a::before { content: "←"; font-size: 18px;
  transition: transform 0.3s; }
.const-back a:hover::before { transform: translateX(-4px); }

/* Responsive */
@media (max-width: 700px) {
  .const-page { padding: 48px 20px 72px; }
  .const-cover-h1 { font-size: 46px; }
  .const-cover-year { font-size: 18px; letter-spacing: 0.18em; }
  .const-cover-lead { font-size: 15px; }
  .const-preamble { padding: 28px 22px; }
  .const-preamble-body { font-size: 15px; }
  .const-title-h { font-size: 24px; }
  .const-article { padding: 22px 20px; }
  .const-article-h { font-size: 19px; }
  .const-article-body { font-size: 14.5px; }
  .const-sign { padding: 32px 22px; }
  .const-sign-body { font-size: 15px; }
}

:root {
  --red: #E30613;
  --red-dark: #B8050F;
  --yellow: #FFC72C;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --ink-mute: #8A8A8A;
  --line: #E8E6E1;
  --line-soft: #F0F0EB;
  --cream: #FAFAF7;
  --success: #10B981;
  --wa: #25D366;
  --dark: #1A1A1F;
  --navy: #0A2B5C;
  --navy-soft: #12376E;
  --navy-deep: #0A1A2E;

  /* ═══ SISTEMA DE HOJA INSTITUCIONAL ═══
     La web se comporta como un DOCUMENTO de ancho fijo (1200px), centrado en
     la pantalla, con márgenes grises a los lados cuando el viewport es mayor.
     TODOS los contenedores (header, subheader, hero, tarifas, footer, WA, etc.)
     ocupan exactamente ese ancho para quedar alineados en el mismo eje. */
  --content-max: 1200px;
  --edge-x: 32px;                 /* padding interno del documento */
  --edge-inline: var(--edge-x);   /* alias mantenido para compatibilidad */

  /* ═══ FRANJA TRICOLOR OFICIAL — PROPORCIÓN 1:2:1 (LEY DE BANDERA) ═══
     Rojo · Amarillo · Rojo con proporciones 25% · 50% · 25%.
     Es una norma INSTITUCIONAL inviolable. Todo elemento decorativo con
     los colores bandera DEBE usar esta variable, nunca proporciones distintas.
     Uso: background: var(--flag-tri-h);  ó  linear-gradient(to bottom, var(--flag-tri-v)); */
  --flag-red: #AA151B;
  --flag-yellow: #F1BF00;
  --flag-tri-h: linear-gradient(90deg,
    var(--flag-red) 0%, var(--flag-red) 25%,
    var(--flag-yellow) 25%, var(--flag-yellow) 75%,
    var(--flag-red) 75%, var(--flag-red) 100%);
  --flag-tri-v: linear-gradient(180deg,
    var(--flag-red) 0%, var(--flag-red) 25%,
    var(--flag-yellow) 25%, var(--flag-yellow) 75%,
    var(--flag-red) 75%, var(--flag-red) 100%);
}
/* La "hoja" del documento — HTML aporta el fondo exterior (blanco);
   BODY tiene ancho fijo centrado. Todas las secciones internas heredan
   ese ancho automáticamente. */
/* CRÍTICO: NO usamos overflow-x:hidden en html/body porque romperia
   position:sticky del header. Usamos max-width en body para evitar
   scroll horizontal, y html mantiene overflow visible. */
html { background: #EDECE7; }
body { max-width: var(--content-max) !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  position: relative !important;
  box-shadow: 0 0 60px rgba(10,26,46,0.10),
              0 0 0 1px rgba(10,26,46,0.03); }
@media (max-width: 1200px) {
  html { background: #ffffff; }
  body { max-width: 100% !important; box-shadow: none; }
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink); line-height: 1.55; font-size: 15px;
  -webkit-font-smoothing: antialiased;
  background: transparent; }
/* html y body ya configurados arriba en el bloque "hoja del documento" */
a { color: inherit; text-decoration: none; }
.page { display: none; }
.page.active { display: block; }

/* BANDERA VERTICAL — fondo global body */
.flag-bg { display: none; }
.page { position: relative; z-index: 1; }
.wa { z-index: 90; }

/* ═══════════════════════════════════════════════════════════════
   HDR STRIP — horario de atención en la parte superior del header,
   posición absoluta para NO agrandar el header.
   Alineado en vertical con la N de "NOSOTROS" del nav (left: 25%).
   ═══════════════════════════════════════════════════════════════ */
.hdr-strip {
  position: absolute; top: 12px; left: 25%; transform: none;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 1px 0;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 10.5px; font-style: italic; font-weight: 500;
  color: rgba(107,82,64,0.85); letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap; }
.hdr-strip-ic { width: 11px; height: 11px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0.85; }
.hdr-strip-ic svg { width: 100%; height: 100%; overflow: visible; }
.hdr-strip-sep { display: inline-block; width: 2.5px; height: 2.5px;
  background: #8B3A1F; border-radius: 50%; margin: 0 4px;
  opacity: 0.45; vertical-align: middle; }
.hdr-strip strong { color: var(--navy); font-weight: 600;
  font-style: normal; letter-spacing: 0.02em;
  font-size: 10px; text-transform: uppercase; }
.hdr-strip em { color: #8B3A1F; font-style: italic; font-weight: 500; }
.hdr-strip-lbl { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1100px) {
  .hdr-strip { display: none; } /* evita solaparse con logo/nav en presentación */
}



/* HEADER — alineado al eje de contenido con --edge-inline */
.hdr { background: #fff; border-bottom: 1px solid var(--line);
  padding: 0 var(--edge-inline);
  position: sticky; top: 0; z-index: 30;
  box-shadow: 0 2px 0 rgba(0,0,0,0.02);
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  grid-template-rows: 1fr 1fr;
  column-gap: 24px; row-gap: 0;
  align-items: center;
  max-width: 100%; }
/* Progresión de compactación del header — conserva TODOS los elementos
   visibles el mayor rango posible; solo colapsa a mobile <760px real. */

/* 1350-1150px : comprimir pero mantener todo visible */
@media (max-width: 1350px) {
  .hdr { column-gap: 12px;
    padding: 0 max(14px, calc((100% - 1240px) / 2 + 14px)) 0 max(12px, calc((100% - 1240px) / 2 + 12px)); }
  .ph-lbl { font-size: 9px !important; }
  .ph { font-size: 16px; padding: 10px 20px 10px 10px; min-width: 210px; }
  .ph-222-lbl { font-size: 9px !important; }
  .nav a { padding: 8px 14px 10px; font-size: 13px; gap: 8px; }
}

/* 1150-980px : el rango típico de presentación / portátil pequeño.
   Escondemos SOLO las etiquetas pequeñas (labels de contexto encima de los
   números de teléfono) — se mantienen los botones/CTAs y el nav completo. */
@media (max-width: 1150px) {
  .ph-lbl { display: none !important; }
  .ph { min-width: 0; padding: 9px 18px 9px 8px; font-size: 15px; }
  .ph-ic { width: 28px; height: 28px; }
  .ph-222-lbl { display: none !important; }
  .ph-222 { padding: 7px 12px !important; font-size: 12px !important; }
  .allies-btn { padding: 7px 10px !important; font-size: 11px !important; }
  .allies-btn .nav-txt, .allies-btn span:not(.edt-ic) { font-size: 11px !important; }
  .nav a { padding: 7px 10px 9px; font-size: 12px; gap: 6px; }
  .nav a .nav-ic { width: 20px; height: 20px; }
}

/* 980-760px : ya son ventanas muy pequeñas; solo entonces empezamos a
   quitar cosas. Aliados fuera, y nav sólo con iconos. */
@media (max-width: 980px) {
  .allies-btn { display: none !important; }
  .nav .nav-txt { display: none; }
  .nav a { padding: 8px 10px 10px; }
  .ph { font-size: 14px; }
}
.hdr::after { content: ""; position: absolute; bottom: -1px;
  left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%); }
/* Logo: identidad principal de EDT, ocupa las dos filas del header con
   PRESENCIA DOMINANTE. El logo es más alto que el header y se recorta arriba
   y abajo con overflow:hidden — genera la sensación de "bandera desplegada".
   IMPORTANTE: sin margin negativo horizontal para no salir del body cuando
   éste tiene max-width fijo. */
.lg { grid-column: 1; grid-row: 1 / 3;
  display: flex; align-items: center; cursor: pointer;
  text-decoration: none; flex-shrink: 0;
  overflow: hidden;
  height: 100px; }
.lg-img { height: 160px; width: auto; display: block;
  margin: -30px 0 -30px 0; }
.ft .lg-img { height: 140px; margin-bottom: 14px; }
/* Teléfono: columna derecha, fila superior */
.ph-wrap { display: contents; }
/* Nav: pegado al pie del header, alineado con el arranque de la franja amarilla (25%).
   Los items se apoyan JUSTO sobre la franja tricolor (bottom:0 del header). */
/* Nav apoyado sobre la franja tricolor. Empieza tras el logo con aire generoso
   (240px = ancho del logo + separación cómoda) y termina antes del bloque de
   CTAs de la derecha. */
.nav { position: absolute;
  bottom: 0;    /* apoyados directamente sobre la franja tricolor */
  left: max(280px, calc((100% - 1280px) / 2 + 280px));
  right: auto;  /* que fluya según el contenido, no ocupar hasta la derecha */
  display: flex; gap: 12px; align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
  min-width: 0; }
.nav a { color: var(--ink); font-size: 14px; font-weight: 700;
  padding: 8px 18px 10px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: 0;
  transition: color 0.2s, background 0.2s, transform 0.2s;
  position: relative;
  border-radius: 8px 8px 0 0;
  line-height: 1; }
.nav a:hover { color: var(--red); background: rgba(255,249,239,0.85); }
.nav a.active { color: var(--red); font-weight: 800; background: transparent; }

/* Icono de cada item del nav */
.nav a .nav-ic { width: 24px; height: 24px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: opacity 0.2s, transform 0.2s, filter 0.2s; }
.nav a .nav-ic svg { width: 100%; height: 100%; display: block; overflow: visible; }
.nav a:not(.active):not(:hover) .nav-ic { opacity: 0.7; }
.nav a:hover .nav-ic { transform: translateY(-1px); }
.nav a.active .nav-ic { opacity: 1; }
.nav-txt { font-size: inherit; }

/* El primer item del nav (logo puro EDT) es puramente icónico */
.nav a:first-child .edt-ic--sm { width: 34px; height: 26px; }
/* SUBHEADER — mismo eje que el header */
/* Subheader pegado JUSTO al final del header (100px) — sin dejar hueco
   transparente al hacer scroll. La franja tricolor del header (::after de 4px)
   queda visible entre el header y el subheader gracias al z-index. */
.subhdr { background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 100px; z-index: 29;
  padding: 0 var(--edge-inline);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.subhdr::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%);
  opacity: 0.85; }
/* La zona interior del subheader arranca donde termina el logo del header,
   para que "Para tu hogar/negocio" NO invada el espacio visual del logo.
   Altura fija reducida a la MITAD para no restar espacio vertical al hero. */
.subhdr-in { display: flex; align-items: center; gap: 16px;
  padding-left: 256px;
  height: 36px; }
@media (max-width: 1150px) {
  .subhdr-in { padding-left: 220px; }
}
@media (max-width: 980px) {
  .subhdr-in { padding-left: 12px; }
}
.subhdr-label { display: inline-flex; align-items: center; gap: 6px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 11px; font-style: italic; font-weight: 600;
  color: var(--navy);
  padding: 2px 12px 2px 0;
  border-right: 1px solid var(--line);
  margin-right: 4px;
  letter-spacing: 0.01em;
  line-height: 1; }
/* !important necesario porque .edt-ic (más abajo en cascada) fuerza 60×60. */
.subhdr .subhdr-label-ic.edt-ic,
.subhdr .subhdr-label-ic { width: 14px !important; height: 14px !important;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(227,6,19,0.06) 0%, rgba(255,199,44,0.10) 100%);
  border-radius: 3px; padding: 1px; }
.subhdr .subhdr-label-ic svg { width: 100%; height: 100%; display: block; overflow: visible; }
.subnav { display: flex; gap: 0; align-items: stretch; }
.subnav a { color: var(--ink); font-size: 12px; font-weight: 600;
  padding: 4px 14px; text-decoration: none;
  display: flex; align-items: center;
  transition: all 0.15s;
  position: relative;
  white-space: nowrap;
  line-height: 1.4; }
.subnav a:hover { color: var(--red); background: var(--cream); }
.subnav a.active { color: var(--red); font-weight: 800; }
.subnav a.active::after { content: ""; position: absolute;
  bottom: 0; left: 16px; right: 16px; height: 2px;
  background: var(--red); border-radius: 2px; }

@media (max-width: 900px) {
  .subhdr-in { flex-wrap: wrap; padding: 0 16px; }
  .subhdr-label { padding: 8px 12px 8px 0; margin-right: 0;
    border-right: none; font-size: 11.5px; }
  .subnav a { padding: 10px 12px; font-size: 13px; }
}

/* Marca de item activo: barrita roja justo encima de la franja tricolor.
   Se pinta pegada al bottom del <a> con un pequeño overshoot para "morder" la franja tricolor y crear un efecto de pestaña. */
.nav a.active::before,
.nav a.nav-sub.active::before { content: ""; position: absolute;
  bottom: 0; left: 14px; right: 14px; height: 4px;
  background: var(--red); border-radius: 2px 2px 0 0;
  z-index: 1; }

/* Primer link del nav (logo icónico) — sin padding lateral y sin barra activa igual */
.nav > a:first-child { padding-left: 10px !important; padding-right: 14px !important; }
.nav > a:first-child.active::before,
.nav > a:first-child.nav-sub.active::before { left: 8px; right: 8px; }

/* Sub-pestañas (Fibra + Móvil / Fibra / Móvil) — misma tipo que principales
   pero SIN mayúsculas para diferenciarse */

/* Botón teléfono con sombra AMARILLA */
.ph { background: var(--red); color: #fff; border-radius: 999px;
  padding: 12px 28px 12px 14px; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; gap: 10px;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 4px rgba(255,199,44,0.55),
              0 10px 28px rgba(255,199,44,0.65),
              0 4px 12px rgba(255,199,44,0.45);
  position: relative;
  animation: ph-pulse 2.4s ease-in-out infinite;
  min-width: 240px; justify-content: center;
  text-decoration: none; }
@keyframes ph-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,199,44,0.55),
                          0 10px 28px rgba(255,199,44,0.65),
                          0 4px 12px rgba(255,199,44,0.45),
                          0 0 0 4px rgba(255,199,44,0.55); }
  50% { box-shadow: 0 0 0 4px rgba(255,199,44,0.55),
                    0 10px 28px rgba(255,199,44,0.65),
                    0 4px 12px rgba(255,199,44,0.45),
                    0 0 0 18px rgba(255,199,44,0); }
}
.ph:hover { animation-play-state: paused; background: var(--red-dark); }
.ph-ic { width: 32px; height: 32px; background: #fff;
  border-radius: 50%; color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; }
.ph-lbl { font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--navy); font-weight: 800;
  display: flex; align-items: center; gap: 6px;
  text-align: right; }
.ph-lbl::before { content: ""; width: 7px; height: 7px;
  background: var(--navy); border-radius: 50%;
  animation: pulse-navy 2s ease-in-out infinite; }
@keyframes pulse-navy {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* BOTÓN COMUNIDAD DE ALIADOS — versión exclusiva */
.allies-btn { grid-column: 2; grid-row: 1;
  justify-self: end;
  align-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
  margin-right: -8px;
  padding: 4px 10px 4px 5px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
  color: var(--navy);
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0; }
.allies-btn:hover { border-color: var(--navy); background: #fff; }
.allies-btn::before { content: none; }
.allies-btn::after { content: none; }
.allies-btn-crown { width: 22px; height: 22px;
  background: var(--navy); color: #F1BF00;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden; }
.allies-btn-crown svg { width: 10px; height: 10px; }
.allies-btn-crown .edt-ic { width: 15px; height: 15px; }
.allies-btn-crown .edt-ic svg { width: 100%; height: 100%; }
.allies-btn-body { display: flex; flex-direction: row; gap: 6px;
  align-items: baseline;
  line-height: 1.15; }
.allies-btn-eyebrow { font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute); font-weight: 700;
  margin: 0;
  padding: 0;
  border: none; }
.allies-btn-title { font-size: 11px; font-weight: 800;
  color: var(--navy); letter-spacing: 0.02em;
  font-style: normal;
  text-transform: uppercase;
  font-family: inherit;
  margin: 0; }

/* Botón 900 · Atención comercial (3 líneas apiladas) */
.ph-900-lbl { grid-column: 3; grid-row: 1;
  justify-self: end;
  align-self: end;
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 800;
  color: var(--red);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 4px; }
.ph-900-lbl::before { content: ""; width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  animation: pulse-navy 2s ease-in-out infinite; }
.ph-900 { grid-column: 2 / 4; grid-row: 2;
  justify-self: end;
  align-self: start;
  margin-right: 40px;
  display: inline-flex; flex-direction: row; align-items: center;
  gap: 12px;
  background: var(--red); color: #fff;
  padding: 10px 26px 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-family: inherit;
  animation: ph-pulse 2.4s ease-in-out infinite;
  box-shadow:
    0 0 0 3px rgba(255,199,44,0.55),
    0 10px 24px rgba(255,199,44,0.60),
    0 4px 12px rgba(255,199,44,0.40);
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
  line-height: 1;
  margin-top: -10px; }
.ph-900-ic { width: 34px; height: 34px; background: #fff;
  border-radius: 50%; color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; }
.ph-900-ic svg { width: 18px; height: 18px; }
.ph-900:hover { animation-play-state: paused; background: var(--red-dark); }
.ph-900-eyebrow { font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin: 0;
  line-height: 1.1; }
.ph-900-num { font-size: 26px; font-weight: 900;
  letter-spacing: 0.01em; line-height: 1;
  font-style: italic;
  margin: 0;
  white-space: nowrap; }
/* Garantía absoluta: el CTA rojo 900 nunca se rompe a 2 líneas */
.ph-900 { white-space: nowrap; }
.ph-900, .ph-900 * { flex-shrink: 0; }
.ph-900-sub { font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin: 0;
  line-height: 1.1; }

/* Botón 222 · Ya soy cliente (secundario, sobrio) */
.ph-222 { grid-column: 3; grid-row: 1;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 5px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
  justify-self: end;
  align-self: start;
  margin-top: 6px; }
.ph-222:hover { border-color: var(--navy); background: #fff; }
.ph-222-ic { width: 18px; height: 18px;
  background: var(--navy); color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; }
.ph-222-ic svg { width: 10px; height: 10px; }
.ph-222-txt { display: flex; flex-direction: row;
  gap: 6px;
  align-items: baseline; }
.ph-222-eyebrow { font-size: 9px; letter-spacing: 0.10em;
  text-transform: uppercase; font-weight: 700;
  color: var(--ink-mute); }
.ph-222-num { font-size: 12px; font-weight: 800;
  color: var(--navy); letter-spacing: 0.02em; }

/* HERO GENERIC */
.hero { padding: 0; background: transparent; }
.hero-in { background: linear-gradient(to bottom,
    #AA151B 0%,
    #AA151B 25%,
    #F1BF00 25%,
    #F1BF00 75%,
    #AA151B 75%,
    #AA151B 100%);
  padding: 28px var(--edge-inline) 60px !important; }
.hero-in { max-width: none; margin: 0; padding: 0 var(--edge-inline); display: grid;
  grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.hv { position: relative; overflow: visible;
  background: #ffffff;
  padding: 32px 40px 36px; min-height: auto;
  display: flex; flex-direction: column; justify-content: flex-start;
  border-radius: 16px;
  border: 1px solid var(--line); }
/* Card producto interna: gris para contrastar sobre el blanco */
.hv .hv-prod { background: #EDECE8; }
.hv::before { content: none; }
.hv::after { content: none; }

/* Contexto sobre la creatividad (Particulares / Empresas) — encima del .eye */
.eye-context { display: inline-block;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-left: 3px solid var(--navy); }

.eye { display: inline-flex; align-items: center; gap: 8px; background: #fff;
  color: var(--red); border: 1.5px solid var(--red); padding: 8px 16px;
  border-radius: 999px; font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 800; align-self: flex-start;
  position: relative; z-index: 1;
  box-shadow: 0 4px 12px rgba(227,6,19,0.10); }
.eye::before { content: ""; width: 6px; height: 6px;
  background: var(--red); border-radius: 50%; }
.hv h1 { font-size: 58px; font-weight: 800; line-height: 1.0;
  margin: 24px 0 18px; letter-spacing: -0.03em;
  position: relative; z-index: 1;
  color: var(--ink); }
.hv h1 em { font-style: normal; color: var(--red); }
.hv .lead { font-size: 18px; color: var(--ink-soft); max-width: 540px;
  margin: 0; line-height: 1.6; position: relative; z-index: 1; }
.hv .lead strong { color: var(--ink); font-weight: 700; }
.rib { background: var(--red); color: #fff; text-align: center;
  padding: 14px 22px; font-size: 13.5px; font-weight: 700;
  border-radius: 8px; position: relative; z-index: 1;
  margin-top: 22px; align-self: flex-start;
  box-shadow: 0 10px 24px rgba(227,6,19,0.24);
  letter-spacing: 0.01em; }

/* ═══════════════════════════════════════════════════════════════
   HERO EMOCIONAL DE LANDINGS — Nombre · Claim · Micro-relato · Sello
   Sistema tipo "cédula literaria" con aire de los 3 Pilares
   ═══════════════════════════════════════════════════════════════ */

/* Sección hero: rehacemos como paño marfil premium */
.hv-lit { position: relative;
  padding: 44px 0 0;
  margin: 0;
  max-width: none;
  overflow: visible; }

/* Cédula: pilar visual con nombre + claim + micro-relato + sello */
.hv-cedula { position: relative;
  background: linear-gradient(145deg, #FFFDF7 0%, #FFF6E4 100%);
  border: 1px solid rgba(227,6,19,0.10);
  border-radius: 6px;
  padding: 40px 180px 36px 46px;
  box-shadow: 0 24px 60px rgba(10,43,92,0.10),
              0 8px 20px rgba(227,6,19,0.04);
  isolation: isolate;
  overflow: hidden;
  min-height: 280px;
  min-width: 0; }

/* Franja tricolor lateral izquierda 6px — herencia de los Pilares */
.hv-cedula::before { content: "";
  position: absolute; top: 0; bottom: 0; left: 0; width: 6px;
  background: linear-gradient(to bottom,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%);
  z-index: 3;
  transform-origin: top;
  animation: hv-flag-grow 0.9s cubic-bezier(0.5, 0, 0.2, 1) 0.2s both; }
@keyframes hv-flag-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* Marca de agua: logo EDT gigante flotando (esquina inferior derecha) */
.hv-cedula-watermark { position: absolute;
  right: -30px; bottom: -50px;
  width: 340px; height: 200px;
  opacity: 0.045;
  pointer-events: none; z-index: 0;
  transition: opacity 0.6s, transform 0.6s; }
.hv-cedula:hover .hv-cedula-watermark {
  opacity: 0.09;
  transform: rotate(-3deg) scale(1.05); }
.hv-cedula-watermark img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center; }

/* Eyebrow: contexto de tarifa */
.hv-cedula-eye { display: inline-flex; align-items: center; gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 10.5px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--navy);
  font-weight: 800;
  margin: 0 0 24px;
  padding: 6px 14px 6px 6px;
  background: rgba(10,43,92,0.05);
  border: 1px solid rgba(10,43,92,0.10);
  border-radius: 999px;
  position: relative; z-index: 2; }
.hv-cedula-eye::before { content: ""; width: 20px; height: 12px;
  border-radius: 2px;
  background: linear-gradient(to bottom,
    #AA151B 0 25%, #F1BF00 25% 75%, #AA151B 75% 100%);
  flex-shrink: 0; }

/* Nombre tarifa gigante · serif italic · protagonista absoluto */
.hv-cedula-name { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 72px; font-weight: 400; font-style: italic;
  color: var(--ink); line-height: 0.98;
  letter-spacing: -0.032em;
  margin: 0 0 4px;
  position: relative; z-index: 2;
  overflow: hidden;
  word-break: normal; hyphens: manual; }
@media (min-width: 1200px) {
  .hv-cedula-name { font-size: 78px; }
}
.hv-cedula-name em { font-style: italic; color: var(--red); }
.hv-cedula-name .amper { color: var(--red);
  font-style: italic; font-weight: 400;
  margin: 0 6px; }

/* Divisor florido bajo el nombre */
.hv-cedula-name::after { content: "";
  display: block; width: 60px; height: 3px;
  margin: 18px 0 20px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%, #F1BF00 25% 75%, #AA151B 75% 100%);
  border-radius: 2px;
  transform-origin: left;
  animation: hv-line-grow 0.6s cubic-bezier(0.5, 0, 0.2, 1) 1.1s both; }
@keyframes hv-line-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Claim emocional · serif regular */
.hv-cedula-claim { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 26px; font-weight: 500;
  color: var(--ink); line-height: 1.2;
  letter-spacing: -0.014em;
  margin: 0 0 18px; max-width: 480px;
  position: relative; z-index: 2;
  opacity: 0;
  animation: hv-fade-up 0.7s ease-out 0.9s forwards; }

/* Micro-relato · cuerpo institucional */
.hv-cedula-tale { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 15px; font-style: italic; font-weight: 400;
  color: var(--ink-soft); line-height: 1.6;
  margin: 0 0 22px; max-width: 480px;
  position: relative; z-index: 2;
  opacity: 0;
  animation: hv-fade-up 0.7s ease-out 1.2s forwards; }

@keyframes hv-fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* CTA principal — botón navy cuadrado con marco tricolor */
.hv-cedula-cta { display: inline-flex; align-items: center; gap: 14px;
  background: var(--navy); color: #fff !important;
  padding: 18px 34px 22px;
  border-radius: 2px;
  font-family: "Inter", sans-serif;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.26em; text-transform: uppercase;
  text-decoration: none;
  position: relative; overflow: hidden;
  transition: transform 0.25s, background 0.3s, box-shadow 0.3s;
  box-shadow: 0 12px 28px rgba(10,43,92,0.32),
              inset 0 1px 0 rgba(255,255,255,0.08);
  opacity: 0;
  z-index: 2;
  /* Marco superior: rojo fino */
  border-top: 2px solid var(--red);
  animation: hv-fade-up 0.7s ease-out 1.4s forwards; }
/* Marco inferior compuesto: rojo fino + amarillo doble + rojo fino
   creado con 4 bandas apiladas (gradient horizontal de bandas verticales) */
.hv-cedula-cta::before { content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(to bottom,
    var(--red) 0%, var(--red) 20%,
    #F1BF00 20%, #F1BF00 40%,
    #FFFFFF00 40%, #FFFFFF00 45%,
    #F1BF00 45%, #F1BF00 65%,
    #AA151B 65%, #AA151B 100%);
  pointer-events: none; }
.hv-cedula-cta:hover { background: var(--navy-soft);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(10,43,92,0.42),
              inset 0 1px 0 rgba(255,255,255,0.12); }
.hv-cedula-cta span[aria-hidden] {
  transition: transform 0.25s; display: inline-block; }
.hv-cedula-cta:hover span[aria-hidden] {
  transform: translateX(4px); }

/* SELLO CIRCULAR con precio · rotado -6° · esquina superior derecha */
.hv-cedula-seal { position: absolute;
  top: 32px; right: 34px;
  width: 148px; height: 148px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--red);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 22px 14px;
  text-align: center;
  transform: rotate(-6deg);
  box-shadow: 0 14px 32px rgba(227,6,19,0.20),
              0 4px 10px rgba(10,26,46,0.10);
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
  animation: hv-seal-in 0.8s cubic-bezier(0.34, 1.6, 0.64, 1) 0.5s both; }
.hv-cedula-seal::before,
.hv-cedula-seal::after { content: "";
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(227,6,19,0.30); }
.hv-cedula-seal::before { inset: 6px; }
.hv-cedula-seal::after  { inset: 12px; border-style: dashed; opacity: 0.6; }
.hv-cedula:hover .hv-cedula-seal {
  transform: rotate(-3deg) scale(1.04); }

@keyframes hv-seal-in {
  from { transform: rotate(-24deg) scale(0.6); opacity: 0; }
  to   { transform: rotate(-6deg) scale(1); opacity: 1; }
}

.hv-cedula-seal-eyebrow {
  font-family: "Iowan Old Style", serif;
  font-size: 8.5px; letter-spacing: 0.30em;
  text-transform: uppercase; color: var(--red);
  font-weight: 700; }
.hv-cedula-seal-price {
  display: flex; align-items: flex-start; gap: 2px;
  line-height: 1; margin: 6px 0 4px; }
.hv-cedula-seal-cur {
  font-family: "Iowan Old Style", serif;
  font-size: 22px; font-weight: 500; color: var(--red);
  padding-top: 6px; }
.hv-cedula-seal-int {
  font-family: "Iowan Old Style", serif;
  font-size: 44px; font-weight: 400; color: var(--red);
  letter-spacing: -0.04em; line-height: 0.85; }
.hv-cedula-seal-dec {
  font-family: "Iowan Old Style", serif;
  font-size: 20px; font-weight: 500; color: var(--red);
  padding-top: 6px; }

/* En móvil ≤820px la pastilla se rediseña como badge horizontal rojo:
   TODO el texto del precio en BLANCO para leer sobre el fondo rojo.
   Ganamos la especificidad por media query + !important desde el base. */
@media (max-width: 820px) {
  .hv-cedula-seal,
  .hv-cedula-seal * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
}
.hv-cedula-seal-mo {
  font-family: "Inter", sans-serif;
  font-size: 8.5px; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--ink-mute);
  font-weight: 700; margin-top: 2px; }
.hv-cedula-seal-year {
  position: absolute; bottom: 18px;
  font-family: "Iowan Old Style", serif;
  font-size: 8px; letter-spacing: 0.32em;
  color: var(--red); opacity: 0.7;
  font-weight: 700; }

/* Responsive */
@media (max-width: 1000px) {
  .hv-cedula { padding: 40px 40px 36px; min-height: auto; }
  .hv-cedula-name { font-size: 60px; }
  .hv-cedula-claim { font-size: 20px; }
  .hv-cedula-seal { position: static;
    transform: rotate(0);
    width: 120px; height: 120px;
    margin: 0 0 24px; padding: 14px 10px; }
  .hv-cedula-seal-int { font-size: 40px; }
  .hv-cedula:hover .hv-cedula-seal { transform: rotate(0) scale(1); }
}

/* Compatibilidad con markup antiguo */
.hv-stamp, .hv-prod { display: none; }

/* CTC */
.ctc { background: #ffffff; border: 2px solid var(--navy);
  border-radius: 16px;
  padding: 28px 30px 28px;
  position: sticky; top: 130px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10,43,92,0.14),
    0 3px 10px rgba(10,43,92,0.06); }
.ctc::before { content: none; }
.ctc-flag { display: none; }
.ctc-t { font-size: 20px; font-weight: 800; line-height: 1.2;
  margin: 0 0 6px; letter-spacing: -0.015em; }
.ctc-t em { font-style: normal; color: var(--red); }
.ctc-s { font-size: 13px; color: var(--ink-soft); margin: 0 0 18px; line-height: 1.5; }
.ctc-row { display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; }
.ctc-row > span:first-child { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.bg-sc { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff; font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px 6px; border-radius: 999px; font-weight: 800;
  position: relative; overflow: hidden;
  box-shadow: 0 3px 10px rgba(10,43,92,0.28),
    inset 0 1px 0 rgba(255,255,255,0.15); }
.bg-sc::after { content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to bottom,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 50%,
    #F1BF00 50%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%); }
.fld { margin-bottom: 10px; }
.fld select, .fld input { width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px;
  font-family: inherit; background: #fff; color: var(--ink); }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--red); }
.cta-b { width: 100%; background: var(--red); color: #fff; border: none;
  padding: 19px; font-size: 15px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer; font-family: inherit;
  font-style: italic; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 20px;
  box-shadow: 0 0 0 4px rgba(255,199,44,0.55),
              0 10px 28px rgba(255,199,44,0.55),
              0 4px 12px rgba(255,199,44,0.40);
  position: relative;
  animation: ph-pulse 2.4s ease-in-out infinite;
  transition: background 0.2s; }
.cta-b:hover { animation-play-state: paused; background: var(--red-dark); }
.cta-b:hover { background: var(--red-dark); }
.ctc-lg { font-size: 10.5px; color: var(--ink-mute); text-align: center;
  margin-top: 10px; line-height: 1.45; }
.ctc-lg a { color: var(--ink); text-decoration: underline; }

/* SECTIONS */
.sec { padding: 72px 24px; background: var(--cream); position: relative; z-index: 1; }
.sec.cream { background: #ffffff; }
.sec-h { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec-t { font-size: 30px; font-weight: 800; margin: 0 0 8px;
  letter-spacing: -0.015em; }
.sec-t em { color: var(--red); font-style: normal; }
.sec-s { font-size: 15px; color: var(--ink-soft); }

/* TABLE */
.lgd { display: flex; justify-content: center; gap: 22px;
  margin-bottom: 24px; flex-wrap: wrap; }
.lgd i { display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink-soft); font-style: normal; }
.lgd i::before { content: ""; width: 18px; height: 18px;
  border-radius: 50%; display: inline-block; }
.lgd i.si::before { background: #D1FAE5; box-shadow: inset 0 0 0 2px var(--success); }
.lgd i.op::before { background: #FEF3C7; box-shadow: inset 0 0 0 2px #F59E0B; }
.lgd i.no::before { background: #FEE2E2; box-shadow: inset 0 0 0 2px var(--red); }
.tbl { max-width: 900px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tbl table { width: 100%; border-collapse: collapse; }
.tbl thead { background: var(--cream); }
.tbl th { padding: 22px 16px 16px; font-size: 13px; color: var(--ink-mute);
  font-weight: 700; text-align: center; }
.tbl th:first-child { text-align: left; }
.tbl th.ft { background: #FFF5F5; color: var(--red);
  font-size: 15px; font-weight: 800; position: relative; }
.tbl th.ft::before { content: "OFERTA DESTACADA"; position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 9.5px;
  letter-spacing: 0.14em; padding: 4px 10px; border-radius: 999px;
  font-weight: 800; white-space: nowrap; }
.tbl td { padding: 14px 16px; font-size: 13.5px; color: var(--ink);
  text-align: center; border-top: 1px solid var(--line-soft); }
.tbl td:first-child { text-align: left; color: var(--ink-soft); }
.tbl td.ft { background: #FFFAFA; }
.ck, .cx, .in { display: inline-flex; width: 26px; height: 26px;
  border-radius: 50%; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; }
.ck { background: #D1FAE5; color: var(--success); }
.cx { background: #FEE2E2; color: var(--red); }
.in { background: #FEF3C7; color: #D97706; }

/* WHY */
.why { max-width: none; margin: 0; padding: 0 var(--edge-inline); display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-c { background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--red); border-radius: 10px;
  padding: 30px 24px; text-align: center; }
.why-i { width: 72px; height: 72px; background: #FFF0F1;
  border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; color: var(--red); margin-bottom: 16px; }
.why-c h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.why-c p { font-size: 13.5px; color: var(--ink-soft); margin: 0;
  line-height: 1.55; }

/* ════════════════════════════════════════════════════════════════
   TARIFAS EDT — cards como cédulas institucionales premium
   Numeración romana · serif Iowan para precios · sello lacrado
   en la featured · pie con sellos "Constitución EDT" ════════════════════════════════════════════════════════════════ */
/* Tarifas — mismo eje que header/subheader. Detecta cuántas cards hay. */
.tarifas {
  padding: 0 var(--edge-inline);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%; }
/* Modificador: cuando hay 4 cards forzar 4 columnas */
.tarifas:has(> .tarifa:nth-child(4)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
/* Tablet: 4-cards a 2×2 · 3-cards se mantienen en línea con menor gap */
@media (max-width: 1080px) {
  .tarifas { padding: 0 20px; gap: 14px; }
  .tarifas:has(> .tarifa:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tarifa { padding: 22px 18px 20px; }
  .tarifa-name { font-size: 22px !important; }
  .tarifa-int { font-size: 38px !important; }
  .tarifa li { font-size: 12px !important; }
}
/* Móvil real (portrait): 1 columna en cualquier caso */
@media (max-width: 640px) {
  .tarifas,
  .tarifas:has(> .tarifa:nth-child(4)),
  .tarifas:has(> .tarifa:nth-child(3):last-child) {
    grid-template-columns: 1fr;
    gap: 20px; padding: 0 16px;
  }
  .tarifa { padding: 24px 22px 20px; }
  .tarifa-name { font-size: 24px !important; }
  .tarifa-int { font-size: 42px !important; }
  .tarifa-dec { font-size: 16px !important; }
  .tarifa li { font-size: 13px !important; }
}

/* CARD BASE — con marca de agua logo EDT (aire de los 3 Pilares) */
.tarifa { background: #fff;
  border: 2px solid rgba(10,43,92,0.14);
  border-radius: 8px;
  padding: 26px 26px 22px;
  position: relative;
  display: flex; flex-direction: column;
  isolation: isolate; overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1),
              box-shadow 0.4s, border-color 0.4s; }
.tarifa:hover { transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 16px 32px rgba(10,43,92,0.10),
              0 6px 12px rgba(227,6,19,0.08); }

/* Marca de agua logo EDT flotando (esquina inferior derecha) */
.tarifa::after {
  content: "";
  position: absolute; right: -34px; bottom: -46px;
  width: 240px; height: 140px;
  background-image: url("assets/logo-05-official.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s, transform 0.5s; }
.tarifa:hover::after {
  opacity: 0.07;
  transform: rotate(-4deg) scale(1.05); }
/* Elementos internos por encima de la marca de agua */
.tarifa > * { position: relative; z-index: 1; }

/* Marca superior: "Artículo I" en romano, alineado izquierda */
.tarifa-mark { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; }
.tarifa-mark::before { content: ""; width: 18px; height: 1.5px;
  background: linear-gradient(90deg, #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%, #AA151B 75%, #AA151B 100%); }

/* Nombre de la tarifa: serif italic */
.tarifa-name { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 26px; font-weight: 500; font-style: italic;
  color: var(--ink); letter-spacing: -0.018em;
  margin: 0 0 4px; line-height: 1.05; }

/* Divisor tricolor bajo el nombre */
.tarifa-name::after { content: ""; display: block;
  width: 36px; height: 3px; margin: 10px 0 16px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%, #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%);
  border-radius: 2px; }

/* Precio como dorsal */
.tarifa-price { display: flex; align-items: flex-start; gap: 3px;
  margin: 0 0 2px; line-height: 1; }
.tarifa-currency { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 24px; font-weight: 500; color: var(--red);
  padding-top: 6px; }
.tarifa-int { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 62px; font-weight: 400; color: var(--ink);
  letter-spacing: -0.04em; line-height: 0.85; }
.tarifa-dec { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 22px; font-weight: 500; color: var(--ink);
  padding-top: 6px; letter-spacing: -0.01em; }
.tarifa-mo { display: block; font-size: 11px; color: var(--ink-mute);
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  margin: 2px 0 0; }
.tarifa-iva { display: block; font-size: 10px; color: var(--ink-mute);
  letter-spacing: 0.10em; text-transform: uppercase; font-weight: 600;
  margin: 2px 0 18px;
  border-top: 1px dashed rgba(10,43,92,0.12); padding-top: 12px; }

/* Lista de features con iconos EDT — más compactas */
.tarifa ul { list-style: none; padding: 0; margin: 0 0 18px;
  flex: 1; display: flex; flex-direction: column; gap: 2px; }
.tarifa li { padding: 5px 0; font-size: 13px; color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px;
  line-height: 1.35; letter-spacing: 0.005em; }
.tarifa li::before { display: none; } /* remueve el ✓ antiguo */
.tarifa-feat-ic { width: 22px; height: 22px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 5px;
  background: rgba(255,199,44,0.14);
  padding: 3px; }
.tarifa-feat-ic svg { width: 100%; height: 100%; overflow: visible; }
.tarifa li strong { color: var(--ink); font-weight: 700; }

/* CTA — botón navy con marco tricolor doble (mismo lenguaje que hv-cedula-cta) */
.tarifa-cta { display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 18px 17px;
  background: var(--navy); color: #fff !important;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 12px; letter-spacing: 0.24em;
  text-transform: uppercase; font-weight: 800;
  border-radius: 2px; cursor: pointer;
  position: relative; overflow: hidden;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  margin: 0 0 16px;
  border-top: 2px solid var(--red);
  box-shadow: 0 8px 20px rgba(10,43,92,0.24),
              inset 0 1px 0 rgba(255,255,255,0.08); }
/* Franja compuesta inferior: rojo fino + amarillo doble + rojo fino */
.tarifa-cta::before { content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(to bottom,
    var(--red) 0%, var(--red) 20%,
    #F1BF00 20%, #F1BF00 40%,
    #FFFFFF00 40%, #FFFFFF00 45%,
    #F1BF00 45%, #F1BF00 65%,
    #AA151B 65%, #AA151B 100%);
  pointer-events: none; }
.tarifa-cta::after { display: none; } /* neutralizar la franja antigua */
.tarifa-cta:hover { background: var(--navy-soft);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(10,43,92,0.32),
              inset 0 1px 0 rgba(255,255,255,0.12); }

/* Pie de card: 3 sellos institucionales EDT — más compactos */
.tarifa-seals { display: flex; justify-content: space-between;
  gap: 6px; padding-top: 12px;
  border-top: 1px solid rgba(10,43,92,0.08); }
.tarifa-seals > span { flex: 1; font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 10px; font-style: italic; font-weight: 500;
  color: var(--navy); text-align: center; line-height: 1.2;
  letter-spacing: 0.005em;
  opacity: 0.72; }

/* ─── FEATURED (Recomendada) ─── */
.tarifa.featured { border-color: var(--red);
  border-width: 2px;
  background: linear-gradient(180deg, #FFF9EF 0%, #FFFFFF 40%, #FFFFFF 100%);
  padding-top: 32px;
  box-shadow: 0 16px 36px rgba(227,6,19,0.10),
              0 4px 12px rgba(10,43,92,0.04); }
.tarifa.featured:hover { border-color: var(--red-dark);
  box-shadow: 0 20px 44px rgba(227,6,19,0.16),
              0 6px 14px rgba(10,43,92,0.06); }

/* Franja tricolor lateral izquierda */
.tarifa.featured::before { content: ""; position: absolute;
  top: 0; bottom: 0; left: 0; width: 6px;
  background: linear-gradient(to bottom,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%);
  border-radius: 6px 0 0 6px; }

/* Sello lacrado "Recomendada por EDT" — cintillo que corona la card
   Se posiciona pegado al top interno (para no chocar con overflow:hidden)
   y ocupa todo el ancho como una banda institucional. */
.tarifa.featured { padding-top: 46px; } /* espacio para el cintillo */
.tarifa.featured .tarifa-seal-featured { position: absolute;
  top: 0; left: 0; right: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #FFC72C;
  padding: 9px 16px 10px;
  border-radius: 6px 6px 0 0;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 11px; font-style: italic; font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  box-shadow: 0 3px 8px rgba(10,43,92,0.20);
  z-index: 2;
  border-bottom: 1px solid rgba(255,199,44,0.35); }
.tarifa.featured .tarifa-seal-featured::before { content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: #FFC72C;
  box-shadow: 0 0 0 2px rgba(255,199,44,0.25);
  flex-shrink: 0; }
/* Franja tricolor institucional bajo el cintillo del sello */
.tarifa.featured .tarifa-seal-featured::after { content: "";
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%); }

/* En la featured, el nombre "Recomendada" hereda rojo, el precio también */
.tarifa.featured .tarifa-name { color: var(--red); }
.tarifa.featured .tarifa-int { color: var(--red); }
.tarifa.featured .tarifa-dec { color: var(--red); }
.tarifa.featured .tarifa-currency { color: var(--red); }
.tarifa.featured .tarifa-cta { background: var(--red); }
.tarifa.featured .tarifa-cta:hover { background: var(--red-dark); }

/* Card no destacada sin sello */
.tarifa:not(.featured) .tarifa-seal-featured { display: none; }

/* Marca de agua más presente en la featured (como card 3 roja de Pilares) */
.tarifa.featured::after { opacity: 0.055; }
.tarifa.featured:hover::after { opacity: 0.10; }

/* CTA BAND */
.cta-bd { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  padding: 56px var(--edge-inline);
  text-align: center; position: relative; }
.cta-bd::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow) 50%, var(--navy) 50%, var(--navy) 100%); }
.cta-bd::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 50%, var(--yellow) 50%, var(--yellow) 100%); }
.cta-bd h2 { font-size: 30px; font-weight: 800; margin: 0 0 12px;
  letter-spacing: -0.015em; max-width: 900px;
  margin-left: auto; margin-right: auto;
  margin-bottom: 12px; }
.cta-bd p { font-size: 15.5px; color: rgba(255,255,255,0.85); margin: 0 0 24px; }
.cta-bd a { display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--red); padding: 14px 30px;
  border-radius: 999px; font-size: 15px; font-weight: 800;
  font-style: italic; cursor: pointer; }

/* FAQ */
.faq { max-width: none; margin: 0 auto; padding: 0 var(--edge-inline); }
.fq { background: #fff; border: 1px solid var(--line); border-radius: 10px;
  margin-bottom: 10px; overflow: hidden; }
.fq-q { padding: 18px 22px; font-size: 15px; font-weight: 700;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; }
.fq-q::after { content: "+"; color: var(--red); font-size: 22px; }
.fq.open .fq-q::after { content: "−"; }
.fq-a { padding: 0 22px; max-height: 0; overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
  font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.fq.open .fq-a { max-height: 400px; padding: 0 22px 18px; }

/* CTAs dentro de las respuestas FAQ */
.fq-a p { margin: 0 0 12px; }
.fq-a p:last-of-type { margin-bottom: 0; }
.fq-cta-row { display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 16px; }
.fq-cta { display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff !important;
  border-radius: 8px; font-size: 12.5px; font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(10,43,92,0.25);
  border: none; }
.fq-cta::after { content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(to bottom,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 50%,
    #F1BF00 50%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%); }
.fq-cta:hover { transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(10,43,92,0.35); }
/* Variantes solo cambian el fondo, mantienen las franjas bandera */
.fq-cta-phone { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  box-shadow: 0 4px 12px rgba(227,6,19,0.25); }
.fq-cta-phone:hover { box-shadow: 0 8px 18px rgba(227,6,19,0.35); }
.fq-cta-wa { background: linear-gradient(135deg, var(--wa) 0%, #1EBE5A 100%);
  box-shadow: 0 4px 12px rgba(37,211,102,0.25); }
.fq-cta-wa:hover { box-shadow: 0 8px 18px rgba(37,211,102,0.35); }
.fq-cta-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); }
.fq.open .fq-a { max-height: 500px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER PREMIUM — 3 zonas: coda institucional · firma marfil · bottom
   ═══════════════════════════════════════════════════════════════ */

/* Contenedor principal — resetea el estilo antiguo */
.ft { background: var(--navy-deep); color: rgba(255,255,255,0.7);
  padding: 0; font-size: 13.5px;
  position: relative; overflow: hidden;
  border-top: none; }

/* Franja tricolor 4px espejo del header */
.ft::before { content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%);
  z-index: 2; }

/* Textura de puntos muy tenue en el fondo navy */
.ft::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,199,44,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none; opacity: 0.7; z-index: 0; }

/* ── ZONA 1 · CODA INSTITUCIONAL · 2 columnas equilibradas
   Columna 1 (marca) desplazada hacia el interior con padding-left generoso.
   Columna 2 (te leemos con atención) centrada EXACTAMENTE en el espacio
   sobrante entre el final de la columna izquierda y el borde derecho. */
.ft-g { display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  padding: 72px 0 56px 96px;
  position: relative; z-index: 1;
  align-items: center;
  box-sizing: border-box;
  width: 100%; }
/* La segunda columna centra su contenido horizontalmente en su celda.
   Al no tener gap, el hueco es todo el fr restante. */
.ft-g > .ft-talk { justify-self: center; max-width: 500px;
  padding-right: 32px;  /* respeta el margen derecho del documento */ }

/* COLUMNA 1 — MARCA + MANIFIESTO + CONTACTO + RRSS
   Centramos verticalmente respecto a la columna derecha (align-items: center
   en .ft-g ya lo hace); dentro, el contenido queda alineado a la izquierda. */
.ft-brand { display: flex; flex-direction: column; align-items: flex-start;
  gap: 16px; }
.ft-brand .lg { text-decoration: none; }
.ft-brand .lg-img { height: 100px; width: auto; display: block;
  margin: -14px 0 -14px -18px;
  filter: brightness(1.05); }
.ft-tagline { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 15.5px; font-style: italic; font-weight: 500;
  color: rgba(255,255,255,0.92);
  line-height: 1.5; max-width: 320px;
  margin: 0; letter-spacing: -0.005em; }
.ft-tagline em { font-style: italic; color: var(--yellow); font-weight: 500; }
.ft-manifiesto { font-size: 12.5px; color: rgba(255,255,255,0.55);
  line-height: 1.65; max-width: 320px; margin: 0;
  letter-spacing: 0.005em; }
.ft-manifiesto strong { color: rgba(255,255,255,0.9); font-weight: 600; }

/* Bloque contacto textual (números + email) */
.ft-contact { font-family: "Inter", sans-serif;
  font-size: 12.5px; color: rgba(255,255,255,0.65);
  line-height: 1.7; margin: 6px 0 4px;
  letter-spacing: 0.005em; }
.ft-contact strong { color: var(--yellow); font-weight: 700;
  font-family: "Inter", sans-serif; letter-spacing: 0.02em; }
.ft-contact a { color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,199,44,0.35);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s; }
.ft-contact a:hover { color: var(--yellow);
  border-bottom-color: var(--yellow); }
.ft-chip { display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.25s; }
.ft-chip:hover { background: var(--red);
  border-color: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(227,6,19,0.30); }
.ft-chip-ic { width: 26px; height: 26px; flex-shrink: 0;
  background: rgba(255,199,44,0.14);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px;
  transition: background 0.25s; }
.ft-chip:hover .ft-chip-ic { background: rgba(255,255,255,0.20); }
.ft-chip-ic svg { width: 100%; height: 100%;
  filter: brightness(0) invert(1) sepia(1) hue-rotate(0deg) saturate(4); /* amarillo bandera */
}
.ft-chip:hover .ft-chip-ic svg { filter: brightness(0) invert(1); }
.ft-chip-txt { display: flex; flex-direction: column;
  line-height: 1.15;
  font-family: "Inter", sans-serif; }
.ft-chip-eyebrow { font-size: 8.5px; letter-spacing: 0.20em;
  text-transform: uppercase; font-weight: 800;
  color: var(--yellow); opacity: 0.85; }
.ft-chip:hover .ft-chip-eyebrow { color: rgba(255,255,255,0.9); }
.ft-chip-val { font-size: 12.5px; font-weight: 700;
  color: #fff; letter-spacing: 0.005em; }

/* COLUMNA 3 · Navegación agrupada · sub-listas apiladas */
.ft-col { display: flex; flex-direction: column; gap: 20px; }
.ft-col-group { display: flex; flex-direction: column; gap: 8px; }
.ft-col h4 { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 10.5px; font-style: italic; font-weight: 600;
  letter-spacing: 0.30em; text-transform: uppercase;
  color: var(--yellow); margin: 0 0 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,199,44,0.20);
  position: relative; }
.ft-col h4::after { content: ""; position: absolute;
  bottom: -1px; left: 0; width: 28px; height: 1px;
  background: var(--yellow); }

.ft ul { list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px; }
.ft li { margin: 0; }
.ft-col a { color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: -0.003em; }
.ft-col a::before { content: "";
  display: inline-block; width: 3px; height: 3px;
  background: rgba(255,199,44,0.35);
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0; }
.ft-col a:hover { color: var(--yellow); }
.ft-col a:hover::before { background: var(--yellow); transform: scale(1.5); }
.ft-col a .edt-ic,
.ft-col a .nav-txt { display: none; }

/* ── Te leemos con atención ── Centrado, respirado ── */
.ft-talk { display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  position: relative; z-index: 1;
  text-align: center;
  padding: 0 20px; }
.ft-talk-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: "Iowan Old Style", serif;
  font-size: 10.5px; font-style: italic;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--yellow); font-weight: 600;
  margin: 0 0 6px; opacity: 0.95; }
.ft-talk-eyebrow::before,
.ft-talk-eyebrow::after {
  content: ""; width: 28px; height: 1px;
  background: var(--yellow); opacity: 0.55; }
.ft-talk-h {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 24px; font-weight: 500; line-height: 1.28;
  color: rgba(255,255,255,0.96);
  letter-spacing: -0.012em;
  margin: 0 auto; max-width: 480px; }
.ft-talk-h em { font-style: italic; color: var(--yellow); font-weight: 500; }
.ft-talk-lead {
  font-family: "Inter", sans-serif;
  font-size: 14px; color: rgba(255,255,255,0.65);
  line-height: 1.6; margin: 0 auto; max-width: 460px;
  letter-spacing: 0.005em; }
.ft-talk-lead strong { color: rgba(255,255,255,0.92); font-weight: 700; }

/* ═══ Toggle "Escríbenos / Cerrar formulario" — botón institucional
   Marco doble (rojo fino + hueco + amarillo fino), franja tricolor al pie,
   wax seal EDT a la izquierda como sello notarial. */
.ft-talk-toggle {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 16px 32px 20px 20px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.03) 0%,
    rgba(255,255,255,0.01) 100%);
  color: #FFF9EF;
  border: none;
  border-radius: 2px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 13px; font-style: italic; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  cursor: pointer;
  transition: color 0.35s, transform 0.35s, background 0.4s;
  position: relative; overflow: visible;
  margin-top: 10px;
  outline: 1.5px solid var(--yellow);
  outline-offset: 5px; }
/* Marco interior fino rojo */
.ft-talk-toggle::before { content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(227,6,19,0.55);
  pointer-events: none; }
/* Franja tricolor al pie */
.ft-talk-toggle::after { content: "";
  position: absolute; left: 4px; right: 4px; bottom: 4px; height: 3px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%);
  pointer-events: none; }
.ft-talk-toggle:hover {
  color: var(--yellow);
  background: rgba(255,199,44,0.06);
  transform: translateY(-2px); }
.ft-talk-toggle:hover::before { border-color: var(--red); }

/* Sello EDT a la izquierda del texto (icono wax seal) */
.ft-talk-toggle-seal {
  width: 30px; height: 30px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,199,44,0.55);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,6,19,0.15) 0%, transparent 70%);
  position: relative; }
.ft-talk-toggle-seal svg { width: 20px; height: 20px; }
.ft-talk-toggle-seal svg .h-c { stroke: var(--yellow); }
.ft-talk-toggle-seal svg .h-w { stroke: var(--yellow); }
.ft-talk-toggle:hover .ft-talk-toggle-seal { border-color: var(--yellow); }

/* Flecha de despliegue */
.ft-talk-toggle-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: "Inter", sans-serif;
  font-size: 12px; font-weight: 700;
  color: var(--yellow); }
.ft-talk-toggle-ic::before { content: "▾"; font-size: 14px; line-height: 1; }
.ft-talk-toggle[aria-expanded="true"] .ft-talk-toggle-ic {
  transform: rotate(180deg); }

/* ── FORMULARIO DESPLEGABLE — a todo el ancho, estilo EDT ──
   Cerrado: 0px de altura garantizado con height:0 + form inner display:none.
   Abierto: max-height liberada + form visible con opacidad. */
.ft-form-wrap {
  max-height: 0; height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.5, 0, 0.15, 1),
              height 0.6s cubic-bezier(0.5, 0, 0.15, 1);
  background: linear-gradient(180deg,
    rgba(0,0,0,0.30) 0%,
    rgba(0,0,0,0.15) 100%);
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,199,44,0.20);
  border-bottom: 1px solid rgba(255,255,255,0.05); }
.ft-form-wrap.open { max-height: 1400px; height: auto; }
/* Cuando cerrado, el form interno NO reserva espacio.
   Sin esto, aunque wrap tiene max-height:0, el form dentro sigue
   contando su altura (988px) para el scrollHeight del body → scroll infinito. */
.ft-form-wrap:not(.open) > .ft-form { display: none !important; }

.ft-form { padding: 56px var(--edge-inline) 64px;
  max-width: none; margin: 0;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s; }
.ft-form-wrap.open .ft-form { opacity: 1; }

.ft-form-header { text-align: center; margin: 0 auto 40px;
  max-width: 640px; }
.ft-form-eyebrow {
  display: inline-block;
  font-family: "Iowan Old Style", serif;
  font-size: 10.5px; font-style: italic;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--yellow); font-weight: 600;
  margin: 0 0 14px; opacity: 0.9;
  padding-bottom: 10px; position: relative; }
.ft-form-eyebrow::after { content: "";
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 1px; background: var(--yellow); opacity: 0.6; }
.ft-form-h {
  font-family: "Iowan Old Style", serif;
  font-size: 34px; font-weight: 500; font-style: italic;
  color: #fff; line-height: 1.15;
  letter-spacing: -0.02em; margin: 0 0 12px; }
.ft-form-sub {
  font-family: "Inter", sans-serif;
  font-size: 13.5px; color: rgba(255,255,255,0.62);
  line-height: 1.6; margin: 0; }

.ft-form-grid { display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 26px;
  max-width: 900px; margin: 0 auto 32px; }
.ft-form-full { grid-column: 1 / 3; }
.ft-form-fld { display: flex; flex-direction: column; gap: 8px; }
.ft-form-fld label {
  font-family: "Inter", sans-serif;
  font-size: 10.5px; letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--yellow); font-weight: 700;
  opacity: 0.85; }
.ft-form-fld input,
.ft-form-fld select,
.ft-form-fld textarea {
  width: 100%;
  padding: 12px 4px 10px;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.20);
  color: #fff;
  font-family: "Iowan Old Style", serif;
  font-size: 15.5px;
  transition: border-color 0.3s;
  resize: vertical;
  border-radius: 0;
  outline: none; }
.ft-form-fld select { appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,199,44,0.7) 50%),
                    linear-gradient(135deg, rgba(255,199,44,0.7) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 26px;
  cursor: pointer; }
.ft-form-fld select option { background: var(--navy-deep); color: #fff; }
.ft-form-fld input::placeholder,
.ft-form-fld textarea::placeholder {
  color: rgba(255,255,255,0.35);
  font-style: italic; }
.ft-form-fld input:focus,
.ft-form-fld select:focus,
.ft-form-fld textarea:focus {
  border-bottom-color: var(--yellow); }

.ft-form-consent { grid-column: 1 / 3;
  margin-top: 4px; }
.ft-form-check { display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; }
.ft-form-check input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0;
  accent-color: var(--yellow);
  margin-top: 2px; }
.ft-form-check span {
  font-family: "Inter", sans-serif;
  font-size: 12.5px; color: rgba(255,255,255,0.72);
  line-height: 1.5; }
.ft-form-check a { color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,199,44,0.4);
  padding-bottom: 1px; }
.ft-form-check a:hover { border-bottom-color: var(--yellow); }

/* Acciones del formulario (Cerrar + Enviar) */
.ft-form-actions { display: flex; align-items: center; justify-content: center;
  gap: 20px; margin: 4px auto 0;
  max-width: 900px; }

/* ═══ Botón Cerrar (fantasma refinado con caligrafía notarial) ═══
   Marco doble sutil, cross con curvas (no una X plana). */
.ft-form-close { display: inline-flex; align-items: center; justify-content: center;
  gap: 14px;
  padding: 16px 30px 20px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: none;
  border-radius: 2px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 13px; font-style: italic; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
  position: relative; }
.ft-form-close::before { content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.20);
  pointer-events: none;
  transition: border-color 0.35s; }
.ft-form-close::after { content: "";
  position: absolute; inset: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
  transition: border-color 0.35s; }
.ft-form-close:hover {
  color: #FFF9EF;
  transform: translateY(-1px); }
.ft-form-close:hover::before { border-color: rgba(255,199,44,0.60); }
.ft-form-close:hover::after { border-color: rgba(255,199,44,0.30); }

/* Símbolo × con serifas curvadas */
.ft-form-close-ic { display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; flex-shrink: 0;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 20px; font-weight: 300;
  line-height: 1; color: currentColor;
  transition: transform 0.35s, color 0.3s; }
.ft-form-close-ic::before { content: "×"; }
.ft-form-close:hover .ft-form-close-ic { transform: rotate(90deg); color: var(--yellow); }

/* ═══ Botón Enviar mensaje (institucional amarillo bandera premium) ═══
   Marco doble (rojo fino + amarillo grueso outline), sombra cálida,
   franja tricolor al pie con offset elegante, pluma como icono. */
.ft-form-cta { display: inline-flex; align-items: center; gap: 18px;
  padding: 18px 44px 24px 40px;
  background: linear-gradient(180deg,
    var(--yellow) 0%,
    #F1BF00 100%);
  color: var(--navy-deep);
  border: none;
  border-radius: 2px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 13.5px; font-style: italic; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.35s, box-shadow 0.35s, background 0.35s;
  position: relative; overflow: visible;
  outline: 1.5px solid var(--navy-deep);
  outline-offset: 5px;
  box-shadow: 0 18px 38px rgba(255,199,44,0.32),
              0 6px 14px rgba(0,0,0,0.12),
              inset 0 1px 0 rgba(255,255,255,0.35),
              inset 0 -1px 0 rgba(0,0,0,0.06); }
/* Marco interior rojo fino */
.ft-form-cta::before { content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(227,6,19,0.55);
  pointer-events: none; }
/* Franja tricolor al pie */
.ft-form-cta::after { content: "";
  position: absolute; left: 5px; right: 5px; bottom: 4px; height: 3px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%);
  pointer-events: none; }
.ft-form-cta:hover {
  background: linear-gradient(180deg, #FFF9EF 0%, var(--yellow) 100%);
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(255,199,44,0.48),
              0 8px 18px rgba(0,0,0,0.15),
              inset 0 1px 0 rgba(255,255,255,0.60); }
.ft-form-cta:hover::before { border-color: var(--red); }

/* Icono pluma-envelope a la izquierda del texto */
.ft-form-cta-ic { display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; flex-shrink: 0;
  color: var(--red);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ft-form-cta-ic svg { width: 100%; height: 100%; }
.ft-form-cta:hover .ft-form-cta-ic { transform: translateX(2px) rotate(-8deg); }

/* Flecha a la derecha estilizada como pluma que envía */
.ft-form-cta-arrow { display: inline-flex; align-items: center;
  gap: 4px; flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ft-form-cta-arrow::before { content: "";
  display: block; width: 22px; height: 1.5px;
  background: currentColor;
  transform-origin: right; }
.ft-form-cta-arrow::after { content: "";
  display: block; width: 0; height: 0;
  border-left: 7px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-left: -1px; }
.ft-form-cta:hover .ft-form-cta-arrow { transform: translateX(6px); }

@media (max-width: 700px) {
  .ft-form-grid { grid-template-columns: 1fr; }
  .ft-form-full, .ft-form-consent { grid-column: 1; }
  .ft-form-h { font-size: 26px; }
  .ft-form { padding: 40px 20px 48px; }
  .ft-form-actions { flex-direction: column-reverse; }
  .ft-form-close, .ft-form-cta { width: 100%; }
}

/* COLUMNA 4 · Legales (arriba) + Redes (abajo) */
.ft-col-legal { gap: 4px; }
.ft-col-legal ul { gap: 8px; }
.ft-col-legal ul li { margin: 0; }
.ft-col-legal a { font-size: 12.5px;
  line-height: 1.4; }

/* RRSS bajo la columna del logo, sin título */
.ft-social { display: flex; align-items: center; gap: 10px;
  margin: 12px 0 0; flex-wrap: wrap; }
.ft-social a { display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  transition: all 0.25s;
  text-decoration: none; }
.ft-social a:hover { background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255,199,44,0.25); }
.ft-social a svg { width: 15px; height: 15px; }

/* ── ZONA 3 · LEGALES HORIZONTALES al pie del footer ── */
.ft-legal { display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
  padding: 18px var(--edge-inline);
  background: rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,199,44,0.15);
  position: relative; z-index: 1; }
.ft-legal a { color: rgba(255,255,255,0.68);
  text-decoration: none;
  padding: 0 18px;
  font-family: "Inter", sans-serif;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-left: 1px solid rgba(255,199,44,0.28);
  transition: color 0.25s;
  white-space: nowrap; }
.ft-legal a:first-child { border-left: none; padding-left: 0; }
.ft-legal a:hover { color: var(--yellow); }
@media (max-width: 900px) {
  .ft-legal { padding: 14px 16px; gap: 6px 0; }
  .ft-legal a { padding: 4px 12px; font-size: 10.5px;
    letter-spacing: 0.10em; }
  .ft-legal a:first-child { padding-left: 12px; border-left: 1px solid rgba(255,199,44,0.28); }
}

/* ── ZONA 2 · FRANJA FIRMA MARFIL con cita ── */
.ft-signature { background: var(--al-ivory, #F5EDE0);
  padding: 28px var(--edge-inline);
  text-align: center;
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08); }
.ft-signature-txt {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 17px; font-style: italic; font-weight: 500;
  color: #2C1810; letter-spacing: -0.005em;
  margin: 0; line-height: 1.5;
  display: inline-flex; align-items: center; gap: 18px;
  flex-wrap: wrap; justify-content: center; }
.ft-signature-txt::before,
.ft-signature-txt::after { content: "";
  width: 40px; height: 1px; background: #B8901F; opacity: 0.6; }
.ft-signature-txt strong {
  color: #8B3A1F; font-weight: 600;
  font-style: normal; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 11px; }

/* ── ZONA 4 · BOTTOM BAR limpia — copyright con fórmula legal completa ── */
.ft-bt { background: rgba(0,0,0,0.35);
  margin: 0; padding: 18px var(--edge-inline) 20px;
  text-align: center;
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.06); }
.ft-bt-copy { margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  line-height: 1.6; }
.ft-bt-copy strong { color: rgba(255,255,255,0.85);
  font-weight: 700; letter-spacing: 0.06em; }
.ft-bt-yr { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-style: italic; letter-spacing: 0.08em;
  color: rgba(255,199,44,0.75); }

/* Chip legacy (compat con .ft-flag antiguo) */
.ft-flag { display: none; }

/* ── Responsive ── */
@media (max-width: 1050px) {
  /* Mantiene las 2 columnas del layout premium (marca | te leemos con atención).
     El padding lateral lo controla --edge-inline; aquí solo ajustamos gap. */
  .ft-g { grid-template-columns: minmax(240px, 1fr) minmax(300px, 1.3fr);
    gap: 48px; padding: 56px var(--edge-inline) 44px; }
}
@media (max-width: 720px) {
  .ft-g { grid-template-columns: 1fr; gap: 32px; padding: 44px var(--edge-inline) 32px; }
  .ft-brand { grid-column: 1; }
  .ft-chips { flex-direction: column; align-items: stretch; }
  .ft-chip { padding: 10px 14px 10px 8px; }
  .ft-signature { padding: 22px 20px; }
  .ft-signature-txt { font-size: 14px; }
  .ft-signature-txt::before,
  .ft-signature-txt::after { display: none; }
  .ft-bt { padding: 16px 20px;
    flex-direction: column; align-items: flex-start; gap: 10px; }
  .ft-bt-right { font-size: 11px; }
}

/* WA — flotante DENTRO del ancho del documento.
   Con position:fixed y right calculado, el botón queda anclado al margen
   derecho del contenido (no al viewport). En pantallas más anchas que
   --content-max, respeta la caja del documento. */
.wa { position: fixed; bottom: 24px;
  right: max(24px, calc(50% - var(--content-max) / 2 + 24px));
  width: 58px; height: 58px; background: var(--wa);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff;
  box-shadow: 0 10px 26px rgba(37,211,102,0.5);
  z-index: 90; cursor: pointer;
  transition: transform 0.2s, background 0.2s; }
.wa:hover { transform: scale(1.06); background: #1EBE5A; }

/* CONSTITUCIÓN */
.const-body {
  background:
    /* Guilloché — rejilla diagonal muy sutil */
    repeating-linear-gradient(45deg,
      rgba(10,43,92,0.025) 0 1px,
      transparent 1px 22px),
    repeating-linear-gradient(-45deg,
      rgba(10,43,92,0.025) 0 1px,
      transparent 1px 22px),
    /* Punteado gris azulado — grano de papel */
    radial-gradient(circle at 20% 30%,
      rgba(10,43,92,0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%,
      rgba(227,6,19,0.03) 0%, transparent 45%),
    /* Base piedra/pergamino cálido institucional */
    linear-gradient(180deg,
      #EDE7DA 0%,
      #F0EBDE 50%,
      #EDE7DA 100%);
  padding: 60px 24px 80px;
  position: relative;
  overflow: hidden; }
/* Guilloché decorativo: ornamento sello institucional */
.const-body::before { content: "";
  position: absolute; top: -60px; left: -60px;
  width: 240px; height: 240px;
  background:
    radial-gradient(circle,
      transparent 30%, rgba(10,43,92,0.05) 30.5%, transparent 31%),
    radial-gradient(circle,
      transparent 45%, rgba(10,43,92,0.05) 45.5%, transparent 46%),
    radial-gradient(circle,
      transparent 60%, rgba(10,43,92,0.05) 60.5%, transparent 61%),
    radial-gradient(circle,
      transparent 75%, rgba(10,43,92,0.05) 75.5%, transparent 76%);
  border-radius: 50%;
  pointer-events: none; }
.const-body::after { content: "";
  position: absolute; bottom: -80px; right: -80px;
  width: 280px; height: 280px;
  background:
    radial-gradient(circle,
      transparent 30%, rgba(227,6,19,0.05) 30.5%, transparent 31%),
    radial-gradient(circle,
      transparent 50%, rgba(227,6,19,0.04) 50.5%, transparent 51%),
    radial-gradient(circle,
      transparent 70%, rgba(227,6,19,0.04) 70.5%, transparent 71%);
  border-radius: 50%;
  pointer-events: none; }
.const-actions { max-width: 920px; margin: 0 auto 24px;
  display: flex; justify-content: flex-end; }
.const-btn { background: var(--ink); color: #fff; border: none;
  border-radius: 999px; padding: 10px 20px; font-size: 12px;
  letter-spacing: 0.06em; cursor: pointer; font-family: inherit;
  font-weight: 700; }
.const-doc { max-width: 920px; margin: 0 auto;
  font-family: "Iowan Old Style", Palatino, Georgia, serif; color: #1a1a1a; }
.const-page { background: #fff; border: 1px solid #d9d3c4;
  padding: 72px 88px; margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06),
    0 1px 3px rgba(0,0,0,0.04);
  position: relative; z-index: 1;
  max-width: 920px;
  margin-left: auto; margin-right: auto; }
.const-cover { text-align: center; padding: 96px 88px; min-height: 520px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  border-top: 6px solid transparent;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(to right,
      #AA151B 0%, #AA151B 25%,
      #F1BF00 25%, #F1BF00 75%,
      #AA151B 75%, #AA151B 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box; }
.const-cover-mark { font-size: 11px; letter-spacing: 0.38em;
  text-transform: uppercase; color: #8a8a8a; }
.const-flag { width: 68px; height: 44px; margin: 0 auto 32px; display: block; }
.const-cover h1 { font-size: 40px; font-weight: 300;
  letter-spacing: 0.03em; line-height: 1.2; margin: 0; }
.const-cover h1 strong { display: block; font-weight: 500;
  margin-top: 8px; font-size: 42px; }
.const-cover .epigraph { font-style: italic; color: #4a4a4a;
  max-width: 460px; margin: 48px auto 0; font-size: 17px; line-height: 1.85; }
.const-cover-foot { font-size: 11px; letter-spacing: 0.36em;
  text-transform: uppercase; color: #8a8a8a; }
.const-label { text-align: center; font-size: 11px;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: #4a4a4a; margin: 0 0 14px; }
.const-title { text-align: center; font-size: 30px; font-weight: 400;
  letter-spacing: 0.02em; margin: 0 0 48px; color: #1a1a1a; }
.const-preamble p { font-size: 17px; line-height: 1.9;
  margin: 0 0 20px; text-align: justify; hyphens: auto; }
.const-article { margin-bottom: 32px; }
.const-article-num { font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: #4a4a4a; margin-bottom: 6px; }
.const-article h3 { font-size: 22px; font-weight: 600;
  margin: 0 0 12px; color: #1a1a1a;
  font-variant: small-caps; letter-spacing: 0.005em; }
.const-article p { margin: 0; text-align: justify; hyphens: auto;
  line-height: 1.8; font-size: 16px; }
.const-final { text-align: center; max-width: 560px; margin: 0 auto; }
.const-final p { font-size: 17px; line-height: 1.95; margin: 0 0 16px; }
.const-folio { text-align: center; font-size: 11px;
  letter-spacing: 0.24em; color: var(--navy);
  margin-top: 48px; font-weight: 700;
  font-family: "Iowan Old Style", Palatino, Georgia, serif; }

/* CTC CHECKBOX */
.ctc-check { display: flex; align-items: flex-start; gap: 12px;
  margin-top: 14px; cursor: pointer;
  font-size: 12.5px; color: var(--ink-mute); line-height: 1.55; }
.ctc-check input[type="checkbox"] { position: absolute; opacity: 0;
  pointer-events: none; }
.ctc-check-box { flex-shrink: 0; width: 18px; height: 18px;
  border: 1.5px solid var(--line); border-radius: 4px; background: #fff;
  margin-top: 1px; position: relative;
  transition: all 0.15s; }
.ctc-check input:checked + .ctc-check-box { background: var(--red);
  border-color: var(--red); }
.ctc-check input:checked + .ctc-check-box::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px; border: solid #fff;
  border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ctc-check:hover .ctc-check-box { border-color: var(--red); }
.ctc-check input:focus-visible + .ctc-check-box {
  outline: 2px solid var(--navy); outline-offset: 2px; }
.ctc-check-txt { flex: 1; }
.ctc-check-txt a { color: var(--navy); text-decoration: underline; font-weight: 600; }

/* CONSTITUCIÓN EN HOME */
.const-intro { background: transparent; position: relative;
  padding: 96px 48px 88px; }
.const-intro::before { content: ""; position: absolute; top: 0; left: 15%; right: 15%;
  height: 1px; background: linear-gradient(90deg, transparent 0%, var(--navy) 50%, transparent 100%);
  opacity: 0.3; }
.const-intro-in { max-width: 1200px; margin: 0 auto; }
.const-intro-mark { display: flex; align-items: center; gap: 14px;
  justify-content: center; margin-bottom: 48px;
  font-size: 10.5px; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--navy); font-weight: 700; }
.flag-es { width: 34px; height: 22px; border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18); }
.const-intro-grid { display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 72px; align-items: start; }
.const-intro-eyebrow { font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--navy); font-weight: 800;
  margin: 0 0 20px;
  display: inline-flex; align-items: center; gap: 10px; }
.const-intro-eyebrow::before { content: ""; width: 24px; height: 2px;
  background: var(--red); }
.const-intro-title { font-family: "Iowan Old Style", Palatino, Georgia, "Times New Roman", serif;
  font-size: 52px; font-weight: 500; line-height: 1.08; margin: 0 0 28px;
  color: var(--ink); letter-spacing: -0.015em; }
.const-intro-title em { font-style: italic; color: var(--red);
  font-weight: 500; }
.const-intro-lead { font-size: 17px; color: var(--ink-soft);
  line-height: 1.7; margin: 0 0 32px; max-width: 480px; }
.const-intro-lead strong { color: var(--ink); font-weight: 700; }
.const-intro-cta { display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy); color: #fff; padding: 16px 28px;
  border-radius: 999px; font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 8px 22px rgba(10,43,92,0.28); }
.const-intro-cta:hover { background: var(--navy-soft); transform: translateY(-2px); }
.const-intro-right { display: flex; flex-direction: column;
  border-left: 3px solid var(--navy); padding-left: 40px;
  position: relative; }
.const-intro-right::before { content: ""; position: absolute; left: -8px; top: 0;
  width: 13px; height: 13px; background: var(--red);
  border-radius: 50%; border: 3px solid var(--cream); }
.const-principle { padding: 22px 0; border-bottom: 1px solid var(--line); }
.const-principle:first-child { padding-top: 4px; }
.const-principle:last-child { border-bottom: none; padding-bottom: 4px; }
.const-principle-num { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--navy); font-weight: 600; margin-bottom: 10px;
  font-variant: small-caps; }
.const-principle p { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 16px; line-height: 1.7; color: var(--ink-soft);
  margin: 0; text-align: justify; hyphens: auto; }

/* HOME · CONSTITUCIÓN COMO HERO */
.home-const .hero-in { align-items: start; }
.home-const-txt { padding: 40px 40px 44px; position: relative;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10),
    0 4px 12px rgba(0,0,0,0.04); }
.home-const-mark { display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
  font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--navy); font-weight: 800;
  padding: 8px 14px; background: rgba(255,255,255,0.85);
  border: 1px solid rgba(10,43,92,0.12); border-radius: 999px;
  backdrop-filter: blur(4px); }
.home-const-mark .flag-es { width: 26px; height: 17px; border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.home-const-eyebrow { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 17px; letter-spacing: 0.015em;
  color: var(--red); font-weight: 600; font-style: italic;
  margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 14px; }
.home-const-eyebrow::before, .home-const-eyebrow::after {
  content: ""; width: 46px; height: 1.5px; background: var(--red);
  opacity: 0.6; }
.home-const-title { font-family: "Iowan Old Style", Palatino, Georgia, "Times New Roman", serif;
  font-size: 44px; font-weight: 600; line-height: 1.10;
  margin: 0 0 28px; color: #0d0d0d;
  letter-spacing: -0.015em;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4); }
.home-const-title em { font-style: italic; color: var(--red); font-weight: 500; }
.home-const-body { margin: 0 0 40px; }
.home-const-body p { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 16.5px; line-height: 1.75; color: #2a2a2a;
  margin: 0 0 18px;
  text-wrap: pretty;
  font-weight: 450; }
.home-const-body p:last-child { margin-bottom: 0; }
.home-const-body strong { color: var(--ink); font-weight: 700; }
.home-const-cta { display: inline-flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  padding: 18px 34px 22px 24px;
  border-radius: 999px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 15.5px; font-style: italic; font-weight: 600;
  letter-spacing: 0.04em; cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 10px 30px rgba(10,43,92,0.30),
    inset 0 1px 0 rgba(255,255,255,0.15);
  border: none; text-decoration: none;
  position: relative; overflow: hidden; }
/* Franjas horizontales apiladas: roja · amarilla · amarilla · roja */
.home-const-cta::after { content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 9px;
  background: linear-gradient(to bottom,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 50%,
    #F1BF00 50%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%); }
.home-const-cta::before { content: none; }
.home-const-cta-ic { display: inline-flex;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.20);
  align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-left: 8px; }
.home-const-cta-txt { display: flex; flex-direction: column;
  align-items: flex-start; line-height: 1.15; }
.home-const-cta-eyebrow { font-size: 9.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,199,44,0.95); font-weight: 800;
  margin-bottom: 3px; }
.home-const-cta:hover { transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(10,43,92,0.42),
    inset 0 1px 0 rgba(255,255,255,0.20); }
.home-const-cta:hover .home-const-cta-ic {
  background: rgba(255,199,44,0.20);
  border-color: rgba(255,199,44,0.35); }

@media (max-width: 900px) {
  .home-const-title { font-size: 32px; }
  .home-const-body p { font-size: 16px; }
}

/* HUB (hogar, empresas) */
.hub-in { display: block !important;
  padding: 40px 0 30px !important; }
.hub-txt { text-align: center; max-width: 780px; margin: 0 auto;
  background: #ffffff; border-radius: 16px;
  padding: 48px 40px; border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10),
    0 4px 12px rgba(0,0,0,0.04); }
.hub-mark { display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px; font-size: 10.5px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--navy); font-weight: 800; }
.hub-title { font-family: "Iowan Old Style", Palatino, Georgia, "Times New Roman", serif;
  font-size: 44px; font-weight: 600; line-height: 1.1;
  margin: 0 0 20px; color: #0d0d0d;
  letter-spacing: -0.015em; }
.hub-title em { font-style: italic; color: var(--red); font-weight: 600; }
.hub-lead { font-size: 16.5px; color: var(--ink-soft);
  line-height: 1.65; max-width: 580px; margin: 0 auto; }

.hub-cards-sec { padding: 40px var(--edge-inline) 80px !important;
  background: transparent !important; }
.hub-cards { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; }
.hub-card { background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 36px 32px 32px;
  text-decoration: none; color: var(--ink);
  transition: all 0.25s;
  display: flex; flex-direction: column;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  position: relative;
  cursor: pointer; }
.hub-card:hover { transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: var(--red); }
.hub-card.featured { border-color: var(--red);
  border-width: 2px;
  box-shadow: 0 12px 30px rgba(227,6,19,0.15); }
.hub-card-badge { position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--red); color: #fff;
  padding: 6px 16px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; }
.hub-card-name { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 26px; font-weight: 600;
  color: var(--navy); margin-bottom: 12px;
  letter-spacing: -0.005em; }
.hub-card-desc { font-size: 14px; color: var(--ink-soft);
  line-height: 1.6; margin-bottom: 20px;
  min-height: 66px; }
.hub-card-price { display: flex; align-items: baseline;
  gap: 6px; margin-bottom: 22px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.hub-card-from { font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute);
  font-weight: 700; margin-right: 4px; }
.hub-card-num { font-size: 40px; font-weight: 800;
  color: var(--red); line-height: 1;
  letter-spacing: -0.025em; }
.hub-card-num sup { font-size: 20px; }
.hub-card-mo { font-size: 13px; color: var(--ink-mute);
  font-weight: 600; margin-left: 2px; }
.hub-card-feat { list-style: none; padding: 0; margin: 0 0 24px;
  flex: 1; }
.hub-card-feat li { padding: 8px 0; font-size: 13.5px;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px; }
.hub-card-feat li::before { content: "✓";
  color: var(--red); font-weight: 800; font-size: 13px;
  flex-shrink: 0; }
.hub-card-cta { display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; background: var(--ink); color: #fff;
  border-radius: 999px; font-size: 12.5px;
  font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; font-style: italic;
  align-self: stretch; justify-content: center;
  transition: background 0.2s; }
.hub-card:hover .hub-card-cta { background: var(--red); }
.hub-card.featured .hub-card-cta { background: var(--red); }

/* ═══════════════════════════════════════════════════════════════
   ALIADOS — LA COMUNIDAD · Puertas cerradas
   Paleta: marfil #F5EDE0 · terracota #8B3A1F · dorado #B8901F
   tinta oscura #2C1810 · rojo bandera y navy como acentos.
   Tipografía serif dominante, mucho silencio, aire mayúsculo,
   pocas cosas visibles hasta pedir admisión.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --al-ivory:      #F5EDE0;      /* fondo hueso, base cálida */
  --al-ivory-soft: #FBF6EC;      /* variante más clara */
  --al-terra:      #8B3A1F;      /* terracota, acento principal */
  --al-terra-deep: #5C2412;      /* terracota oscuro */
  --al-gold:       #B8901F;      /* dorado */
  --al-gold-soft:  #D4AF37;      /* dorado claro */
  --al-ink:        #2C1810;      /* tinta oscura, texto */
  --al-ink-mute:   #6B5240;      /* tinta mate */
  --al-line:       rgba(139,58,31,0.14);
}

/* ─── HERO: paño marfil con marco tricolor y ornamentos ─── */
.aliados-hero { background: var(--al-ivory); padding: 0;
  position: relative; overflow: hidden; }
.aliados-hero-in { max-width: none !important;
  padding: 76px var(--edge-inline) 84px !important;
  background: var(--al-ivory) !important;
  position: relative; overflow: hidden;
  display: block !important; }
/* Textura de paño: puntos tenues */
.aliados-hero-in::before { content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(139,58,31,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none; z-index: 0; }
/* Franja tricolor de cierre inferior */
.aliados-hero-in::after { content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%); z-index: 2; }

/* Contenedor doble columna: texto + sello lateral */
.aliados-hero-txt { max-width: 820px; position: relative; z-index: 1; }

/* Cabecera ornamentada: escudo + label serif */
.aliados-mark { display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
  padding: 10px 20px 10px 12px; background: transparent;
  border: 1.5px solid var(--al-gold);
  border-radius: 999px;
  color: var(--al-terra);
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 11px; font-style: italic; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600; }
.aliados-mark svg,
.aliados-mark .edt-ic { color: var(--al-gold); }
.aliados-mark svg { opacity: 0.95; }

/* Título institucional serif enorme */
.aliados-hero-title { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 68px; font-weight: 500; line-height: 1.02;
  color: var(--al-ink); margin: 0 0 20px;
  letter-spacing: -0.028em; }
.aliados-hero-title em { font-style: italic; color: var(--al-terra); font-weight: 500; }

/* Ornamento manuscrito bajo el título */
.aliados-hero-orn { display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 30px; color: var(--al-gold);
  font-family: "Iowan Old Style", serif; font-size: 20px; }
.aliados-hero-orn::before,
.aliados-hero-orn::after { content: ""; display: inline-block;
  width: 60px; height: 1px; background: var(--al-gold); }

.aliados-hero-body { max-width: 680px; margin-bottom: 40px; }
.aliados-hero-body p { color: var(--al-ink-mute);
  font-size: 17px; line-height: 1.7;
  margin: 0 0 14px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 400; }
.aliados-hero-body p:first-of-type { font-size: 20px; font-style: italic; color: var(--al-ink); }
.aliados-hero-body strong { color: var(--al-terra); font-weight: 600; }

/* CTA principal — sello lacrado dorado */
.aliados-hero-cta { display: inline-flex; align-items: center; gap: 12px;
  background: var(--al-ink);
  color: var(--al-ivory);
  padding: 18px 32px 20px;
  border-radius: 4px; font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  box-shadow: 0 10px 30px rgba(44,24,16,0.30),
    inset 0 1px 0 rgba(255,255,255,0.08);
  border: none; text-decoration: none;
  font-family: inherit;
  position: relative; overflow: hidden; }
.aliados-hero-cta::after { content: ""; position: absolute;
  left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%); }
.aliados-hero-cta:hover { transform: translateY(-2px);
  background: var(--al-terra-deep);
  box-shadow: 0 14px 36px rgba(139,58,31,0.35); }
.aliados-hero-cta-ic { color: var(--al-gold-soft); font-size: 16px; }

/* Sello lacrado marca de agua "Aliado nº — · MMXXVI" — flotando arriba a la derecha */
.aliados-hero-seal { position: absolute;
  top: 60px; right: max(32px, calc((100% - 1240px) / 2 + 60px));
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 2px dashed rgba(139,58,31,0.30);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px;
  transform: rotate(-8deg);
  opacity: 0.60;
  z-index: 1;
  pointer-events: none; }
.aliados-hero-seal::before,
.aliados-hero-seal::after { content: "";
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(139,58,31,0.15); }
.aliados-hero-seal::before { inset: 8px; }
.aliados-hero-seal::after { inset: 16px; border-style: dotted; }
.aliados-hero-seal-eyebrow { font-family: "Iowan Old Style", serif;
  font-size: 8.5px; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--al-terra); font-weight: 700; }
.aliados-hero-seal-num { font-family: "Iowan Old Style", serif;
  font-size: 30px; font-weight: 400; font-style: italic;
  color: var(--al-terra); line-height: 1;
  margin: 4px 0 6px; letter-spacing: 0.02em; }
.aliados-hero-seal-year { font-family: "Iowan Old Style", serif;
  font-size: 10px; letter-spacing: 0.28em; font-weight: 600;
  color: var(--al-gold); }
.aliados-hero-seal-hint { position: absolute;
  bottom: -22px; left: 50%; transform: translateX(-50%);
  font-family: "Iowan Old Style", serif;
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--al-ink-mute); font-weight: 700;
  white-space: nowrap; opacity: 0.7; }

/* ─── SECCIÓN "¿QUÉ ES?" — dos columnas notariales ─── */
.aliados-what { background: var(--al-ivory-soft);
  padding: 88px var(--edge-inline) 76px !important; }
.aliados-what-in { display: grid; grid-template-columns: 1fr 1fr;
  gap: 68px; background: transparent;
  border-radius: 0; padding: 0;
  border: none;
  box-shadow: none;
  max-width: 1240px; margin: 0 auto; }
.aliados-what-col { position: relative; padding-top: 40px; }
/* Divisor florido entre columnas — solo en tablet/desktop */
.aliados-what-col:first-child::after { content: "";
  position: absolute; top: 0; bottom: 0; right: -34px; width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(139,58,31,0.14) 15%,
    rgba(139,58,31,0.14) 85%,
    transparent 100%); }
/* Ornamento ❦ arriba de cada columna */
.aliados-what-col::before {
  content: "❦"; position: absolute; top: -4px; left: 0;
  font-size: 24px; color: var(--al-gold);
  transform: rotate(-8deg); }

.aliados-eyebrow { display: inline-flex; align-items: center; gap: 10px;
  font-family: "Iowan Old Style", serif;
  font-size: 11px; font-style: italic; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--al-terra);
  font-weight: 600; margin: 0 0 16px; }
.aliados-eyebrow::before { content: ""; width: 26px; height: 2px;
  background: var(--al-gold); }
.aliados-h2 { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 30px; font-weight: 500; line-height: 1.18;
  color: var(--al-ink); margin: 0 0 22px;
  letter-spacing: -0.014em; }
.aliados-h2 em { font-style: italic; color: var(--al-terra); font-weight: 500; }
.aliados-p { font-size: 15px; color: var(--al-ink-mute);
  line-height: 1.75; margin: 0 0 16px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 400; }
.aliados-p strong { color: var(--al-ink); font-weight: 600; }

/* ─── CITA CONSTITUCIONAL entre secciones ─── */
.aliados-quote-sec { background: var(--al-ivory);
  padding: 60px var(--edge-inline) 60px;
  position: relative;
  border-top: 1px solid var(--al-line);
  border-bottom: 1px solid var(--al-line); }
.aliados-quote-in { max-width: 900px; margin: 0 auto;
  text-align: center; position: relative; }
.aliados-quote-in::before,
.aliados-quote-in::after { content: "";
  position: absolute; top: 50%; width: 60px; height: 1px;
  background: var(--al-gold); }
.aliados-quote-in::before { left: -80px; }
.aliados-quote-in::after { right: -80px; }
.aliados-quote-mark { color: var(--al-gold);
  font-family: "Iowan Old Style", serif;
  font-size: 60px; font-style: italic;
  line-height: 1; margin-bottom: 8px;
  display: block; }
.aliados-quote-txt { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 26px; font-style: italic; font-weight: 400;
  color: var(--al-ink); line-height: 1.4;
  letter-spacing: -0.01em; margin: 0 0 20px; }
.aliados-quote-src { display: inline-flex; align-items: center; gap: 12px;
  font-family: "Iowan Old Style", serif;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--al-terra); font-weight: 700; }
.aliados-quote-src::before,
.aliados-quote-src::after { content: ""; width: 18px; height: 1px;
  background: var(--al-terra); }

/* ─── VENTAJAS: 6 MANIFIESTO CARDS grandes con icono EDT ─── */
.aliados-benefits { background: var(--al-ivory-soft);
  padding: 88px var(--edge-inline) 88px !important; }
.aliados-benefits .sec-h { text-align: center; margin-bottom: 56px;
  max-width: 720px; margin-left: auto; margin-right: auto; }
.aliados-benefits .sec-t { font-family: "Iowan Old Style", serif;
  font-size: 44px; font-weight: 500; line-height: 1.08;
  color: var(--al-ink); letter-spacing: -0.022em;
  margin: 0 0 14px; }
.aliados-benefits .sec-t em { font-style: italic; color: var(--al-terra); font-weight: 500; }
.aliados-benefits .sec-s { font-family: "Iowan Old Style", serif;
  font-style: italic; font-size: 16px; color: var(--al-ink-mute);
  line-height: 1.6; }

.aliados-benefits-grid { display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1160px; margin: 0 auto; }
.aliados-benefit { background: transparent;
  border: 1px solid var(--al-line);
  border-radius: 4px; padding: 36px 30px;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 18px;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s, background 0.4s;
  position: relative; overflow: hidden;
  min-height: 260px; }
.aliados-benefit::before { content: ""; position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--al-terra) 0%, var(--al-gold) 100%);
  opacity: 0.7;
  transition: opacity 0.4s, width 0.4s; }
.aliados-benefit:hover { transform: translateY(-4px);
  border-color: var(--al-terra);
  background: #FFFFFF;
  box-shadow: 0 20px 40px rgba(139,58,31,0.12); }
.aliados-benefit:hover::before { opacity: 1; width: 6px; }

.aliados-benefit-ic { width: 60px; height: 60px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(184,144,31,0.10) 0%, rgba(139,58,31,0.06) 100%);
  color: var(--al-terra);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px;
  border: 1px solid rgba(139,58,31,0.20); }
.aliados-benefit-ic .edt-ic { width: 100%; height: 100%; }
.aliados-benefit-num { font-family: "Iowan Old Style", serif;
  font-size: 10px; letter-spacing: 0.30em; text-transform: uppercase;
  color: var(--al-terra); font-weight: 700; font-style: italic;
  margin: 0 0 -6px; }
.aliados-benefit-title { font-family: "Iowan Old Style", serif;
  font-size: 22px; font-weight: 500; line-height: 1.2;
  color: var(--al-ink); letter-spacing: -0.012em;
  margin: 0; }
.aliados-benefit-title em { font-style: italic; color: var(--al-terra); }
.aliados-benefit-desc { font-family: "Iowan Old Style", serif;
  font-size: 14px; font-style: normal; font-weight: 400;
  color: var(--al-ink-mute); line-height: 1.6;
  margin: 0; }

/* ─── FORMULARIO NOTARIAL — solicitud de admisión ─── */
.aliados-form-sec { background: var(--al-ivory);
  padding: 88px var(--edge-inline) 100px !important;
  position: relative; }
.aliados-form-in { max-width: 880px; margin: 0 auto;
  background: #FFFFFF; border-radius: 4px;
  padding: 64px 64px 52px;
  border: 1px solid var(--al-line);
  box-shadow: 0 24px 60px rgba(44,24,16,0.10),
              0 8px 20px rgba(139,58,31,0.06);
  position: relative; overflow: hidden; }

/* Marco doble decorativo */
.aliados-form-in::before {
  content: ""; position: absolute;
  top: 8px; right: 8px; bottom: 8px; left: 8px;
  border: 1px solid var(--al-line);
  pointer-events: none;
  border-radius: 2px; }

/* Sello marca de agua "Aliado nº — · MMXXVI" al fondo del formulario */
.aliados-form-in::after {
  content: "MMXXVI";
  position: absolute; bottom: 8%; right: 5%;
  font-family: "Iowan Old Style", serif;
  font-size: 140px; font-style: italic; font-weight: 400;
  color: var(--al-terra);
  letter-spacing: -0.05em; line-height: 1;
  opacity: 0.04;
  pointer-events: none;
  transform: rotate(-6deg); }

.aliados-form-intro { text-align: center; margin-bottom: 44px;
  padding-bottom: 32px;
  border-bottom: 1px dashed var(--al-line);
  position: relative; z-index: 1; }
.aliados-form-intro .aliados-eyebrow { justify-content: center; }
.aliados-form-intro .aliados-eyebrow::before { display: none; }
.aliados-form-intro .aliados-h2 { font-size: 34px; margin-bottom: 18px; }
.aliados-form-intro .aliados-quote-mini {
  font-family: "Iowan Old Style", serif;
  font-style: italic; font-size: 15px;
  color: var(--al-ink-mute); max-width: 520px;
  margin: 12px auto 0; line-height: 1.6; }
.aliados-form-intro .aliados-quote-mini::before,
.aliados-form-intro .aliados-quote-mini::after { content: "❞";
  color: var(--al-gold); font-size: 18px; opacity: 0.7;
  vertical-align: middle; margin: 0 4px; }
.aliados-form-intro .aliados-quote-mini::before { content: "❝"; }

/* Encabezados de sección del formulario — como capítulos notariales */
.aliados-form-h3 { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 15px; font-weight: 600; font-style: italic;
  color: var(--al-terra);
  margin: 40px 0 20px; padding: 0 0 10px;
  border-bottom: 1px solid var(--al-line);
  display: flex; align-items: baseline; gap: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative; z-index: 1; }
.aliados-form-h3::before {
  content: "§"; color: var(--al-gold);
  font-size: 20px; font-style: normal;
  margin-right: 4px; letter-spacing: 0; }
.aliados-form-h3:first-of-type { margin-top: 0; }
.aliados-form-opt { font-size: 11px; color: var(--al-ink-mute);
  font-weight: 400; font-style: italic;
  text-transform: none; letter-spacing: 0.02em; }

.aliados-form { position: relative; z-index: 1; }
.aliados-form-grid { display: grid;
  grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.aliados-form-full { grid-column: 1 / 3; }
.aliados-form .fld { margin-bottom: 0;
  position: relative; }
.aliados-form .fld label { display: block; font-size: 10.5px;
  font-weight: 700; color: var(--al-terra);
  margin-bottom: 8px; letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: "Inter", sans-serif; }
.aliados-form .req { color: var(--al-terra-deep); }
.aliados-form .fld input,
.aliados-form textarea { width: 100%; padding: 12px 4px 10px;
  border: none;
  border-bottom: 1.5px solid var(--al-line);
  border-radius: 0;
  font-size: 15px; font-family: "Iowan Old Style", serif;
  background: transparent; color: var(--al-ink);
  transition: border-color 0.25s;
  resize: vertical; }
.aliados-form textarea { min-height: 100px; padding-top: 12px; }
.aliados-form .fld input:focus,
.aliados-form textarea:focus {
  outline: none;
  border-bottom-color: var(--al-terra); }
.aliados-form .fld input::placeholder,
.aliados-form textarea::placeholder {
  color: var(--al-ink-mute); opacity: 0.5; font-style: italic; }

.aliados-form-consents { display: flex; flex-direction: column;
  gap: 12px; margin: 36px 0 28px;
  padding: 24px;
  background: var(--al-ivory-soft);
  border-radius: 2px;
  border-left: 3px solid var(--al-gold); }
.aliados-form-consents .ctc-check { margin-top: 0; }
.aliados-form-consents .ctc-check-txt {
  font-family: "Iowan Old Style", serif;
  font-size: 13px; color: var(--al-ink);
  font-style: italic; }

/* Botón CTA formulario — sello lacrado */
.aliados-form-cta { width: 100%;
  background: var(--al-ink);
  color: var(--al-ivory); border: none;
  padding: 20px; font-size: 13px; font-weight: 800;
  letter-spacing: 0.28em; text-transform: uppercase;
  cursor: pointer; font-family: inherit;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(44,24,16,0.30);
  position: relative; overflow: hidden;
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s; }
.aliados-form-cta::before {
  content: "§ ";
  color: var(--al-gold-soft);
  margin-right: 6px;
  font-size: 18px; }
.aliados-form-cta::after { content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%); }
.aliados-form-cta:hover { transform: translateY(-2px);
  background: var(--al-terra-deep);
  box-shadow: 0 16px 36px rgba(139,58,31,0.35); }

/* Firma final del formulario */
.aliados-form-signature {
  margin-top: 22px; text-align: center;
  font-family: "Iowan Old Style", serif;
  font-size: 12px; font-style: italic;
  color: var(--al-ink-mute); letter-spacing: 0.04em; }
.aliados-form-signature strong {
  color: var(--al-terra); font-weight: 600;
  font-style: normal; letter-spacing: 0.16em;
  text-transform: uppercase; font-size: 10.5px; }

/* ═══════════════════════════════════════════════════════════════
   ALIADOS · REDISEÑO "PUERTAS CERRADAS" — hero silencioso
   ═══════════════════════════════════════════════════════════════ */

/* Hero silencioso: mucho aire, un solo mensaje enorme */
.aliados-hero-in--closed {
  padding: 120px var(--edge-inline) 130px !important;
  min-height: 78vh;
  display: flex !important;
  align-items: center;
  position: relative; }

.aliados-closed-txt { max-width: 940px; margin: 0 auto;
  text-align: center;
  position: relative; z-index: 1; }

/* Etiqueta "Admisión abierta" */
.aliados-closed-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px;
  border: 1px solid var(--al-gold);
  border-radius: 2px;
  color: var(--al-terra);
  font-family: "Iowan Old Style", serif;
  font-size: 10px; font-style: italic;
  letter-spacing: 0.36em;
  text-transform: uppercase; font-weight: 600;
  margin: 0 0 40px;
  position: relative; }
.aliados-closed-badge::before,
.aliados-closed-badge::after {
  content: ""; width: 6px; height: 6px;
  background: var(--al-terra);
  border-radius: 50%; }

/* Título gigante único */
.aliados-closed-title {
  font-family: "Iowan Old Style", serif;
  font-size: 92px; font-weight: 400;
  line-height: 0.98;
  color: var(--al-ink);
  letter-spacing: -0.036em;
  margin: 0 0 30px;
  font-style: italic; }
.aliados-closed-title strong {
  font-style: normal; font-weight: 500;
  color: var(--al-terra); }

/* Divisor florido gigante */
.aliados-closed-orn { display: flex; align-items: center;
  justify-content: center; gap: 20px;
  margin: 0 auto 40px; max-width: 380px;
  color: var(--al-gold); font-size: 22px; }
.aliados-closed-orn::before,
.aliados-closed-orn::after {
  content: ""; flex: 1; height: 1px;
  background: currentColor; opacity: 0.5; }

/* Copy fundacional */
.aliados-closed-body {
  font-family: "Iowan Old Style", serif;
  font-size: 21px; font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--al-ink-mute);
  max-width: 720px;
  margin: 0 auto 48px;
  letter-spacing: -0.005em; }

.aliados-closed-body strong {
  color: var(--al-ink); font-weight: 500;
  font-style: normal; }

/* CTA — más imponente */
.aliados-closed-cta {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--al-ink); color: var(--al-ivory);
  padding: 24px 42px 26px;
  border-radius: 3px;
  font-family: "Inter", sans-serif;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 20px 44px rgba(44,24,16,0.30),
              inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative; overflow: hidden;
  cursor: pointer; }
.aliados-closed-cta::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%); }
.aliados-closed-cta:hover {
  background: var(--al-terra-deep);
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(139,58,31,0.36); }
.aliados-closed-cta-sub {
  display: block;
  font-family: "Iowan Old Style", serif;
  font-style: italic;
  font-size: 13px; letter-spacing: 0.02em;
  text-transform: none; font-weight: 400;
  color: var(--al-ink-mute);
  margin-top: 22px; opacity: 0.75; }

/* Sello lacrado grande arriba a la derecha */
.aliados-closed-seal {
  position: absolute; top: 40px; right: max(32px, calc((100% - 1240px) / 2 + 60px));
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 2px dashed rgba(139,58,31,0.30);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px;
  transform: rotate(-10deg);
  opacity: 0.75;
  z-index: 0; }
.aliados-closed-seal::before,
.aliados-closed-seal::after { content: "";
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(139,58,31,0.20); }
.aliados-closed-seal::before { inset: 8px; }
.aliados-closed-seal::after { inset: 16px; border-style: dotted; }
.aliados-closed-seal-txt {
  font-family: "Iowan Old Style", serif;
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; text-align: center;
  color: var(--al-terra); font-weight: 700;
  line-height: 1.3; }
.aliados-closed-seal-num {
  font-family: "Iowan Old Style", serif;
  font-size: 22px; font-style: italic;
  color: var(--al-terra); margin: 8px 0;
  font-weight: 500; }
.aliados-closed-seal-year {
  font-family: "Iowan Old Style", serif;
  font-size: 9px; letter-spacing: 0.36em;
  color: var(--al-gold); font-weight: 700; }

@media (max-width: 900px) {
  .aliados-closed-title { font-size: 52px; }
  .aliados-closed-body { font-size: 17px; }
  .aliados-hero-in--closed { padding: 80px 24px 90px !important; }
  .aliados-closed-seal { display: none; }
}

/* ─── Manifiesto tipográfico de ventajas (después del form) ─── */
.aliados-manifiesto { background: var(--al-ivory);
  padding: 90px var(--edge-inline) 90px;
  border-top: 1px solid var(--al-line); }
.aliados-manifiesto-in { max-width: 820px; margin: 0 auto;
  text-align: center; }
.aliados-manifiesto-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: "Iowan Old Style", serif;
  font-size: 10.5px; font-style: italic;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--al-terra); font-weight: 600;
  margin: 0 0 30px; }
.aliados-manifiesto-eyebrow::before,
.aliados-manifiesto-eyebrow::after {
  content: ""; width: 32px; height: 1px;
  background: var(--al-gold); }
.aliados-manifiesto-h { font-family: "Iowan Old Style", serif;
  font-size: 42px; font-weight: 500; font-style: italic;
  color: var(--al-ink); letter-spacing: -0.02em;
  line-height: 1.15; margin: 0 0 60px; }
.aliados-manifiesto-h strong { color: var(--al-terra);
  font-weight: 500; font-style: normal; }

.aliados-manifiesto-list {
  list-style: none; padding: 0; margin: 0;
  text-align: left; max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; }
.aliados-manifiesto-list > li {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--al-line);
  align-items: baseline; }
.aliados-manifiesto-list > li:last-child { border-bottom: none; }
.aliados-manifiesto-list > li strong {
  font-family: "Iowan Old Style", serif;
  font-size: 20px; font-style: italic;
  color: var(--al-terra); font-weight: 600;
  letter-spacing: -0.01em; }
.aliados-manifiesto-list > li p {
  font-family: "Iowan Old Style", serif;
  font-size: 17px; color: var(--al-ink);
  line-height: 1.55; margin: 0;
  letter-spacing: -0.005em; }
.aliados-manifiesto-list > li p em {
  color: var(--al-terra); font-style: italic;
  font-weight: 500; }

/* Firma manuscrita SVG animada al final */
.aliados-signature { background: var(--al-ivory-soft);
  padding: 60px 20px 80px;
  text-align: center;
  border-top: 1px solid var(--al-line); }
.aliados-signature svg { max-width: 260px; height: auto;
  display: block; margin: 0 auto 20px; }
.aliados-signature svg path { fill: none;
  stroke: var(--al-terra);
  stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.aliados-signature-label {
  font-family: "Iowan Old Style", serif;
  font-size: 11px; font-style: italic;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--al-ink-mute); font-weight: 600;
  margin: 0; }
.aliados-signature-label span {
  color: var(--al-terra); font-weight: 700;
  letter-spacing: 0.30em; }

/* Responsive */
@media (max-width: 1100px) {
  .hub-cards { grid-template-columns: 1fr; }
  .aliados-what-in { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
  .aliados-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .aliados-hero-title { font-size: 40px; }
  .hub-title { font-size: 32px; }
}
@media (max-width: 700px) {
  .aliados-benefits-grid { grid-template-columns: 1fr; }
  .aliados-form-grid { grid-template-columns: 1fr; }
  .aliados-form-full { grid-column: 1; }
  .aliados-form-in { padding: 36px 24px; }
  .allies-btn { display: none; }
  .hdr { grid-template-columns: auto 1fr auto; }
  .hdr .nav { grid-column: 1 / 4; grid-row: 2;
    overflow-x: auto; padding-bottom: 6px; }
}

/* CARDS DE MARCA — 3 pilares con presencia magistral */
.brand-cards-sec { background: transparent;
  padding: 100px max(20px, calc((100% - 1280px) / 2 + 20px)) 88px !important; }

.brand-cards-header { max-width: 900px; margin: 0 auto 68px; text-align: center; }
.brand-cards-ornament { display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 28px;
  font-size: 11px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--navy);
  font-weight: 800;
  padding: 8px 18px;
  background: rgba(10,43,92,0.05);
  border: 1px solid rgba(10,43,92,0.12);
  border-radius: 999px; }
.cards-flag { width: 24px; height: 16px; border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2); flex-shrink: 0; }
.brand-cards-title { font-family: "Iowan Old Style", Palatino, Georgia, "Times New Roman", serif;
  font-size: 54px; font-weight: 500; line-height: 1.06;
  color: var(--ink); letter-spacing: -0.024em;
  margin: 0 0 28px; }
.brand-cards-title em { font-style: italic; color: var(--red); font-weight: 500; }
.brand-cards-lead { font-size: 18px; color: var(--ink-soft);
  line-height: 1.65; max-width: 780px; margin: 0 auto; }
.brand-cards-lead strong { color: var(--navy); font-weight: 700; }

.brand-cards { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1280px; margin: 0 auto; }

/* CARD BASE con altura amplia para presencia */
.brand-card { border-radius: 24px;
  padding: 44px 40px 40px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  min-height: 560px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.5s;
  isolation: isolate; }

/* Marca de agua: cuernos EDT gigantes flotando */
.brand-card::before { content: "";
  position: absolute; top: -60px; right: -80px;
  width: 340px; height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cpath d='M3 24 Q8 6 16 12 Q22 16 30 18 Q38 16 44 12 Q52 6 57 24' stroke='%23E30613' stroke-width='4.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: opacity 0.6s, transform 0.6s;
  pointer-events: none;
  z-index: 0; }

/* Franja tricolor decorativa vertical izquierda */
.brand-card::after { content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(to bottom,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%);
  z-index: 2; }

/* Variante CREMA (Cercanía) — cálida */
.brand-card--cream { background: linear-gradient(160deg, #FFF9EF 0%, #FFF3DC 100%);
  border: 1px solid rgba(241,191,0,0.25);
  box-shadow: 0 10px 30px rgba(241,191,0,0.10),
    0 4px 12px rgba(0,0,0,0.04); }
.brand-card--cream::before { opacity: 0.06; }

/* Variante NAVY (Confianza) — institucional oscura */
.brand-card--navy { background: linear-gradient(160deg, #0a2b5c 0%, #051638 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 14px 40px rgba(10,43,92,0.30),
    0 4px 12px rgba(0,0,0,0.15); }
.brand-card--navy::before { opacity: 0.12; }
.brand-card--navy .brand-card-num { color: rgba(255,255,255,0.15); }
.brand-card--navy .brand-card-tag { background: rgba(255,255,255,0.10);
  color: #FFC72C; border-color: rgba(255,199,44,0.35); }
.brand-card--navy .brand-card-headline { color: #fff; }
.brand-card--navy .brand-card-headline em { color: #FFC72C; }
.brand-card--navy .brand-card-text { color: rgba(255,255,255,0.75); }
.brand-card--navy .brand-card-text strong { color: #fff; }
.brand-card--navy .brand-card-quote { background: rgba(255,255,255,0.06);
  border-color: #FFC72C; }
.brand-card--navy .brand-card-quote p { color: rgba(255,255,255,0.90); }

/* Variante ROJA (Pertenencia) — pasional */
.brand-card--red { background: linear-gradient(160deg, #E30613 0%, #A00410 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 14px 40px rgba(227,6,19,0.35),
    0 4px 12px rgba(0,0,0,0.15); }
.brand-card--red::before { opacity: 0.10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cpath d='M3 24 Q8 6 16 12 Q22 16 30 18 Q38 16 44 12 Q52 6 57 24' stroke='%23fff' stroke-width='4.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.brand-card--red::after {
  background: linear-gradient(to bottom, #fff 0%, #FFC72C 50%, #fff 100%); }
.brand-card--red .brand-card-num { color: rgba(255,255,255,0.18); }
.brand-card--red .brand-card-tag { background: rgba(255,255,255,0.15);
  color: #fff; border-color: rgba(255,255,255,0.40); }
.brand-card--red .brand-card-headline { color: #fff; }
.brand-card--red .brand-card-headline em { color: #FFC72C; }
.brand-card--red .brand-card-text { color: rgba(255,255,255,0.85); }
.brand-card--red .brand-card-text strong { color: #fff; }
.brand-card--red .brand-card-quote { background: rgba(0,0,0,0.15);
  border-color: #FFC72C; }
.brand-card--red .brand-card-quote p { color: rgba(255,255,255,0.95); }

/* HOVER */
.brand-card:hover { transform: translateY(-12px) scale(1.01);
  box-shadow: 0 32px 64px rgba(10,26,46,0.20),
    0 16px 32px rgba(227,6,19,0.15); }
.brand-card:hover::before { opacity: 0.15;
  transform: rotate(-6deg) scale(1.1); }
.brand-card--navy:hover::before { opacity: 0.22; }
.brand-card--red:hover::before { opacity: 0.20; }

/* TOP MARK: numeración masiva + icono a la derecha */
.brand-card-mark { display: flex; align-items: center; justify-content: space-between;
  margin: 0 0 28px;
  position: relative; z-index: 1; }
.brand-card-num { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 88px; font-weight: 500; line-height: 0.85;
  color: rgba(10,43,92,0.10);
  letter-spacing: -0.03em;
  font-style: italic; }
.brand-card--cream .brand-card-num { color: rgba(227,6,19,0.15); }
.brand-card-icon { width: 52px; height: 48px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand-card-icon svg { width: 100%; height: 100%; display: block; }
.brand-card--navy .brand-card-icon svg { filter: brightness(1.2); }
.brand-card:hover .brand-card-icon { transform: rotate(-10deg) scale(1.15); }

/* BODY */
.brand-card-body { display: flex; flex-direction: column; flex: 1;
  position: relative; z-index: 1; }
.brand-card-tag { display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1.5px solid var(--red);
  border-radius: 999px;
  font-size: 10.5px; letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--red); font-weight: 800;
  background: rgba(255,255,255,0.6);
  align-self: flex-start;
  margin: 0 0 20px;
  transition: all 0.3s; }
.brand-card-tag::before { content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; }

.brand-card-headline { font-family: "Iowan Old Style", Palatino, Georgia, "Times New Roman", serif;
  font-size: 34px; font-weight: 500; line-height: 1.06;
  color: var(--ink); letter-spacing: -0.022em;
  margin: 0 0 22px; }
.brand-card-headline em { font-style: italic; color: var(--red); font-weight: 500; }

.brand-card-text { font-size: 15.5px; color: var(--ink-soft);
  line-height: 1.65; margin: 0 0 24px; }
.brand-card-text strong { color: var(--ink); font-weight: 700; }

.brand-card-quote { background: rgba(10,43,92,0.05);
  border-left: 3px solid var(--navy);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: auto 0 18px;
  align-self: stretch; }
.brand-card-body .brand-card-tag { margin: 0; align-self: flex-start; }
.brand-card-quote p { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 13.5px; font-style: italic;
  color: var(--navy); line-height: 1.55;
  margin: 0; font-weight: 500; }

@media (max-width: 1200px) {
  .brand-cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .brand-card { padding: 36px 30px 30px; min-height: 520px; }
  .brand-card-num { font-size: 72px; }
  .brand-card-headline { font-size: 28px; }
}
@media (max-width: 1000px) {
  .brand-cards-title { font-size: 40px; }
  .brand-card-headline { font-size: 26px; }
}
@media (max-width: 900px) {
  .brand-cards-sec { padding: 60px max(16px, calc((100% - 1240px) / 2 + 16px)) 56px !important; }
  .brand-cards { grid-template-columns: 1fr; gap: 20px; }
  .brand-cards-header { margin-bottom: 40px; }
  .brand-cards-title { font-size: 30px; }
  .brand-cards-lead { font-size: 16px; }
  .brand-card { min-height: auto; padding: 36px 28px; }
  .brand-card-headline { font-size: 26px; }
  .brand-card-num { font-size: 64px; }
}

/* Breakpoint intermedio 1100px */
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: 1fr 400px; gap: 28px; padding: 0 32px; }
  .tarifas, .why, .faq { padding: 0 32px; }
  .ft-g { padding: 0 32px 24px; }
  .ft-bt { padding: 20px 32px 0; }
  .home-const-title { font-size: 34px; }
  .lg-img { height: 160px; }
  .nav a { padding: 6px 12px 2px !important; font-size: 14px; font-weight: 800; white-space: nowrap !important; }
  .ph { min-width: 210px; padding: 10px 22px 10px 12px; font-size: 16px; }
  .ph-ic { width: 28px; height: 28px; }
  .hdr { min-height: 108px; padding: 0 20px; }
}
@media (max-width: 900px) {
  .lg-img { height: 90px; }
  .hdr { grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    min-height: auto; padding: 8px 16px; }
  .lg { grid-column: 1; grid-row: 1; }
  .ph-wrap { grid-column: 2; grid-row: 1; }
  .nav { grid-column: 1 / 3; grid-row: 2;
    justify-content: flex-start; flex-wrap: wrap; }
  .nav a { padding: 6px 10px 2px !important; font-size: 13px; font-weight: 800; white-space: nowrap !important; }
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 60px; }
  .hero-in { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  .tarifas, .why, .faq { padding: 0 20px; }
  .ft-g { padding: 0 20px 24px; }
  .ft-bt { padding: 20px 20px 0; }
  .home-const-txt { padding: 28px 22px 30px; }
  .home-const-title { font-size: 28px; }
  .ctc { position: static; }
  .const-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .const-intro-title { font-size: 30px; }
  .const-intro-right { border-left: none; border-top: 2px solid var(--navy);
    padding-left: 0; padding-top: 28px; }
  /* Nav NO se oculta — se reorganiza abajo en el bloque responsive integral */
  .hero-in { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .ft-g { grid-template-columns: 1fr 1fr; }
  .ph-lbl { display: none; }
  .hero, .sec, .cta-bd, .stats { padding-left: 20px; padding-right: 20px; }
  .hv h1 { font-size: 28px; }
  .const-page { padding: 40px 24px; }
  .const-cover { padding: 60px 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   SISTEMA DE ICONOS EDT
   ADN gráfico del imagotipo aplicado a un alfabeto de 8 iconos.
   Todos los iconos comparten: cuernos rojos + wifi amarillo + trazo
   grueso redondeado. Cada uno es una TRANSFORMACIÓN del logo original,
   no un dibujo nuevo. Uso: <span class="edt-ic edt-ic--lg"><svg>…</svg></span>
═══════════════════════════════════════════════════════════════ */
.edt-ic { display: inline-flex; flex-shrink: 0;
  width: 60px; height: 60px;
  align-items: center; justify-content: center; }
.edt-ic svg { width: 100%; height: 100%; display: block; overflow: visible; }
.edt-ic--xs { width: 28px; height: 28px; }
.edt-ic--sm { width: 40px; height: 40px; }
.edt-ic--md { width: 52px; height: 52px; }
.edt-ic--lg { width: 72px; height: 72px; }
.edt-ic--xl { width: 96px; height: 96px; }
.edt-ic--xxl { width: 128px; height: 128px; }

/* Los colores viven inline dentro de cada <symbol> (para atravesar el Shadow DOM
   del <use>). Aquí sólo dimensionamos y damos matices por contexto. */

/* NAV — el sistema de iconos en el nav está definido más arriba (.nav a .nav-ic).
   Este bloque se conserva vacío como marcador histórico; ver .nav a arriba. */

/* Suavizar el icono cuando aparece en fondo oscuro (card navy/red).
   Como los paths tienen amarillo/rojo inline, se ven perfectos contra oscuros. */

.icons-page { max-width: 1240px; margin: 0 auto;
  padding: 80px 32px 100px; background: transparent; }
.icons-eyebrow { display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.36em; text-transform: uppercase;
  color: #0A2B5C; font-weight: 800; margin: 0 0 24px;
  padding: 8px 18px; background: rgba(10,43,92,0.06);
  border: 1px solid rgba(10,43,92,0.15); border-radius: 999px; }
.icons-eyebrow-flag { width: 22px; height: 14px; border-radius: 2px;
  background: linear-gradient(to bottom, #AA151B 0 25%, #F1BF00 25% 75%, #AA151B 75%); }
.icons-title { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 52px; font-weight: 500; line-height: 1.08;
  letter-spacing: -0.022em; color: #1A1A1A; margin: 0 0 20px; max-width: 820px; }
.icons-title em { font-style: italic; color: #E30613; font-weight: 500; }
.icons-lead { font-size: 17px; color: #4A4A4A; line-height: 1.65;
  max-width: 720px; margin: 0 0 56px; }
.icons-lead strong { color: #0A2B5C; font-weight: 700; }

.icons-dna { background: #fff; border: 1px solid #E5E1D3;
  border-radius: 20px; padding: 40px;
  display: grid; grid-template-columns: 240px 1fr; gap: 44px;
  align-items: center; margin: 0 0 56px;
  box-shadow: 0 4px 20px rgba(10,43,92,0.05); }
.icons-dna-logo { display: flex; align-items: center; justify-content: center;
  background: #FAFAF7; border-radius: 14px; padding: 24px;
  aspect-ratio: 1; }
.icons-dna-logo img { max-width: 100%; height: auto; }
.icons-dna-txt h3 { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 26px; font-weight: 500; margin: 0 0 12px;
  letter-spacing: -0.02em; }
.icons-dna-txt p { font-size: 15px; color: #4A4A4A; line-height: 1.6;
  margin: 0 0 12px; }
.icons-dna-txt p strong { color: #E30613; font-weight: 700; }

.icons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ic-card { background: #fff; border: 1px solid #E5E1D3;
  border-radius: 18px; padding: 32px 24px 26px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s; }
.ic-card:hover { transform: translateY(-4px);
  border-color: rgba(227,6,19,0.35);
  box-shadow: 0 16px 34px rgba(10,43,92,0.10); }
.ic-card .edt-ic { margin: 0 0 20px; }
.ic-card-name { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: #E30613; font-weight: 800; margin: 0 0 8px; }
.ic-card-title { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 20px; font-weight: 500; color: #1A1A1A;
  letter-spacing: -0.01em; margin: 0 0 10px; line-height: 1.2; }
.ic-card-desc { font-size: 12.5px; color: #4A4A4A; line-height: 1.55;
  margin: 0; }
.ic-card-scale { display: flex; align-items: flex-end; gap: 12px;
  margin: 18px 0 0; padding: 14px 0 0;
  border-top: 1px dashed rgba(10,43,92,0.15); width: 100%;
  justify-content: center; }
.ic-card-scale .edt-ic { margin: 0; }

@media (max-width: 1000px) {
  .icons-grid { grid-template-columns: repeat(2, 1fr); }
  .icons-dna { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .icons-title { font-size: 38px; }
}
@media (max-width: 560px) {
  .icons-grid { grid-template-columns: 1fr; }
  .icons-page { padding: 60px 20px 80px; }
  .icons-title { font-size: 30px; }
}

/* ═══════════════════════════════════════════════════════════════
   FAQ EDT — sistema unificado (10 preguntas maestras + variantes)
═══════════════════════════════════════════════════════════════ */
.faq-sec { padding: 100px var(--edge-inline) 88px !important;
  background: transparent; position: relative; z-index: 1; }
.faq-sec .sec-h { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.faq-eyebrow { display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--navy); font-weight: 800; margin: 0 0 22px;
  padding: 8px 18px; background: rgba(10,43,92,0.05);
  border: 1px solid rgba(10,43,92,0.12); border-radius: 999px; }
.faq-eyebrow-flag { width: 22px; height: 14px; border-radius: 2px;
  background: linear-gradient(to bottom, #AA151B 0 25%, #F1BF00 25% 75%, #AA151B 75%); }
.faq-sec .sec-t { font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 46px; font-weight: 500; line-height: 1.08;
  letter-spacing: -0.022em; color: var(--ink); margin: 0; }
.faq-sec .sec-t em { font-style: italic; color: var(--red); font-weight: 500; }
.faq-sec .faq { max-width: 900px; margin: 0 auto; padding: 0; }

/* Cada pregunta con icono EDT + estructura unificada */
.faq-sec .fq { background: #fff; border: 1px solid rgba(10,43,92,0.10);
  border-radius: 14px; margin-bottom: 12px; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
.faq-sec .fq:hover { border-color: rgba(227,6,19,0.35);
  box-shadow: 0 8px 24px rgba(10,43,92,0.06); }
.faq-sec .fq.open { border-color: var(--red);
  box-shadow: 0 12px 32px rgba(227,6,19,0.08); }

.faq-sec .fq-q { padding: 20px 24px; font-size: 16.5px; font-weight: 700;
  color: var(--ink); cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  line-height: 1.35; letter-spacing: -0.005em;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 500; }
.faq-sec .fq-q::after { content: "+"; color: var(--red);
  font-size: 26px; font-weight: 300; font-family: Inter, sans-serif;
  margin-left: auto; flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1; }
.faq-sec .fq.open .fq-q::after { content: "−"; transform: rotate(180deg); }

.fq-q-ic { width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(227,6,19,0.06) 0%, rgba(255,199,44,0.10) 100%);
  border-radius: 10px; padding: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.4s; }
.fq-q-ic svg { width: 100%; height: 100%; display: block; overflow: visible; }
.faq-sec .fq:hover .fq-q-ic { transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, rgba(227,6,19,0.12) 0%, rgba(255,199,44,0.18) 100%); }
.faq-sec .fq.open .fq-q-ic { transform: scale(1.05);
  background: linear-gradient(135deg, rgba(227,6,19,0.14) 0%, rgba(255,199,44,0.22) 100%); }
.fq-q-txt { flex: 1; }

.faq-sec .fq-a { padding: 0 24px 0 80px; max-height: 0; overflow: hidden;
  transition: max-height 0.5s, padding 0.4s;
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.faq-sec .fq.open .fq-a { max-height: 800px; padding: 0 24px 22px 80px; }
.faq-sec .fq-a p { margin: 0 0 12px; }
.faq-sec .fq-a p:last-of-type { margin-bottom: 0; }
.faq-sec .fq-a strong { color: var(--navy); font-weight: 700; }

/* CTAs unificados — 4 variantes, mismo peso visual */
.faq-sec .fq-cta-row { display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 20px; padding-top: 20px;
  border-top: 1px dashed rgba(10,43,92,0.15); }
.faq-sec .fq-cta { display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px 11px 12px;
  background: #fff; color: var(--ink) !important;
  border: 1.5px solid rgba(10,43,92,0.15);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  text-decoration: none !important;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
  position: relative; overflow: hidden; }
.faq-sec .fq-cta::after { display: none; }
.faq-sec .fq-cta:hover { transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(10,43,92,0.10);
  border-color: var(--red); }
.fq-cta-ic { width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(10,43,92,0.06); padding: 3px; }
.fq-cta-ic svg { width: 100%; height: 100%; display: block; overflow: visible;
  color: inherit; }
/* Forzar iconos a blanco puro sobre CTAs de fondo oscuro (rojo/navy/verde).
   Como los colores están inline dentro del <symbol> y CSS no los alcanza,
   usamos filter para blanquear la silueta completa. */
.faq-sec .fq-cta--phone .fq-cta-ic svg,
.faq-sec .fq-cta--phone222 .fq-cta-ic svg,
.faq-sec .fq-cta--whatsapp .fq-cta-ic svg {
  filter: brightness(0) invert(1);
}

/* Variante teléfono principal 900 — rojo, icono en blanco.
   Especificidad aumentada con .faq-sec para ganar cascada. */
.faq-sec .fq-cta--phone { background: var(--red); color: #fff !important;
  border-color: var(--red); }
.faq-sec .fq-cta--phone:hover { background: var(--red-dark); border-color: var(--red-dark);
  box-shadow: 0 8px 18px rgba(227,6,19,0.30); }
.faq-sec .fq-cta--phone .fq-cta-ic { background: rgba(255,255,255,0.20); color: #fff; }

/* Variante 222 — navy, cliente */
.faq-sec .fq-cta--phone222 { background: var(--navy); color: #fff !important;
  border-color: var(--navy); }
.faq-sec .fq-cta--phone222:hover { background: var(--navy-soft); border-color: var(--navy-soft);
  box-shadow: 0 8px 18px rgba(10,43,92,0.30); }
.faq-sec .fq-cta--phone222 .fq-cta-ic { background: rgba(255,255,255,0.20); color: #fff; }

/* Variante whatsapp */
.faq-sec .fq-cta--whatsapp { background: #25D366; color: #fff !important;
  border-color: #25D366; }
.faq-sec .fq-cta--whatsapp:hover { background: #1EBE5A; border-color: #1EBE5A;
  box-shadow: 0 8px 18px rgba(37,211,102,0.30); }
.faq-sec .fq-cta--whatsapp .fq-cta-ic { background: rgba(255,255,255,0.22); color: #fff; }

/* Variante EMAIL — cream con acento rojo bandera (institucional, cercano) */
.faq-sec .fq-cta--email { background: linear-gradient(135deg, #FFF9EF 0%, #FFF3DC 100%);
  color: var(--navy) !important;
  border-color: rgba(255,199,44,0.55); }
.faq-sec .fq-cta--email:hover { border-color: var(--red); background: #FFF9EF;
  box-shadow: 0 8px 18px rgba(227,6,19,0.15); }
.faq-sec .fq-cta--email .fq-cta-ic { background: rgba(227,6,19,0.08); padding: 2px; }

/* Variantes secundarias — mismo esqueleto blanco pero con acento del icono */
.fq-cta--atencion:hover, .fq-cta--hogar:hover, .fq-cta--empresas:hover,
.fq-cta--ventajas:hover, .fq-cta--comunidad:hover, .fq-cta--aliados:hover,
.fq-cta--cercania:hover, .fq-cta--confianza:hover {
  background: rgba(255,249,239,0.5); }

@media (max-width: 900px) {
  .faq-sec { padding: 60px 20px 60px !important; }
  .faq-sec .sec-t { font-size: 30px; }
  .faq-sec .fq-q { padding: 16px 18px; font-size: 15px; gap: 12px; }
  .fq-q-ic { width: 34px; height: 34px; }
  .faq-sec .fq-a { padding: 0 18px 0 64px; font-size: 14px; }
  .faq-sec .fq.open .fq-a { padding: 0 18px 18px 64px; }
}
@media (max-width: 560px) {
  .faq-sec .fq-a { padding-left: 18px; }
  .faq-sec .fq.open .fq-a { padding-left: 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   REFRESCO 3 PILARES — nuevos iconos-héroe + logo marca de agua
═══════════════════════════════════════════════════════════════ */
.brand-card::before { display: none !important; }  /* apagar cuernos SVG viejos */
.brand-card-watermark { position: absolute; right: -40px; bottom: -50px;
  width: 260px; height: 150px; opacity: 0.045;
  pointer-events: none; z-index: 0;
  transition: opacity 0.5s, transform 0.5s; }
.brand-card-watermark img { width: 100%; height: 100%; object-fit: contain;
  object-position: center; }
.brand-card:hover .brand-card-watermark { opacity: 0.09;
  transform: rotate(-4deg) scale(1.05); }
.brand-card--navy .brand-card-watermark { filter: brightness(3) contrast(0.7); opacity: 0.08; }
.brand-card--navy:hover .brand-card-watermark { opacity: 0.14; }
.brand-card--red .brand-card-watermark { filter: brightness(3) contrast(0.7); opacity: 0.10; }
.brand-card--red:hover .brand-card-watermark { opacity: 0.16; }

.brand-card-icon { width: 96px !important; height: 96px !important; }
.brand-card-icon .edt-ic { width: 100%; height: 100%; }
.brand-card-icon svg { filter: none; overflow: visible; }

/* Los selectores de atributo no atraviesan <use>, así que usamos filter
   para forzar toda la silueta a un solo color visible sobre fondo oscuro. */

/* Card 2 (navy azul oscuro) — icono en amarillo bandera para máximo contraste */
.brand-card--navy .brand-card-icon svg {
  filter: brightness(0) saturate(100%) invert(89%) sepia(35%)
    saturate(1892%) hue-rotate(340deg) brightness(103%) contrast(103%);
  /* → aproximación fiel a #FFC72C */
}

/* Card 3 (roja) — icono en BLANCO puro sobre el rojo bandera */
.brand-card--red .brand-card-icon svg {
  filter: brightness(0) invert(1);
  /* → todo blanco puro */
}

/* La franja tricolor vertical izquierda debe verse encima de la watermark */
.brand-card::after { z-index: 3 !important; }
.brand-card-watermark { z-index: 0 !important; }
.brand-card-mark, .brand-card-body { position: relative; z-index: 2; }
/* ═══════════════════════════════════════════════════════════════
   PÁGINA DE GRACIAS #gracias
   Aterrizaje tras envío de formulario. Diseño notarial-institucional
   con sello pulsante, promesa firmada y CTAs de regreso.
   ═══════════════════════════════════════════════════════════════ */
.thanks { min-height: calc(100vh - 100px);
  background: linear-gradient(180deg, #FFF9EF 0%, #FAF3E4 100%);
  padding: 60px max(24px, calc((100% - 900px) / 2 + 24px)) 80px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; }
/* Marca de agua institucional: cuernos gigantes semi-transparentes */
.thanks::before { content: "";
  position: absolute; top: -80px; right: -140px;
  width: 620px; height: 360px;
  background-image: url("assets/logo-05-official.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.025;
  pointer-events: none;
  transform: rotate(-8deg);
  z-index: 0; }
.thanks::after { content: "";
  position: absolute; bottom: -100px; left: -160px;
  width: 620px; height: 360px;
  background-image: url("assets/logo-05-official.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.02;
  pointer-events: none;
  transform: rotate(6deg);
  z-index: 0; }

.thanks-frame { max-width: 780px; width: 100%;
  background: #ffffff;
  border: 1px solid rgba(10,43,92,0.12);
  padding: 48px 56px 44px;
  position: relative; z-index: 1;
  box-shadow: 0 40px 80px rgba(10,43,92,0.08),
              0 12px 28px rgba(10,43,92,0.06);
  text-align: center;
  animation: thanks-in 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) both; }
@keyframes thanks-in {
  0% { opacity: 0; transform: translateY(20px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Franjas tricolor superior e inferior */
.thanks-flag-top, .thanks-flag-bottom {
  position: absolute; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%); }
.thanks-flag-top { top: 0; }
.thanks-flag-bottom { bottom: 0; }

/* Cintillo institucional */
.thanks-eyebrow { display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 34px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 11px; font-style: italic; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(107,82,64,0.85);
  padding: 8px 18px;
  background: rgba(255,199,44,0.10);
  border: 1px solid rgba(255,199,44,0.30); }
.thanks-eyebrow-flag { width: 20px; height: 14px; flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.10); }

/* Sello EDT gigante con anillos pulsantes */
.thanks-seal { position: relative;
  width: 140px; height: 140px;
  margin: 8px auto 32px;
  display: inline-block; }
.thanks-seal-ring {
  position: absolute; inset: 0;
  border: 2px solid var(--red);
  border-radius: 50%;
  opacity: 0.55;
  animation: thanks-ring 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.thanks-seal-ring--1 { animation-delay: 0s; }
.thanks-seal-ring--2 { animation-delay: 0.6s; border-color: var(--yellow); opacity: 0.65; }
.thanks-seal-ring--3 { animation-delay: 1.2s; border-color: var(--navy); opacity: 0.55; }
@keyframes thanks-ring {
  0% { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.60); opacity: 0; }
}
.thanks-seal-core { position: absolute; inset: 12px;
  background: radial-gradient(circle, #FFFDF8 0%, #FFF3DC 100%);
  border: 3px solid var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(10,43,92,0.22),
              inset 0 2px 0 rgba(255,255,255,0.60),
              inset 0 -2px 0 rgba(0,0,0,0.08); }
.thanks-seal-core svg { width: 76px; height: 76px;
  animation: thanks-seal-in 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both; }
@keyframes thanks-seal-in {
  0% { opacity: 0; transform: scale(0.5) rotate(-10deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* Titular emocional */
.thanks-title { margin: 0 0 20px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 56px; font-weight: 500; line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: pretty; }
.thanks-title em { font-style: italic; color: var(--red); font-weight: 500; }

/* Sub-línea */
.thanks-lead { margin: 0 auto 40px; max-width: 560px;
  font-family: "Inter", sans-serif;
  font-size: 16px; line-height: 1.65;
  color: rgba(26,26,26,0.75); }
.thanks-lead strong { color: var(--ink); font-weight: 700; }

/* Documento de promesa */
.thanks-promise { max-width: 560px; margin: 0 auto 40px;
  padding: 28px 32px 30px;
  background: linear-gradient(180deg, #FFFDF8 0%, #FEF7E8 100%);
  border-left: 3px solid var(--yellow);
  border-right: 3px solid var(--yellow);
  position: relative;
  text-align: left; }
.thanks-promise-mark { display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 12px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 11px; font-style: italic; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red); }
.thanks-promise-num { color: var(--yellow);
  font-size: 18px; font-weight: 700;
  letter-spacing: 0; }
.thanks-promise-body { margin: 0 0 18px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 16px; line-height: 1.65; font-style: italic;
  color: rgba(26,26,26,0.85); }
.thanks-promise-body strong { color: var(--red);
  font-weight: 700; font-style: normal;
  letter-spacing: 0.02em; }
.thanks-promise-sign { display: flex; align-items: center;
  gap: 12px; }
.thanks-promise-sign-line { flex: 1; height: 1px;
  background: rgba(10,43,92,0.20); }
.thanks-promise-sign-txt {
  font-family: "Inter", sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(10,43,92,0.55); }

/* CTAs de regreso */
.thanks-actions { display: flex; gap: 14px;
  justify-content: center; align-items: center;
  flex-wrap: wrap;
  margin: 0 0 36px; }
.thanks-cta { display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px 16px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 13px; font-style: italic; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s, color 0.3s;
  position: relative; }
.thanks-cta-ic { width: 22px; height: 22px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; }
.thanks-cta-ic svg { width: 100%; height: 100%; }

/* CTA primario — rojo bandera */
.thanks-cta--primary {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  outline: 1.5px solid var(--red);
  outline-offset: 4px;
  box-shadow: 0 12px 26px rgba(227,6,19,0.28),
              inset 0 1px 0 rgba(255,255,255,0.25); }
.thanks-cta--primary::after { content: "";
  position: absolute; left: 4px; right: 4px; bottom: 4px; height: 2px;
  background: linear-gradient(90deg, #FFC72C 0%, #FFC72C 50%, transparent 50%);
  opacity: 0.75; }
.thanks-cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(227,6,19,0.38); }
.thanks-cta--primary .thanks-cta-ic { filter: brightness(0) invert(1); }

/* CTA fantasma — navy outline */
.thanks-cta--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(10,43,92,0.30); }
.thanks-cta--ghost:hover {
  border-color: var(--navy);
  background: rgba(10,43,92,0.04);
  color: var(--navy-deep);
  transform: translateY(-1px); }

/* Firma marfil al pie */
.thanks-signature { padding: 22px 20px 4px;
  border-top: 1px dashed rgba(10,43,92,0.15);
  margin-top: 8px; }
.thanks-signature-txt { margin: 0;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 13px; line-height: 1.5;
  color: rgba(10,43,92,0.65); }
.thanks-signature-txt strong { color: var(--red);
  font-weight: 700; font-style: normal; }
.thanks-signature-txt em { font-style: italic;
  color: var(--navy); }

/* Responsive */
@media (max-width: 640px) {
  .thanks { padding: 40px 16px 60px; }
  .thanks-frame { padding: 32px 22px 30px; }
  .thanks-title { font-size: 38px; }
  .thanks-lead { font-size: 15px; }
  .thanks-seal { width: 108px; height: 108px; }
  .thanks-seal-core svg { width: 60px; height: 60px; }
  .thanks-promise { padding: 20px 18px; }
  .thanks-actions { flex-direction: column; width: 100%; }
  .thanks-cta { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   SISTEMA RESPONSIVE INTEGRAL · MOBILE-FIRST
   Sobrescribe reglas anteriores con especificidad. Este bloque garantiza
   que TODA la web se ve perfectamente en:
   • Móvil vertical: 320-480px (iPhone SE, Android chico)
   • Móvil grande: 481-640px (iPhone 15, Galaxy S24)
   • Tablet vertical: 641-820px (iPad Mini)
   • Tablet horizontal / Laptop pequeño: 821-1024px (iPad Air, MacBook 12)
   • Desktop pequeño: 1025-1279px (MacBook Air, portátiles 13-14")
   • Desktop mediano: 1280-1439px (MacBook Pro 14-16, monitores comunes)
   • Desktop grande: 1440-1919px (monitores 27", pantallas de trabajo)
   • Ultra-wide: 1920+ (4K, ultra-wide)

   El sistema de "hoja institucional" limita el body a 1200px con márgenes
   grises a los lados cuando el viewport es mayor. En viewports ≤1200px
   el body ocupa todo el ancho.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Tipografía fluida global con clamp() ─── */
html { font-size: clamp(15px, 1.5vw, 16px); }

/* ─── PREVENCIÓN de scroll horizontal SOLO en móvil ───
   En desktop no tocamos nada para no romper grids intrínsecos.
   En móvil aplicamos capas defensivas: clip global + min-width:0 en hijos del header
   (necesario para que grid auto-1fr comprima el logo). */
@media (max-width: 820px) {
  /* PREVENCIÓN AGRESIVA: overflow-x hidden en html + body simultáneamente.
     Safari iOS a veces solo respeta hidden en uno de los dos. */
  html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
  }
  *, *::before, *::after { box-sizing: border-box; }
  img, video, iframe, svg { max-width: 100%; height: auto; }
  .page, .hdr, .subhdr, .hero, .sec, .ft,
  .brand-cards-sec, .faq-sec, .tarifas-sec,
  .aliados, .const, .thanks {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  /* CRÍTICO: hijos del header deben poder comprimirse con min-width:0. */
  .hdr, .hdr > *, .hdr .lg, .hdr .ph-900,
  .hdr .allies-btn, .hdr .ph-222, .hdr .nav {
    min-width: 0;
  }
  /* FIX watermark que sobresalía de las cards de los 3 Pilares */
  .brand-card { overflow: hidden !important; position: relative !important; }
  /* El watermark tenía width fija de 260px + right:-40px = sobresale.
     Comprimimos a valores relativos al ancho de la card. */
  .brand-card-watermark {
    right: 0 !important;
    bottom: 0 !important;
    width: 60% !important;
    max-width: 180px !important;
    height: auto !important;
    max-height: 60% !important;
    overflow: hidden !important;
  }
  .brand-card-watermark img { max-width: 100% !important; height: auto !important; }
  [class*="watermark"] { max-width: 100% !important; }
  /* Tablas y código con scroll interno propio si desbordan */
  table, pre, code { max-width: 100% !important; overflow-x: auto !important; }
}

/* ─── 1200px hacia abajo: portátiles pequeños y tablets grandes ─── */
@media (max-width: 1200px) {
  body { max-width: 100% !important; box-shadow: none !important; }
  html { background: #ffffff !important; }
}

/* ═══════════════════════════════════════════════════════════════
   1024px hacia abajo · TABLETS Y LAPTOPS PEQUEÑOS
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Header comprimido pero legible */
  .hdr { column-gap: 12px !important;
    padding: 0 20px !important; }
  .hdr-strip { display: none !important; }
  /* Aliados sí visible en tablet — comprimido pero presente */
  .allies-btn { padding: 4px 8px 4px 4px !important; font-size: 10px !important; }
  .allies-btn-crown { width: 18px !important; height: 18px !important; }
  .allies-btn-eyebrow { font-size: 8px !important; }
  .allies-btn-title { font-size: 11px !important; }
  .ph-lbl, .ph-222-lbl, .ph-900-eyebrow, .ph-900-sub { display: none !important; }
  .ph-900 { padding: 8px 18px 8px 6px !important;
    min-width: auto !important; font-size: 14px !important; }
  .ph-900-num { font-size: 20px !important; }
  .ph-900-ic { width: 34px !important; height: 34px !important; }
  .ph-222 { padding: 6px 10px !important; font-size: 11px !important; }
  .nav { left: 216px !important; gap: 6px !important; }
  .nav a { padding: 6px 10px 8px !important; font-size: 12.5px !important;
    gap: 6px !important; }
  .nav a .nav-ic { width: 18px !important; height: 18px !important; }

  /* Logo header ajustado */
  .lg { height: 90px !important; }
  .lg-img { height: 130px !important; margin: -20px 0 -20px 0 !important; }
  .hdr { grid-template-rows: 1fr 1fr !important; }

  /* Subheader */
  .subhdr { top: 90px !important; }
  .subhdr-in { padding-left: 216px !important; height: 32px !important; }

  /* Hero landings: 1 columna en tablet */
  .hero-in {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 24px 20px 40px !important;
  }
  .ctc {
    position: static !important;
    max-width: 560px;
    margin: 0 auto;
    padding: 24px 22px !important;
  }
  .hv-cedula {
    padding: 28px 24px 28px 32px !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  /* Precio en móvil: pastilla horizontal AL FINAL del bloque, no círculo enorme.
     El sello circular decorativo se oculta; el precio pasa a ser un CTA-badge
     colocado junto al nombre de la tarifa (visualmente integrado). */
  .hv-cedula-seal {
    position: static !important;
    transform: none !important;
    order: 3 !important;  /* después del claim, antes del tale */
    margin: 14px 0 4px !important;
    width: auto !important;
    height: auto !important;
    align-self: flex-start !important;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 8px 18px 9px !important;
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    box-shadow: 0 4px 12px rgba(227,6,19,0.28) !important;
  }
  /* Anulamos los pseudo-elementos del sello (líneas decorativas circulares) */
  .hv-cedula-seal::before,
  .hv-cedula-seal::after {
    display: none !important;
    content: none !important;
  }
  .hv-cedula-seal-eyebrow {
    font-size: 9px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.85) !important;
    font-family: "Inter", sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    order: 1 !important;
    margin: 0 !important;
  }
  .hv-cedula-seal-price {
    display: inline-flex !important;
    align-items: baseline !important;
    order: 2 !important;
    gap: 0 !important;
    margin: 0 !important;
  }
  /* Precio: TODO en blanco sobre el fondo rojo — legible al instante */
  .hv-cedula-seal-cur {
    font-size: 14px !important;
    margin-right: 1px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
  }
  .hv-cedula-seal-int {
    font-size: 22px !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    line-height: 1 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
  }
  .hv-cedula-seal-dec {
    font-size: 14px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  .hv-cedula-seal-mo {
    font-size: 9px !important;
    letter-spacing: 0.10em !important;
    order: 3 !important;
    opacity: 0.85 !important;
    margin: 0 0 0 4px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  .hv-cedula-seal-year { display: none !important; }

  /* Ordenamos los elementos según la lectura natural (bandera → contexto → nombre → claim → precio → tale → CTA) */
  .hv-cedula-eye { order: 1 !important;
    margin-left: 0 !important; margin-right: 0 !important;
    display: inline-flex !important;
    width: fit-content !important;
    align-self: flex-start !important; }
  .hv-cedula-name { order: 2 !important;
    font-size: 42px !important;
    text-align: left !important;
    align-self: stretch !important; }
  .hv-cedula-name::after { margin: 12px 0 14px !important; align-self: flex-start !important; }
  .hv-cedula-claim { order: 3 !important;
    font-size: 20px !important;
    max-width: none !important;
    text-align: left !important; }
  .hv-cedula-tale { order: 5 !important;
    font-size: 14px !important;
    max-width: none !important;
    text-align: left !important;
    margin-top: 12px !important; }
  .hv-cedula-cta { order: 6 !important;
    margin: 20px 0 0 !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important; }

  /* Hero home */
  .hv h1 { font-size: 44px !important; line-height: 1.05 !important; }
  .hv .lead { font-size: 16px !important; }

  /* 3 Pilares en tablet */
  .brand-cards { grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important; }
  .brand-card { padding: 28px 24px !important;
    min-height: auto !important; }
  .brand-card-headline { font-size: 26px !important; }
  .brand-card-text { font-size: 15px !important; }

  /* Tarifas: 3 cards → 3 cols · 4 cards → 2x2 */
  .tarifas { padding: 0 20px !important; gap: 12px !important; }
  .tarifas:has(> .tarifa:nth-child(4)) {
    grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .tarifa { padding: 20px 16px 18px !important; }
  .tarifa-name { font-size: 22px !important; }
  .tarifa-int { font-size: 38px !important; }
  .tarifa li { font-size: 12px !important; padding: 4px 0 !important; }

  /* Sección "sí te escucha" */
  .escucha { padding: 60px 24px !important; }
  .escucha h2 { font-size: 32px !important; }

  /* FAQ */
  .faq-sec { padding: 60px 24px !important; }
  .faq-title { font-size: 40px !important; }
  .fq { padding: 18px 22px !important; }
  .fq-q { font-size: 15px !important; }

  /* Footer 2 columnas → 1 columna centrada */
  .ft-g {
    grid-template-columns: 1fr !important;
    padding: 56px 24px !important;
    gap: 40px !important;
  }
  .ft-brand { align-items: center !important; text-align: center !important; }
  .ft-g > .ft-talk { justify-self: center !important; padding-right: 0 !important; }
  .ft-tagline, .ft-contact, .ft-manifiesto {
    text-align: center !important; max-width: 420px !important; margin: 0 auto !important;
  }
  .ft-socials { justify-content: center !important; }

  /* Constitución */
  .const-page { padding: 60px 24px 80px !important; }
  .const-frame { padding: 40px 32px !important; }
  .const-cover-h1 { font-size: 42px !important; }
  .const-cover-lead { font-size: 16px !important; }
  .const-title-h { font-size: 26px !important; }
  .const-article { padding: 22px 20px 20px 20px !important; }
  .const-article-h { font-size: 18px !important; }
  .const-article-body { font-size: 15px !important; }
  .const-sign { padding: 40px 28px !important; }

  /* Gracias */
  .thanks-frame { padding: 40px 28px !important; }
  .thanks-title { font-size: 42px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   820px hacia abajo · TABLETS VERTICALES Y MÓVILES GRANDES
   Header móvil rediseñado a 2 columnas × 3 filas:
   • Col 1 (span 2 filas): LOGO grande
   • Col 2 fila 1: Aliados + 222 en línea horizontal (dentro de la MISMA celda)
   • Col 2 fila 2: CTA rojo 900 alineado a la derecha
   • Fila 3 (span 2 cols): nav completo con franja tricolor
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 820px) {
  .hdr { display: grid !important;
    padding: 8px 12px 0 !important;
    column-gap: 8px !important;
    grid-template-columns: auto 1fr !important;
    grid-template-rows: auto auto auto !important;
    row-gap: 6px !important;
    align-items: start !important; }
  .hdr-strip { display: none !important; }

  /* Fila 1 · Col 2 · Aliados + 222 JUNTOS a la derecha, pegados el uno al otro.
     Usamos margin-right en Aliados = ancho del 222 + gap para que queden
     ambos alineados al borde derecho como un par. */
  .allies-btn {
    grid-column: 2 !important; grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 62px 0 0 !important;  /* deja 62px para el 222 justo a su derecha */
  }
  .ph-222 {
    grid-column: 2 !important; grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
  }

  /* CHIPS MÍNIMOS EN MÓVIL: solo icono + "Aliados" / "222".
     Sin eyebrow ("Área Privada" / "Ya cliente") para que quepan siempre. */
  .allies-btn, .ph-222 {
    display: inline-flex !important;
    align-items: center !important;
    margin-top: 0 !important;
    padding: 3px 10px 3px 3px !important;
    font-size: 10px !important;
    gap: 5px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    flex-shrink: 0 !important;
    border-radius: 999px !important;
    background: rgba(10,43,92,0.03) !important;
    border: 1px solid rgba(10,43,92,0.12) !important;
    line-height: 1 !important;
    height: 24px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }
  /* Ocultamos el eyebrow SIEMPRE en móvil ≤820px */
  .allies-btn-eyebrow, .ph-222-eyebrow { display: none !important; }

  /* Iconos circulares 18px, más finos, mantienen contraste navy/amarillo */
  .allies-btn-crown, .ph-222-ic {
    width: 20px !important; height: 20px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--navy) !important;
    border-radius: 50% !important;
    color: var(--yellow) !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .allies-btn-crown svg, .ph-222-ic svg {
    width: 10px !important; height: 10px !important;
  }

  /* Body y txt: horizontal en línea */
  .allies-btn-body, .ph-222-txt {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 4px !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
    line-height: 1 !important;
    overflow: hidden !important;
  }

  /* Eyebrows OCULTOS en móvil (regla ya declarada arriba con display:none) */
  /* Título/número: navy bold */
  .allies-btn-title, .ph-222-num {
    font-size: 10.5px !important;
    letter-spacing: 0.02em !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    color: var(--navy) !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Fila 3: NAV apoyado en franja tricolor con item activo destacado */
  .nav { display: flex !important;
    position: static !important;
    top: auto !important; bottom: auto !important;
    left: auto !important; right: auto !important;
    grid-column: 1 / -1 !important; grid-row: 3 !important;
    justify-content: center !important;
    padding: 4px 0 0 !important;
    margin: 8px 0 0 !important;
    gap: 0 !important;
    border-top: 1px solid var(--line) !important; }
  .nav a { padding: 6px 8px 12px !important;
    font-size: 11px !important;
    gap: 5px !important;
    min-height: 0 !important;
    flex: 1 !important;
    justify-content: center !important; }
  .nav .nav-txt { display: inline !important; font-size: 11px !important;
    white-space: nowrap !important; }
  .nav a .nav-ic { width: 18px !important; height: 18px !important; }

  /* LOGO: MÁS GRANDE dentro del mismo bounding box (respeta altura del header
     y ancho de la columna). Aumentamos la altura de la imagen y ajustamos
     los márgenes negativos para que ocupe más espacio visual sin cambiar la
     geometría del contenedor. */
  .lg { grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    justify-self: start !important;
    height: 88px !important;
    max-width: 180px !important;
    overflow: hidden !important; }
  .lg-img { height: 156px !important;   /* antes 128px, +22% de tamaño */
    margin: -34px 0 -34px -36px !important;
    max-width: 260px !important; width: auto !important; }

  /* CTA rojo 900: col 2, fila 2, tamaño natural sin estirarse */
  .ph-900 { grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: center !important;
    margin-top: 0 !important;
    padding: 7px 16px 7px 5px !important;
    font-size: 13px !important;
    min-width: 0 !important;
    max-width: none !important;
    animation: none !important;
    box-shadow: 0 0 0 3px rgba(255,199,44,0.4),
                0 6px 14px rgba(255,199,44,0.5) !important;
    gap: 7px !important; }
  .ph-900-num { font-size: 16px !important; }
  .ph-900-ic { width: 28px !important; height: 28px !important; }
  .ph-900-ic svg { width: 14px !important; height: 14px !important; }
  .ph-900-ic { width: 28px !important; height: 28px !important; }
  .ph-900-ic svg { width: 14px !important; height: 14px !important; }

  /* Subheader pegado bajo el header móvil de 3 filas (~150px) */
  .subhdr { top: 150px !important; }
  .subhdr-in { padding-left: 14px !important; height: auto !important;
    padding-top: 6px !important; padding-bottom: 6px !important;
    flex-wrap: wrap !important; }

  /* Hero home */
  .hv h1 { font-size: 34px !important; }
  .hv { padding: 24px 22px !important; }

  /* Hero landings compacto */
  .hv-cedula { padding: 26px 22px !important; }
  .hv-cedula-name { font-size: 42px !important; }
  .hv-cedula-eye { font-size: 9px !important; letter-spacing: 0.18em !important;
    padding: 4px 12px 4px 4px !important; }
  .hv-cedula-cta { padding: 14px 22px 16px !important;
    font-size: 11px !important; letter-spacing: 0.18em !important; }

  /* 3 Pilares → 1 columna */
  .brand-cards { grid-template-columns: 1fr !important; gap: 16px !important; }
  .brand-cards-header { margin-bottom: 40px !important; padding: 0 16px !important; }
  .brand-cards-title { font-size: 34px !important; }
  .brand-cards-lead { font-size: 15px !important; }
  .brand-card { padding: 24px 22px !important; min-height: 300px !important; }
  .brand-card-headline { font-size: 24px !important; }

  /* Tarifas: siempre en columna vertical */
  .tarifas,
  .tarifas:has(> .tarifa:nth-child(4)),
  .tarifas:has(> .tarifa:nth-child(3):last-child) {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 16px !important;
  }
  .tarifa { padding: 24px 22px !important; }
  .tarifa-name { font-size: 26px !important; }
  .tarifa-int { font-size: 46px !important; }
  .tarifa-dec { font-size: 18px !important; }
  .tarifa li { font-size: 13.5px !important; }

  /* Sección "sí te escucha" */
  .escucha { padding: 44px 16px !important; }
  .escucha h2 { font-size: 26px !important; }
  .escucha p { font-size: 15px !important; }

  /* FAQ */
  .faq-sec { padding: 44px 16px !important; }
  .faq-title { font-size: 32px !important; }
  .fq { padding: 16px 18px !important; }
  .fq-q { font-size: 14px !important; gap: 10px !important; }
  .fq-q-ic { width: 20px !important; height: 20px !important; }
  .fq-a { padding: 14px 18px 18px !important; }
  .fq-a p { font-size: 14px !important; }
  .fq-cta { padding: 10px 14px !important; font-size: 11px !important; }

  /* Footer super simple */
  .ft-g { padding: 40px 20px !important; gap: 32px !important; }
  .ft-brand .lg-img { height: 80px !important; }
  .ft-tagline { font-size: 14px !important; }
  .ft-contact { font-size: 13px !important; }
  .ft-talk-h { font-size: 22px !important; }
  .ft-talk-toggle { padding: 12px 18px !important; font-size: 12px !important;
    letter-spacing: 0.18em !important;
    max-width: 320px !important;
    align-self: center !important;
    justify-content: center !important;
    margin-left: auto !important; margin-right: auto !important;
    outline-offset: 3px !important;
    width: auto !important; }
  .ft-signature { padding: 20px 16px !important; }
  .ft-signature-txt { font-size: 13px !important; flex-direction: column !important;
    gap: 8px !important; }
  .ft-signature-txt::before,
  .ft-signature-txt::after { display: none !important; }
  .ft-bt { padding: 14px 16px !important; }
  .ft-bt-copy { font-size: 10px !important; line-height: 1.6 !important; }
  .ft-legal { flex-wrap: wrap !important; gap: 8px 12px !important;
    justify-content: center !important; }
  .ft-legal a { font-size: 10px !important; }

  /* Constitución */
  .const-page { padding: 40px 14px 60px !important; }
  .const-frame { padding: 32px 20px !important; border-radius: 6px !important; }
  .const-cover { padding: 20px 0 !important; }
  .const-cover-h1 { font-size: 30px !important; line-height: 1.15 !important; }
  .const-cover-lead { font-size: 14px !important; }
  .const-cover-year { font-size: 16px !important; letter-spacing: 0.14em !important; }
  .const-preamble { padding: 24px 18px !important; margin-bottom: 44px !important; }
  .const-preamble-body { font-size: 14px !important; line-height: 1.65 !important; }
  .const-title { margin: 44px 0 22px !important; }
  .const-title-num { font-size: 10px !important; }
  .const-title-h { font-size: 22px !important; margin-bottom: 24px !important; }
  .const-article { padding: 18px 16px !important; }
  .const-article-h { font-size: 16px !important; }
  .const-article-body { font-size: 14px !important; }
  .const-sign { padding: 28px 20px !important; }
  .const-sign-body { font-size: 13.5px !important; }
  .const-sign-seal { width: 50px !important; height: 50px !important; }

  /* Comunidad de Aliados */
  .aliados-hero { padding: 60px 20px 40px !important; }
  .aliados-hero-h1, .aliados-h1 { font-size: 34px !important; }
  .aliados-lead { font-size: 15px !important; }
  .aliados-benefits { grid-template-columns: 1fr !important; gap: 14px !important; }
  .aliados-benefit { padding: 22px 20px !important; }
  .aliados-form-wrap { padding: 30px 22px !important; }

  /* Gracias */
  .thanks { padding: 30px 14px 40px !important; }
  .thanks-frame { padding: 30px 20px !important; }
  .thanks-title { font-size: 32px !important; }
  .thanks-lead { font-size: 14px !important; }
  .thanks-seal { width: 100px !important; height: 100px !important; }
  .thanks-seal-core svg { width: 54px !important; height: 54px !important; }
  .thanks-actions { flex-direction: column !important; width: 100% !important; }
  .thanks-cta { width: 100% !important; justify-content: center !important;
    font-size: 12px !important; letter-spacing: 0.12em !important; }

  /* WhatsApp flotante más pequeño */
  .wa { width: 52px !important; height: 52px !important;
    bottom: 16px !important; right: 16px !important; }
  .wa svg { width: 24px !important; height: 24px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   560px hacia abajo · MÓVILES VERTICALES (iPhone SE, Galaxy chico)
   Mantiene la estructura de 3 filas pero ultra-compacta.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 560px) {
  .hdr { padding: 4px 8px 0 !important;
    column-gap: 6px !important;
    row-gap: 2px !important; }
  .lg { height: 50px !important; }
  .lg-img { height: 74px !important; margin: -12px 0 !important; }

  .ph-900 { padding: 6px 12px 6px 4px !important;
    font-size: 11px !important; }
  .ph-900-num { font-size: 14px !important; }
  .ph-900-ic { width: 24px !important; height: 24px !important; }
  .ph-900-ic svg { width: 12px !important; height: 12px !important; }

  /* Fila 2: Aliados + 222 más pequeños */
  .allies-btn, .ph-222 {
    padding: 3px 6px 3px 3px !important;
    font-size: 9px !important; }
  .allies-btn-crown, .ph-222-ic { width: 16px !important; height: 16px !important; }
  .allies-btn-title, .ph-222-num { font-size: 9px !important; }
  .allies-btn-eyebrow, .ph-222-eyebrow { font-size: 7px !important; }

  /* Fila 3: NAV con texto un pelín más pequeño */
  .nav a { padding: 6px 4px 10px !important;
    font-size: 10px !important; }
  .nav .nav-txt { font-size: 10px !important; }
  .nav a .nav-ic { width: 16px !important; height: 16px !important; }

  /* Subheader pegado bajo el header 3 filas de móvil chico (~120px) */
  .subhdr { top: 120px !important; }
  .subhdr-in { flex-direction: column !important; align-items: flex-start !important;
    gap: 4px !important; padding: 6px 12px !important; }
  .subhdr-label { padding: 0 !important; margin: 0 !important;
    border-right: 0 !important; font-size: 10px !important; }
  .subnav a { padding: 4px 10px !important; font-size: 11px !important; }

  /* Home hero */
  .hv h1 { font-size: 28px !important; margin: 16px 0 12px !important; }
  .hv .lead { font-size: 14px !important; }
  .hv { padding: 20px 18px !important; }

  /* Cédula landing */
  .hv-cedula { padding: 22px 18px !important; }
  .hv-cedula-name { font-size: 34px !important; }
  .hv-cedula-name::after { width: 40px !important; margin: 12px 0 !important; }
  .hv-cedula-claim { font-size: 18px !important; }
  .hv-cedula-tale { font-size: 13px !important; }
  .hv-cedula-cta { padding: 12px 18px 14px !important;
    font-size: 10px !important; letter-spacing: 0.14em !important;
    width: 100% !important; justify-content: center !important; }
  .hv-cedula-eye {
    padding: 4px 10px 4px 3px !important;
    letter-spacing: 0.14em !important;
    font-size: 8.5px !important; }

  /* Formulario */
  .ctc { padding: 20px 18px !important; }
  .ctc-t { font-size: 18px !important; }
  .ctc-s { font-size: 12.5px !important; }
  .fld input, .fld select { padding: 12px 14px !important; font-size: 14px !important; }
  .cta-b { padding: 12px 18px !important; font-size: 12px !important;
    letter-spacing: 0.14em !important; }

  /* 3 Pilares */
  .brand-cards-title { font-size: 28px !important; line-height: 1.15 !important; }
  .brand-cards-lead { font-size: 14px !important; }
  .brand-card { padding: 22px 20px !important; min-height: auto !important; }
  .brand-card-headline { font-size: 22px !important; }
  .brand-card-text { font-size: 14px !important; }
  .brand-card-quote p { font-size: 13px !important; }
  .brand-card-icon { width: 60px !important; height: 60px !important; }

  /* Tarifas móvil */
  .tarifa { padding: 20px 18px !important; }
  .tarifa-name { font-size: 22px !important; }
  .tarifa-int { font-size: 38px !important; }
  .tarifa-cta { padding: 12px 14px 14px !important; font-size: 11px !important; }

  /* Sección escucha */
  .escucha h2 { font-size: 22px !important; }

  /* FAQ · MÓVIL: cerradas por defecto (sin padding vertical),
     solo respuesta visible al hacer click con .open */
  .faq-title { font-size: 26px !important; }
  .fq { padding: 0 !important;  /* padding va en fq-q para evitar filtración */
    overflow: hidden !important; }
  .fq-q { font-size: 13.5px !important; gap: 8px !important;
    padding: 16px 16px !important; }
  /* Cerrada: padding vertical 0, oculta totalmente */
  .faq-sec .fq-a { padding: 0 16px !important;
    max-height: 0 !important; overflow: hidden !important;
    transition: max-height 0.35s ease, padding 0.3s ease !important; }
  /* Abierta: padding se aplica y max-height se libera */
  .faq-sec .fq.open .fq-a { padding: 4px 16px 18px !important;
    max-height: 1200px !important; }
  .fq-a p { font-size: 13px !important; }
  .fq-cta-row { flex-direction: column !important; gap: 8px !important; align-items: stretch !important; }
  .fq-cta { width: 100% !important; justify-content: center !important;
    font-size: 10.5px !important; padding: 9px 12px !important; }

  /* Footer */
  .ft-g { padding: 30px 14px !important; gap: 24px !important; }
  .ft-brand .lg-img { height: 60px !important; }
  .ft-tagline { font-size: 13px !important; }
  .ft-talk-h { font-size: 18px !important; }
  .ft-talk-lead { font-size: 13px !important; }

  /* Constitución móvil */
  .const-cover-h1 { font-size: 24px !important; }
  .const-cover-lead { font-size: 13px !important; }
  .const-title-h { font-size: 18px !important; }

  /* Gracias */
  .thanks-title { font-size: 26px !important; }
  .thanks-lead { font-size: 13px !important; }
  .thanks-promise-body { font-size: 14px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   380px hacia abajo · MÓVILES MUY PEQUEÑOS
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
  .lg-img { height: 68px !important; }
  .lg { height: 50px !important; }
  .ph-900 { padding: 4px 10px 4px 3px !important; }
  .ph-900-num { font-size: 12px !important; }
  .hv-cedula-name { font-size: 28px !important; }
  .brand-cards-title { font-size: 24px !important; }
  .tarifa-name { font-size: 20px !important; }
  .tarifa-int { font-size: 34px !important; }
  .const-cover-h1 { font-size: 22px !important; }
  .thanks-title { font-size: 22px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   Fix universal: prevenir scroll horizontal + touch targets ≥44px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  * { max-width: 100vw; }
  img, video, iframe { max-width: 100%; height: auto; }
  /* Aumentar touch targets en móvil (WCAG AA) */
  a, button, input[type="submit"], .fq-q { min-height: 44px; }
  .nav a { min-height: 44px; }
}

/* ═══════════════════════════════════════════════════════════════
   MÓVIL · Refuerzos institucionales de última milla
   ═══════════════════════════════════════════════════════════════ */

/* 3. LEGALES en 1 sola línea en móvil (Aviso · Privacidad · Cookies) */
@media (max-width: 820px) {
  /* Franja legal MICRO · una sola fila · altura ajustada al texto (~24px) */
  .ft-legal { flex-wrap: nowrap !important;
    gap: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 5px 4px !important;
    overflow: hidden !important;
    min-height: 0 !important;
    height: auto !important; }
  .ft-legal a { font-size: 8.5px !important;
    padding: 2px 6px !important;
    white-space: nowrap !important;
    letter-spacing: 0.02em !important;
    line-height: 1.15 !important;
    /* Liberar del min-height:44px universal (touch target).
       Estos son links secundarios de pie, no necesitan target completo. */
    min-height: 0 !important;
    height: auto !important; }
  .ft-legal a:first-child { padding-left: 6px !important; border-left: 1px solid rgba(255,199,44,0.28) !important; }

  /* Acortamos los textos legales en móvil ocultando el original y usando ::after
     Estrategia: font-size: 0 para el text-node original + ::after con el texto corto. */
  .ft-legal a[href*="aviso-legal"] { font-size: 0 !important; }
  .ft-legal a[href*="aviso-legal"]::after {
    content: "Aviso Legal";
    font-size: 8.5px;
    letter-spacing: 0.02em;
  }
  .ft-legal a[href*="politica-privacidad"] { font-size: 0 !important; }
  .ft-legal a[href*="politica-privacidad"]::after {
    content: "Privacidad";
    font-size: 8.5px;
    letter-spacing: 0.02em;
  }
  .ft-legal a[href*="politica-cookies"] { font-size: 0 !important; }
  .ft-legal a[href*="politica-cookies"]::after {
    content: "Cookies";
    font-size: 8.5px;
    letter-spacing: 0.02em;
  }
}
@media (max-width: 480px) {
  .ft-legal a { font-size: 9.5px !important;
    letter-spacing: 0.04em !important;
    padding: 4px 4px !important; }
}

/* 4. CTC persistente en móvil: barra flotante inferior con
   "Llámame gratis" + WhatsApp para que el usuario siempre tenga
   los CTAs de contacto a un dedo de distancia mientras hace scroll. */
.mobile-ctc-bar { display: none; }
@media (max-width: 820px) {
  /* Barra CTC móvil SIEMPRE VISIBLE desde el momento 0 (no requiere scroll).
     Franja tricolor institucional en el borde superior + sombra elevada. */
  .mobile-ctc-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important; right: 0 !important;
    z-index: 89;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #ffffff;
    box-shadow: 0 -10px 30px rgba(10,26,46,0.18),
                0 -4px 12px rgba(10,26,46,0.10);
    padding: 12px 14px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
    /* Franja tricolor 1:2:1 en el borde superior — sello institucional */
    border-top: 3px solid transparent;
    background-image:
      linear-gradient(#ffffff, #ffffff),
      linear-gradient(90deg,
        #AA151B 0%, #AA151B 25%,
        #F1BF00 25%, #F1BF00 75%,
        #AA151B 75%, #AA151B 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    /* Animación de entrada suave al cargar */
    animation: mobile-ctc-in 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) both;
  }
  @keyframes mobile-ctc-in {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }
  .mobile-ctc-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    min-height: 44px;
    transition: transform 0.2s, background 0.2s;
  }
  .mobile-ctc-btn--primary {
    background: var(--red);
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(227,6,19,0.30);
  }
  .mobile-ctc-btn--primary:active { transform: scale(0.97); background: var(--red-dark); }
  .mobile-ctc-btn--wa {
    background: #25D366;
    color: #fff !important;
    flex: 0 0 44px;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(37,211,102,0.30);
  }
  .mobile-ctc-btn--wa:active { transform: scale(0.97); background: #1EBE5A; }
  .mobile-ctc-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

  /* Añadir padding al body para que el contenido no quede tapado */
  body { padding-bottom: 72px !important; }

  /* Ocultar el botón WhatsApp flotante grande cuando la barra CTC está activa
     (evita duplicidad de acceso rápido a WhatsApp) */
  .wa { display: none !important; }
}

/* 5. NAV en móvil: fila única centrada apoyada en la franja tricolor
   (parte baja del header · fila 3 tras Aliados+222) — hereda del desktop */
@media (max-width: 820px) {
  .nav {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    position: static !important;
    display: flex !important;
    flex-wrap: nowrap !important;   /* SIEMPRE en una sola línea */
    justify-content: center !important;
    align-items: stretch !important;
    padding: 0 !important;
    margin: 4px 0 0 !important;
    gap: 0 !important;
    border-top: 1px solid var(--line) !important;
    /* Franja tricolor institucional al pie del nav */
    position: relative !important;
  }
  .nav::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg,
      #AA151B 0%, #AA151B 25%,
      #F1BF00 25%, #F1BF00 75%,
      #AA151B 75%, #AA151B 100%);
  }
  .nav a {
    flex: 1;
    padding: 8px 8px 12px !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 11px !important;
    gap: 5px !important;
    border-radius: 0 !important;
    min-width: 0 !important;
  }
  .nav .nav-txt {
    display: inline !important;
    font-size: 11px !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
  }
  .nav a .nav-ic { width: 18px !important; height: 18px !important; }

  /* Item activo con barra roja MÁS gruesa pegada a la franja tricolor */
  .nav a.active::before {
    left: 0 !important; right: 0 !important;
    bottom: 0 !important;
    height: 3px !important;
    background: var(--red) !important;
    border-radius: 0 !important;
  }
}
@media (max-width: 400px) {
  /* Nav ultra compacto */
  .nav a { padding: 6px 4px 10px !important; font-size: 10px !important; }
  .nav .nav-txt { font-size: 10px !important; }
  .nav a .nav-ic { width: 16px !important; height: 16px !important; }
  .allies-btn-title, .ph-222-num { font-size: 9.5px !important; }
  /* Logo GRANDE en móviles <400px (iPhone 13/14/15 base) — mismo bounding, imagen mayor */
  .lg { max-width: 128px !important; height: 62px !important; }
  .lg-img { height: 108px !important; max-width: 180px !important;
    margin: -23px 0 -23px -22px !important; }
  /* CTA 900 más compacto */
  .ph-900 { padding: 5px 12px 5px 3px !important;
    font-size: 11px !important; gap: 5px !important; }
  .ph-900-num { font-size: 13px !important; }
  .ph-900-ic { width: 22px !important; height: 22px !important; }
  .ph-900-ic svg { width: 11px !important; height: 11px !important; }
  /* Aliados con menos margin-right en móvil pequeño (222 más cerca) */
  .allies-btn { margin-right: 80px !important; }
}
@media (max-width: 360px) {
  /* iPhone SE 1ª gen (320px real) — extremo, logo grande dentro de su bounding */
  .allies-btn, .ph-222 { padding: 3px 8px 3px 3px !important; gap: 4px !important; }
  .lg { max-width: 100px !important; }
  .lg-img { height: 90px !important; max-width: 146px !important;
    margin: -18px 0 -18px -20px !important; }
  .allies-btn { margin-right: 70px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   Landscape en móvil: alturas más compactas
   ═══════════════════════════════════════════════════════════════ */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {
  .hdr { padding: 4px 12px !important; }
  .lg-img { height: 60px !important; margin: -6px 0 !important; }
  .lg { height: 46px !important; }
  .subhdr { top: 46px !important; }
  .hv h1 { font-size: 26px !important; }
  .hv-cedula-name { font-size: 32px !important; }
}