/* ═══════════════════════════════════════════════════════════
   AREAS — ATLAS EDITORIAL (Fase 1)
   Hero atlas + stats integrada + state editorial (Georgia)
   Sólo se carga en plantilla page-areas.php
   ═══════════════════════════════════════════════════════════ */

/* Guardrail: el watermark gigante "GA" en .state-editorial usa
   right: -2rem + clamp(12rem, 28vw, 24rem). Aunque la sección
   tiene overflow:hidden, prevenimos cualquier scroll horizontal
   a nivel de body por seguridad. */
body.eee-areas { overflow-x: hidden; }
body.eee-areas #main-container { overflow-x: hidden; }

/* ─── Grid 2x2 de estados ─── */
.atlas-states-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: stretch;
}
@media (min-width: 768px) { .atlas-states-grid { gap: 1.1rem; } }

.atlas-state-card {
  position: relative;
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-height: 168px;
  padding: 1.1rem 1.1rem 1.2rem;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1rem;
  color: var(--white);
  text-decoration: none;
  transition: background .3s, border-color .3s, transform .3s;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .atlas-state-card { min-height: 200px; padding: 1.4rem 1.4rem 1.5rem; }
}
.atlas-state-card:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(74,222,128,.35);
  transform: translateY(-3px);
}
.atlas-state-card[data-featured="true"] {
  background: linear-gradient(135deg, rgba(20,83,45,.65) 0%, rgba(22,163,74,.18) 100%);
  border-color: rgba(212,165,32,.35);
}
.atlas-state-card[data-featured="true"]:hover {
  border-color: rgba(212,165,32,.6);
}
.atlas-state-card::after {
  content: "↗";
  position: absolute;
  top: 1rem; right: 1.1rem;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: rgba(255,255,255,.3);
  transition: color .3s, transform .3s;
}
.atlas-state-card:hover::after {
  color: var(--gold);
  transform: translate(2px, -2px);
}

.atlas-state-badge {
  position: absolute; top: 1rem; right: 1.1rem;
  font-family: var(--ff-body);
  font-size: 0.58rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--em-darker);
  background: var(--gold);
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
  z-index: 2;
}
.atlas-state-num {
  font-family: var(--ff-display);
  font-style: italic; font-weight: 800;
  font-size: 1.85rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.atlas-state-card[data-featured="true"] .atlas-state-num {
  font-size: clamp(1.3rem, 2.5vw, 2.1rem);
}
@media (min-width: 1024px) {
  .atlas-state-num { font-size: clamp(1.4rem, 2.5vw, 2.25rem); }
  .atlas-state-card[data-featured="true"] .atlas-state-num { font-size: clamp(1.6rem, 3vw, 2.6rem); }
}
.atlas-state-name {
  font-family: var(--ff-display);
  font-style: italic; font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.05;
}
@media (min-width: 1024px) { .atlas-state-name { font-size: 1.65rem; } }
.atlas-state-coord {
  font-family: var(--ff-body);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.55);
  margin-bottom: 0.3rem;
}
.atlas-state-sub {
  font-family: var(--ff-body);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--em-light);
}

.atlas-compass {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  color: var(--gold);
  background: var(--em-darker);
  border-radius: 50%;
  padding: 4px;
  z-index: 2;
  pointer-events: none;
  display: none;
}
@media (min-width: 1024px) {
  .atlas-compass { display: flex; align-items: center; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   STATE EDITORIAL SPREAD (Georgia · Fase 1)
   ═══════════════════════════════════════════════════════════ */
.state-editorial {
  position: relative;
  background: var(--white);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .state-editorial { padding: 7rem 0 8rem; }
}
/* Atmósfera: gradiente sutil + watermark del numero del estado */
.state-editorial::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(220,252,231,.55) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(212,165,32,.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.state-editorial[data-state="ga"]::after {
  content: 'GA';
  position: absolute;
  top: 50%; right: -2rem;
  transform: translateY(-50%);
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(12rem, 28vw, 24rem);
  line-height: 1;
  color: rgba(20,83,45,.025);
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.state-editorial > .wrap {
  position: relative;
  z-index: 1;
}

/* Anchor row: 01 — Georgia · Sede principal */
.state-ed-anchor {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  font-family: var(--ff-body);
}
@media (min-width: 1024px) {
  .state-ed-anchor { margin-bottom: 4.5rem; gap: 1.5rem; }
}
.state-ed-num {
  font-family: var(--ff-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  color: var(--gold);
  letter-spacing: -0.01em;
}
.state-ed-divider {
  flex: 0 0 auto;
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--em-mid) 100%);
}
@media (min-width: 768px) { .state-ed-divider { width: 90px; } }
.state-ed-label {
  font-family: var(--ff-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  color: var(--em-deep);
}
.state-ed-meta {
  margin-left: auto;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray-400);
}

/* Asymmetric grid */
.state-ed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .state-ed-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: start;
  }
}

/* Photo frame con tag */
.state-ed-visual { position: relative; }
.state-ed-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(20,83,45,.35), 0 18px 36px -18px rgba(0,0,0,.25);
  aspect-ratio: 4 / 5;
}
.state-ed-photo-frame img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 1.2s ease-out;
}
.state-editorial:hover .state-ed-photo-frame img {
  transform: scale(1.03);
}
.state-ed-photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,83,45,.45) 100%);
  pointer-events: none;
}
.state-ed-photo-tag {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(8,15,8,.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(74,222,128,.25);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
}
.state-ed-photo-tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--em-light);
  box-shadow: 0 0 0 3px rgba(74,222,128,.2);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74,222,128,.2); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,.0); }
}

/* Body editorial */
.state-ed-body { padding-top: 0.5rem; }
.state-ed-h2 {
  font-family: var(--ff-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--em-deep);
  margin: 0 0 1.5rem;
}
.state-ed-h2 em {
  color: var(--em-mid);
  font-style: italic;
}
.state-ed-lede {
  font-family: var(--ff-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin: 0 0 2rem;
  max-width: 540px;
}

/* Figures inline */
.state-ed-figures {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 2rem;
}
.state-ed-fig { display: flex; flex-direction: column; gap: 0.15rem; }
.state-ed-fig-val {
  font-family: var(--ff-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--em-deep);
  line-height: 1;
  letter-spacing: -0.01em;
}
.state-ed-fig-val .pct {
  font-size: 0.65em;
  color: var(--em-mid);
  margin-left: 1px;
}
.state-ed-fig-lbl {
  font-family: var(--ff-body);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-400);
}
.state-ed-fig-sep {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gray-200);
  align-self: center;
}

/* Cities como tipografía */
.state-ed-cities {
  display: flex; flex-direction: column; gap: 0.4rem;
  margin-bottom: 2.25rem;
}
.state-ed-cities-lbl {
  font-family: var(--ff-body);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-400);
}
.state-ed-cities-list {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--em-deep);
  line-height: 1.5;
}

/* Pull quote oversized */
.state-ed-quote {
  position: relative;
  margin: 0 0 2.25rem;
  padding: 1.75rem 0 1.5rem 1.75rem;
  border-left: 2px solid var(--gold);
}
.state-ed-quote-mark {
  position: absolute;
  top: -0.5rem; left: 0.9rem;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  opacity: 0.35;
  margin: 0;
}
.state-ed-quote-text {
  font-family: var(--ff-display);
  font-style: italic; font-weight: 500;
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  line-height: 1.45;
  color: var(--em-deep);
  margin: 0 0 0.9rem;
  letter-spacing: -0.005em;
}
.state-ed-quote-author {
  display: flex; flex-direction: column; gap: 0.1rem;
  font-family: var(--ff-body);
}
.state-ed-quote-author strong {
  font-size: 0.85rem; font-weight: 700; color: var(--em-deep);
}
.state-ed-quote-author span {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-400);
}

/* CTA editorial */
.state-ed-cta {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--ff-body);
  font-size: 0.95rem; font-weight: 700;
  color: var(--em-deep);
  text-decoration: none;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--em-deep);
  transition: color .25s, border-color .25s, gap .25s;
}
.state-ed-cta:hover {
  color: var(--gold);
  border-color: var(--gold);
  gap: 0.8rem;
}
.state-ed-cta-arrow {
  display: inline-block;
  transition: transform .25s;
}
.state-ed-cta:hover .state-ed-cta-arrow {
  transform: translateX(2px);
}


/* ─── Live map section (relocada del hero) ─── */
.areas-livemap {
  padding: var(--section-pad-mob);
  background: var(--gray-50);
}
@media (min-width: 768px) { .areas-livemap { padding: var(--section-pad); } }
.areas-livemap-header { text-align: center; margin-bottom: 2.5rem; }
.areas-livemap-header .label {
  background: var(--em-mid); color: var(--white);
  margin-bottom: 1rem;
}
.areas-livemap-header .h2 {
  color: var(--em-deep);
  margin-bottom: 0.75rem;
}
.areas-livemap-header .h2 em { color: var(--em-mid); font-style: italic; }
.areas-livemap-header p {
  color: var(--gray-600); max-width: 480px; margin: 0 auto;
}
.areas-livemap-frame {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(74,222,128,.2);
  box-shadow: var(--shadow-xl);
}
@media (min-width: 768px) { .areas-livemap-frame { height: 500px; } }
.areas-livemap-frame #areasMap { width: 100%; height: 100%; }


/* ═══════════════════════════════════════════════════════════
   COMPARE — TABLA ATLAS EDITORIAL (Fase 3)
   Dark section, 5 cols, editorial newspaper style
   ═══════════════════════════════════════════════════════════ */
.areas-compare-atlas {
  position: relative;
  background: var(--em-darker);
  color: var(--white);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .areas-compare-atlas { padding: 6.5rem 0 7rem; }
}

/* Atmósfera */
.compare-atlas-bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(212,165,32,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(22,163,74,0.13) 0%, transparent 60%);
}
.compare-atlas-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(74,222,128,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
}

.areas-compare-atlas > .wrap { position: relative; z-index: 1; }

/* ── Header ── */
.compare-atlas-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
@media (min-width: 1024px) {
  .compare-atlas-header { margin-bottom: 4.5rem; }
}
.atlas-eyebrow--inverse {
  margin-bottom: 1.5rem;
}
.compare-atlas-h2 {
  font-family: var(--ff-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 1.25rem;
}
.compare-atlas-h2 em {
  color: var(--gold);
  font-style: italic;
}
.compare-atlas-lede {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Scroll hint (sólo mobile/tablet) ── */
.atlas-table-scroll-hint {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}
.atlas-table-scroll-hint span {
  font-family: var(--ff-body);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(212,165,32,.55);
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(212,165,32,.18);
  border-radius: 9999px;
}
@media (min-width: 1024px) {
  .atlas-table-scroll-hint { display: none; }
}

/* ── Table frame (scroll horizontal en mobile) ── */
.atlas-table-frame {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border-radius: 1rem;
  border: 1px solid rgba(212,165,32,.14);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
}
/* scroll fade en bordes */
@media (max-width: 1023.98px) {
  .atlas-table-frame {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
  }
}
/* Scrollbar custom */
.atlas-table-frame::-webkit-scrollbar { height: 6px; }
.atlas-table-frame::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
.atlas-table-frame::-webkit-scrollbar-thumb { background: rgba(212,165,32,.35); border-radius: 9999px; }

/* ── Tabla ── */
.atlas-compare-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-family: var(--ff-body);
}

/* Thead */
.atlas-compare-table thead th {
  text-align: left;
  vertical-align: bottom;
  padding: 1.5rem 1.1rem 1.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(0,0,0,.18) 100%);
  border-bottom: 1px solid rgba(212,165,32,.25);
}
.ct-row-head {
  width: 180px;
  min-width: 180px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.ct-row-head-label {
  font-family: var(--ff-display);
  font-style: italic; font-weight: 800;
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.ct-row-head-sub {
  font-family: var(--ff-body);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,.32);
}

.ct-state-head {
  position: relative;
  min-width: 156px;
  border-left: 1px solid rgba(255,255,255,.06);
  transition: background .35s;
}
.ct-state-head::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(212,165,32,0);
  transition: background .35s;
}
.ct-state-head:hover::before { background: rgba(212,165,32,.55); }
.ct-state-head[data-state="ga"] {
  background: linear-gradient(180deg, rgba(212,165,32,.08) 0%, rgba(212,165,32,.02) 100%);
}
.ct-state-head[data-state="ga"]::before {
  background: var(--gold);
}

.ct-state-head-num {
  font-family: var(--ff-display);
  font-style: italic; font-weight: 800;
  font-size: 1.35rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.ct-state-head-name {
  font-family: var(--ff-display);
  font-style: italic; font-weight: 800;
  font-size: 1.45rem;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.ct-state-head-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--ff-body);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--em-light);
  white-space: nowrap;
}
.ct-tag-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--em-light);
}
.ct-state-head[data-state="ga"] .ct-state-head-tag { color: var(--gold); }
.ct-state-head[data-state="ga"] .ct-tag-dot { background: var(--gold); }

/* ── Tbody ── */
.atlas-compare-table tbody tr {
  transition: background .25s;
}
.atlas-compare-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,.018);
}
.atlas-compare-table tbody tr:hover {
  background: rgba(255,255,255,.035);
}

.ct-row-label {
  width: 180px;
  font-family: var(--ff-body);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  text-align: left;
  padding: 1.15rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  border-right: 1px solid rgba(255,255,255,.06);
  vertical-align: middle;
  position: relative;
}
.ct-row-label::before {
  content: attr(data-label);
  display: block;
  font-family: var(--ff-display);
  font-style: italic; font-weight: 800;
  font-size: 0.66rem;
  color: rgba(212,165,32,.5);
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
  text-transform: none;
}
.ct-row-year {
  display: inline-block;
  font-size: 0.6rem;
  color: var(--gold);
  margin-left: 0.35rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: lowercase;
}

.atlas-compare-table tbody td {
  padding: 1.15rem 1.1rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.05);
  border-left: 1px solid rgba(255,255,255,.05);
  vertical-align: middle;
  line-height: 1.4;
}

/* Featured column (Georgia) — sutil tinte oro vertical */
.atlas-compare-table tbody td:nth-child(2),
.atlas-compare-table tfoot td:nth-child(2) {
  background: linear-gradient(90deg, rgba(212,165,32,.05) 0%, rgba(212,165,32,.02) 100%);
}
.atlas-compare-table tbody tr:nth-child(even) td:nth-child(2) {
  background: linear-gradient(90deg, rgba(212,165,32,.06) 0%, rgba(212,165,32,.025) 100%);
}

/* Celdas numéricas: Bodoni Moda italic, contrastes */
.ct-num {
  font-family: var(--ff-display);
  font-style: italic; font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.015em;
}
.ct-pct {
  font-size: 0.55em;
  color: var(--gold);
  margin-left: 1px;
  font-style: italic;
  vertical-align: 0.1em;
}
.ct-plus {
  font-size: 0.6em;
  color: var(--gold);
  margin-left: 1px;
  vertical-align: 0.05em;
}
.ct-note {
  display: inline-block;
  margin-left: 0.45rem;
  font-family: var(--ff-body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74,222,128,.6);
  vertical-align: middle;
  padding: 0.18rem 0.45rem;
  border-radius: 9999px;
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.18);
}

.ct-yes {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--ff-body);
  font-size: 0.85rem; font-weight: 700;
  color: var(--em-light);
}
.ct-yes::before {
  content: '✓';
  display: inline-block;
  width: 18px; height: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 0.7rem;
  background: rgba(74,222,128,.16);
  color: var(--em-light);
  border-radius: 50%;
  border: 1px solid rgba(74,222,128,.35);
}

/* ── Tfoot ── */
.atlas-compare-table tfoot th,
.atlas-compare-table tfoot td {
  padding: 1.5rem 1.1rem;
  border-top: 1px solid rgba(212,165,32,.2);
  border-bottom: none;
  background: rgba(0,0,0,.22);
  vertical-align: middle;
}
.ct-row-label--foot::before {
  display: none;
}
.ct-row-label--foot {
  color: rgba(255,255,255,.4);
  font-size: 0.7rem;
}
.ct-state-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--ff-body);
  font-size: 0.88rem; font-weight: 700;
  color: var(--white);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: color .25s, border-color .25s, gap .25s, transform .25s;
}
.ct-state-link span {
  color: var(--gold);
  font-size: 1.05em;
  transition: transform .25s;
}
.ct-state-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  gap: 0.7rem;
}
.ct-state-link:hover span {
  transform: translateX(2px);
}

/* ── Footer note ── */
.compare-atlas-note {
  margin: 1.75rem auto 0;
  max-width: 720px;
  text-align: center;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,.38);
}


/* atlas-cta styles loaded from eee-global.css */
@media (min-width: 1024px) {
  .atlas-cta { padding: 8rem 0 9rem; }
}

/* Fondo atmosférico */
.atlas-cta-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.atlas-cta-mesh {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(74,222,128,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 70%);
  opacity: 0.6;
}
.atlas-cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.atlas-cta-glow-gold {
  top: -10%; left: 50%;
  width: 50vw; height: 50vw;
  max-width: 720px; max-height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212,165,32,.55) 0%, transparent 70%);
}
.atlas-cta-glow-green {
  bottom: -20%; left: 50%;
  width: 70vw; height: 60vw;
  max-width: 900px; max-height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(22,163,74,.4) 0%, transparent 70%);
  opacity: 0.6;
}

.atlas-cta-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
}

/* ── Eyebrow ── */
.atlas-cta .atlas-eyebrow {
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .atlas-cta .atlas-eyebrow { margin-bottom: 2.5rem; }
}

/* ── Statement: tagline gigante ── */
.atlas-cta-statement {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 0 0 1.5rem;
}
.atlas-cta-statement em {
  font-style: italic;
  color: var(--gold);
  display: inline-block;
  position: relative;
}
.atlas-cta-statement em::after {
  content: '';
  position: absolute;
  left: 5%; right: 5%; bottom: -0.08em;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,165,32,.5) 30%, rgba(212,165,32,.5) 70%, transparent 100%);
}

/* ── Dateline ── */
.atlas-cta-dateline {
  display: inline-flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0.55rem;
  font-family: var(--ff-body);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin: 0 auto 2rem;
  padding: 0.55rem 1.1rem;
  border-top: 1px solid rgba(212,165,32,.18);
  border-bottom: 1px solid rgba(212,165,32,.18);
}
.atlas-cta-dot {
  color: rgba(212,165,32,.55);
  font-size: 1rem;
  line-height: 0;
}

/* ── Lede ── */
.atlas-cta-lede {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.7;
  color: rgba(255,255,255,.72);
  max-width: 560px;
  margin: 0 auto 3rem;
}

/* ── Actions ── */
.atlas-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .atlas-cta-actions {
    flex-direction: row;
    justify-content: center;
    gap: 1.75rem;
  }
}

/* Primary: gold pill bold */
.atlas-cta-primary {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.9rem;
  background: var(--gold);
  color: #0a1408;
  font-family: var(--ff-body);
  font-size: 1rem; font-weight: 800;
  letter-spacing: 0.01em;
  padding: 1.1rem 1.75rem 1.1rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 18px 40px -12px rgba(212,165,32,.5), 0 8px 22px -10px rgba(0,0,0,.6);
  transition: transform .3s cubic-bezier(.2,.7,.3,1.4), box-shadow .3s, background .25s;
  isolation: isolate;
}
.atlas-cta-primary::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.4) 0%, transparent 50%, rgba(0,0,0,.15) 100%);
  z-index: -1;
  opacity: 0.5;
}
.atlas-cta-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -10px rgba(212,165,32,.6), 0 12px 28px -8px rgba(0,0,0,.7);
}
.atlas-cta-primary-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(10,20,8,.92);
  color: var(--gold);
  transition: transform .3s, background .25s;
}
.atlas-cta-primary:hover .atlas-cta-primary-arrow {
  transform: translateX(3px);
  background: #0a1408;
}

/* Secondary: phone link */
.atlas-cta-secondary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ff-body);
  font-size: 0.98rem; font-weight: 700;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 0.95rem 1.5rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9999px;
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(6px);
  transition: color .25s, border-color .25s, background .25s;
}
.atlas-cta-secondary svg {
  color: var(--em-light);
  transition: color .25s;
}
.atlas-cta-secondary:hover {
  color: var(--white);
  border-color: rgba(74,222,128,.5);
  background: rgba(74,222,128,.06);
}
.atlas-cta-secondary:hover svg {
  color: var(--gold);
}

/* ── Trust badges (microcopy) ── */
.atlas-cta-trust {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--ff-body);
}
.atlas-cta-trust li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.atlas-cta-trust-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(74,222,128,.14);
  color: var(--em-light);
  border: 1px solid rgba(74,222,128,.3);
  font-size: 0.65rem; font-weight: 800;
}

/* ── Responsive fixes — tablet y mobile ─────────────────── */

/* States grid: 2 cols → 1 col en teléfonos muy pequeños */
@media (max-width: 479px) {
  .atlas-states-grid { grid-template-columns: 1fr; }
  .atlas-state-card { min-height: 120px; }
}
