/* ========================================================================== */
/* 0. VARIABLES Y CONFIGURACIÓN GLOBAL                                       */
/* ========================================================================== */
:root {
  --c-navy-deep: #081622;
  --c-navy: #0C2438;
  --c-navy-light: #13334c;

  /* Fondo plomo oscuro para tarjetas */
  --c-lead-dark: #16222e;
  --c-lead-surface: rgba(22, 34, 46, 0.95);
  --c-lead-border: rgba(247, 245, 240, 0.12);

  /* Terracota elegante y suave */
  --c-terracotta: #D8894F;
  --c-terracotta-soft: rgba(216, 137, 79, 0.85);
  --c-terracotta-dim: rgba(216, 137, 79, 0.12);
  --c-terracotta-glow: rgba(216, 137, 79, 0.25);

  /* Arena y contrastes */
  --c-sand: #F7F5F0;
  --c-sand-muted: rgba(247, 245, 240, 0.78);
  --c-sand-faint: rgba(247, 245, 240, 0.08);

  --f-head: 'Playfair Display', Georgia, serif;
  --f-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  background-color: var(--c-navy);
  color: var(--c-sand);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.svg-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

/* ========================================================================== */
/* TOP BAR & NAVBAR                                                           */
/* ========================================================================== */
.top-bar {
  position: relative;
  z-index: 100;
  background: rgba(12, 36, 56, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247, 245, 240, 0.08);
  width: 100%;
}

.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.top-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--f-head);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-sand);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-terracotta-soft);
  font-weight: 600;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--c-sand-muted);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--c-sand-faint);
  border: 1px solid rgba(247, 245, 240, 0.12);
}

.top-email:hover {
  border-color: var(--c-terracotta-soft);
  color: var(--c-sand);
  background: var(--c-terracotta-dim);
}

.top-socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-sand-faint);
  border: 1px solid rgba(247, 245, 240, 0.14);
  color: var(--c-sand-muted);
}

.social-circle:hover {
  background: var(--c-terracotta-soft);
  border-color: var(--c-terracotta-soft);
  color: var(--c-navy-deep);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 211, 102, 0.9);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

.btn-whatsapp:hover {
  background: #25D366;
  color: #FFFFFF;
}

.wa-svg {
  width: 16px;
  height: 16px;
}

.main-navbar {
  position: sticky;
  top: 0;
  z-index: 95;
  background: rgba(8, 22, 34, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 137, 79, 0.2);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mobile-nav-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.mobile-menu-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-terracotta-soft);
  font-weight: 600;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--c-sand);
  border-radius: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--c-sand-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-item:hover,
.nav-item.active {
  color: var(--c-terracotta);
}

.dropdown-arrow {
  width: 12px;
  height: 12px;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  background: rgba(10, 26, 40, 0.98);
  border: 1px solid rgba(216, 137, 79, 0.25);
  border-radius: 0 0 8px 8px;
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.82rem;
  color: var(--c-sand-muted);
}

.dropdown-menu li a:hover {
  background: var(--c-terracotta-dim);
  color: var(--c-sand);
}

/* ========================================================================== */
/* PANTALLA COMPLETA INICIAL (Banner 2 botones + 3 Tarjetas)                  */
/* ========================================================================== */
.first-screen-wrapper {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 105px);
  min-height: calc(100dvh - 105px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 1.5rem 2rem;
  overflow: hidden;
  text-align: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slides .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2.2s cubic-bezier(0.4, 0, 0.2, 1), transform 7s ease-out;
  transform: scale(1.04);
}

.hero-slides .slide.slide-active {
  opacity: 1;
  transform: scale(1);
}

.hero-veil-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 22, 34, 0.8) 0%,
    rgba(12, 36, 56, 0.6) 45%,
    rgba(8, 22, 34, 0.95) 100%
  );
  z-index: 1;
}

.hero-main-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: auto auto 2rem;
}

.hero-tour-title {
  font-family: var(--f-head);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--c-sand);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.hero-tour-desc {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(247, 245, 240, 0.92);
  margin-bottom: 1.8rem;
  line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.hero-action-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--c-terracotta-soft);
  color: var(--c-navy-deep);
  border: 1px solid var(--c-terracotta-soft);
}

.btn-primary:hover {
  background: var(--c-sand);
  border-color: var(--c-sand);
  color: var(--c-navy-deep);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--c-terracotta-glow);
}

.btn-secondary {
  background: rgba(22, 34, 46, 0.8);
  color: var(--c-sand);
  border: 1px solid rgba(247, 245, 240, 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--c-sand);
  color: var(--c-navy-deep);
  border-color: var(--c-sand);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(247, 245, 240, 0.25);
}

/* Fila de 3 Tarjetas Flotantes */
.features-floating-row {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature-box {
  background: var(--c-lead-surface);
  border: 1px solid var(--c-lead-border);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
}

.feature-title {
  font-family: var(--f-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-sand);
  margin-bottom: 0.3rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--c-sand-muted);
}

/* ========================================================================== */
/* BARRA DE NAVEGACIÓN INTERNA & PESTAÑAS                                      */
/* ========================================================================== */
.tour-tabs-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  width: 100%;
}

.tabs-container {
  width: 100%;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(247, 245, 240, 0.12);
  padding-bottom: 1.2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.75rem 1.6rem;
  color: var(--c-sand-muted);
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--c-sand);
  background: var(--c-sand-faint);
}

.tab-btn.active {
  color: var(--c-navy-deep);
  background: var(--c-terracotta-soft);
  border-color: var(--c-terracotta-soft);
  box-shadow: 0 4px 16px var(--c-terracotta-glow);
}

.tab-panel {
  display: none;
  width: 100%;
  animation: fadeInPanel 0.3s ease forwards;
}

.tab-panel.active {
  display: block !important;
}

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

.panel-header {
  text-align: center;
  margin-bottom: 3rem;
}

.panel-tag {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-terracotta-soft);
  font-weight: 700;
}

.panel-title {
  font-family: var(--f-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--c-sand);
  margin: 0.4rem 0 0.8rem;
}

.title-underline {
  width: 50px;
  height: 2px;
  background: var(--c-terracotta-soft);
  margin: 0 auto;
  border-radius: 2px;
}

/* ITINERARIO */
.itinerary-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

.itinerary-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--c-lead-surface);
  border: 1px solid var(--c-lead-border);
  border-radius: 12px;
  padding: 1.8rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.itinerary-card:hover {
  transform: translateX(4px);
  border-color: var(--c-terracotta-soft);
}

.itinerary-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--c-terracotta-soft);
  color: var(--c-navy-deep);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.itinerary-text-group {
  display: flex;
  flex-direction: column;
}

.itinerary-card-title {
  font-family: var(--f-head);
  font-size: 1.25rem;
  color: var(--c-sand);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.itinerary-card-desc {
  font-size: 0.92rem;
  color: var(--c-sand-muted);
  line-height: 1.7;
}

/* INCLUSIONES */
.inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.inc-card {
  background: var(--c-lead-surface);
  border: 1px solid var(--c-lead-border);
  border-radius: 12px;
  padding: 2.2rem;
}

.inc-title {
  font-family: var(--f-head);
  font-size: 1.25rem;
  color: var(--c-sand);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(247, 245, 240, 0.08);
}

.inc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.inc-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  color: var(--c-sand-muted);
  line-height: 1.6;
}

.inc-yes .inc-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #25D366;
}

.inc-no .inc-list li::before {
  content: "✖";
  position: absolute;
  left: 0;
  color: #ef5350;
}

/* RECOMENDACIONES */
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 950px;
  margin: 0 auto;
}

.recom-card {
  background: var(--c-lead-surface);
  border: 1px solid var(--c-lead-border);
  border-radius: 10px;
  padding: 1.6rem;
  border-left: 3px solid var(--c-terracotta-soft);
}

.recom-label {
  font-family: var(--f-head);
  font-size: 1.15rem;
  color: var(--c-sand);
  margin-bottom: 0.5rem;
}

.recom-text {
  font-size: 0.88rem;
  color: var(--c-sand-muted);
  line-height: 1.6;
}

/* PREGUNTAS FRECUENTES */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-box {
  background: var(--c-lead-surface);
  border: 1px solid var(--c-lead-border);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
}

.faq-box[open] {
  border-color: var(--c-terracotta-soft);
}

.faq-box-title {
  font-family: var(--f-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--c-sand);
  list-style: none;
  outline: none;
}

.faq-box-title::-webkit-details-marker {
  display: none;
}

.faq-box-content {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(247, 245, 240, 0.08);
  font-size: 0.9rem;
  color: var(--c-sand-muted);
  line-height: 1.7;
}

/* ========================================================================== */
/* GALERÍA EXPANDIDA: BOTONES CENTRADOS DENTRO DE LA IMAGEN                   */
/* ========================================================================== */
.gallery-full-section {
  background: #081622;
  border-top: 1px solid rgba(216, 137, 79, 0.15);
  padding: 5.5rem 1.5rem 5rem;
  text-align: center;
  width: 100%;
}

.gallery-header-wrap {
  max-width: 840px;
  margin: 0 auto 3rem;
}

.gallery-main-title {
  font-family: var(--f-head);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  color: var(--c-sand);
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}

.gallery-main-desc {
  font-size: 0.98rem;
  color: var(--c-sand-muted);
  margin-top: 1.2rem;
  line-height: 1.7;
}

.gallery-viewport {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 640px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(216, 137, 79, 0.25);
  background: #000;
}

.gallery-slides-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), transform 6s ease-out;
  transform: scale(1.03);
}

.gallery-slide-item.active-gallery-slide {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.gallery-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-viewport::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 22, 34, 0.85) 100%);
  pointer-events: none;
  z-index: 3;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8, 22, 34, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(247, 245, 240, 0.25);
  color: var(--c-sand);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  z-index: 5;
  transition: var(--transition);
}

.gallery-arrow:hover {
  background: var(--c-terracotta-soft);
  color: var(--c-navy-deep);
  border-color: var(--c-terracotta-soft);
  transform: translateY(-50%) scale(1.08);
}

.arrow-left {
  left: 1.5rem;
}

.arrow-right {
  right: 1.5rem;
}

.gallery-pills {
  position: absolute;
  bottom: 5.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.65rem;
  z-index: 5;
}

.gallery-pills .pill {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(247, 245, 240, 0.45);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-pills .pill.active {
  background: var(--c-terracotta);
  width: 26px;
  border-radius: 999px;
}

.gallery-overlay-buttons {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  z-index: 5;
  width: 90%;
  max-width: 500px;
}

.btn-overlay {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ========================================================================== */
/* NUEVA SECCIÓN: TAMBIÉN PODRÍA INTERESARTE (Carrusel 3s + Pausa en hover)   */
/* ========================================================================== */
.related-tours-section {
  padding: 5.5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-terracotta-soft);
  font-weight: 700;
}

.section-title {
  font-family: var(--f-head);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--c-sand);
  margin: 0.4rem 0 0.8rem;
}

.related-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.related-carousel-track-container {
  overflow: hidden;
  width: 100%;
  padding: 1.2rem 0.5rem;
}

.related-carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Tarjetas individuales dentro del carrusel */
.rel-card {
  flex: 0 0 calc((100% - 4rem) / 3); /* 3 columnas en desktop con su separación */
  min-width: 0;
}

.tour-card {
  background: var(--c-lead-surface);
  border: 1px solid var(--c-lead-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px -8px rgba(0, 0, 0, 0.55);
  border-color: var(--c-terracotta-soft);
}

.card-image-box {
  width: 100%;
  height: 215px;
  overflow: hidden;
  position: relative;
}

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

.tour-card:hover .card-image-box img {
  transform: scale(1.06);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--f-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-sand);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  min-height: 2.8rem;
}

.card-description {
  font-size: 0.86rem;
  color: var(--c-sand-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-price-box {
  margin-top: auto;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(247, 245, 240, 0.09);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.price-prefix,
.price-suffix {
  font-size: 0.76rem;
  color: rgba(247, 245, 240, 0.6);
  text-transform: uppercase;
}

.price-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-terracotta);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.65rem;
}

.btn-card-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  border: 1px solid rgba(247, 245, 240, 0.2);
  color: var(--c-sand);
  background: rgba(247, 245, 240, 0.04);
}

.btn-card-contact:hover {
  background: rgba(247, 245, 240, 0.12);
  border-color: var(--c-sand);
}

.btn-card-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  border: 1px solid var(--c-terracotta-soft);
  color: var(--c-navy-deep);
  background: var(--c-terracotta-soft);
}

.btn-card-book:hover {
  background: var(--c-sand);
  border-color: var(--c-sand);
  color: var(--c-navy-deep);
}

/* Flechas de navegación para tours relacionados */
.rel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8, 22, 34, 0.75);
  border: 1px solid rgba(247, 245, 240, 0.2);
  color: var(--c-sand);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition);
}

.rel-arrow:hover {
  background: var(--c-terracotta-soft);
  color: var(--c-navy-deep);
  border-color: var(--c-terracotta-soft);
  transform: translateY(-50%) scale(1.08);
}

.rel-arrow-prev {
  left: -1.2rem;
}

.rel-arrow-next {
  right: -1.2rem;
}

/* ========================================================================== */
/* FOOTER                                                                     */
/* ========================================================================== */
.main-footer {
  background: #06131e;
  border-top: 1px solid rgba(216, 137, 79, 0.2);
  padding-top: 4.5rem;
  color: var(--c-sand);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.brand-col .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--f-head);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-sand);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--c-sand-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social-icons {
  display: flex;
  gap: 0.6rem;
}

.footer-social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-sand-faint);
  border: 1px solid rgba(247, 245, 240, 0.12);
  color: var(--c-sand-muted);
}

.footer-social-icons a:hover {
  background: var(--c-terracotta-soft);
  border-color: var(--c-terracotta-soft);
  color: var(--c-navy-deep);
}

.footer-heading {
  font-family: var(--f-head);
  font-size: 1.1rem;
  color: var(--c-sand);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--c-terracotta-soft);
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-link-list a {
  font-size: 0.84rem;
  color: var(--c-sand-muted);
}

.footer-link-list a:hover {
  color: var(--c-terracotta);
  padding-left: 0.35rem;
}

.footer-contact-info {
  margin-top: 1.25rem;
  font-size: 0.83rem;
  color: var(--c-sand-muted);
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(247, 245, 240, 0.07);
  padding: 1.5rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(247, 245, 240, 0.45);
}

/* ========================================================================== */
/* RESPONSIVIDAD TOTAL                                                        */
/* ========================================================================== */
@media (max-width: 1200px) {
  .gallery-viewport {
    height: 540px;
  }
}

@media (max-width: 1024px) {
  .rel-card {
    flex: 0 0 calc((100% - 2rem) / 2); /* 2 tarjetas en tablet */
  }

  .rel-arrow-prev {
    left: 0;
  }

  .rel-arrow-next {
    right: 0;
  }
}

@media (max-width: 992px) {
  .mobile-nav-header {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 0.5rem 0 1.2rem;
    border-top: 1px solid rgba(247, 245, 240, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-item {
    width: 100%;
    padding: 0.85rem 0.5rem;
    justify-content: space-between;
    border-bottom: 1px solid rgba(247, 245, 240, 0.05);
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    border: none;
    background: rgba(6, 18, 28, 0.6);
    border-left: 2px solid var(--c-terracotta-soft);
    margin-left: 0.75rem;
    display: none;
  }

  .nav-dropdown.active .dropdown-menu {
    display: block;
  }

  .first-screen-wrapper {
    min-height: auto;
    padding: 4rem 1.2rem 2.5rem;
  }

  .features-floating-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .gallery-viewport {
    height: 440px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .top-actions .top-email {
    display: none;
  }

  .tabs-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .tab-btn {
    text-align: center;
  }

  .itinerary-card {
    flex-direction: column;
    gap: 1rem;
  }

  .gallery-viewport {
    height: 380px;
  }

  .arrow-left {
    left: 0.8rem;
  }

  .arrow-right {
    right: 0.8rem;
  }

  .gallery-pills {
    bottom: 5.6rem;
  }

  .gallery-overlay-buttons {
    bottom: 1.2rem;
    flex-direction: column;
    gap: 0.7rem;
    width: 85%;
  }

  .gallery-overlay-buttons .btn {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

@media (max-width: 640px) {
  .rel-card {
    flex: 0 0 100%; /* 1 tarjeta en móviles */
  }

  .rel-arrow {
    display: none; /* En móviles se prioriza desplazamiento táctil y auto-play */
  }
}

@media (max-width: 480px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .top-brand {
    justify-content: center;
  }

  .top-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-action-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-action-buttons .btn {
    width: 100%;
  }

  .gallery-viewport {
    height: 340px;
  }
}