/* ---------- Variables ---------- */
:root {
  --navy: #0B1B4F;
  --navy-light: #14328C;
  --blue: #1650C9;
  --blue-light: #2F7DFF;
  --yellow: #FFC22E;
  --white: #FFFFFF;
  --bg-light: #F6F7FB;
  --text-dark: #16224B;
  --text-muted: #5B6485;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 27, 79, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  margin: 0 0 12px;
  line-height: 1.15;
}

p { margin: 0 0 12px; color: var(--text-muted); }

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn--small { padding: 8px 16px; font-size: 0.85rem; }
.btn--lg { padding: 14px 28px; font-size: 1rem; box-shadow: var(--shadow); }
.btn--xl { padding: 18px 36px; font-size: 1.1rem; box-shadow: var(--shadow); }
.btn--full { width: 100%; padding: 12px 20px; font-size: 0.95rem; }

.ico-ig--lg { width: 30px; height: 30px; }

.ico-ig {
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.1' fill='black' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.1' fill='black' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
}

.btn--ig {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7);
  color: var(--white);
}

.btn--ig:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn--outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header--solid {
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header__logo, .header__nav a {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.45));
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo { height: 44px; width: auto; }

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.45));
}

.header__nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--navy);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.header__nav.is-open { display: flex; }

.header__nav a {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.9;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  filter: none;
}

.header__nav a:hover { opacity: 1; }

.header__nav a.active { color: var(--yellow); opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  max-height: 900px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 55%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,27,79,0) 30%, rgba(11,27,79,0.85) 85%, rgba(11,27,79,0.95) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 32px 20px 48px;
  color: var(--white);
  max-width: 640px;
}

.hero__eyebrow {
  margin-bottom: 14px;
}

.hero__eyebrow span {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  background: rgba(11, 27, 79, 0.55);
  border: 1px solid rgba(255, 194, 46, 0.45);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 7px 16px;
}

.hero h1 {
  font-size: 2rem;
  color: var(--white);
}

.hero__sub {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 20px;
}

/* ---------- Animación de aparición al hacer scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Secciones genéricas ---------- */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Primera sección de las páginas internas (sin hero) — deja lugar para que el header fijo no tape el título */
.section--first { padding-top: 130px; }

@media (min-width: 720px) {
  .section--first { padding-top: 150px; }
}

/* ---------- Accesos rápidos (home) ---------- */
.quicklinks__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.section--alt { background: var(--bg-light); max-width: none; }
.section--alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.section__title {
  font-size: 1.7rem;
  text-align: center;
  color: var(--navy);
}

.section__subtitle {
  text-align: center;
  margin-bottom: 32px;
}

.section__eyebrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.section__note {
  text-align: center;
  margin-top: 8px;
}

/* centra el botón cuando sigue a texto centrado */
.section > .btn { display: flex; width: fit-content; margin: 0 auto; }

/* ---------- Qué ofrece ---------- */
.grid-offer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.offer-card {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-size 0.5s ease;
}

.offer-card:hover,
.offer-card:focus-within {
  transform: translateY(-4px);
  background-size: 112%;
  box-shadow: 0 16px 36px rgba(11, 27, 79, 0.22);
}

.offer-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,27,79,0.05) 30%, rgba(11,27,79,0.88) 100%);
}

.offer-card__body {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.offer-card h3 { font-size: 1.1rem; color: var(--white); }

.offer-card p { font-size: 0.88rem; margin: 0; color: rgba(255,255,255,0.85); }

/* ---------- Paquetes ---------- */
.grid-packages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.package-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 27, 79, 0.22);
}

.package-card img { width: 100%; height: auto; transition: transform 0.4s ease; }

.package-card:hover img { transform: scale(1.05); }

.package-card__body { padding: 20px; }

/* ---------- Grupales (bloque de 2 columnas) ---------- */
.grupales { background: var(--white); }

.grupales__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.grupales__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.grupales__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
}

.grupales__gallery img:hover { transform: scale(1.04); }

.grupales__content h2 { color: var(--navy); font-size: 1.6rem; }

.check-list { margin: 16px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.check-list li { font-size: 0.95rem; color: var(--text-dark); }

/* ---------- Destinos ---------- */
.grid-destinos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.destino-card {
  position: relative;
  height: 140px;
  border-radius: var(--radius);
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-size 0.5s ease;
}

.destino-card:hover {
  transform: translateY(-4px);
  background-size: 112%;
  box-shadow: 0 16px 36px rgba(11, 27, 79, 0.22);
}

.destino-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,27,79,0) 40%, rgba(11,27,79,0.75) 100%);
}

.destino-card span {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  padding: 14px;
  font-size: 1.05rem;
}

/* ---------- Por qué elegirnos ---------- */
.porque { background: var(--bg-light); }

.grid-porque {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.porque-item { text-align: center; }
.porque-item span { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.porque-item h3 { font-size: 1rem; color: var(--navy); }
.porque-item p { font-size: 0.9rem; }

/* ---------- Reseñas ---------- */
.grid-reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.review-card {
  position: relative;
  background: var(--white);
  border: 1px solid #EBEDF5;
  border-radius: var(--radius);
  padding: 28px 24px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 27, 79, 0.16);
}

.review-card__quote {
  position: absolute;
  top: 6px;
  left: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  opacity: 0.9;
}

.review-card__stars {
  color: var(--yellow);
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.review-card__text {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.review-card__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  text-align: center;
  padding: 52px 20px 110px;
}

.footer__logo { height: 40px; margin: 0 auto 24px; }

.footer a { color: var(--white); }

.footer p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }

.footer__socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}

.footer__social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.footer__social-btn:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

.footer__info { margin-bottom: 24px; }

.footer__info p { margin: 4px 0; font-weight: 600; }

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  max-width: 280px;
  margin: 0 auto;
}

.footer__credit {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: 6px;
}

/* ---------- Botón flotante Instagram ---------- */
.floating-ig {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(238, 42, 123, 0.5);
  z-index: 200;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(238, 42, 123, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(238, 42, 123, 0); }
  100% { box-shadow: 0 0 0 0 rgba(238, 42, 123, 0); }
}

/* ---------- Tablet / Desktop ---------- */
@media (min-width: 720px) {
  .header__burger { display: none; }

  .header__nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 24px;
    background: none;
    box-shadow: none;
  }

  .header__nav a { padding: 0; border-bottom: none; }

  .header__logo { height: 52px; }
  .footer__logo { height: 48px; }

  .hero h1 { font-size: 2.8rem; }
  .hero__sub { font-size: 1.15rem; }

  .grid-offer { grid-template-columns: repeat(3, 1fr); }
  .grid-packages { grid-template-columns: repeat(2, 1fr); }
  .grid-destinos { grid-template-columns: repeat(3, 1fr); }
  .grid-porque { grid-template-columns: repeat(3, 1fr); }
  .grid-reviews { grid-template-columns: repeat(3, 1fr); }

  .grupales__grid { grid-template-columns: 1fr 1fr; }

  .section__title { font-size: 2.1rem; }
}

@media (min-width: 1024px) {
  .grid-packages { grid-template-columns: repeat(3, 1fr); }
  .grid-porque { grid-template-columns: repeat(5, 1fr); }
  .destino-card { height: 200px; }
}
