/* ==========================================================================
   Ceci Tours - Premium Stylesheet
   Design System, Glassmorphism, Micro-Animations & Responsive Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* HSL Color System */
  --primary-hsl: 181, 88%, 23%;     /* #084c4f - Teal */
  --secondary-hsl: 11, 74%, 60%;    /* #e4674f - Coral */
  --dark-hsl: 191, 80%, 9%;         /* #052126 - Deep Slate */
  --light-hsl: 40, 33%, 94%;        /* #f5f0e6 - Cream */
  --accent-hsl: 181, 51%, 46%;      /* #39aeb0 - Aqua */
  
  --primary: hsl(var(--primary-hsl));
  --secondary: hsl(var(--secondary-hsl));
  --dark: hsl(var(--dark-hsl));
  --light: hsl(var(--light-hsl));
  --accent: hsl(var(--accent-hsl));
  
  --ink: #17363c;
  --muted: #64787b;
  --white: #ffffff;
  --black: #000000;
  
  /* Borders and Shadows */
  --border-light: rgba(23, 54, 60, 0.08);
  --border-white-op: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 4px 10px rgba(8, 76, 79, 0.04);
  --shadow-md: 0 10px 30px rgba(8, 76, 79, 0.08);
  --shadow-lg: 0 20px 40px rgba(5, 33, 38, 0.12);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--light);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--secondary);
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.eyebrow.light {
  color: hsl(181, 70%, 80%);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Premium Header (Glassmorphism) */
.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  height: 76px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  z-index: 102;
}

.brand img {
  display: block;
  width: 200px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.site-header nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.site-header nav > a:not(.nav-cta) {
  position: relative;
  padding: 8px 0;
}

.site-header nav > a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition-smooth);
}

.site-header nav > a:not(.nav-cta):hover {
  color: var(--accent);
}

.site-header nav > a:not(.nav-cta):hover::after {
  width: 100%;
}

/* Nav CTA - Premium Outline Button */
.nav-cta {
  padding: 12px 24px;
  border: 1.5px solid var(--accent);
  border-radius: 99px;
  color: var(--primary);
  font-weight: 700;
  background: transparent;
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(57, 174, 176, 0.3);
  transform: translateY(-2px);
}

/* Language Selector styling */
.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  margin-left: 10px;
}

.lang-btn {
  background: transparent;
  border: 0;
  outline: none;
  box-shadow: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
  opacity: 0.6;
}

.lang-btn:hover {
  opacity: 0.9;
}

.lang-btn:focus,
.lang-btn:active,
.lang-btn:focus-visible {
  outline: none;
  border: 0;
  box-shadow: none;
}

.lang-btn.active {
  opacity: 1;
  color: var(--secondary);
}

.lang-divider {
  color: var(--primary);
  opacity: 0.3;
  user-select: none;
}

.site-header.scrolled .lang-btn {
  color: var(--primary);
}

.site-header.scrolled .lang-btn.active {
  color: var(--secondary);
}

.site-header.scrolled .lang-divider {
  color: var(--primary);
}

@media (max-width: 991px) {
  .lang-selector {
    margin-left: 0;
    margin-top: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.03);
    width: fit-content;
  }
  .lang-btn {
    color: var(--primary);
  }
  .lang-btn.active {
    color: var(--secondary);
  }
  .lang-divider {
    color: var(--primary);
    opacity: 0.3;
  }
}

/* Hamburguesa (Mobile Menu) Trigger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 102;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 99px;
  transition: var(--transition-smooth);
}

/* Hero Section (Video / Slideshow Fallback) */
.hero {
  height: calc(100vh - 92px);
  min-height: 600px;
  max-height: 850px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--dark);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Fallback Slideshow (Ken Burns Effect) */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none; /* Shown dynamically via JS if video fails/disabled */
}

.hero-slides span {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: heroFade 18s infinite ease-in-out;
  transform: scale(1.02);
}

.hero-slides span:nth-child(1) {
  animation-delay: 0s;
}

.hero-slides span:nth-child(2) {
  animation-delay: 6s;
}

.hero-slides span:nth-child(3) {
  animation-delay: 12s;
}

@keyframes heroFade {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }
  8%, 33% {
    opacity: 1;
  }
  41%, 100% {
    opacity: 0;
    transform: scale(1.09);
  }
}

.hero-shade {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(820px, 90vw);
  margin-left: 8vw;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes fadeUpIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero h1 em {
  color: #f2c6a8;
}

.hero-copy {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
  max-width: 600px;
  color: #e0ece9;
  margin-bottom: 36px;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-sound-toggle {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.hero-sound-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-sound-toggle.unmuted {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Premium Buttons */
.button {
  height: 56px;
  padding: 0 32px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.button.primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(228, 103, 79, 0.3);
}

.button.primary:hover {
  background: hsl(11, 74%, 52%);
  box-shadow: 0 8px 25px rgba(228, 103, 79, 0.4);
  transform: translateY(-2px);
}

.button.secondary {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: transparent;
}

.button.secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.trust-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #cde0dd;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.trust-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 5vw;
  bottom: 40px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
  animation: bounce 2s infinite;
}

.scroll-cue:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Route Section (Ruta del Papa) */
.route {
  background: var(--dark);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 750px;
  overflow: hidden;
}

.route-visual {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.route-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.route-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--dark));
}

.route-mini {
  position: absolute;
  z-index: 5;
  right: -50px;
  bottom: 60px;
  width: 220px;
  height: 300px;
  border: 10px solid var(--dark);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.route-mini:hover {
  transform: scale(1.05) translateY(-5px);
}

.route-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-copy {
  padding: 80px 8vw 80px 8vw;
  align-self: center;
}

.route h2, .section h2, .contact h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.route h2 em, .contact h2 em {
  color: #f2c6a8;
}

.route-lead {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: #c9deda;
  margin-bottom: 24px;
}

.route-copy > p:not(.eyebrow):not(.route-lead) {
  color: #aec7c4;
  line-height: 1.7;
  margin-bottom: 30px;
  font-weight: 300;
}

.route-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-white-op);
  border-bottom: 1px solid var(--border-white-op);
  padding: 24px 0;
  margin-bottom: 36px;
}

.route-facts div {
  display: flex;
  flex-direction: column;
}

.route-facts strong {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3vw, 48px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.route-facts span {
  font-size: 12px;
  line-height: 1.4;
  color: #b7cecb;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.route-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.text-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  transition: var(--transition-fast);
}

.text-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.source-note {
  display: block;
  margin-top: 30px;
  color: #769491;
  font-size: 11px;
  line-height: 1.5;
}

/* General Section Styling */
.section {
  padding: 100px 8vw;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 60px;
}

.section-heading > p {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 500px;
}

/* Destination Filtering & Section */
.destinations {
  background: var(--light);
}

.destination-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--border-light);
  background: var(--white);
  border-radius: 99px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  transition: var(--transition-smooth);
}

.destination-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.destination-image-container {
  height: 270px;
  position: relative;
  overflow: hidden;
}

.destination-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.destination-card:hover .destination-image {
  transform: scale(1.06);
}

.destination-image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 33, 38, 0) 40%, rgba(5, 33, 38, 0.6) 100%);
  z-index: 1;
}

.destination-tag {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 18px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 10px;
  font-weight: 800;
  background: rgba(228, 103, 79, 0.9);
  padding: 4px 10px;
  border-radius: 4px;
}

.destination-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.destination-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--primary);
}

.destination-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.destination-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin-top: auto;
}

.destination-link:hover {
  color: var(--primary);
}

/* Show More Destinations Button */
.destinations-actions {
  text-align: center;
  margin-top: 50px;
}

.destinations-actions .button {
  background: var(--primary);
  color: var(--white);
}

.destinations-actions .button:hover {
  background: var(--dark);
}

/* Secondary (Hidden by default) cards */
.destination-card.secondary-destination {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

.destination-card.secondary-destination.show {
  display: flex;
  animation: revealCard 0.5s ease forwards;
}

@keyframes revealCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services Section */
.services {
  background: var(--primary);
  color: var(--white);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 8vw;
}

.service-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.service-intro h2 {
  margin-bottom: 24px;
}

.service-intro > p:not(.eyebrow) {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
  color: #c9deda;
  margin-bottom: 30px;
}

.service-list article {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--border-white-op);
  transition: var(--transition-smooth);
}

.service-list article:hover {
  transform: translateX(10px);
}

.service-list article:last-child {
  border-bottom: 1px solid var(--border-white-op);
}

.service-list article > span {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--accent);
}

.service-list h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 10px;
}

.service-list p {
  color: #d2e5e3;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
}

/* Story Section */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
  background: var(--white);
}

.story-photo {
  height: 600px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-label {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--secondary);
  color: var(--white);
  padding: 24px 30px;
  border-bottom-right-radius: 8px;
  z-index: 10;
}

.photo-label strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.photo-label span {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  margin-top: 4px;
  opacity: 0.9;
}

.story-copy .lead {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.5;
  margin-bottom: 24px;
  color: var(--primary);
}

.story-copy > p:not(.eyebrow):not(.lead) {
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 30px;
  font-weight: 300;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-grid div {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.why-grid b {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--secondary);
  display: block;
  margin-bottom: 6px;
}

.why-grid strong {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}

.why-grid span {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  display: block;
}

.validation {
  font-size: 11px !important;
  color: #97a3a3 !important;
  margin-top: 30px;
}

/* Testimonials Section (Premium Carrusel) */
.testimonials {
  background: #f1f4f0;
  position: relative;
  overflow: hidden;
}

.testimonial-slider-container {
  position: relative;
  margin-top: 40px;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 10px 40px 10px;
  scrollbar-width: none; /* Hide standard scrollbar */
  -ms-overflow-style: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none; /* Hide webkit scrollbar */
}

.testimonial {
  background: var(--white);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 380px;
  min-width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  opacity: 0.95;
  transition: var(--transition-smooth);
}

.testimonial.active {
  opacity: 1;
}

.testimonial > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  line-height: 0.3;
  color: var(--secondary);
  margin-bottom: 24px;
}

.testimonial p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--ink);
}

.testimonial-author-box {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.testimonial strong {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}

.testimonial small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Slider Controls */
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--primary);
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.slider-arrow:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(8, 76, 79, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 99px;
}

.prototype-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 40px;
}

/* Credentials Section */
.credentials {
  text-align: center;
  padding: 80px 8vw;
  background: var(--white);
}

.credentials h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  margin-bottom: 40px;
  color: var(--primary);
}

.credential-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0 auto 30px;
  max-width: 1100px;
}

.credential-row div {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 35px 30px;
  background: var(--light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: var(--transition-smooth);
}

.credential-row div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.credential-row span {
  font-weight: 800;
  font-size: 24px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.credential-row strong {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--primary);
}

.credentials > p:last-child {
  font-size: 11px;
  color: var(--muted);
}

/* Contact Section */
.contact {
  background: var(--dark);
  color: var(--white);
  padding: 100px 8vw;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10vw;
  align-items: center;
}

.contact h2 {
  margin-bottom: 20px;
}

.contact > div > p:not(.eyebrow) {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #d6efed;
  margin-bottom: 30px;
}

.button.large {
  height: 60px;
  padding: 0 40px;
  font-size: 16px;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.button.large:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(57, 174, 176, 0.4);
}

address {
  font-style: normal;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 50px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

address small {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 10px;
  color: #b9e3e0;
  margin-bottom: 8px;
  display: block;
  font-weight: 700;
}

address strong, address a {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  line-height: 1.5;
}

address a:hover {
  color: var(--accent);
}

/* Photos Credits */
.photo-credits {
  background: #051d23;
  color: #7fa09f;
  padding: 16px 8vw;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.photo-credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.photo-credits a:hover {
  color: var(--white);
}

/* Footer */
footer {
  background: #031418;
  color: #9ab5b4;
  padding: 40px 8vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 10px;
}

.footer-bottom a {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.footer-bottom a:hover {
  color: var(--accent);
}

.footer-brand {
  background: var(--white);
  border-radius: 6px;
  padding: 8px 12px;
  box-shadow: var(--shadow-sm);
}

.footer-brand img {
  width: 130px;
  height: auto;
  display: block;
}

/* Floating WhatsApp Button */
.whatsapp {
  position: fixed;
  z-index: 90;
  right: 30px;
  bottom: 30px;
  background: #25d366;
  color: var(--white);
  border-radius: 99px;
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.whatsapp:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp b {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: var(--white);
  color: #25a950;
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: var(--transition-smooth);
}

.whatsapp:hover b {
  background: #25d366;
  color: var(--white);
}

/* Scroll Animation Classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile responsive menu active state */
.site-header nav.active {
  transform: translateX(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .route, .services, .story, .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .route-visual {
    height: 450px;
  }
  
  .route-visual::after {
    background: linear-gradient(180deg, transparent 60%, var(--dark));
  }
  
  .route-mini {
    right: 5vw;
    bottom: -40px;
  }
  
  .route-copy {
    padding: 60px 5vw;
  }
  
  .service-intro {
    position: static;
  }
  
  .story-photo {
    height: 450px;
  }
  
  .destination-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .testimonial > img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }
  
  .brand img {
    max-height: 44px;
  }
  
  /* Show menu trigger */
  .menu-toggle {
    display: flex;
  }
  
  /* Sidebar Navigation Overlay */
  .site-header nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 40px;
    gap: 24px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: var(--transition-smooth);
    z-index: 101;
  }
  
  .site-header nav a {
    font-size: 18px;
    width: 100%;
  }
  
  .nav-cta {
    text-align: center;
    margin-top: 10px;
  }
  
  /* Close State Toggle Animation */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero {
    height: calc(100vh - 70px);
    text-align: center;
  }
  
  .hero-sound-toggle {
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
  }
  
  .hero-content {
    margin: 0 auto;
    padding: 0 4vw;
  }
  
  .hero-shade {
    background: rgba(0, 0, 0, 0.5);
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .scroll-cue {
    display: none;
  }
  
  .section {
    padding: 70px 6vw;
  }
  
  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .section-heading > p {
    margin: 0 auto;
  }
  
  .destination-grid {
    grid-template-columns: 1fr;
  }
  
  .credential-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  address {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 0;
    padding-top: 40px;
  }
  
  footer {
    padding-bottom: 100px; /* Space for fixed WhatsApp */
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .whatsapp span {
    display: none;
  }
  
  .whatsapp {
    padding: 6px;
    right: 20px;
    bottom: 20px;
  }
}

/* Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .hero-slides span, .scroll-cue, .reveal-on-scroll {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .destination-image {
    transition: none !important;
  }
}

/* ==========================================================================
   Trípticos Modal Styles (Ventana Emergente de Trípticos)
   ========================================================================== */
.brochure-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.brochure-modal.open {
  opacity: 1;
  pointer-events: all;
}

.brochure-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 33, 38, 0.85);
  backdrop-filter: blur(8px);
}

.brochure-modal-content {
  position: relative;
  z-index: 1001;
  background: var(--white);
  width: min(900px, 95vw);
  max-height: 95vh;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brochure-modal.open .brochure-modal-content {
  transform: scale(1);
}

.brochure-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 1010;
}

.brochure-modal-close:hover {
  color: var(--secondary);
}

.brochure-modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brochure-modal-header h3 {
  font-size: 20px;
  color: var(--primary);
}

.brochure-modal-tabs {
  display: flex;
  gap: 8px;
}

.modal-tab-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  background: var(--light);
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.brochure-image-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  background: #fafafa;
  overflow: hidden;
  min-height: 300px;
}

.brochure-image-wrapper img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.2s ease;
}

.modal-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(5, 33, 38, 0.1);
  color: var(--primary);
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 5;
}

.modal-nav-arrow:hover {
  background: var(--primary);
  color: var(--white);
}

.modal-nav-arrow.prev {
  left: 20px;
}

.modal-nav-arrow.next {
  right: 20px;
}

.brochure-modal-footer {
  padding: 15px 30px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.modal-download-btn {
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1.5px solid var(--primary);
  padding-bottom: 2px;
  font-size: 14px;
}

.modal-download-btn:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}

@media (max-width: 600px) {
  .brochure-modal-header {
    padding: 15px 20px;
  }
  .brochure-modal-tabs {
    width: 100%;
    margin-top: 10px;
  }
  .modal-tab-btn {
    flex-grow: 1;
    text-align: center;
  }
  .modal-nav-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .modal-nav-arrow.prev {
    left: 10px;
  }
  .modal-nav-arrow.next {
    right: 10px;
  }
}

/* ==========================================================================
   Ceci Movilidad Brand Badge
   ========================================================================== */
.service-brand-badge {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(228, 103, 79, 0.1);
  color: var(--secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-top: 8px;
  border: 1px solid rgba(228, 103, 79, 0.25);
  align-self: start;
}

/* ==========================================================================
   Destination Itinerary Modal (Detalles de Destinos)
   ========================================================================== */
.dest-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.dest-modal.open {
  opacity: 1;
  pointer-events: all;
}

.dest-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 33, 38, 0.85);
  backdrop-filter: blur(8px);
}

.dest-modal-content {
  position: relative;
  z-index: 1001;
  background: var(--white);
  width: min(850px, 95vw);
  max-height: 90vh;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dest-modal.open .dest-modal-content {
  transform: scale(1);
}

.dest-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 1010;
}

.dest-modal-close:hover {
  color: var(--secondary);
}

.dest-modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--border-light);
}

.dest-modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--primary);
}

.dest-modal-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 30px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
}

.dest-modal-section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 6px;
}

.itinerary-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.itinerary-step {
  display: flex;
  gap: 12px;
}

.itinerary-num {
  font-weight: 800;
  color: var(--secondary);
  background: rgba(228, 103, 79, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
}

.itinerary-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}

.checklist-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.check-list, .cross-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li, .cross-list li {
  font-size: 13.5px;
  position: relative;
  padding-left: 22px;
  line-height: 1.4;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #25a950;
  font-weight: bold;
}

.cross-list li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.dest-modal-footer {
  padding: 20px 30px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
}

.dest-modal-footer .button {
  height: 48px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .dest-modal-body {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
  .dest-modal-header {
    padding: 20px;
  }
  .dest-modal-footer {
    padding: 15px 20px;
  }
}

/* Cookies Banner */
.cookies-banner {
  position: fixed;
  bottom: 30px;
  left: 30px;
  max-width: 420px;
  background: rgba(3, 20, 24, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  pointer-events: none;
}

.cookies-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookies-banner h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 0;
  color: var(--secondary);
}

.cookies-banner p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: #c9deda;
}

.cookies-actions {
  display: flex;
  gap: 12px;
}

.cookies-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.cookies-btn.accept {
  background: var(--secondary);
  color: var(--primary);
}

.cookies-btn.accept:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.cookies-btn.reject {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookies-btn.reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 576px) {
  .cookies-banner {
    left: 15px;
    right: 15px;
    bottom: 15px;
    max-width: none;
    padding: 20px;
  }
}

