/* Visa Horizontes — sitio oficial (estático, portable) */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/PlusJakartaSans-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/PlusJakartaSans-Italic-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Italic-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Paleta corporativa muestreada del logo activo
     (propuesta-lema-legible.png, SHA 62357cd6d1a828631c8f1baec6f3e74b3918a9165308f4b4de173c4ed76a266b).
     Rojo #F40403 (letras VH), azul real #004AAD (globo), azul claro #C3DAFA,
     navy #1B3A6B (lema/anillo), navy profundo #060515 (borde), blanco #FFFFFF.
     Vino #5F1C4E solo para botones principales. Verde solo para WhatsApp. */
  --navy: #1B3A6B;
  --navy-deep: #060515;
  --royal: #004AAD;
  --light: #C3DAFA;
  --red: #F40403;
  --wa: #16A34A;
  --wa-hover: #128C7E;
  --wine: #5F1C4E;
  --wine-hover: #4A163C;
  --white: #FFFFFF;
  --ice: #EEF4FC;
  --line: #D5E3F5;
  --text: #1E293B;
  --muted: #475569;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(27, 58, 107, 0.08);
  --max: 1120px;
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 2px; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
}
.skip:focus { left: 8px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.site-header .inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}
.brand img { width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 750;
  font-size: 16px;
}
.brand-name span { font-size: 11.5px; color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 550;
  font-size: 15px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--royal); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; right: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 650;
  font-size: 15.5px;
  line-height: 1.2;
  padding: 13px 22px;
  border-radius: 999px;
  min-height: 48px;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-wa { background: var(--wa); color: #fff !important; }
.btn-wa:hover { background: var(--wa-hover); color: #fff !important; }
.btn-sec { background: var(--wine); color: #fff !important; }
.btn-sec:hover { background: var(--wine-hover); color: #fff !important; }
.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--ice); }
.btn-lg { padding: 16px 26px; font-size: 17px; min-height: 54px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Hero */
.hero {
  position: relative;
  min-height: min(620px, calc(100svh - var(--header)));
  display: flex;
  align-items: center;
  background: var(--navy-deep) center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
body.tema-tailandia .hero-bg,
body.tema-egipto .hero-bg,
body.tema-costarica .hero-bg { object-position: center 80%; }
body.tema-australia .hero-bg { object-position: center 70%; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(6,5,21,0.90) 0%, rgba(27,58,107,0.62) 48%, rgba(0,74,173,0.28) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding: 56px 0; }
.eyebrow {
  display: inline-block;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.hero h1, .hero-page h1 {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4.1vw, 52px);
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 18ch;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero .lead, .hero .micro, .hero-page .lead { color: #F1F5F9; }
.hero .lead {
  font-size: 18.5px;
  line-height: 1.55;
  max-width: 42ch;
  margin: 0 0 16px;
  color: #F1F5F9;
}
.micro {
  margin: 0 0 26px;
  color: #D9E4F0;
  font-size: 15.5px;
  max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page hero compact */
.hero-page { min-height: min(520px, calc(100svh - var(--header))); align-items: flex-end; }
.hero-page .wrap { padding: 44px 0 40px; }
.hero-page h1 { max-width: 20ch; font-size: clamp(26px, 3.4vw, 42px); }
.hero-kicker {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tema, var(--red));
  margin: 0 0 14px;
}
.aviso-agencia {
  margin: 18px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  max-width: 48ch;
  color: #F1F5F9;
  border-left: 3px solid var(--tema, var(--red));
  padding: 6px 0 6px 12px;
}

/* Sections */
section { padding: 80px 0; }
.band { background: var(--ice); }
.sec-kicker {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--royal);
  margin: 0 0 8px;
}
h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
h2 { font-weight: 750; font-size: clamp(26px, 3vw, 36px); margin: 0 0 10px; }
h3 { font-weight: 700; font-size: 1.15rem; margin: 0 0 8px; }
.accent {
  width: 48px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 0 0 18px;
}
.sec-intro { color: var(--muted); max-width: 54ch; margin: 0 0 32px; }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
a.card:hover { box-shadow: 0 14px 32px rgba(27, 58, 107, 0.12); color: inherit; }
.card-photo { aspect-ratio: 4/3; background: var(--ice); overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 1.15rem; }
.card-body p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.card-link { margin-top: 8px; font-weight: 650; font-size: 14.5px; color: var(--royal); }
.badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--light);
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
}
.card.info { background: var(--ice); grid-column: 1 / -1; flex-direction: row; }
.card.info .card-photo { width: min(400px, 38%); flex-shrink: 0; aspect-ratio: 16/10; min-height: 200px; }
.card.info .card-body { padding: 24px 28px; justify-content: center; }
.marca-revision {
  display: inline-block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--wine);
  background: #F8EEF4;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Pain / empathy */
.dolor { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dolor article {
  background: var(--white);
  border-top: 3px solid var(--red);
  border-radius: 12px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}
.dolor h3 { font-size: 1.05rem; }
.dolor p { margin: 0; color: var(--muted); font-size: 15px; }

/* Steps */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pasos-3 { grid-template-columns: repeat(3, 1fr); }
.paso {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
}
.paso-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 750;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.paso p { margin: 0; color: var(--muted); font-size: 15px; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.split-photo {
  border-radius: 20px; overflow: hidden; min-height: 320px;
  background: var(--ice) center/cover no-repeat; box-shadow: var(--shadow);
}
.split ul { margin: 12px 0 20px; padding-left: 1.15em; }
.split li { margin: 8px 0; }

/* Advisor placeholder */
.asesor { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: center; }
.foto-pendiente {
  width: 260px; height: 300px; border-radius: 20px;
  border: 2px dashed var(--royal); background: var(--light);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px; color: var(--navy); gap: 10px;
}
.foto-pendiente strong { font-size: 15.5px; line-height: 1.3; }
.foto-pendiente span { font-size: 13.5px; color: var(--muted); }

/* Trust / security */
.trust { background: var(--navy); color: #fff; padding: 28px 0; }
.trust .wrap { display: flex; align-items: center; gap: 16px; }
.trust p { margin: 0; font-size: 17.5px; font-weight: 600; line-height: 1.4; }

/* FAQ */
.faqs { display: grid; gap: 12px; }
.faq {
  background: var(--ice);
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
}
.faq h3 { font-size: 1.05rem; margin: 0 0 6px; }
.faq p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Tables / guides */
.prose { max-width: 72ch; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin: 0.35em 0; }
.tabla {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.4em;
  font-size: 15.5px;
}
.tabla th, .tabla td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.tabla th { background: var(--navy); color: #fff; font-weight: 650; }
.tabla tr:nth-child(even) td { background: var(--ice); }
.aviso-oficial {
  background: var(--ice);
  border-left: 4px solid var(--royal);
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
  margin: 1em 0;
}
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.crumbs a { color: var(--royal); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #D7E1EF; padding: 48px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.site-footer h3 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.site-footer a { color: #D7E1EF; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  padding-right: 190px;
  font-size: 13.5px;
  color: #9AACC4;
}
.legal p { margin: 0 0 8px; }

.wa-flotante {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #fff !important;
  text-decoration: none;
  font-weight: 650;
  font-size: 15px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
  min-height: 52px;
}
.wa-flotante:hover { background: var(--wa-hover); color: #fff !important; }
.wa-flotante svg { width: 22px; height: 22px; }

.page-simple { padding: 48px 0 80px; }
.banner-revision {
  font-size: 14.5px;
  color: var(--muted);
  background: var(--ice);
  border-left: 3px solid var(--tema, var(--royal));
  padding: 12px 16px;
  margin: 0 0 28px;
  border-radius: 0 10px 10px 0;
}

@media (max-width: 1024px) {
  .grid-4, .dolor, .pasos { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split, .asesor, .footer-grid { grid-template-columns: 1fr; }
  .card.info { flex-direction: column; }
  .card.info .card-photo { width: 100%; min-height: 0; }
  .legal { padding-right: 0; }
  .site-footer { padding-bottom: 88px; }
}
@media (max-width: 800px) {
  :root { --header: 64px; }
  .brand img { width: 54px; height: 54px; }
  .brand-name span { display: none; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 18px;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; width: 100%; }
  .hero, .hero-page {
    min-height: calc(100svh - var(--header));
    max-height: calc(100svh - var(--header));
    align-items: flex-end;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(6,5,21,0.28) 0%, rgba(6,5,21,0.88) 100%);
  }
  .hero .wrap, .hero-page .wrap { padding: 20px 0 28px; }
  .hero h1, .hero-page h1 { max-width: 16ch; font-size: clamp(24px, 7.2vw, 30px); margin-bottom: 10px; }
  .hero .lead, .hero-page .lead { font-size: 15.5px; margin-bottom: 12px; }
  .hero .micro { display: none; }
  .hero-actions { gap: 8px; }
  .btn-lg { padding: 13px 20px; font-size: 15.5px; min-height: 48px; }
  .aviso-agencia { margin-top: 12px; font-size: 12.5px; }
  section { padding: 56px 0; }
  .grid-3, .grid-4, .grid-2, .dolor, .pasos { grid-template-columns: 1fr 1fr; gap: 14px; }
  .foto-pendiente { width: 100%; max-width: 260px; height: 260px; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .wa-flotante span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-flotante { width: 56px; height: 56px; min-height: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .tabla { font-size: 14px; display: block; overflow-x: auto; }
}
@media (max-width: 420px) {
  .grid-3, .grid-4, .dolor, .pasos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero h1, .hero-page h1 { font-size: 26px; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: 1.02rem; }
}

/* —— Impacto comercial: confianza y cierre por sección —— */
.trust-bar {
  background: var(--navy);
  color: #fff;
  padding: 18px 0;
}
.trust-bar .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; }
.trust-item strong { display: block; font-size: 14.5px; font-weight: 650; line-height: 1.35; }
.trust-item span { display: block; font-size: 13px; color: #C5D4E6; line-height: 1.4; }

.cierre-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
  padding: 18px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
}
.cierre-cta p { margin: 0; font-size: 16.5px; font-weight: 600; max-width: 46ch; line-height: 1.4; }
.cierre-cta .btn { flex-shrink: 0; }

.diferenciales { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.diff {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  border-left: 3px solid var(--red);
}
.diff p { margin: 0; color: var(--muted); font-size: 15.5px; }

.canales-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.canal {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.canal.oficial { border-top: 3px solid var(--red); }

.toc {
  background: var(--ice);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 28px;
}
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }

.lead-page { font-size: 1.15rem; color: var(--muted); max-width: 58ch; margin: 0 0 1.2em; }

@media (max-width: 1024px) {
  .trust-bar .wrap, .diferenciales, .canales-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .trust-bar .wrap, .diferenciales, .canales-grid { grid-template-columns: 1fr; }
  .cierre-cta { flex-direction: column; align-items: flex-start; }
  .cierre-cta .btn { width: 100%; }
}


/* —— Ronda 3: temas de país (20%) y avisos —— */
.tema { --tema: var(--royal); }
.tema-eeuu { --tema: #8B4A32; }
.tema-japon { --tema: #7A4E6A; }
.tema-china { --tema: #2F6F7A; }
.tema-tailandia { --tema: #B85C38; }
.tema-australia { --tema: #A35A2E; }
.tema-reino-unido { --tema: #4A5E7A; }
.tema-costa-rica { --tema: #2E6B5C; }
.tema-egipto { --tema: #A68445; }
.tema-canada { --tema: #3A6B7C; }

.tema .accent { background: var(--tema); }
.tema .sec-kicker { color: var(--tema); }
.tema .hero-kicker { color: #F8E9EA; }
.tema .aviso-agencia { border-left-color: var(--tema); }
.tema .hero-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.11;
  background-image: radial-gradient(var(--tema) 0.9px, transparent 1px);
  background-size: 24px 24px;
}
.tema-japon .hero-page::after {
  background-image: radial-gradient(circle at 35% 30%, #E8C4D0 1.15px, transparent 1.3px);
  background-size: 30px 34px;
  opacity: 0.16;
}
.tema-tailandia .hero-page::after,
.tema-australia .hero-page::after,
.tema-egipto .hero-page::after {
  background-image: repeating-linear-gradient(-8deg, transparent, transparent 20px, var(--tema) 20px, var(--tema) 21px);
  opacity: 0.08;
}
.tema-china .hero-page::after,
.tema-costa-rica .hero-page::after,
.tema-canada .hero-page::after {
  background-image: radial-gradient(circle, var(--tema) 0.8px, transparent 1px);
  background-size: 18px 22px;
  opacity: 0.12;
}
.tema .lista-proceso { list-style: none; padding: 0; margin: 0 0 1.4em; }
.tema .lista-proceso li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.tema .lista-proceso li:last-child { border-bottom: 0; }


.anti-estafa ul { margin: 0 0 1em; padding-left: 1.15em; }
.anti-estafa li { margin: 0.55em 0; }
.espacio-resenas {
  margin: 36px 0 0;
  padding: 22px 24px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.espacio-resenas h3 { margin: 0 0 8px; }
.espacio-resenas p:last-child { margin: 0; color: var(--muted); }
#equipo-y-metodo .sec-intro { max-width: 58ch; }
