/* ==========================================================================
   TU VISA FÁCIL — Sistema de diseño "Pase de abordar"
   Paleta: colores oficiales de la bandera de EE. UU. + grises + dorado
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700;800;900&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  /* Color — paleta "consular premium": tonos de sello y tinta oficial */
  --navy: #0B2545;
  --navy-2: #071830;
  --navy-soft: #33517A;
  --red: #7A1B2E;
  --red-dark: #5E1522;
  --gold: #A9832F;
  --gold-light: #D9BD74;

  /* Grises neutros */
  --paper: #FAFAF8;
  --sky: #F2EFE9;
  --ink: #161E29;
  --muted: #5C6572;
  --line: #E4E1D8;
  --white: #ffffff;

  /* Type */
  --font-display: 'Libre Franklin', sans-serif;
  --font-editorial: 'Fraunces', serif;
  --font-body: 'Public Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Layout */
  --max: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(169, 131, 47, 0.10);
  border: 1px solid rgba(169, 131, 47, 0.38);
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  line-height: 1.12;
}
h1 {
  font-family: var(--font-editorial);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
}
h2 {
  font-family: var(--font-editorial);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.005em;
}
h3 { font-size: 20px; font-weight: 700; }
p { line-height: 1.65; color: var(--ink); }
.lede { font-size: 18px; color: var(--muted); max-width: 54ch; }

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(122,27,46,.55);
}
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost {
  background: transparent;
  border-width: 1.5px;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { background: var(--sky); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251,249,244,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 50%, var(--navy) 100%);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 700; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 10px 20px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: .2s;
}

/* ---------- Boarding pass (elemento firma) ---------- */
.ticket {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 30px 60px -30px rgba(11, 37, 69, 0.45), 0 2px 0 rgba(169, 131, 47, 0.25);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 440px;
  margin: 0 auto;
}
.ticket-main {
  padding: 26px 24px;
  position: relative;
  z-index: 1;
}
.ticket-plane-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
}
.ticket-stub {
  background: var(--navy);
  color: var(--white);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 118px;
  position: relative;
  z-index: 1;
}
.ticket-route {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 10px;
}
.ticket-route .pt {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--navy);
}
.ticket-route .pt span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 2px;
}
.ticket-route .ticket-route-logo { height: 24px; width: auto; flex-shrink: 0; object-fit: contain; margin-left: 10px; }
.ticket-route .dashes {
  flex: 1;
  height: 0;
  border-top: 2px dashed var(--line);
  position: relative;
  top: -1px;
}
.ticket-divider {
  border: none;
  border-top: 2px dashed var(--line);
  margin: 18px 0;
  position: relative;
}
.ticket-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 26px;
}
.ticket-meta div { font-family: var(--font-mono); }
.ticket-meta .k {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.ticket-meta .v { font-size: 14px; font-weight: 600; color: var(--navy); }
.ticket-stub .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.ticket-stub .v {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
}
.ticket-stub .barcode {
  writing-mode: vertical-rl;
  letter-spacing: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: auto;
}

/* notches (perforación del boleto) */
.ticket::before,
.ticket::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  background: var(--paper);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.ticket::before { left: -13px; }
.ticket::after { right: 105px; }

/* variante clara para usarse sobre fondo blanco/sky */
.ticket--on-sky::before,
.ticket--on-sky::after { background: var(--sky); }
.ticket--on-white::before,
.ticket--on-white::after { background: var(--white); }

/* ---------- Sello (badge circular) ---------- */
.stamp {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px dashed var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-8deg);
  flex-shrink: 0;
}
.stamp span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1.3;
}

/* ---------- Sello de tinta decorativo (efecto timbre migratorio) ---------- */
.ink-stamp {
  position: absolute;
  width: 130px;
  height: 130px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
.ink-stamp.tr { top: 18px; right: 4%; transform: rotate(12deg); }
.ink-stamp.bl { bottom: 10px; left: 3%; transform: rotate(-10deg); }

/* ---------- Ilustración de pasaporte ---------- */
.passport-visual {
  position: relative;
  width: 100%;
  max-width: 320px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(10,49,97,0.28));
}
.docs-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 50px;
  align-items: center;
}

/* ---------- Secciones ---------- */
section { padding: 92px 0; }
.section-sky { background: var(--sky); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2 { color: var(--white); }
.section-navy .lede { color: rgba(255,255,255,0.72); }

.section-head {
  max-width: 620px;
  margin-bottom: 60px;
}
.section-head h2 { margin-top: 14px; }
.section-head .lede { margin-top: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 116px;
  position: relative;
  overflow: hidden;
}
.hero--photo {
  background:
    linear-gradient(180deg, rgba(7,31,61,0.86), rgba(10,49,97,0.90)),
    url('../img/fondo-test-probabilidad.jpg');
  background-size: cover;
  background-position: center 30%;
  border-radius: 0 0 28px 28px;
}
.hero--faq {
  background:
    linear-gradient(180deg, rgba(7,31,61,0.86), rgba(10,49,97,0.90)),
    url('../img/fondo-preguntas-frecuentes.jpg');
  background-size: cover;
  background-position: center 25%;
  border-radius: 0 0 28px 28px;
}
.hero--photo .eyebrow,
.hero--faq .eyebrow {
  color: var(--gold-light);
  background: rgba(217, 189, 116, 0.14);
  border-color: rgba(217, 189, 116, 0.4);
}
.hero--photo h1,
.hero--faq h1 { color: var(--white); }
.hero--photo .lede,
.hero--faq .lede { color: rgba(255,255,255,0.85); }
.hero-map {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 640px;
  height: 640px;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-copy .eyebrow { margin-bottom: 4px; }
.hero-copy .lede { margin-top: 20px; font-size: 18.5px; }
.hero-copy h1 { margin-top: 20px; }

.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-grid .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
}
.trust-grid .lbl {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Respaldo institucional ---------- */
.badges-strip {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.badges-strip .lbl {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  flex-wrap: wrap;
}
.badges-row .badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  opacity: .9;
}
.badges-row .badge-item svg { width: 26px; height: 26px; flex-shrink: 0; }
.badges-row .badge-item span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--muted);
}

/* ---------- Cards de servicio ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(11, 37, 69, 0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--media { padding: 0; overflow: hidden; }
.card--media .card-body { padding: 22px 22px 24px; }
.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sky);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,49,97,0) 55%, rgba(10,49,97,0.55) 100%);
}
.card-media .card-icon {
  position: absolute;
  bottom: 12px;
  left: 14px;
  margin-bottom: 0;
  z-index: 2;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(11, 37, 69, 0.35);
  border-color: rgba(169, 131, 47, 0.4);
}
.card-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  border: 1.5px solid var(--gold);
  box-shadow: 0 12px 22px -10px rgba(10,49,97,0.55);
}
.card-icon svg { width: 32px; height: 32px; }
.card .code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: .08em;
}
.card h3 { margin-top: 10px; }
.card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.card ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.card ul li {
  font-size: 13.5px;
  color: var(--ink);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.card ul li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 6px;
  flex-shrink: 0;
}
.card-cta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.card-cta svg { width: 15px; height: 15px; }

/* ---------- Proceso ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 40px;
  right: 40px;
  height: 0;
  border-top: 2px dashed var(--line);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  padding-right: 20px;
}
.process-step .n {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  border: 1.5px solid var(--gold);
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.process-step h3 { margin-top: 16px; font-size: 17px; }
.process-step p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ (ticket stub accordion) ---------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
}
.faq-q .qtxt {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
}
.faq-q .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
}
.faq-q .plus {
  width: 22px; height: 22px;
  flex-shrink: 0;
  position: relative;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--red);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.faq-q .plus::before { width: 14px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 14px; transition: transform .2s ease; }
.faq-item.open .plus::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.faq-a-in {
  padding: 0 22px 22px;
  border-top: 2px dashed var(--line);
  margin-top: -1px;
  padding-top: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.faq-a-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-a-icon svg { width: 22px; height: 22px; }
.faq-a-in p { flex: 1; font-size: 14.5px; color: var(--muted); }

/* ---------- Formulario ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 32px;
}
.field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  outline: none;
  transition: border-color .15s ease, background .15s ease;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ---------- Contacto info ---------- */
.info-list { display: flex; flex-direction: column; gap: 22px; }
.info-item { display: flex; gap: 16px; }
.info-item .ic {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-item .ic svg { width: 20px; height: 20px; color: var(--navy); }
.info-item h4 { font-family: var(--font-body); font-size: 14.5px; color: var(--navy); margin: 0 0 4px; }
.info-item p { font-size: 14px; color: var(--muted); margin: 0; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 28px;
  height: 260px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- CTA banda final ---------- */
.cta-band {
  background: var(--navy);
  background-image: radial-gradient(circle at 85% 30%, rgba(179,25,66,0.28), transparent 55%);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band--flags {
  background:
    linear-gradient(120deg, rgba(10,49,97,0.90), rgba(10,49,97,0.80) 55%, rgba(179,25,66,0.50)),
    url('../img/skyline-nyc.jpg');
  background-size: cover;
  background-position: center 65%;
}
.cta-band--banner {
  background:
    linear-gradient(120deg, rgba(10,49,97,0.90), rgba(10,49,97,0.78) 55%, rgba(10,49,97,0.55)),
    url('../img/banner-libertad.jpg');
  background-size: cover;
  background-position: center 30%;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.72); margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 26px;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 34px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 13.5px; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { font-size: 14px; color: rgba(255,255,255,0.85); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px -8px rgba(37,211,102,0.6);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; }
.stack { display: flex; flex-direction: column; }
.center-text { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .process::before { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .docs-grid { grid-template-columns: 1fr !important; }
  .passport-visual { max-width: 220px; margin-bottom: 20px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  body.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 20px 28px 26px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .ticket { grid-template-columns: 1fr; }
  .ticket::after { right: 50%; top: auto; bottom: 128px; transform: translate(50%, 50%); }
  .ticket-stub { width: auto; flex-direction: row; justify-content: space-between; }
  .ticket-stub .barcode { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 26px; }
  section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   FORMULARIO DIGITAL DE SOLICITUD DE VISA
   ========================================================================== */

.form-shell { max-width: 780px; }

.f-progress-track {
  width: 100%;
  height: 14px;
  background: var(--sky);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.f-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--navy), var(--navy-soft));
  transition: width .35s ease;
  border-radius: 999px;
}
.f-progress-text {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 26px;
}

.f-resume-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #FBF3D9;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 13.5px;
  color: var(--ink);
}
.f-resume-banner button {
  background: none;
  border: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  flex-shrink: 0;
}

.f-step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.f-step-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--line);
}

.f-field { margin-bottom: 20px; }
.f-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.f-help {
  font-size: 12px;
  color: var(--muted);
  margin: -2px 0 8px;
  font-style: italic;
}
.f-field input[type="text"],
.f-field input[type="email"],
.f-field input[type="tel"],
.f-field input[type="number"],
.f-field input[type="date"],
.f-field select,
.f-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  outline: none;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}

.f-static {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 22px 0 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.f-field:first-child .f-static,
.f-static:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.f-options { display: flex; flex-wrap: wrap; gap: 10px; }
.f-option-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
}
.f-option-btn:has(input:checked) {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.f-option-btn input { accent-color: var(--white); }

.f-repeater-item {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
}
.f-repeater-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.f-repeater-remove {
  background: none;
  border: none;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.f-repeater-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.f-add-btn { margin-top: 4px; }

.f-signature-canvas {
  width: 100%;
  max-width: 500px;
  height: 160px;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  background: var(--white);
  touch-action: none;
  cursor: crosshair;
  display: block;
  margin-bottom: 10px;
}

.f-declaration {
  background: var(--sky);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 18px;
}
.f-declaration-text {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 10px;
}
.f-checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.f-checkbox-line input { margin-top: 3px; accent-color: var(--navy); }

.f-review-warning {
  background: #FBEDE3;
  border: 1.5px solid var(--red);
  color: var(--red-dark);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13.5px;
  margin-bottom: 24px;
}
.f-review-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}
.f-review-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--sky);
  padding: 12px 18px;
}
.f-review-block-head h4 {
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--navy);
  margin: 0;
}
.f-edit-btn { padding: 6px 14px; font-size: 12px; }
.f-review-list { padding: 14px 18px; }
.f-review-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.f-review-row:last-child { border-bottom: none; }
.f-review-k { color: var(--muted); flex-shrink: 0; max-width: 55%; }
.f-review-v { color: var(--ink); font-weight: 600; text-align: right; }
.f-review-empty { font-size: 12.5px; color: var(--muted); font-style: italic; }

.f-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

.f-done-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.f-done-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.f-done-actions .btn { width: 100%; }
.f-done-actions .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.f-pdf-status {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  min-height: 18px;
}

@media (max-width: 600px) {
  .f-step-card { padding: 22px 18px; }
  .f-review-row { flex-direction: column; gap: 2px; }
  .f-review-v { text-align: left; }
  .faq-a-icon { width: 36px; height: 36px; border-radius: 10px; }
  .faq-a-icon svg { width: 18px; height: 18px; }
  .contact-card--maps .gmaps-icon-large { width: 56px; height: 56px; }
  .llamanos-persona-img { max-height: 120px; margin: -22px -10px -22px 0; }
}

/* ---------- Marca de agua diagonal (todo el sitio) ---------- */
.site-watermark {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url('../img/watermark-tile.png');
  background-repeat: repeat;
  background-size: 340px 300px;
}

/* ---------- Tarjetas de contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.contact-card {
  text-align: left;
  position: relative;
}
.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
}
.contact-card-icon svg { width: 26px; height: 26px; color: var(--navy); }
.contact-card-icon::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--white);
}
.contact-card h3 { font-size: 17px; }
.contact-card .lines { margin-top: 10px; }
.contact-card .lines p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 4px; }
.contact-card .lines p:last-child { margin-bottom: 0; }
.contact-card .cc-action {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.contact-card .cc-action svg { width: 15px; height: 15px; }
.contact-card--maps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
}
.contact-card--maps .cc-body { flex: 1; min-width: 0; }
.contact-card--maps .gmaps-icon-large {
  width: 84px;
  height: 84px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform .18s ease;
}
.contact-card--maps:hover .gmaps-icon-large { transform: scale(1.06); }
.llamanos-persona-img {
  max-height: 190px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  align-self: flex-end;
  margin: -28px -12px -28px 0;
}
.contact-card .cc-action:hover { color: var(--red); }

.availability-badge {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #EAF7EE;
  font-size: 11.5px;
  font-weight: 700;
  color: #1E7D3A;
  letter-spacing: .02em;
}
.availability-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #1E7D3A;
  flex-shrink: 0;
}

.find-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.find-us-grid .map-frame { margin-top: 0; height: 340px; }
.find-us-address {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.7;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .find-us-grid { grid-template-columns: 1fr; }
  .find-us-grid .map-frame { height: 280px; }
}

/* ==========================================================================
   COMUNIDAD — Preguntas y respuestas
   ========================================================================== */

.qa-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }

.qa-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.qa-item-head { display: flex; align-items: center; gap: 12px; }

.qa-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  flex-shrink: 0;
}

.qa-meta { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.qa-nombre { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.qa-fecha { font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); }

.qa-badge {
  font-size: 11.5px; font-weight: 700; letter-spacing: .03em;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.qa-badge--pendiente { background: rgba(200,155,60,0.15); color: var(--gold); }
.qa-badge--respondida { background: rgba(10,49,97,0.1); color: var(--navy); }

.qa-question { margin-top: 14px; font-size: 15px; color: var(--ink); line-height: 1.55; }

.qa-answer {
  margin-top: 16px; padding: 14px 16px;
  background: var(--sky); border-left: 3px solid var(--red);
  border-radius: 0 10px 10px 0;
}
.qa-answer-label {
  display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--red); margin-bottom: 6px;
}
.qa-answer p { font-size: 14.5px; color: var(--ink); line-height: 1.55; margin: 0; }

/* ---------------- Panel de administración ---------------- */

.admin-toolbar { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

.admin-filter-btn {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--muted); cursor: pointer;
  transition: all .15s ease;
}
.admin-filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.admin-filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.admin-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.admin-phone-btn {
  margin-top: 14px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 8px;
  border: 1px dashed var(--gold); background: rgba(200,155,60,0.08);
  color: var(--navy); cursor: pointer;
}
.admin-phone-btn:hover { background: rgba(200,155,60,0.16); }
.admin-phone-btn:disabled { cursor: default; opacity: .85; }

.admin-answer-box { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.admin-answer-box label {
  display: block; font-size: 12.5px; font-weight: 700; color: var(--navy);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: .03em;
}
.admin-answer-box textarea {
  width: 100%; font-family: var(--font-body); font-size: 14.5px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  resize: vertical; color: var(--ink);
}
.admin-answer-box textarea:focus { outline: none; border-color: var(--navy); }

.admin-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.admin-actions .btn { padding: 9px 18px; font-size: 13.5px; }

/* ---------------- Contador de visitas (panel admin) ---------------- */

.admin-stats-toggle {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  padding: 10px 18px; border-radius: 10px; border: 1px dashed var(--line);
  background: var(--white); color: var(--muted); cursor: pointer;
  transition: all .15s ease;
}
.admin-stats-toggle:hover { border-color: var(--navy); color: var(--navy); }

.admin-stats-box {
  margin-top: 14px; padding: 20px 24px;
  background: var(--navy); border-radius: var(--radius);
  display: inline-flex; flex-direction: column; gap: 4px;
}
.admin-stats-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: rgba(255,255,255,0.65); margin: 0;
}
.admin-stats-number {
  font-family: var(--font-display); font-size: 34px; font-weight: 700;
  color: var(--white); margin: 0;
}

/* ---------------- Testimonios (reseñas de Google) ---------------- */

.rating-badge {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  margin-top: 28px; margin-bottom: 8px; flex-wrap: wrap;
}
.rating-stars { color: var(--gold); font-size: 20px; letter-spacing: 2px; }
.rating-text { font-size: 14.5px; color: var(--muted); }
.rating-text strong { color: var(--navy); font-size: 16px; }

.testimonios-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 32px;
}

.testimonio-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 1px 2px rgba(11, 37, 69, 0.04);
  transition: box-shadow .2s ease, transform .2s ease;
}
.testimonio-card:hover {
  box-shadow: 0 20px 40px -26px rgba(11, 37, 69, 0.3);
  transform: translateY(-2px);
}
.testimonio-card .rating-stars { font-size: 15px; letter-spacing: 1.5px; }
.testimonio-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink); margin: 0; }
.testimonio-fuente {
  font-size: 12px; color: var(--muted); font-family: var(--font-mono);
  margin-top: auto; padding-top: 4px;
}

@media (max-width: 860px) {
  .testimonios-grid { grid-template-columns: 1fr; }
}
