/* ============================================================
   TRAVEL & DREAM — Sistema visual (Fase 4, aprobado)
   ============================================================ */

:root {
  --navy: #16385C;
  --navy-deep: #0B2036;
  --navy-soft: #E7EDF3;
  --terracotta: #C1521E;
  --terracotta-soft: #F8E6DA;
  --stamp: #8B342C;
  --stamp-soft: #F3E1DE;
  --sand: #FAF7F2;
  --paper: #FFFFFF;
  --ink: #1C2430;
  --ink-soft: #57626F;
  --ink-faint: #8B95A0;
  --line: #E6DFCF;
  --line-soft: #F0EBDD;
  --wa: #2E9E5B;
  --wa-dark: #24824A;
  --warn: #A9761F;
  --warn-soft: #F5EBD8;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20,20,20,.05), 0 10px 26px rgba(20,20,20,.08);
  --shadow-lg: 0 20px 50px rgba(11,32,54,.25);
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
code, .mono { font-family: "IBM Plex Mono", monospace; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-block;
  margin-bottom: 10px;
}

section.section { padding: 56px 0; }
@media (min-width: 900px) { section.section { padding: 88px 0; } }
.section.bg-alt { background: var(--paper); }
.section-title { font-size: clamp(1.5rem, 4vw, 2.1rem); max-width: 20ch; }
.section-lede { font-size: 1rem; color: var(--ink-soft); max-width: 56ch; margin-top: 14px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: .92rem; padding: 14px 26px; border-radius: 100px;
  border: none; transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(193,82,30,.3); }
.btn-secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-secondary:hover { background: var(--navy-soft); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== NAV ===== */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: var(--container); margin: 0 auto; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: none; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.nav-links a:hover { color: var(--terracotta); }
.nav-links a.active { color: var(--navy); }
.nav-links a.nav-visa { color: var(--stamp); }
.nav-cta { display: none; align-items: center; gap: 14px; }
.nav-hamburger { display: flex; flex-direction: column; gap: 4px; background: none; border: none; padding: 8px; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--ink); display: block; border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; gap: 2px; padding: 8px 20px 20px; border-top: 1px solid var(--line); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 4px; font-weight: 600; font-size: .95rem; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-menu a.nav-visa { color: var(--stamp); }
.mobile-menu .btn { margin-top: 12px; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-hamburger { display: none; }
  .mobile-menu { display: none !important; }
}

/* ===== BREADCRUMB ===== */
.breadcrumb { font-size: .82rem; color: var(--ink-faint); padding: 18px 0 0; }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb .sep { margin: 0 6px; }
.breadcrumb .current { color: var(--ink-soft); font-weight: 600; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 75%);
  color: #fff; padding: 56px 0 60px;
}
.hero.hero-visa { background: linear-gradient(160deg, var(--navy-deep) 0%, var(--stamp) 150%); }
.hero.hero-photo { background-size: cover; background-position: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  color: #fff; padding: 6px 16px; border-radius: 100px; font-size: .78rem; font-weight: 600;
  letter-spacing: .02em; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); max-width: 16ch; color: #fff; }
.hero p.sub { font-size: 1.05rem; color: rgba(255,255,255,.82); max-width: 52ch; margin-top: 18px; line-height: 1.65; }
.hero .btn-row { margin-top: 28px; }

.visa-card {
  margin-top: 30px; max-width: 420px;
  background: rgba(255,255,255,.07); border: 1.5px solid var(--stamp);
  border-radius: var(--radius); padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
}
.visa-card .ico { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--stamp); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex: 0 0 auto; }
.visa-card strong { display: block; font-size: .95rem; }
.visa-card span { font-size: .8rem; color: rgba(255,255,255,.75); }
.visa-card a { display: block; }

.hero-grid { display: grid; gap: 30px; }
@media (min-width: 960px) { .hero-grid.two-col { grid-template-columns: 1.1fr .9fr; align-items: center; } }

/* ===== TRUST STRIP ===== */
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trust-chip {
  font-size: .78rem; font-weight: 600; color: var(--navy); background: var(--navy-soft);
  padding: 7px 14px; border-radius: 100px;
}

/* ===== PILLARS / CARDS ===== */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr; } @media (min-width:640px){ .grid-2{grid-template-columns:1fr 1fr;} }
.grid-3 { grid-template-columns: 1fr; } @media (min-width:640px){ .grid-3{grid-template-columns:1fr 1fr;} } @media (min-width:960px){ .grid-3{grid-template-columns:repeat(3,1fr);} }
.grid-4 { grid-template-columns: 1fr 1fr; } @media (min-width:960px){ .grid-4{grid-template-columns:repeat(4,1fr);} }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.card.subtle { box-shadow: none; background: var(--sand); border-color: var(--line); padding: 18px 20px; }
.card .card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--navy-soft); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 14px; }
.card.stamp .card-icon { background: var(--stamp-soft); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card h4 { font-size: 1rem; margin-bottom: 6px; }
.card p { font-size: .88rem; color: var(--ink-soft); }
.card .card-link { display: inline-block; margin-top: 14px; font-size: .85rem; font-weight: 700; color: var(--terracotta); }

.pillar-strip {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 18px;
}
.pillar-strip p { font-size: .92rem; color: var(--ink-soft); }
.pillar-strip strong { color: var(--ink); }

/* ===== WHY US / STEPS ===== */
.steps-list { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.step-item { display: flex; gap: 16px; align-items: flex-start; }
.step-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); margin-top: 9px; flex: 0 0 auto; }
.step-item h4 { font-size: .98rem; margin-bottom: 4px; }
.step-item p { font-size: .88rem; color: var(--ink-soft); max-width: 52ch; }

/* ===== LEGAL / WARNING CALLOUT ===== */
.legal-note {
  background: var(--stamp-soft); border-left: 4px solid var(--stamp); border-radius: 10px;
  padding: 18px 20px; font-size: .88rem; color: var(--ink); line-height: 1.6;
}
.transparency-note {
  background: var(--warn-soft); border-left: 4px solid var(--warn); border-radius: 10px;
  padding: 18px 20px; font-size: .88rem; color: var(--ink); line-height: 1.6;
}

/* ===== FORMS ===== */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-family: "Public Sans", sans-serif; font-size: .92rem; color: var(--ink); background: var(--paper);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--terracotta); outline-offset: 1px; border-color: var(--terracotta); }
.field-row-2 { display: grid; grid-template-columns: 1fr; gap: 16px; } @media (min-width:640px){ .field-row-2{grid-template-columns:1fr 1fr;} }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: .84rem; font-weight: 600; padding: 9px 16px; border-radius: 100px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-soft);
}
.chip[aria-pressed="true"] { border-color: var(--terracotta); color: var(--terracotta); background: var(--terracotta-soft); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-step { display: none; }
.form-step.active { display: block; }
.form-progress { font-family: "IBM Plex Mono", monospace; font-size: .72rem; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 14px; }

/* ===== PLANS TABLE ===== */
.plans-grid { display: grid; gap: 18px; } @media (min-width:900px){ .plans-grid{grid-template-columns:repeat(3,1fr);} }
.plan-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow); }
.plan-card.popular { border-color: var(--terracotta); position: relative; }
.plan-card .badge-pop { position: absolute; top: -12px; right: 20px; background: var(--terracotta); color: #fff; font-size: .68rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; }
.plan-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.plan-card p { font-size: .88rem; color: var(--ink-soft); }

/* ===== PAY GRID ===== */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (min-width:640px){ .pay-grid{grid-template-columns:repeat(4,1fr);} }
.pay-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: left; }
.pay-card h4 { font-size: .88rem; margin-bottom: 4px; }
.pay-card p { font-size: .78rem; color: var(--ink-soft); }

/* ===== FAQ ===== */
.faq-item { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-item:first-child { border-top: none; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: .96rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--terracotta); font-size: 1.3rem; flex: 0 0 auto; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .a { font-size: .88rem; color: var(--ink-soft); margin-top: 10px; line-height: 1.6; }

/* ===== TESTIMONIAL PLACEHOLDER ===== */
.testimonial-placeholder {
  border: 1.5px dashed var(--line); border-radius: var(--radius-lg); padding: 30px 24px;
  text-align: center; color: var(--ink-faint); font-size: .88rem; font-style: italic;
}

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, var(--terracotta), #9C401A); color: #fff; border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; }
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2rem); }
.cta-banner p { color: rgba(255,255,255,.9); margin-top: 10px; }
.cta-banner .btn-row { justify-content: center; margin-top: 22px; }
.cta-banner .btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }

/* ===== FOOTER ===== */
footer.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.82); padding: 56px 0 26px; margin-top: 40px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-grid h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; font-family: "IBM Plex Mono", monospace; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { font-size: .86rem; color: rgba(255,255,255,.7); }
.footer-grid a:hover { color: #fff; }
.footer-logo img { height: 30px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-grid p { font-size: .84rem; line-height: 1.7; color: rgba(255,255,255,.65); }
.footer-credentials { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: 10px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: rgba(255,255,255,.6); }
.footer-social svg { width: 16px; height: 16px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .76rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ===== WHATSAPP FAB ===== */
.wa-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}
.wa-fab:hover { background: var(--wa-dark); }

/* ===== UTILITIES ===== */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.max-w { max-width: 640px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stamp-text { color: var(--stamp); }
.field-hint { font-size: .74rem; color: var(--ink-faint); }
