:root {
  --primary: #5A7D7C;
  /* Sage Green */
  --secondary: #D4A373;
  /* Earthy Sand/Gold */
  --bg-color: #FDFCF8;
  /* Warm Off-white / Cream */
  --text-dark: #2D3142;
  /* Dark Charcoal */
  --text-light: #FDFCF8;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 600;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: var(--transition);
  background: transparent;
}

header.scrolled {
  background: var(--bg-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem 5%;
}

.logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

header .logo img {
  height: 40px;
  transition: var(--transition);
}

body.has-hero header:not(.scrolled) .logo img {
  filter: none;
}

body.has-hero header:not(.scrolled) nav a {
  color: var(--text-light);
}

header.scrolled .logo {
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.05rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

header.scrolled nav a {
  color: var(--text-dark);
}

nav a:hover {
  color: var(--secondary);
}

/* Admin nav link — subtle, not highlighted to visitors */
.nav-admin-link {
  font-size: 0.78rem !important;
  opacity: 0.45;
  color: var(--text-dark) !important;
  letter-spacing: 0.5px !important;
  transition: opacity 0.3s ease, color 0.3s ease !important;
}

.nav-admin-link:hover {
  opacity: 1 !important;
  color: var(--primary) !important;
}

body.has-hero header:not(.scrolled) .nav-admin-link {
  color: var(--text-light) !important;
}

/* Hero Section — homepage */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  padding: 5rem 0 3.5rem;
  overflow: hidden;
  background: #0d0d1a;
}

/* Parallax photo layer - removed placeholder image to avoid flash before video loads */
.hero::before {
  content: '';
  position: absolute;
  inset: -10% 0;
  background-image: none;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: heroParallax 20s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
  z-index: 0;
}

/* Background Video */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

/* Dark overlay for text legibility */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(5, 5, 20, 0.65) 0%,
      rgba(5, 10, 30, 0.55) 50%,
      rgba(5, 5, 20, 0.75) 100%);
  z-index: 1;
}

@keyframes heroParallax {
  0% {
    transform: scale(1.05) translateY(0px);
  }

  50% {
    transform: scale(1.08) translateY(-15px);
  }

  100% {
    transform: scale(1.05) translateY(5px);
  }
}

/* Category / Destination pages: override hero background so the .hero-bg image shows */
.hero.categoria-header,
.hero.destino-header {
  background: transparent;
  min-height: 55vh;
  color: #fff;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
  gap: 1.5rem;
  position: relative;
}

.hero-header {
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin-top: 1rem;
}

.hero-header h1 {
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.5s;
  color: var(--text-light);
}

.hero-header p {
  font-size: 1.1rem;
  margin-bottom: 0;
  font-weight: 300;
  color: rgba(253, 252, 248, 0.7);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.8s;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 1.1s;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.hero-cta-btn svg {
  vertical-align: middle;
  margin-right: 8px;
}

.hero-cta-primary {
  background-color: var(--secondary);
  color: #fff;
  border: 1px solid var(--secondary);
  box-shadow: 0 8px 20px rgba(212, 163, 115, 0.35);
}

.hero-cta-primary:hover {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 255, 255, 0.15);
}

.hero-cta-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.hero-cta-secondary:hover {
  background-color: #25d366;
  /* WhatsApp green on hover */
  border-color: #25d366;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
}

/* Split Layout */
.hero-split {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  margin-top: 0.5rem;
}

.hero-split-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-split-right {
  flex: 0.8;
  width: 100%;
  max-width: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#globe-container {
  width: 750px;
  height: 750px;
  max-width: 100%;
  aspect-ratio: 1;
  cursor: grab;
}

#globe-container:active {
  cursor: grabbing;
}

.globe-subtext {
  font-size: 0.8rem;
  color: rgba(253, 252, 248, 0.5);
  margin-top: 0.8rem;
  text-align: center;
  font-style: italic;
  max-width: 380px;
  line-height: 1.4;
  opacity: 0;
  animation: fadeIn 1s forwards 1.2s;
}

/* Destinations list panel */
/* Destinations list panel */
.top-destinations-panel {
  background: rgba(13, 20, 35, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 1.8rem 1.4rem;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 1s;
}

.panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.panel-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.panel-arrows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-shrink: 0;
}

.panel-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fdfcf8;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.panel-nav-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  transform: scale(1.1);
}

.panel-nav-btn:active {
  transform: scale(0.95);
}

.panel-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  height: 340px;
  overflow-y: auto;
  scroll-behavior: smooth;
  flex-grow: 1;
  padding-right: 2px;
}

@supports (scrollbar-width: none) {
  .panel-list {
    scrollbar-width: none;
  }
}

.panel-list::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

/* Destination list card */
.hero-dest-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.9rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-user-select: none;
  user-select: none;
}

.hero-dest-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-dest-card.active {
  background: rgba(212, 163, 115, 0.15);
  border-color: var(--secondary);
  box-shadow: 0 8px 30px rgba(212, 163, 115, 0.15);
}

.hero-dest-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-dest-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex-grow: 1;
  overflow: hidden;
}

.hero-dest-info h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fdfcf8;
  margin: 0;
}

.hero-dest-info p {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(253, 252, 248, 0.75);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-dest-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  margin-top: 0.4rem;
  align-self: flex-start;
  display: none;
  /* Hidden by default, shown only on active card */
  letter-spacing: 0.3px;
  transition: opacity 0.2s ease;
  opacity: 0.9;
}

.hero-dest-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.hero-dest-card.active .hero-dest-link {
  display: inline-block;
}

.hero-dest-card.active .hero-dest-link:hover {
  color: #fdfcf8;
  text-decoration: underline;
}

/* Base Buttons unchanged */

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--primary);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.btn:hover {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
  transform: translateY(-3px);
}

header.scrolled .btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Sections */
section {
  padding: 3.5rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  margin: 1rem auto 0;
}

/* Grid layout for categories */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Cards */
.card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.card-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 2;
  color: var(--text-light);
}

.card-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  transform: translateY(40px);
  transition: var(--transition);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.card-content p {
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition);
  color: #e5e5e5;
  font-weight: 300;
  max-width: 95%;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.card-content .explore {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition);
  color: var(--secondary);
}

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

.card:hover .card-content h3,
.card:hover .card-content p,
.card:hover .card-content .explore {
  opacity: 1;
  transform: translateY(0);
}

/* Card highlight animation for active selection */
.card-highlight {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
  animation: pulseCardHighlight 2.5s ease;
}

@keyframes pulseCardHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.8);
    transform: scale(1.02);
  }

  30% {
    box-shadow: 0 0 0 25px rgba(212, 163, 115, 0);
    transform: scale(1.02);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 163, 115, 0);
    transform: scale(1);
  }
}

/* Lead Capture Form - Full Width block for seamless SVG waves integration */
.lead-form-container {
  background-color: var(--primary);
  background: linear-gradient(135deg, #3d6b5c 0%, #2c4f3e 100%);
  padding: 5rem 5%;
  border-radius: 0;
  color: var(--text-light);
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.lead-form-container h2 {
  color: var(--text-light);
  margin-top: 0;
  margin-bottom: 1rem;
}

.lead-form-container p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  padding: 1rem;
  border-radius: 8px;
  border: none;
  font-family: var(--font-sans);
}

.lead-form button {
  background-color: var(--secondary);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-weight: bold;
}

.lead-form button:hover {
  background-color: #b08051;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 8rem 5% 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.footer-col p {
  margin-bottom: 0.8rem;
  font-weight: 300;
  opacity: 0.8;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--text-light);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--secondary);
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.8;
}

.footer-link-secondary {
  display: inline-block;
  color: var(--secondary) !important;
  margin-left: 10px;
  text-decoration: underline;
  font-weight: 500;
  white-space: nowrap;
}

.footer-link-secondary:hover {
  color: #fff !important;
}

.footer-link-secondary-no-margin {
  display: inline-block;
  color: var(--secondary) !important;
  text-decoration: underline;
  font-weight: 500;
  white-space: nowrap;
}

.footer-link-secondary-no-margin:hover {
  color: #fff !important;
}



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

/* Menu Toggle Button styling */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
  pointer-events: none;
}

body.has-hero header:not(.scrolled) .menu-toggle span {
  background-color: var(--text-light);
}

header.scrolled .menu-toggle span {
  background-color: var(--text-dark);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 98;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-split {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-split-right {
    width: 100%;
    max-width: 700px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding-top: 2rem;
  }

  #globe-container {
    width: 660px;
    height: 660px;
  }
}

@media (max-width: 768px) {
  .hero-header h1 {
    font-size: 2.3rem;
  }

  #globe-container {
    width: 480px;
    height: 480px;
  }

  header {
    padding: 1rem 5%;
    background: var(--bg-color);
  }

  header .logo {
    color: var(--primary);
  }

  /* Show toggle on mobile button and force dark spans on mobile light header */
  .menu-toggle {
    display: flex;
  }

  .menu-toggle span,
  body.has-hero header:not(.scrolled) .menu-toggle span,
  header.scrolled .menu-toggle span {
    background-color: var(--text-dark) !important;
  }

  /* Mobile Slide Drawer Menu */
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-color);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    padding: 6rem 2rem 2rem;
    flex-direction: column;
    gap: 1.8rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
  }

  nav.active ul {
    right: 0;
  }

  nav ul li a {
    color: var(--text-dark) !important;
    font-size: 1.15rem;
    font-weight: 500;
    display: block;
    border-bottom: 1px solid #f0ede4;
    padding-bottom: 0.6rem;
    text-align: left;
  }
}

/* --- Otros destinos secundarios (Más Destinos) --- */
.other-destinations-section {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 0 5%;
  border-top: 1px dashed rgba(90, 125, 124, 0.25);
  padding-top: 3rem;
}

.other-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 2rem;
  font-style: italic;
}

.mini-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  padding: 0.8rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(90, 125, 124, 0.08);
}

.mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(90, 125, 124, 0.12);
  border-color: var(--primary);
}

.mini-card-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.mini-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow: hidden;
}

.mini-card-info h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.mini-card-tag {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: bold;
}

/* SVG Waves Dividers */
.custom-shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
}

.custom-shape-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.custom-shape-divider-bottom .shape-fill {
  fill: var(--bg-color);
  /* Matches Experiences background */
}

.custom-shape-divider-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
}

.custom-shape-divider-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.custom-shape-divider-top .shape-fill {
  fill: #f5f4ee;
  /* Matches Top10 background */
}

/* ═══ SECTION DIVIDERS ══════════════════════════════════════════════════════ */
.section-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.section-divider svg {
  display: block;
  width: 100%;
}

/* ═══ SCROLL INDICATOR ══════════════════════════════════════════════════════ */
#scroll-indicator {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  /* GSAP controls this */
  transition: opacity 0.3s ease;
}

.scroll-indicator-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(45, 49, 66, 0.5);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.scroll-indicator-wheel {
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: rgba(45, 49, 66, 0.7);
}

.scroll-indicator-chevron {
  width: 20px;
  height: 20px;
  color: rgba(45, 49, 66, 0.6);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
  margin-top: -6px;
}

.scroll-indicator-chevron--2 {
  opacity: 0.5;
  margin-top: -10px;
}

/* SEO Callout - Custom Travel Ticker */
.custom-travel-ticker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fcfbf7;
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  padding: 0.4rem 1.8rem;
  box-shadow: 0 5px 20px rgba(90, 125, 124, 0.05);
  max-width: 1000px;
  margin: 1.5rem auto 3rem;
  gap: 1.5rem;
  overflow: hidden;
  height: 80px;
  /* Increased from 72px to fully prevent clipping */
  box-sizing: border-box;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ticker-icon {
  font-size: 1.25rem;
}

.ticker-title {
  font-family: var(--font-serif);
  color: var(--primary);
  font-weight: 600;
  font-size: 1.66rem;
  /* Increased size (+2 originally, now +5px/0.31rem) */
  white-space: nowrap;
}

.ticker-content {
  flex-grow: 1;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.ticker-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
}

.ticker-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  /* Increased size (+2) */
  color: #4a4a4a;
  line-height: 1.35;
}

.ticker-item strong {
  color: var(--secondary);
  font-weight: 600;
}

.ticker-cta {
  flex-shrink: 0;
}

.ticker-btn {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  /* Increased size (+2) */
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-block;
}

.ticker-btn:hover {
  background: var(--secondary);
  transform: translateY(-1px);
}

/* Responsive Ticker */
@media (max-width: 768px) {
  .custom-travel-ticker {
    flex-direction: column;
    height: auto;
    align-items: flex-start;
    padding: 1.2rem 1.5rem;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
  }

  .ticker-content {
    width: 100%;
    height: 60px;
    /* Increased from 52px */
  }

  .ticker-item {
    font-size: 1.15rem;
    /* Increased size */
    align-items: flex-start;
  }

  .ticker-cta {
    width: 100%;
    text-align: right;
  }
}

#top10 {
  background-color: #f5f4ee;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Utility classes to avoid inline styles */
.nav-link-dark {
  color: var(--text-dark) !important;
}

.nav-link-primary {
  color: var(--primary) !important;
}

.rel-pos {
  position: relative;
}

.hero-text-z-index {
  z-index: 2;
  position: relative;
}

.header-lead-text {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.shape-fill-fdfcf8 {
  fill: #fdfcf8;
}

.shape-fill-fcfbfa {
  fill: #fcfbfa;
}

.divider-bg-cream {
  background: #fdfcf8;
  margin-top: -2px;
}

.divider-bg-cream-alt {
  background: #fcfbfa;
  margin-top: -2px;
}

.divider-bg-cream-var {
  background: var(--bg-color);
  margin-top: -2px;
}

.divider-bg-dark-green {
  background: #2c4f3e;
  margin-top: -2px;
}

.divider-bg-white {
  background: #fff;
  margin-top: -2px;
}

.d-block {
  display: block;
}

.d-none {
  display: none;
}

.form-title {
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  color: var(--text-dark);
}

.flex-add-btns {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.mt-08 {
  margin-top: 0.8rem;
}

.mt-06 {
  margin-top: 0.6rem;
}

.mt-05 {
  margin-top: 0.5rem;
}

.form-preview-img-style {
  max-height: 140px;
  width: 100%;
  object-fit: cover;
}

.cat-preview-img-style {
  max-height: 110px;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.monospace-textarea-150 {
  height: 150px;
  font-family: monospace;
  font-size: 0.8rem;
}

.btn-margin-block {
  margin-top: 0.5rem;
  display: block;
  border-radius: 4px;
  padding: 0.5rem 1rem;
}

.input-margin-block {
  margin-bottom: 1rem;
  display: block;
  font-size: 0.85rem;
}

.border-red {
  border-color: #ffcdd2;
}

.color-dark-red {
  color: #c62828;
}

.dest-categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.8rem;
  background: #faf9f6;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* --- AUDITORIA / TESTIMONIOS Y ACCESIBILIDAD --- */

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 5%;
  background-color: var(--bg-color);
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 3rem auto 2.5rem;
}

.testimonial-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.testimonial-card .stars {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a505e;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1rem;
}

.testimonial-author strong {
  font-size: 1.05rem;
  color: var(--text-dark);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: rgba(90, 125, 124, 0.95);
  font-weight: 500;
}

.google-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: #ffffff;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.google-badge .badge-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.google-badge .rating {
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* SEO Static links for crawlers hidden visually */
.seo-static-links {
  display: none !important;
}

/* Ticker link style */
.ticker-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ticker-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Footer tel link */
.footer-tel {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-tel:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* Active Nav Link */
nav a.nav-active {
  color: var(--primary) !important;
}

/* Footer Legal Links */
.footer-link-secondary {
  display: inline-block;
  color: var(--secondary) !important;
  margin-left: 10px;
  text-decoration: underline;
  font-weight: 500;
  white-space: nowrap;
}

.footer-link-secondary:hover {
  color: #fff !important;
}

.footer-link-secondary-no-margin {
  display: inline-block;
  color: var(--secondary) !important;
  text-decoration: underline;
  font-weight: 500;
  white-space: nowrap;
}

.footer-link-secondary-no-margin:hover {
  color: #fff !important;
}

/* Contact Page Phone/WhatsApp links */
.contact-tel-link {
  color: var(--text-dark);
  text-decoration: underline;
}

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

/* Helper utility classes for inline styles */
.section-divider-light-wave {
  background: var(--bg-color);
  margin-top: -2px;
}

.section-divider-dark-wave {
  background: #2c4f3e;
  margin-top: -2px;
}

.display-block-svg {
  display: block;
}

.btn-secondary-bg {
  background: var(--secondary) !important;
}

/* Accessibility Focus Outline for Keyboard Navigable Elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--secondary) !important;
  outline-offset: 3px !important;
}

/* Testimonials Carousel Custom Styling */
.testimonials-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 3rem auto 2.5rem;
  padding: 0 50px;
}

.testimonials-viewport {
  overflow: hidden;
  padding: 15px 5px;
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonials-track .testimonial-card {
  flex: 0 0 calc(33.333% - 1.33rem);
  max-width: calc(33.333% - 1.33rem);
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }

  .testimonials-carousel-container {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .testimonials-carousel-container {
    padding: 0 10px;
  }

  .testimonials-track .testimonial-card {
    flex: 0 0 calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(90, 125, 124, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  font-size: 1.3rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(90, 125, 124, 0.2);
}

.carousel-btn:disabled {
  opacity: 0;
  visibility: hidden;
  cursor: not-allowed;
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}