/* ==========================================================================
   Rumbo Viajes — Agencia de Viajes
   Paleta cálida de viaje: azul océano profundo, coral atardecer, arena.
   ========================================================================== */

:root {
  --ocean-dark: #073b47;
  --ocean: #0f6674;
  --coral: #ff7452;
  --coral-dark: #e85a37;
  --sand: #fdf6ea;
  --sand-alt: #f5ebd8;
  --ink: #1c2b2e;
  --muted: #5d6e70;

  --font-head: "Baloo 2", sans-serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; margin: 0 0 16px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral-dark);
  font-weight: 700;
  margin: 0 0 14px;
}

/* ---------- Nav ---------- */
.nav { position: static; background: var(--sand); border-bottom: 1px solid #ecdfc4; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ocean-dark); }
.logo span { color: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 0.92rem; }
.nav-cta {
  background: var(--coral);
  color: #fff;
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--coral-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,59,71,0.92) 5%, rgba(7,59,71,0.35) 60%, rgba(7,59,71,0.15) 100%); }
.hero-content { position: relative; color: #fff; max-width: 700px; padding-bottom: 60px; }
.hero-content .eyebrow { color: #ffd9a0; }
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; color: #fff; }
.hero-lead { font-size: 1.05rem; color: #eaf3f2; max-width: 48ch; margin-bottom: 28px; }

.btn-primary {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 100px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--coral-dark); }
.btn-primary.full { width: 100%; text-align: center; border: none; cursor: pointer; font-family: inherit; font-size: 1rem; }

/* ---------- Destinos ---------- */
.destinos h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 20ch; margin-bottom: 44px; color: var(--ocean-dark); }
.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.dest-card {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  transition: transform 0.3s ease;
}
.dest-card:hover { transform: translateY(-4px); }
.dest-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,59,71,0.85) 0%, transparent 55%);
}
.dest-info { position: absolute; left: 18px; bottom: 16px; color: #fff; display: flex; flex-direction: column; z-index: 1; }
.dest-info strong { font-family: var(--font-head); font-size: 1.2rem; }
.dest-info span { font-size: 0.8rem; color: #e3ddce; }

/* ---------- Servicios ---------- */
.servicios { background: var(--sand-alt); }
.servicios-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.servicios-img { height: 460px; border-radius: 20px; background-size: cover; background-position: center; }
.servicios-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 18ch; color: var(--ocean-dark); }
.serv-item { padding: 16px 0; border-top: 1px solid #e5d8bd; }
.serv-item h3 { font-size: 1.05rem; margin: 0 0 6px; }
.serv-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ---------- Paquetes ---------- */
.paquetes h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 20ch; margin-bottom: 44px; color: var(--ocean-dark); }
.planes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.plan {
  background: #fff;
  border: 1px solid #ecdfc4;
  border-radius: 16px;
  padding: 32px 26px;
  position: relative;
}
.plan-destacado { border: 2px solid var(--coral); box-shadow: 0 20px 40px -24px rgba(255,116,82,0.4); }
.plan-badge {
  position: absolute; top: -13px; left: 26px;
  background: var(--coral); color: #fff;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 5px 12px; border-radius: 100px;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--ocean-dark); }
.plan-desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.plan-precio { display: block; font-weight: 700; color: var(--ocean); margin-bottom: 18px; }
.plan-cta {
  display: block; text-align: center; font-weight: 700; color: #fff;
  background: var(--ocean); padding: 12px; border-radius: 100px; transition: background 0.2s ease;
}
.plan-cta:hover { background: var(--ocean-dark); }

/* ---------- Testimonios ---------- */
.testimonios h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 22ch; margin-bottom: 44px; color: var(--ocean-dark); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.testi { background: var(--sand-alt); border-radius: 16px; padding: 26px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.85rem; margin-bottom: 16px;
}
.testi p { font-size: 0.94rem; margin: 0 0 14px; }
.testi footer { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* ---------- Contacto ---------- */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contacto h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 18ch; color: var(--ocean-dark); }
.contacto-lead { color: var(--muted); margin-bottom: 24px; }
.contacto-datos p { margin: 8px 0; font-size: 0.94rem; }

.form { display: flex; flex-direction: column; gap: 16px; background: var(--sand-alt); padding: 30px; border-radius: 16px; }
.form label { display: flex; flex-direction: column; font-size: 0.85rem; font-weight: 600; gap: 6px; color: var(--ocean-dark); }
.form input {
  font-family: inherit; font-size: 0.95rem; padding: 11px 13px;
  border-radius: 10px; border: 1px solid #e0d3b6; background: #fff;
}
.form input:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.form-note { font-size: 0.76rem; color: var(--muted); text-align: center; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ocean-dark); color: #bcd6d3; padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.footer .logo { color: #fff; }
.footer .logo span { color: var(--coral); }
.footer p { font-size: 0.82rem; margin: 0; }
.footer-credit a { color: #ffd9a0; }
.footer-credit a:hover { text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .servicios-grid, .contacto-grid { grid-template-columns: 1fr; }
  .servicios-img { height: 300px; order: -1; }
}
@media (max-width: 720px) {
  .nav-links { gap: 12px; font-size: 0.8rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 56px 0; }
  .hero { min-height: 78vh; }
}
