/* ==========================================================================
   Vega Fondivo — hoja de estilos principal
   Tema: "cielo nocturno" oscuro + oro cálido (design.md §1, perfil geo-adaptado)
   ========================================================================== */

:root {
  --bg: #101420;
  --surface: #171c29;
  --surface-2: #1e2434;
  --border: #2a3145;
  --border-strong: #39415a;
  --text: #f1efe8;
  --text-muted: #a9b0bf;
  --accent: #f4b942;
  --accent-hover: #ffce6b;
  --accent-tint: rgba(244, 185, 66, 0.12);
  --accent-ink: #241a05;
  --good: #4ade80;
  --bad: #f47272;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(8, 10, 18, 0.5), 0 2px 8px rgba(8, 10, 18, 0.35);
  --shadow-md: 0 1px 2px rgba(8, 10, 18, 0.55), 0 10px 28px rgba(8, 10, 18, 0.45);
  --shadow-lg: 0 2px 4px rgba(8, 10, 18, 0.6), 0 22px 48px rgba(8, 10, 18, 0.55);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
:target { scroll-margin-top: 90px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { left: 8px; }

.icon { flex: none; vertical-align: middle; }

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-strong);
}
.btn--secondary:hover { border-color: var(--accent); background: var(--accent-tint); }
.btn--sm { padding: 9px 18px; font-size: 0.92rem; }
.btn--lg { padding: 15px 32px; font-size: 1.06rem; }

/* --------------------------------------------------------------------------
   Header + navegación desplegable (design.md §11)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 20, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); background: rgba(16, 20, 32, 0.98); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.brand__mark { color: var(--accent); display: inline-flex; }
.brand__word em { font-style: normal; color: var(--accent); font-weight: 600; }
.site-nav { margin-inline-start: auto; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav__trigger:hover { background: var(--accent-tint); color: var(--accent); }
.site-nav__trigger[aria-expanded="true"] { color: var(--accent); }
.site-nav__trigger .icon { transition: transform 0.16s ease; }
.site-nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 110;
}
.has-dropdown { position: relative; }
.has-dropdown.is-open .dropdown,
.dropdown:focus-within { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:last-child .dropdown,
.has-dropdown:nth-last-child(-n+2) .dropdown { left: auto; right: 0; }
.dropdown::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 26px;
  width: 10px;
  height: 10px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.has-dropdown:last-child .dropdown::before,
.has-dropdown:nth-last-child(-n+2) .dropdown::before { left: auto; right: 26px; }
.dropdown__list { list-style: none; margin: 0; padding: 0; max-height: 70vh; overflow-y: auto; }
.dropdown__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.92rem;
  transition: background 0.14s ease, color 0.14s ease;
}
.dropdown__link:hover, .dropdown__link:focus-visible { background: var(--accent-tint); color: var(--accent); }
.dropdown__link.is-active { color: var(--accent); background: var(--accent-tint); }
.dropdown__icon { color: var(--accent); display: inline-flex; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.nav-toggle:hover { color: var(--accent); background: var(--accent-tint); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px clamp(16px, 4vw, 40px) 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav__group { border-bottom: 1px solid var(--border); }
.mobile-nav__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  padding: 13px 4px;
  cursor: pointer;
}
.mobile-nav__trigger:hover { color: var(--accent); }
.mobile-nav__list { list-style: none; margin: 0 0 8px; padding: 0; }
.mobile-nav__list a {
  display: block;
  padding: 9px 12px;
  color: var(--text-muted);
  border-radius: 8px;
  font-size: 0.95rem;
}
.mobile-nav__list a:hover { color: var(--accent); background: var(--accent-tint); }
.mobile-nav__cta { margin-top: 14px; }

/* --------------------------------------------------------------------------
   Franja de urgencia (solo /special-offer/)
   -------------------------------------------------------------------------- */
.urgency-strip {
  background: linear-gradient(90deg, rgba(244, 185, 66, 0.22), rgba(244, 185, 66, 0.1));
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text);
}
.urgency-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-block: 9px;
}
.urgency-strip__item { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 600; }
.urgency-strip__item .icon { color: var(--accent); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: clip;
  padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 7vw, 100px);
  background:
    radial-gradient(1100px 520px at 12% -8%, rgba(244, 185, 66, 0.14), transparent 60%),
    radial-gradient(900px 600px at 95% 20%, rgba(74, 114, 228, 0.12), transparent 55%),
    linear-gradient(180deg, #131828 0%, var(--bg) 78%);
}
.hero__skyline {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: auto;
  max-height: 46%;
  object-fit: cover;
  object-position: bottom center;
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid rgba(244, 185, 66, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 14px; }
.hero h1 .accent { color: var(--accent); }
.hero__lead { font-size: 1.08rem; color: var(--text-muted); max-width: 56ch; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  background: rgba(23, 28, 41, 0.8);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.hero__badge:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.hero__badge .icon { color: var(--accent); }
.hero__flags { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.hero__flags-label { font-size: 0.92rem; color: var(--text-muted); }
.flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 14px 6px 7px;
  font-size: 0.88rem;
}
.flag-chip img, .flag-chip svg { width: 26px; height: 18px; border-radius: 3px; display: block; }
.hero__form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.hero__form-note .icon { color: var(--accent); margin-top: 2px; }
.hero__form-heading { font-size: 1.02rem; font-weight: 700; margin: 0 0 6px; color: var(--text); }

/* --------------------------------------------------------------------------
   Formulario (envoltura del formFactory de _beacon)
   -------------------------------------------------------------------------- */
.form-block {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 30px);
}
/* Contraste del selector de país inyectado por el formulario (claro sobre claro) */
.form-block .iti__selected-dial-code { color: #4b5563; }
.form-block input, .form-block .iti__country-list { color-scheme: light; }
/* Enlaces dentro de prosa: subrayado para no depender solo del color */
main p a, main li a, .site-footer__disclaimer a { text-decoration: underline; }
main p a:hover, main li a:hover { text-decoration: none; }
.form-block__intro { margin: 0 0 14px; font-size: 0.95rem; color: var(--text-muted); }
.form-legal { font-size: 0.8rem; color: var(--text-muted); margin: 12px 0 0; }
.form-legal a { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Secciones y fondos decorativos (design.md §13)
   -------------------------------------------------------------------------- */
.section { padding: clamp(44px, 6vw, 78px) 0; position: relative; }
.section--tint {
  background:
    radial-gradient(800px 380px at 85% 0%, rgba(244, 185, 66, 0.07), transparent 60%),
    var(--surface);
  border-block: 1px solid var(--border);
}
.section--mesh {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 0H0v28' fill='none' stroke='%232a3145' stroke-opacity='.5' stroke-width='1'/%3E%3C/svg%3E");
  border-block: 1px solid var(--border);
}
.section--soft {
  background: linear-gradient(180deg, rgba(30, 36, 52, 0.55), rgba(16, 20, 32, 0));
}
.section__header { max-width: 72ch; margin-bottom: clamp(24px, 3vw, 40px); }
.section__header p { color: var(--text-muted); font-size: 1.02rem; }
.section__header--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; }

.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   Tarjetas, iconos-insignia, pasos numerados
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: clamp(18px, 2.5vw, 26px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card > p:last-child { margin-bottom: 0; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent);
  border: 1px solid rgba(244, 185, 66, 0.25);
}

.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--stagger { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--stagger > :nth-child(2) { transform: translateY(16px); }

.steps { counter-reset: paso; display: grid; gap: clamp(14px, 2vw, 20px); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding-top: 8px; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* --------------------------------------------------------------------------
   Tablas
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 560px; }
thead th {
  text-align: left;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 700;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-muted); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(30, 36, 52, 0.35); }
tbody td:first-child { color: var(--text); font-weight: 600; }
.table-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; }
.tick-yes { color: var(--good); }
.tick-no { color: var(--bad); }

/* Comparador: columna destacada de la marca */
.compare th.our-col, .compare td.our-col { background: var(--accent-tint); }
.compare .our-col .tick-yes { font-weight: 700; }

/* --------------------------------------------------------------------------
   Bloque de exchanges (chips, logos.md §3)
   -------------------------------------------------------------------------- */
.exchanges { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.exchange-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 164px;
  height: 60px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
.exchange-chip--dark { background: #0f172a; }
.exchange-chip img { height: 28px; width: auto; max-width: 84%; }

/* --------------------------------------------------------------------------
   Reseñas
   -------------------------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.review { display: flex; flex-direction: column; gap: 10px; }
.review__head { display: flex; align-items: center; gap: 13px; }
.review__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex: none;
}
.review__name { font-weight: 700; margin: 0; }
.review__role { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.review__text { font-size: 0.95rem; color: var(--text-muted); margin: 0; flex: 1; }
.review__stats { display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid var(--border); padding-top: 12px; font-size: 0.85rem; }
.review__stats strong { color: var(--accent); }
.reviews-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 16px; }

/* --------------------------------------------------------------------------
   Bloques de compañía / datos
   -------------------------------------------------------------------------- */
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.company-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.company-facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 0.95rem; }
.company-facts .icon { color: var(--accent); margin-top: 3px; }
.company-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.company-link {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.94rem;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.company-link:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--text); }
.company-link .icon { color: var(--accent); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item__q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  padding: 16px 18px;
  cursor: pointer;
}
.faq-item__q:hover { color: var(--accent); }
.faq-item__q .icon { color: var(--accent); transition: transform 0.16s ease; }
.faq-item.is-open .faq-item__q .icon { transform: rotate(180deg); }
.faq-item__a { padding: 0 18px 16px; color: var(--text-muted); font-size: 0.96rem; }
.faq-item__a[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Mapa (contacto)
   -------------------------------------------------------------------------- */
.map-embed {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: var(--surface-2);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------------------------
   Página genérica: héroe interno, prosa
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: clip;
  padding: clamp(40px, 5vw, 66px) 0;
  background:
    radial-gradient(900px 400px at 8% -10%, rgba(244, 185, 66, 0.1), transparent 60%),
    linear-gradient(180deg, #141928 0%, var(--bg) 85%);
  border-bottom: 1px solid var(--border);
}
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(26px, 4vw, 56px); align-items: center; }
.page-hero__motif { position: absolute; right: -40px; bottom: -30px; opacity: 0.16; color: var(--accent); pointer-events: none; }
.page-hero .lead { font-size: 1.05rem; color: var(--text-muted); }
.prose { max-width: 78ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--text-muted); }
.prose strong { color: var(--text); }
.prose--wide { max-width: none; }

.breadcrumbs { border-bottom: 1px solid var(--border); background: rgba(23, 28, 41, 0.5); }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 10px 0; font-size: 0.83rem; color: var(--text-muted); }
.breadcrumbs__list li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* Artículos */
.article-card .article-meta { font-size: 0.82rem; color: var(--text-muted); }

/* Vacantes */
.vacancy { display: flex; flex-direction: column; gap: 8px; }
.vacancy__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.vacancy__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}

/* Calculadora */
.calc-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(20px, 3.5vw, 40px); }

/* Banner CTA final */
.cta-band {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(244, 185, 66, 0.18), transparent 60%),
    var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 46px);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Oferta especial: cuenta regresiva + modal
   -------------------------------------------------------------------------- */
.countdown { display: inline-flex; gap: 8px; margin: 14px 0; }
.countdown__seg {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  min-width: 64px;
  padding: 10px 8px 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.countdown__num { display: block; font-size: 1.7rem; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1; }
.countdown__lbl { display: block; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 5px; }

.so-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 10, 18, 0.72);
}
.so-modal.is-open { display: flex; }
.so-modal__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 460px;
  width: 100%;
  padding: 30px 28px 26px;
  text-align: center;
}
.so-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: 0;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.so-modal__close:hover { color: var(--accent); background: var(--accent-tint); }
.so-modal__art { color: var(--accent); margin: 0 auto 12px; }
.so-modal__title { font-size: 1.5rem; margin-bottom: 8px; }
.so-modal__text { color: var(--text-muted); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: #0c0f19; padding: clamp(40px, 6vw, 70px) 0 28px; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 24px 60px; align-items: flex-start; justify-content: space-between; margin-bottom: 34px; }
.site-footer__mission { max-width: 46ch; color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.site-footer__col h3 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__col a { color: var(--text-muted); font-size: 0.9rem; }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__disclaimer { padding: 26px 0; border-bottom: 1px solid var(--border); }
.site-footer__disclaimer h3 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.site-footer__disclaimer p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 22px; font-size: 0.8rem; color: var(--text-muted); }
.site-footer__bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Aparición al hacer scroll (design.md §5)
   -------------------------------------------------------------------------- */
.reveal--static { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav { display: flex; }
  .site-header__actions .btn { display: none; }
  .mobile-nav[hidden] { display: none; }
  .hero__grid, .page-hero__grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .grid--stagger > :nth-child(2) { transform: none; }
}

@media (max-width: 640px) {
  .hero { padding-top: 34px; }
  .hero__skyline { max-height: 30%; }
  .exchange-chip { width: 138px; height: 52px; }
  .exchange-chip img { height: 24px; }
  .countdown__seg { min-width: 56px; }
  .countdown__num { font-size: 1.4rem; }
}

/* --------------------------------------------------------------------------
   Movimiento reducido / baja potencia
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .hero__badge, .company-link { transition: none; }
  .dropdown { transition: none; }
  .hero__canvas { display: none; }
}

/* Shared widget sizing and phone field contrast */
.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 58px !important;
}

.iti__selected-country,
.iti__selected-dial-code {
  color: rgb(24, 33, 47) !important;
}

/* Homepage hero photography */
.hero.hero--photo {
  --hero-scrim: 17, 21, 36;
  --hero-overlay: linear-gradient(90deg, rgba(var(--hero-scrim), .98) 0%, rgba(var(--hero-scrim), .87) 27%, rgba(var(--hero-scrim), .70) 43%, rgba(var(--hero-scrim), .12) 58%, transparent 67%, rgba(var(--hero-scrim), .56) 100%);
  background-color: rgb(var(--hero-scrim));
  background-image: var(--hero-overlay), url('../images/hero-mexico-city-panorama.webp');
  background-position: center, 52% center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero--photo .hero__canvas {
  opacity: .28;
}

@media (max-width: 900px) {
  .hero.hero--photo {
    --hero-overlay: linear-gradient(180deg, rgba(var(--hero-scrim), .91) 0%, rgba(var(--hero-scrim), .75) 22%, rgba(var(--hero-scrim), .36) 47%, rgba(var(--hero-scrim), .89) 100%);
    background-position: center, 52% center;
  }
}

/* Registration link in the site navigation */
:is(a.btn, a.site-nav__link).nav-signup {
  min-height: 44px;
  gap: .55rem;
  padding: .46rem .85rem .46rem .58rem;
  border: 1px solid #f1c36c;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffdf8a, #efad35);
  color: #2d210a;
  box-shadow: 0 4px 11px #efad354d, inset 0 1px 0 #ffffff52;
  font-weight: 750;
  line-height: 1.15;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.site-nav__link.nav-signup { display: inline-flex; }
.nav-signup .nav-signup__icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 999px;
  background: #ffffff42;
  color: #664609;
}
:is(a.btn, a.site-nav__link).nav-signup:hover {
  background: linear-gradient(135deg, #ffeabb, #efad35);
  color: #2d210a;
  box-shadow: 0 5px 16px #efad3580, inset 0 1px 0 #ffffff66;
  transform: translateY(-1px);
}
:is(a.btn, a.site-nav__link).nav-signup:active { transform: translateY(0); }
.nav-signup:focus-visible { outline: 2px solid #f1c36c; outline-offset: 3px; }

:is(.header-actions, .site-header__actions) > a.nav-signup { display: inline-flex; }
@media (max-width: 519px) {
  :is(.header-actions, .site-header__actions) > a.nav-signup {
    position: relative;
    min-width: 44px;
    padding-inline: 7px;
  }
  :is(.header-actions, .site-header__actions) > a.nav-signup > span {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Homepage hero */
.hero--photo .hero__grid {
  grid-template-areas: "title form" "details form";
  row-gap: 1.15rem;
  align-items: start;
}
.hero--photo .hero__copy { grid-area: title; }
.hero--photo .hero__copy h1 {
  max-width: 17ch;
  margin-bottom: 0;
  font-size: clamp(1.95rem, 3.95vw, 4rem);
  line-height: 1.06;
  text-wrap: balance;
}
.hero--photo .hero__details { grid-area: details; }
.hero--photo .hero__lead { color: #e4e8f5; }
.hero--photo .hero__form {
  grid-area: form;
  align-self: center;
  justify-self: end;
  width: min(100%, 29rem);
  border: 1px solid #f0c87999;
  border-radius: 25px;
  padding: 1.05rem;
  background: #1a1b31;
  box-shadow: 0 18px 45px #0709169c;
}
.hero--photo .hero__form-heading {
  margin: 0 0 .8rem;
  color: #ffe0a3;
  padding-inline: .35rem;
}
.hero--photo .hero__form .form-block { border: 0; border-radius: 15px; }
.hero--photo .hero__form-note { margin: .8rem .35rem 0; color: #e1dfef; }
.iti__country-name { color: #000 !important; }
@media (max-width: 1023px) {
  .hero--photo .hero__grid { grid-template-areas: "title" "form" "details"; }
  .hero--photo .hero__form { justify-self: center; }
}

.hero--photo .hero-calculator {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  width: fit-content;
  max-width: 100%;
  margin-block: .3rem .9rem;
  padding: .55rem .8rem;
  border: 1px solid #9d824d;
  border-radius: 10px;
  background: #252338;
  color: #ffe0a3;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.hero--photo .hero-calculator svg { flex: none; }
.hero--photo .hero-calculator:hover { text-decoration: underline; text-underline-offset: .2em; }
.hero--photo .hero-calculator:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Responsive review cards */
.reviews { grid-template-columns: minmax(0, 1fr); }
.reviews > * { min-width: 0; margin-inline: 0; }
@media (min-width: 620px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
