/* ==========================================================
   Viajes GJ — Landing provisional
   Sistema de diseño: Maritime Precision & Sunlit Horizons
   Tipografía: Plus Jakarta Sans
   ========================================================== */

:root {
  --navy: #002a78;
  --navy-dark: #001d54;
  --gold: #fcbc2c;
  --gold-hover: #eaa616;
  --ocean: #1b65d4;
  --canvas: #f8fafd;
  --card: #ffffff;
  --border: #e2e8f0;
  --ink: #0f172a;
  --muted: #475569;
  --ocean-tint: #ebf3fc;

  --shadow-1: 0 1px 3px 0 rgba(0, 42, 120, 0.04), 0 1px 2px -1px rgba(0, 42, 120, 0.03);
  --shadow-2: 0 10px 25px -5px rgba(0, 42, 120, 0.08), 0 8px 10px -6px rgba(0, 42, 120, 0.04);
  --shadow-3: 0 20px 35px -10px rgba(0, 42, 120, 0.16), 0 1px 3px 0 rgba(0, 42, 120, 0.08);

  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;

  --gutter: 1rem;
  --max: 1280px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--ocean); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid rgba(27, 101, 212, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
  z-index: 200;
}
.skip-link:focus { left: 0.5rem; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 9999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-hover); box-shadow: var(--shadow-2); }

.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-dark); }

.btn-outline { background: transparent; border-color: var(--ocean); color: var(--ocean); }
.btn-outline:hover { background: #f0f6fe; }

.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  padding: 0.75rem var(--gutter) 1.25rem;
}
.main-nav.is-open { display: block; }
.main-nav > ul { display: flex; flex-direction: column; gap: 0.15rem; }
.main-nav a.nav-link {
  display: block;
  padding: 0.75rem 0.5rem;
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--r-sm);
}
.main-nav a.nav-link:hover { background: var(--ocean-tint); color: var(--ocean); text-decoration: none; }
.main-nav .btn { width: 100%; margin-top: 0.75rem; }

.has-sub > .nav-link { cursor: default; }
.submenu { padding-left: 1rem; }
.submenu a { display: block; padding: 0.5rem; font-size: 14px; color: var(--muted); font-weight: 500; }
.submenu a:hover { color: var(--ocean); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 18%, rgba(252, 188, 44, 0.32) 0, rgba(252, 188, 44, 0) 38%),
    radial-gradient(circle at 10% 100%, rgba(27, 101, 212, 0.55) 0, rgba(27, 101, 212, 0) 55%),
    linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, #0b3a8c 100%);
  /* Para usar una fotografía de fondo, descomenta y ajusta la ruta:
  background-image:
    linear-gradient(160deg, rgba(0, 29, 84, 0.88), rgba(0, 42, 120, 0.7)),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  */
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 3.5rem 7.5rem;
  display: grid;
  gap: 2rem;
}
.hero-sun {
  position: absolute;
  right: -90px;
  top: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 14px solid rgba(252, 188, 44, 0.9);
  background: rgba(244, 217, 18, 0.22);
  box-shadow: 0 0 0 26px rgba(252, 188, 44, 0.12);
}
.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  margin-top: 1rem;
  font-size: 36px;
  line-height: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead {
  margin-top: 1rem;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.65;
  color: #dbe4ff;
}
.hero-actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 60px; }

/* ---------- Widget ---------- */
.widget-section { position: relative; z-index: 2; margin-top: -5rem; }
.widget-card {
  background: var(--card);
  border: 1px solid #ebf1fa;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  padding: 1.25rem 1rem 1.5rem;
}
.widget-card h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.widget-card .widget-sub { margin-top: 0.25rem; color: var(--muted); font-size: 14px; }
.widget-slot { margin-top: 1rem; min-height: 120px; }
.widget-slot iframe, .widget-slot > * { max-width: 100%; }
/* Elimina este bloque (y la clase) cuando pegues el código del widget */
.widget-placeholder {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  border: 2px dashed #cbd5e1;
  border-radius: var(--r-md);
  background: var(--canvas);
}

/* ---------- Secciones ---------- */
.section { padding-block: 4rem; }
.section-head { max-width: 62ch; margin-bottom: 2rem; }
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean);
}
.section h2 {
  margin-top: 0.4rem;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.section-head p { margin-top: 0.75rem; color: var(--muted); font-size: 16px; }

/* ---------- Quiénes somos ---------- */
.about-grid { display: grid; gap: 2rem; align-items: center; }
.about-copy h2 + p { margin-top: 1rem; }
.about-copy p { color: var(--muted); font-size: 16px; }
.about-copy p + p { margin-top: 1rem; }
.checks { margin-top: 1.25rem; display: grid; gap: 0.6rem; }
.checks li { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--navy); }

.stats { display: grid; gap: 1rem; }
.stat {
  background: var(--card);
  border: 1px solid #ebf1fa;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: 1.25rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.stat .num {
  flex: none;
  min-width: 84px;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.stat .num span { color: var(--gold-hover); }
.stat .icon-badge {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
}
.stat .icon-badge svg { width: 28px; height: 28px; }
.stat strong { display: block; color: var(--navy); font-size: 16px; line-height: 1.3; }
.stat p { margin-top: 0.15rem; font-size: 13px; line-height: 20px; color: var(--muted); }

/* ---------- Servicios ---------- */
.services { background: #fff; border-block: 1px solid var(--border); }
.cards { display: grid; gap: 1.25rem; }
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid #ebf1fa;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.service-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}
.service-visual svg.big { width: 76px; height: 76px; position: relative; z-index: 1; }
.service-visual::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 10px solid rgba(252, 188, 44, 0.85);
  background: rgba(244, 217, 18, 0.2);
}
.visual-flights { background: linear-gradient(135deg, #00174b, #1b65d4); }
.visual-hotels { background: linear-gradient(135deg, #002a78, #3e5aa9); }
.visual-packages { background: linear-gradient(135deg, #0b3a8c, #1b7ed6); }
/* Para usar una foto en la tarjeta:
   .visual-flights { background: linear-gradient(rgba(0,42,120,.55), rgba(0,42,120,.55)), url("../img/vuelos.jpg") center/cover; } */
.badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 2;
  padding: 0.25rem 0.7rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.service-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.service-body h3 { font-size: 18px; line-height: 24px; font-weight: 600; color: var(--navy); }
.service-body p { margin-top: 0.5rem; color: var(--muted); font-size: 14px; line-height: 22px; }
.service-body .btn { margin-top: 1.1rem; align-self: flex-start; }

/* ---------- Banda CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), #0b3a8c);
  color: #fff;
  padding-block: 2.75rem;
}
.cta-inner { display: grid; gap: 1.25rem; align-items: center; }
.cta-band h2 { color: #fff; font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.015em; }
.cta-band p { margin-top: 0.4rem; color: #dbe4ff; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 1.5rem; }
.contact-card {
  background: var(--card);
  border: 1px solid #ebf1fa;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: 1.5rem;
}
.contact-list { display: grid; gap: 1.25rem; }
.contact-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-item .ico {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ocean-tint);
  color: var(--ocean);
}
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-item p, .contact-item a { font-size: 16px; font-weight: 600; color: var(--ink); }
.contact-item a { display: inline-block; font-variant-numeric: tabular-nums; }
.contact-item a:hover { color: var(--ocean); }

.socials { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.socials h3 { font-size: 14px; color: var(--navy); font-weight: 700; }
.social-row { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.4rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.chip svg { width: 18px; height: 18px; }
.chip:hover { border: 1.5px solid var(--ocean); background: var(--ocean-tint); color: var(--ocean); text-decoration: none; }

.map-wrap {
  min-height: 320px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
  background: var(--surface, #eaedff);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-dark); color: #c9d6f5; padding-block: 2rem; font-size: 13px; }
.footer-inner { display: grid; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; color: #fff; font-weight: 700; }
.footer-brand img { width: 44px; height: 44px; background: #fff; border-radius: 50%; padding: 2px; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-links a { color: #c9d6f5; }
.footer-links a:hover { color: var(--gold); }

/* ---------- Tablet (>= 768px) ---------- */
@media (min-width: 768px) {
  :root { --gutter: 1.5rem; }
  .hero h1 { font-size: 46px; line-height: 54px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-sun { width: 380px; height: 380px; right: -120px; top: -120px; }
  .widget-card { padding: 1.75rem 1.75rem 2rem; }
  .section { padding-block: 5rem; }
  .section h2 { font-size: 30px; line-height: 38px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(1, 1fr); }
  .cta-inner { grid-template-columns: 1fr auto; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Escritorio (>= 1024px) ---------- */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: flex !important;
    align-items: center;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .main-nav > ul { flex-direction: row; align-items: center; gap: 0.25rem; }
  .main-nav .btn { width: auto; margin: 0 0 0 0.75rem; min-height: 44px; }
  .main-nav a.nav-link { padding: 0.5rem 0.85rem; }

  .has-sub { position: relative; }
  .main-nav .submenu {
    display: none;
    flex-direction: column;
    padding-left: 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-2);
  }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { display: block; }
  .has-sub > .nav-link { padding: 0.5rem 0.85rem; display: block; font-weight: 600; }
  .submenu a { border-radius: var(--r-sm); }
  .submenu a:hover { background: var(--ocean-tint); text-decoration: none; }

  .hero-inner { padding-block: 5rem 9rem; }
  .hero h1 { font-size: 56px; line-height: 64px; letter-spacing: -0.03em; }
  .hero-wave svg { height: 90px; }
  .widget-section { margin-top: -6.5rem; }
  .about-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .section h2 { font-size: 40px; line-height: 48px; letter-spacing: -0.025em; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 2rem; }
  .map-wrap, .map-wrap iframe { min-height: 100%; }
}

@media (min-width: 1280px) {
  :root { --gutter: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
