/* ============================================================
   VIAJES AL MEJOR PRECIO — vamp-style.css
   Single stylesheet replacing 16+ legacy CSS files.
   ============================================================

   TABLE OF CONTENTS
   1.  CSS Custom Properties (Design Tokens)
   2.  Reset & Base
   3.  Accessibility Utilities
   4.  Layout Helpers
   5.  Floating WhatsApp Button
   6.  Scroll-to-Top Button
   7.  Header & Navigation
   8.  Hero Slider
   9.  Section Shared Styles
   10. Destination Cards
   11. Google Reviews Section
   12. Footer
   13. Responsive — Tablet (≤ 900px)
   14. Responsive — Mobile  (≤ 600px)

   ============================================================
   HOW TO CHANGE GLOBAL COLORS / FONTS:
   Edit the variables inside :root {} below.
   Example: change --color-primary to any hex value.
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ───────────────────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --color-primary:   #F7C02B;   /* Brand yellow */
  --color-secondary: #E91E8C;   /* Brand magenta/pink */
  --color-wa:        #25D366;   /* WhatsApp green */

  /* Neutrals */
  --color-dark:      #0D0D0D;
  --color-dark-2:    #1A1A2E;
  --color-footer-bg: #111111;
  --color-white:     #FFFFFF;
  --color-off-white: #F8F8F8;
  --color-text:      #2D2D2D;
  --color-text-muted:#6B7280;
  --color-border:    #E5E7EB;

  /* Typography */
  --font-main: 'Poppins', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 5vw, 2.5rem);
  --section-gap:   clamp(3rem, 7vw, 6rem);

  /* Radii */
  --radius-card: 14px;
  --radius-btn:  50px;
  --radius-sm:   8px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-nav:  0 2px 20px rgba(0,0,0,0.15);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Hero slider timing */
  --slide-duration: 16s;
}

/* ─────────────────────────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

button {
  font-family: var(--font-main);
  border: none;
  background: none;
  cursor: pointer;
}

/* ─────────────────────────────────────────────────────────────
   3. ACCESSIBILITY UTILITIES
   ───────────────────────────────────────────────────────────── */

/* Screen-reader only — visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip navigation link for keyboard users */
.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: var(--color-dark);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* Focus ring — visible for keyboard navigation */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* ─────────────────────────────────────────────────────────────
   4. LAYOUT HELPERS
   ───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Shared CTA button styles (REMOVED: Now exclusively using .btn-reservar-pildora and .nav-link--cta) */

/* ─────────────────────────────────────────────────────────────
   5. FLOATING WHATSAPP BUTTON
   HOW TO EDIT: Target #wa-float in HTML to change the link.
   ───────────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background-color: var(--color-wa);
  color: var(--color-white);
  border-radius: var(--radius-btn);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.wa-float:hover,
.wa-float:focus-visible {
  background-color: #1ebe5d;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.wa-label {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────
   6. SCROLL-TO-TOP BUTTON
   ───────────────────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 9998;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--color-dark-2);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), opacity var(--transition), background-color var(--transition);
  opacity: 0;
}

.scroll-top:not([hidden]) {
  opacity: 1;
}

.scroll-top[hidden] {
  display: flex !important; /* override hidden, use opacity instead */
  pointer-events: none;
  opacity: 0;
}

.scroll-top:hover {
  background-color: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-3px);
}

/* ─────────────────────────────────────────────────────────────
   7. HEADER & NAVIGATION
   ───────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* Glassmorphism effect — becomes solid when .is-scrolled class is added via JS */
  background: rgba(13, 13, 13, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(13, 13, 13, 0.97);
  box-shadow: var(--shadow-nav);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 0.85rem var(--container-pad);
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 40px;
  width: auto;
  /* Brightness boost so white logo stays visible on semi-transparent header */
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
  transition: transform var(--transition);
}

.nav-logo:hover img { transform: scale(1.03); }

/* Nav menu links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
}

.nav-link:hover,
.nav-link.active { color: var(--color-primary); }

/* WhatsApp CTA link in nav */
.nav-link--cta {
  background-color: var(--color-wa);
  color: var(--color-white) !important;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-btn);
  transition: background-color var(--transition), transform var(--transition);
}

.nav-link--cta:hover {
  background-color: #1ebe5d;
  color: var(--color-white) !important;
  transform: translateY(-1px);
}

/* Hamburger button — visible only on mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  transition: background var(--transition);
  flex-shrink: 0;
}

.nav-toggle:hover { background: rgba(255,255,255,0.2); }

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─────────────────────────────────────────────────────────────
   8. HERO SLIDER
   CSS-only auto-advancing slider using keyframe animations.
   Two slides animate on a 16-second cycle (8s each).
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;          /* full viewport height */
  min-height: 560px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Each slide stacks on top of each other */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Ensure inactive slides don't block clicks */
  visibility: hidden;
  opacity: 0;
}

/* ── Slide animation keyframes ────────────────────────────── */
@keyframes heroFade {
  0%          { opacity: 0; visibility: hidden; }
  1%          { visibility: visible; }
  6.25%       { opacity: 1; visibility: visible; }   /* 1s fade-in  at cycle start */
  43.75%      { opacity: 1; visibility: visible; }   /* visible for ~6s            */
  50%         { opacity: 0; visibility: hidden; }    /* 1s fade-out at 8s          */
  100%        { opacity: 0; visibility: hidden; }    /* invisible for other half   */
}

/* Slide 1 starts immediately; Slide 2 is delayed by 8s */
.hero-slide--1 {
  animation: heroFade var(--slide-duration) 0s infinite;
}

.hero-slide--2 {
  /* animation-fill-mode: both → starts at opacity:0 during the 8s delay */
  animation: heroFade var(--slide-duration) 8s both infinite;
}

/* Slide background image — covers the entire slide */
.hero-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

/* Dark gradient overlay so text is always readable */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.70) 100%
  );
}

/* Hero text content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: var(--container-pad);
  max-width: 860px;
  animation: heroContentIn 1s 0.5s both ease-out;
}

.hero-slide--2 .hero-content {
  animation-delay: 8.5s;
}

@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  opacity: 0.92;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* Specific Font-Size Reduction for Slide 2 Subtitle Text */
.hero-slide--2 .hero-title {
  font-size: clamp(1.2rem, 3.5vw, 1.8rem); /* approx 1.2rem base */
  font-weight: 700;
}

/* Slide indicator dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  translate: -50% 0;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s;
}

@keyframes dotActive {
  0%, 50%  { background: var(--color-primary); transform: scale(1.3); }
  50.01%, 100% { background: rgba(255,255,255,0.45); transform: scale(1); }
}

.hero-dot--1 { animation: dotActive var(--slide-duration) 0s infinite; }
.hero-dot--2 { animation: dotActive var(--slide-duration) 8s both infinite; }

.hero-cta-container {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.btn-reservar-pildora {
  display: inline-block;
  background-color: #FF5A5F;
  color: white !important;
  border-radius: 50px;
  padding: 15px 40px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 90, 95, 0.4);
}

.btn-reservar-pildora:hover {
  background-color: #E04A4E;
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 90, 95, 0.5);
}

/* ─────────────────────────────────────────────────────────────
   9. SECTION SHARED STYLES
   ───────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-dark-2);
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

/* Underline accent on section titles */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
  margin: 0.6rem auto 0;
}

.section-subtitle {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* ─────────────────────────────────────────────────────────────
   10. DESTINATION CARDS
   HOW TO EDIT: See comments in HTML for each individual card.
   ───────────────────────────────────────────────────────────── */
.destinos-section {
  padding-block: var(--section-gap);
  background-color: var(--color-off-white);
}

/* Responsive Grid Strategy */
.cards-grid {
  display: grid;
  gap: 1.5rem;
  /* Default Desktop: 4 columns */
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  /* Tablet / Small Desktop: 3 columns */
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  /* Tablet: 2 columns */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.destination-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

/* Card image — square aspect ratio */
.card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.destination-card:hover .card-img {
  transform: scale(1.04);
}

/* Card body — sits below the image */
.card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark-2);
  line-height: 1.3;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.55rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), #f5a623);
  color: var(--color-dark);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-btn);
  box-shadow: 0 3px 12px rgba(247, 192, 43, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  align-self: flex-start;
}

.card-link:hover,
.card-link:focus-visible {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(247, 192, 43, 0.5);
}

/* ─────────────────────────────────────────────────────────────
   11. GOOGLE REVIEWS SECTION
   HOW TO EDIT: See the HTML for each review-card.
   ───────────────────────────────────────────────────────────── */
.reviews-section {
  padding-block: var(--section-gap);
  background-color: var(--color-white);
  /* Subtle pattern background */
  background-image:
    radial-gradient(circle at 20% 50%, rgba(247,192,43,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(233,30,140,0.05) 0%, transparent 40%);
}

/* Custom CSS-only Swipeable Carousel */
.reviews-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-2);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: background var(--transition), color var(--transition), transform 0.2s;
}

.carousel-control:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev { left: -14px; }
.carousel-control.next { right: -14px; }

@media (max-width: 900px) {
  .carousel-control { display: none; }
}

.reviews-carousel {
  flex: 1;
  scroll-behavior: smooth;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 2rem 0;
  margin-inline: calc(var(--container-pad) * -1);
  padding-inline: var(--container-pad);
  /* Hide scrollbar */
  scrollbar-width: none;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: -0.5rem;
  margin-bottom: 2rem;
  display: none; /* We show this on mobile */
}

@media (max-width: 900px) {
  .carousel-hint { display: block; }
}

.review-card {
  flex: 0 0 calc(33.333% - 1rem); /* Desktop: 3 cards showing */
  scroll-snap-align: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

@media (max-width: 900px) {
  .review-card { flex: 0 0 calc(50% - 0.75rem); }
}

@media (max-width: 600px) {
  .review-card { flex: 0 0 calc(85vw - var(--container-pad)); }
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* Top row: avatar + name + Google logo */
.review-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Circular avatar with reviewer's initial */
.review-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-white);
  /* Default color — override with inline style in HTML per reviewer */
  background: linear-gradient(135deg, #667eea, #764ba2);
  text-transform: uppercase;
  letter-spacing: 0;
  user-select: none;
}

.review-info {
  flex: 1;
  min-width: 0;
}

.review-author {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-date {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 1px;
}

/* Google "G" badge — top right of card */
.review-google-badge {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  opacity: 0.85;
}

/* 5 Stars row */
.review-stars {
  display: flex;
  gap: 3px;
}

.review-stars .star {
  font-size: 1.1rem;
  color: #FBBC04; /* Google's official star yellow */
  line-height: 1;
}

/* Review text */
.review-text {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.65;
  flex: 1;
}

/* ─────────────────────────────────────────────────────────────
   12. FOOTER
   ───────────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-footer-bg);
  color: rgba(255,255,255,0.75);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Footer column headings */
.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

/* About column */
.footer-about-text {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-logo {
  margin-top: 1rem;
}

.footer-logo img {
  height: 70px;
  width: auto;
  opacity: 0.9;
}

/* Contact column */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  margin-top: 2px;
}

/* Social icons row */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.footer-social-link:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
}

/* Featured destinations grid (3×2 thumbnails) */
.footer-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.footer-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
}

.footer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s;
  opacity: 0.82;
}

.footer-thumb:hover img {
  transform: scale(1.08);
  opacity: 1;
}

/* Footer bar (copyright row) */
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bar p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.footer-bar a {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  transition: color 0.2s;
}

.footer-bar a:hover { color: var(--color-primary); }

/* ─────────────────────────────────────────────────────────────
   13. RESPONSIVE — TABLET (≤ 900px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* "Viajes Destacados" column drops to full width at tablet */
  .footer-col--featured {
    grid-column: 1 / -1;
  }
}

/* ─────────────────────────────────────────────────────────────
   14. RESPONSIVE — MOBILE (≤ 600px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Show hamburger, hide desktop nav links */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(12px);
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    /* Hidden by default; revealed by JS toggling .is-open */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding-block: 0;
  }

  .nav-menu.is-open {
    max-height: 300px;
    padding-block: 1rem;
  }

  .nav-link {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    justify-content: flex-start;
  }

  .nav-link--cta {
    margin-top: 0.5rem;
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  /* Hero: full-height on mobile */
  .hero { height: 100svh; }
  .hero-title { font-size: clamp(2rem, 10vw, 3rem); }

  /* Cards: 1 column on mobile screens */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card-body { padding: 1.2rem; }
  .card-title { font-size: 1.1rem; }
  .card-desc { display: block; font-size: 0.85rem; }
  .card-link { font-size: 0.78rem; padding: 0.45rem 0.9rem; }

  /* Footer: single column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col--featured { grid-column: auto; }

  /* WhatsApp button: icon only on mobile */
  .wa-label { display: none; }
  .wa-float { padding: 14px; }

  /* Scroll top: reposition */
  .scroll-top { right: 1rem; bottom: 90px; }
}
