/* ===== Viajes Jait — hoja de estilos ===== */

:root {
  --blue-dark: #1B4F7A;
  --blue: #2E6DA4;
  --blue-light: #5B93C5;
  --blue-pale: #EAF2F9;
  --ink: #2A2118;
  --ink-soft: #55493E;
  --cream: #FBF8F4;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(27, 79, 122, 0.12);
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

a { color: inherit; }

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

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--blue-dark); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 16px; color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(46,109,164,.35);
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.15); }

.btn-outline-blue {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}
.btn-outline-blue:hover { background: var(--blue-pale); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img { height: 56px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav a.active, .nav a:hover { color: var(--blue); border-color: var(--blue); }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav {
    position: fixed;
    top: 80px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    box-shadow: 0 12px 20px rgba(0,0,0,.06);
  }
  .nav.open { max-height: 320px; }
  .nav a { width: 100%; padding: 16px 24px; border-bottom: 1px solid #f1f1f1; }
  .nav-toggle {
    display: inline-flex;
    background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 6px;
  }
  .nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(180deg, rgba(20,40,60,.55), rgba(20,40,60,.75)), var(--hero-img, none) center/cover no-repeat;
  padding: 100px 0 90px;
  text-align: center;
}
.hero.inner {
  padding: 70px 0 60px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .8rem;
  font-weight: 700;
  color: #CFE3F4;
}
.hero p.lead {
  color: #EAF2F9;
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.08rem;
}
.hero h1 { margin-bottom: 10px; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--cream); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head p { margin: 0; }

/* ---------- Category / info cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 880px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  color: var(--white);
  box-shadow: var(--shadow);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-illus {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: transform .4s ease;
}
.cat-card:hover .cat-illus { transform: scale(1.06); }
.cat-card .cat-label {
  position: absolute; inset: auto 0 0 0;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(20,30,40,.85), transparent);
  font-weight: 700;
  font-size: 1.05rem;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: left;
}
.info-card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.info-card h3 { color: var(--blue-dark); margin-bottom: 8px; }
.info-card p { margin: 0; font-size: .95rem; }

/* ---------- Trust badges ---------- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 34px;
}
.badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--blue-pale);
  color: var(--blue-dark);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: #EAF2F9; max-width: 560px; margin: 0 auto 24px; }

/* ---------- Two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Paquetes: categorías ---------- */
.paquete-cat { margin-bottom: 56px; }
.paquete-cat-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.paquete-cat-head h2 { margin: 0; }
.paquete-cat-head .desc { color: var(--ink-soft); font-size: .95rem; max-width: 480px; }

.paquete-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.paquete-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.paquete-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.paquete-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.paquete-card .btn { align-self: flex-start; margin-top: auto; padding: 10px 20px; font-size: .9rem; }

.empty-cat {
  background: var(--cream);
  border: 1px dashed #cdbfae;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  color: var(--ink-soft);
}

/* ---------- Form ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
  font-size: .96rem;
  background: var(--white);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none; border-color: var(--blue);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: .95rem;
}
.alert-success { background: #E5F6EA; color: #206B36; }
.alert-error { background: #FCEAEA; color: #A62B2B; }

/* ---------- Contact info list ---------- */
.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-list .item { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px; background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-dark); font-size: 1.1rem;
}
.contact-list a { text-decoration: none; color: var(--blue-dark); font-weight: 600; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 24px;
}
.map-frame iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #E7E0D8;
  padding: 52px 0 22px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.site-footer a { color: #E7E0D8; text-decoration: none; }
.site-footer a:hover { color: var(--blue-light); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-logo img { height: 44px; margin-bottom: 14px; }
.footer-sectur { font-size: .82rem; color: #B8AFA4; margin-top: 14px; }
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.social-row a:hover { background: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 36px; padding-top: 18px;
  text-align: center; font-size: .82rem; color: #B8AFA4;
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 200;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  text-decoration: none;
  animation: wa-pulse 2.4s infinite;
}
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
