/* ============================================================
   PEQUE TRAVEL — ESTILOS
   Paleta: #FF66C4 (rosa) · #FFBD59 (sol) · #B4B4B4 (nube)
           #000000 (tinta) · #FFFFFF (blanco)
   ============================================================ */

:root {
  --pink: #FF66C4;
  --pink-soft: #FFE3F4;
  --sun: #FFBD59;
  --sun-soft: #FFF3DE;
  --cloud: #B4B4B4;
  --cloud-soft: #F1F1F1;
  --ink: #0C0C0C;
  --white: #FFFFFF;
  --page-bg: #FFFFFF;
  --page-alt: #F1F1F1;
  --card-bg: #FFFFFF;
  --text: #0C0C0C;
  --muted: #3a3a3a;

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius: 22px;
  --container: 1120px;
}

body.dark {
  --page-bg: #0d1117;
  --page-alt: #131b23;
  --card-bg: #181f29;
  --text: #F3F7FB;
  --muted: #D4DDE8;
  --ink: #F3F7FB;
  --white: #FFFFFF;
  --surface-dark: #10151c;
  --surface-darker: #0b0d12;
  --cloud: #8ea0b5;
  --cloud-soft: #1f2a35;
  --pink-soft: #2b1b31;
  --sun-soft: #302713;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.2s ease, color 0.2s ease;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

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

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  line-height: 1.05;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  color: var(--pink);
  font-weight: 700;
}

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

/* ---------- Botón WhatsApp (elemento repetido) ---------- */
.btn-wpp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}
.btn-wpp:hover { background: var(--pink); transform: translateY(-2px); }
.btn-wpp svg { width: 20px; height: 20px; flex-shrink: 0; }

body.dark .btn-wpp {
  background: var(--white);
  color: var(--ink);
  border: 2px solid rgba(255,255,255,0.12);
}
body.dark #wpp-top,
body.dark #wpp-cta {
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255,255,255,0.12);
}
body.dark #wpp-top:hover,
body.dark #wpp-cta:hover {
  background: var(--pink);
  color: #111111;
}
body.dark .cta-final .btn-wpp {
  background: var(--white);
  color: var(--ink);
}
body.dark .cta-final .btn-wpp:hover {
  background: var(--white);
  color: var(--ink);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}

body.dark .topbar {
  background: rgba(13, 17, 23, 0.9);
  border-bottom-color: var(--ink);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  appearance: none;
  border: 2px solid var(--ink);
  background: var(--page-bg);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

body.dark .theme-toggle {
  background: var(--page-alt);
  color: var(--text);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.topbar-brand img { height: 40px; width: auto; }
.topbar-brand span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}
.topbar .btn-wpp { font-size: 14px; padding: 10px 18px; }
.topbar .btn-wpp .btn-label-full { display: inline; }
.topbar .btn-wpp .btn-label-short { display: none; }
@media (max-width: 480px) {
  .topbar .btn-wpp .btn-label-full { display: none; }
  .topbar .btn-wpp .btn-label-short { display: inline; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at 12% 18%, var(--sun-soft) 0%, transparent 42%),
    radial-gradient(circle at 88% 12%, var(--pink-soft) 0%, transparent 46%),
    var(--page-bg);
  overflow: hidden;
}

body.dark .hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 189, 89, 0.18) 0%, transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(255, 102, 196, 0.18) 0%, transparent 46%),
    var(--page-bg);
}

.hero-route-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

.hero-logo {
  width: 118px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--pink); }

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
  margin: 20px 0 30px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-ig {
  font-family: var(--font-mono);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}
.hero-ig:hover { border-color: var(--pink); color: var(--pink); }

/* ---- Boarding pass hero card (signature element preview) ---- */
.hero-ticket {
  position: relative;
  background: var(--card-bg);
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  padding: 26px 26px 22px;
  transform: rotate(2.5deg);
  box-shadow: 10px 12px 0 var(--sun);
  margin-left: 18px;
}

body.dark .hero-ticket {
  box-shadow: 10px 12px 0 rgba(255, 189, 89, 0.7);
}
.hero-ticket::before,
.hero-ticket::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.hero-ticket::before { left: -14px; }
.hero-ticket::after { right: -14px; }

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cloud);
  margin-bottom: 6px;
}
.ticket-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 14px;
}
.ticket-route .code {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
}
.ticket-plane {
  color: var(--pink);
  font-size: 22px;
}
.ticket-dashed {
  border-top: 2px dashed var(--cloud);
  margin: 14px 0;
}
.ticket-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
}
.ticket-meta div span {
  display: block;
  color: var(--cloud);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.ticket-barcode {
  margin-top: 16px;
  height: 34px;
  background: repeating-linear-gradient(
    90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 10px
  );
  border-radius: 3px;
}

/* ---- Counter strip ---- */
.counter-strip {
  background: var(--ink);
  color: var(--white);
  padding: 26px 0;
}
.counter-strip .wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}
.counter-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 64px);
  color: var(--sun);
  font-weight: 600;
}
.counter-label {
  font-size: 16px;
  max-width: 32ch;
}
.counter-updated {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cloud);
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section { padding: 84px 0; }
.section-alt { background: var(--page-alt); }
.section-head {
  max-width: 60ch;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-top: 10px;
}
.section-head p {
  font-size: 16.5px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.55;
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--card-bg);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 8px 0 var(--pink);
}
.service-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sun-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.service-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.service-card.highlight {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.service-card.highlight p { color: #d8d8d8; }
.service-card.highlight .icon { background: var(--pink); }

body.dark .service-card.highlight {
  background: #10151c;
  color: #f3f7fb;
  border-color: rgba(255,255,255,0.14);
}
body.dark .service-card.highlight p {
  color: #d8d8d8;
}

/* ============================================================
   CERTIFICACIONES
   ============================================================ */
.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 900px) { .certs-grid { grid-template-columns: 1fr; } }

.cert-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
}
.cert-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top;
  border-bottom: 2px solid var(--ink);
}
.cert-card .cert-label {
  padding: 16px 18px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}
.cert-card .cert-label small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--cloud);
  font-size: 11.5px;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.iata-badge {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--sun);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 210px;
  text-align: center;
}
.iata-badge .iata-mark {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.iata-badge p {
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.4;
}

/* ============================================================
   DESTINOS — Boarding passes
   ============================================================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.filter-btn {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  color: var(--ink);
}
.filter-btn:hover { background: var(--pink-soft); }
.filter-btn.active { background: var(--ink); color: var(--white); }

body.dark .filter-btn {
  background: #202b36;
  border-color: #8ea0b5;
  color: #f3f7fb;
}
body.dark .filter-btn:hover {
  background: #2d3a48;
}
body.dark .filter-btn.active {
  background: var(--pink);
  color: #171717;
  border-color: var(--pink);
}

.destinos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 42px 32px;
}

.pass-card {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--card-bg);
  padding: 16px 18px 14px;
}
.pass-card::before,
.pass-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--cloud-soft);
  border: 2px solid var(--ink);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.pass-card::before { left: -10px; }
.pass-card::after { right: -10px; }
.section-alt .pass-card::before,
.section-alt .pass-card::after { background: var(--cloud-soft); }

.pass-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
}
.pass-row1 .eze { font-size: 13px; color: var(--cloud); }
.pass-row1 .arrow { color: var(--pink); font-size: 15px; }
.pass-row1 .code {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}
.pass-country {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  margin-top: 8px;
}
.pass-dashed { border-top: 1.5px dashed var(--cloud); margin: 10px 0 8px; }
.pass-cities {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--pink);
  padding: 74px 0;
  text-align: center;
}

body.dark .cta-final {
  background: linear-gradient(180deg, #d75cb8 0%, #ba5daa 100%);
}
.cta-final h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ink);
  max-width: 22ch;
  margin: 0 auto 14px;
}
.cta-final p {
  font-size: 16px;
  max-width: 42ch;
  margin: 0 auto 28px;
  color: #1c1c1c;
}
.cta-final .btn-wpp { background: var(--ink); }
.cta-final .btn-wpp:hover { background: var(--white); color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: var(--white);
  padding: 40px 0 26px;
}

body.dark footer {
  background: var(--surface-darker);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
footer .foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
footer .foot-brand img { height: 30px; }
footer .foot-brand span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
}
footer .foot-links {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
}
footer .foot-links a { text-decoration: none; }
footer .foot-links a:hover { color: var(--sun); }
.foot-fine {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cloud);
  margin-top: 22px;
  text-align: center;
}

/* ---- Floating WhatsApp button (mobile-friendly persistent hook) ---- */
.float-wpp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 60;
  background: var(--pink);
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 5px 0 var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease;
}

body.dark .float-wpp {
  box-shadow: 4px 5px 0 rgba(255,255,255,0.18);
}
.float-wpp:hover { transform: scale(1.06); }
.float-wpp svg { width: 27px; height: 27px; }

/* ---- Fade-in on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }