/* Sam's Zipline - Spanish version | HTML/CSS/JS */
:root {
  --green: #1a5f23;
  --green-dark: #0f3d14;
  --green-light: #2d8a3e;
  --amber: #c9a227;
  --amber-dark: #9a7b1a;
  --gray: #2c2c2c;
  --gray-light: #f5f5f0;
  --white: #fff;
  --shadow: 0 0.25rem 1.25rem rgba(0,0,0,0.12);
  --radius: 0.75rem;
  --font: 'Outfit', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray); background: var(--white); line-height: 1.6; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ----- Navbar ----- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow);
  border-bottom: 0.1875rem solid var(--green);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.75rem 7%;
  margin: 0;
  box-sizing: border-box;
}
.logo-link { display: flex; align-items: center; }
.logo-img { height: 2.5rem; width: auto; display: block; }

.nav-links { display: flex; list-style: none; gap: 0.25rem; }
.nav-links a {
  display: block;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--gray);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--green); color: var(--white); }

/* Badge NUEVO en el menú principal */
.nav-links .nav-item--new { position: relative; }
.nav-links .nav-item--new .nav-badge-new {
  position: absolute;
  top: 0.15rem;
  right: 0.25rem;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  pointer-events: none;
  animation: navBadgeBlink 0.9s steps(2, end) infinite;
}
@keyframes navBadgeBlink {
  50% { opacity: 0; }
}

.btn-contact-nav {
  background: var(--green-dark);
  color: var(--white) !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: var(--radius);
  font-weight: 600;
}
.btn-contact-nav:hover { background: var(--green); }

/* Mobile menu */
.btn-menu {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 17.5rem;
  height: 100vh;
  background: var(--white);
  box-shadow: -0.25rem 0 1.5rem rgba(0,0,0,0.15);
  z-index: 101;
  padding: 2rem 1rem;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { padding: 0.75rem; border-radius: 0.5rem; font-weight: 500; }
.mobile-menu a:hover { background: var(--gray-light); }
.close-menu {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
}
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 100;
}
.overlay.active { display: block; }

/* ----- Container ----- */
.container { width: 100%; padding: 0 7%; box-sizing: border-box; }

/* ----- Hero Home ----- */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-light) 100%);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(3.6rem, 8vw, 5.6rem);
  margin: 0;
  opacity: 0.88;
  position: relative;
  z-index: 2;
  text-align: left;
  line-height: 1.1;
  font-weight: 700;
}
.hero .subtitle { font-size: 1.1rem; opacity: 0.95; margin-bottom: 1rem; position: relative; z-index: 2; }

/* Hero contenido: h1 izquierda, ofertas derecha */
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

/* Hero ofertas: carrusel horizontal automático */
.hero-offers {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 24rem;
  margin: 0;
  flex-shrink: 0;
}
.hero-offers__viewport {
  overflow: hidden;
}
.hero-offers__track {
  display: flex;
  transition: transform 0.35s ease;
}
.hero-offers__item {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(0.5rem);
  border: 0.125rem solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  box-sizing: border-box;
  box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.15);
}
.hero-offers__item:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.2);
}
.hero-offers__name { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.35rem; letter-spacing: 0.02em; }
.hero-offers__price { font-size: 2.75rem; font-weight: 800; color: var(--amber); line-height: 1; letter-spacing: -0.02em; }
.hero-offers__badge { font-size: 0.75rem; opacity: 0.95; margin-top: 0.35rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }

/* ----- Home: hero full viewport, nav over video, nav white on scroll ----- */
.page-home .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  box-shadow: none;
  border-bottom: none;
  transition: background 0.25s, box-shadow 0.25s, color 0.2s;
}
.page-home .navbar .nav-links a { color: rgba(255,255,255,0.95); }
.page-home .navbar .nav-links a:hover,
.page-home .navbar .nav-links a.active { background: rgba(255,255,255,0.2); color: var(--white); }
.page-home .navbar .btn-contact-nav {
  background: rgba(255,255,255,0.25);
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.5);
}
.page-home .navbar .btn-contact-nav:hover { background: rgba(255,255,255,0.35); border-color: rgba(255,255,255,0.6); }
.page-home .navbar .btn-menu { background: rgba(255,255,255,0.3); color: var(--white); }

.page-home .navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
  border-bottom: 0.1875rem solid var(--green);
}
.page-home .navbar.scrolled .nav-links a { color: var(--gray); }
.page-home .navbar.scrolled .nav-links a:hover,
.page-home .navbar.scrolled .nav-links a.active { background: var(--green); color: var(--white); }
.page-home .navbar.scrolled .btn-contact-nav {
  background: var(--green-dark);
  color: var(--white) !important;
  border: none;
}
.page-home .navbar.scrolled .btn-contact-nav:hover { background: var(--green); }
.page-home .navbar.scrolled .btn-menu { background: var(--green); color: var(--white); }

.page-home .hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}
.page-home .hero .hero__content {
  flex: 0 0 auto;
}

/* ----- Section ----- */
.section { padding: 4.3rem 0; }
.section.alt:not(.block-why) { background: var(--gray-light); }
.section-title { font-size: 1.75rem; color: var(--green); margin-bottom: 1.5rem; text-align: center; } 
.section-title strong { color: var(--green-dark); }


/* ----- Block Intro (Sam's Zipline) ----- */
.block-intro { background: var(--white); }
.block-intro .container { box-sizing: border-box; text-align: center; }

.block-intro h2 { font-size: 2.75rem; color: var(--green); margin-bottom: 1.5rem; }
.block-intro h3 { font-size: 1.2rem; color: var(--green-dark); margin-bottom: 1.5rem;  }
.block-intro p { font-size: 1.05rem; line-height: 1.8; color: var(--gray);  margin: 0; }

/* ----- Block Zipline (especialista / parallax) ----- */
.block-zipline {
  position: relative;
  min-height: 28rem;
  padding: 4rem 0;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.25) 40%, transparent 70%),
    url("../../media/zipline01.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.block-zipline h2 { font-size: 2.75rem; color: var(--gray-light); text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5); margin-bottom: 1.5rem; text-align: right; }
.block-zipline h3 { font-size: 1.75rem; color: var(--amber); margin-bottom: 1.5rem; text-align: right;}
.block-zipline p { font-size: 1.05rem; line-height: 1.8; color: var(--white); margin: 0; text-align: right; }
@media (max-width: 48rem) {
  .block-zipline { background-attachment: scroll; }
}
.block-zipline__inner {
  width: 100%;
  padding: 0 7%;
  margin: 0;
  box-sizing: border-box;
}
.block-zipline__content {
  width: 60%;
  margin-left: auto;
  color: var(--white);
}
.block-zipline__list {
  margin: 0 0 1.5rem 0;
  padding: 0;
  text-align: right;
}
.block-zipline__list .block-zipline__item { margin-top: 0; }
.block-zipline__item {
  background: rgba(255, 255, 255, 0.08);
  padding:0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 0.0625rem solid rgba(255, 255, 255, 0.15);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.3);
  display: inline-block;
}
.block-zipline__item:last-child { margin-bottom: 0; }
.block-zipline__item strong {
  color: var(--amber);
  font-size: 1rem;
}
.block-zipline__price {
  margin: 0 0 0.75rem 0;
  text-align: right;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.block-zipline__price s { font-size: 1rem; opacity: 0.85; margin-right: 0.5rem; }
.block-zipline__price small { font-size: 0.8rem; font-weight: 400; opacity: 0.95; margin-left: 0.35rem; }
.block-zipline__cta-wrap { margin: 0; text-align: right; }
.block-zipline h3.block-zipline__cta-wrap { margin: 0; margin-bottom: 0; }
.block-zipline__cta {
  display: inline-block;
  background: var(--amber);
  color: var(--green-dark);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.block-zipline__cta:hover { background: var(--white); transform: translateY(-0.125rem); }
@media (max-width: 48rem) {
  .block-zipline__content { width: 100%; }
  .block-zipline .section-title { text-align: center; }
  .block-zipline__list { text-align: center; }
  .block-zipline__price { text-align: center; }
  .block-zipline__cta-wrap { text-align: center; }
  .block-zipline {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.35) 100%),
      url("../../media/zipline01.jpg");
  }
}

/* ----- Block Ubicación (parallax) ----- */
.block-ubicacion {
  position: relative;
  min-height: 28rem;
  padding: 4rem 0;
  background-image: linear-gradient(270deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.25) 40%, transparent 70%),
    url("../../media/zipline02.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.block-ubicacion h2 { font-size: 2.75rem; color: var(--gray-light); text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5); margin-bottom: 1.5rem; text-align: left; }
.block-ubicacion p { font-size: 1.05rem; line-height: 1.8; color: var(--white); margin: 0 0 1rem 0; text-align: left; }
.block-ubicacion__inner {
  width: 100%;
  padding: 0 7%;
  margin: 0;
  box-sizing: border-box;
}
.block-ubicacion__content {
  width: 100%;
  max-width: 75rem;
  margin-right: auto;
  margin-left: 0;
  color: var(--white);
}
.block-ubicacion__map-trigger {
  display: block;
  margin: 1rem 0 1.25rem 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}
.block-ubicacion__map-trigger:hover .block-ubicacion__map { border-color: rgba(255, 255, 255, 0.45); box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.5); }
.block-ubicacion__map {
  display: block;
  max-width: 350px;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.4);
  border: 0.125rem solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Lightbox mapa */
.lightbox-map {
  position: fixed;
  inset: 0;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.lightbox-map.lightbox-map--open {
  opacity: 1;
  visibility: visible;
}
.lightbox-map__backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.lightbox-map__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-map__close:hover { background: rgba(255, 255, 255, 0.35); }
.lightbox-map__img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0.5rem 2.5rem rgba(0, 0, 0, 0.6);
}

/* Lightbox imágenes del hero */
.lightbox-hero {
  position: fixed;
  inset: 0;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.lightbox-hero.lightbox-hero--open {
  opacity: 1;
  visibility: visible;
}
.lightbox-hero__backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.lightbox-hero__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-hero__close:hover { background: rgba(255, 255, 255, 0.35); }
.lightbox-hero__img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0.5rem 2.5rem rgba(0, 0, 0, 0.6);
  opacity: 1;
  transition: opacity 0.25s ease-in-out;
}

.block-ubicacion__cta-wrap { margin: 0; text-align: left; }
.block-ubicacion h3.block-ubicacion__cta-wrap { margin: 0; margin-bottom: 0; }
.block-ubicacion__cta {
  display: inline-block;
  background: var(--amber);
  color: var(--green-dark);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.block-ubicacion__cta:hover { background: var(--white); transform: translateY(-0.125rem); }
@media (max-width: 48rem) {
  .block-ubicacion { background-attachment: scroll; }
  .block-ubicacion__content { width: 100%; }
  .block-ubicacion h2 { text-align: center; }
  .block-ubicacion p { text-align: center; }
  .block-ubicacion__map-trigger { margin-left: auto; margin-right: auto; }
  .block-ubicacion__cta-wrap { text-align: center; }
  .block-ubicacion {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.35) 100%),
      url("../../media/zipline02.webp");
  }
}

/* ----- Tour cards grid ----- */
.tours-intro {
  text-align: center;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray);
}
.tours-grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tour-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: background 1.5s, box-shadow 1.5s;
  border: 0.0625rem solid rgba(0,0,0,0.06);
}
.tour-card h3,
.tour-card .meta,
.tour-card .price { transition: color 1.5s; }
.tour-card .price s { transition: color 1.5s; }
.tour-card:hover {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-dark) 100%);
  box-shadow: 0 0.75rem 2rem rgba(0,0,0,0.25);
}
.tour-card:hover h3,
.tour-card:hover .meta,
.tour-card:hover .price { color: var(--white); }
.tour-card:hover .price s { color: rgba(255,255,255,0.7); }
.tour-card:hover .price small { color: rgba(255,255,255,0.9); }
.tour-card:hover .tour-link {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
}
.tour-card:hover .tour-link:hover { background: rgba(255,255,255,0.15); }
.tour-card .thumb {
  height: 18rem;
  background: linear-gradient(145deg, var(--green-light) 0%, var(--green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.9);
}
/* Thumb con dos imágenes: la superior (--fg) se disuelve al hover */
.tour-card .thumb.thumb--skybike,
.tour-card .thumb.thumb--atv,
.tour-card .thumb.thumb--parapente {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  display: block;
}
.tour-card .thumb.thumb--skybike .thumb-img,
.tour-card .thumb.thumb--atv .thumb-img,
.tour-card .thumb.thumb--parapente .thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tour-card .thumb.thumb--skybike .thumb-img--fg,
.tour-card .thumb.thumb--atv .thumb-img--fg,
.tour-card .thumb.thumb--parapente .thumb-img--fg {
  transition: opacity 1.5s ease;
}
.tour-card:hover .thumb.thumb--skybike .thumb-img--fg,
.tour-card:hover .thumb.thumb--atv .thumb-img--fg,
.tour-card:hover .thumb.thumb--parapente .thumb-img--fg {
  opacity: 0;
}
.tour-card .card-body { padding: 1.25rem; }
.tour-card h3 { font-size: 1.2rem; color: var(--green); margin-bottom: 0.5rem; }
.tour-card .meta { font-size: 0.85rem; color: #666; margin-bottom: 0.5rem; }
.tour-card .price { font-size: 1.25rem; font-weight: 700; color: var(--green-dark); margin-bottom: 0.75rem; }
.tour-card .price s { font-size: 0.95rem; color: #888; font-weight: 400; margin-right: 0.5rem; }
.tour-card .price small { font-size: 0.75rem; font-weight: 400; color: #666; display: block; margin-top: 0.2rem; }
.tour-card .tour-link {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 1.5s, color 1.5s, border-color 1.5s;
}
.tour-card .tour-link:hover { background: var(--green-dark); }

/* ----- Block ¿Por qué Sam's Zipline? (parallax + fichas 4 cols) ----- */
.block-why {
  position: relative;
  background-color: var(--green-dark);
  background-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.35) 100%),
    url("../../media/zipline03.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.block-why .section-title {
  color: var(--white);
  text-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.5);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}
.why-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 0.25rem solid var(--amber);
  overflow: hidden;
}
.why-card::before {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  z-index: 0;
}
.why-card:nth-child(1)::before { content: "1"; }
.why-card:nth-child(2)::before { content: "2"; }
.why-card:nth-child(3)::before { content: "3"; }
.why-card:nth-child(4)::before { content: "4"; }
.why-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.98);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.why-card__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* ----- Tour page ----- */


/* Hero tour con grid 4×2 (imagen principal 2×2, 3 imágenes 1×1, celda título) */
.hero-tour:has(.hero-tour__grid) {
  padding:1rem 7%;
}
.hero-tour__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.75rem;
  min-height: 22rem;
  max-width: 90rem;
  margin: 0 auto;
  overflow: hidden;
}
.hero-tour__img {
  overflow: hidden;
  position: relative;
  background: var(--green-dark);
  border-radius: var(--radius);
}
.hero-tour__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-tour__img--clickable {
  cursor: pointer;
}
.hero-tour__img--clickable::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
  transition: background 0.25s;
  border-radius: var(--radius);
}
.hero-tour__img--clickable:hover::before {
  background: rgba(0, 0, 0, 0.5);
}
.hero-tour__img--clickable::after {
  content: 'CLICK FOR ZOOM';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
}
.hero-tour__img--clickable:hover::after {
  opacity: 1;
}
.hero-tour__img--main {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.hero-tour__title-cell {
  grid-column: 4;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 50%, rgba(26,95,35,0.95) 100%);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
}
.hero-tour__theme {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.95;
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}
.hero-tour__title-cell h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
@media (max-width: 48rem) {
  .hero-tour:has(.hero-tour__grid) { padding: 0 7%; }
  .hero-tour__grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr 1fr;
    min-height: 18rem;
    gap: 0.5rem;
  }
  /* Fila 1: 2 columnas | Fila 2: 3 columnas */
  .hero-tour__img--main,
  .hero-tour__img:nth-of-type(1) {
    grid-column: 1 / 4;
    grid-row: 1;
  }
  .hero-tour__img:nth-of-type(2) {
    grid-column: 4 / 7;
    grid-row: 1;
  }
  .hero-tour__img:nth-of-type(3) {
    grid-column: 1 / 3;
    grid-row: 2;
  }
  .hero-tour__img:nth-of-type(4) {
    grid-column: 3 / 5;
    grid-row: 2;
  }
  .hero-tour__img:nth-of-type(5) {
    grid-column: 5 / 7;
    grid-row: 2;
  }
}

/* Sección de título del tour con fondo claro */
.hero-tour-title {
  padding: 1.5rem 7%;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.hero-tour-title .hero-tour__title-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  background: transparent;
  color: var(--green-dark);
  text-align: left;
  max-width: 90rem;
  margin: 0;
}
.hero-tour-title .hero-tour__theme {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
  margin: 0 0 0.5rem 0;
  font-weight: 500;
  color: var(--green);
}
.hero-tour-title .hero-tour__title-cell h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--green-dark);
}
@media (max-width: 48rem) {
  .hero-tour-title {
    padding: 1.25rem 7%;
  }
}

/* Bloque meta + precio + CTA debajo del hero */
.tour-booking-bar {
  padding: 0.5rem 7%
}
.tour-booking-bar__inner {
  display: flex;
  justify-content: space-between;
}
.tour-booking-bar__grid-meta {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;width: 68%;
}
.tour-booking-bar__grid-meta .tour-booking-bar__duration { grid-column: span 1; }
.tour-booking-bar__grid-meta .tour-booking-bar__place { grid-column: span 2; }
.tour-booking-bar__grid-meta .tour-booking-bar__rating { grid-column: span 2; }
.tour-booking-bar__grid-book {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;width: 30%;
}

/* Tarjetas: estilo profesional e independiente */
.tour-booking-bar__duration,
.tour-booking-bar__place,
.tour-booking-bar__rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 0.0625rem solid #e8e8e6;
  border-radius: 0.5rem;
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.04);
  color: var(--gray);
}
.tour-booking-bar__cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-booking-bar__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--green);
}
.tour-booking-bar__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* __text en 2 columnas: etiqueta | valor */
.tour-booking-bar__text {
  display: grid;
  gap: 0.25rem 1rem;
  align-items: baseline;
  min-width: 0;
}
.tour-booking-bar__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.95;
  margin: 0;
  font-weight: 500;
}
.tour-booking-bar__value {
  font-size: 0.9rem;
  line-height: 1.2;
  color: var(--gray);
  margin: 0;
}

.tour-booking-bar__label_normal {    font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.95;
  margin: 0;
  font-weight: 500;
  text-align: center;
  display: block;
  text-decoration: line-through;
}
.tour-booking-bar__label_price {    font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.95;
  margin: 0;
  font-weight: 500;
  text-align: center;
  display: block;
  line-height: 1.2;
}
.tour-booking-bar__label_price strong {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}
.tour-booking-bar__precio-persona{
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.95;
  margin: 0;
  font-weight: 500;
  text-align: center;
  display: block;
}
/* Botón Reservar: pulso para llamar la atención */
@keyframes tour-booking-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.tour-booking-bar .cta-book {
  display: inline-block;
  background: var(--amber);
  color: var(--green-dark);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  margin: 0;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  animation: tour-booking-bounce 2s ease-in-out infinite;
}
.tour-booking-bar .cta-book:hover {
  background: var(--green-dark);
  color: var(--white);
  animation-play-state: paused;
  transform: translateY(-2px);
}

@media (max-width: 48rem) {
  .tour-booking-bar__inner {
    flex-direction: column;
    gap: 1rem;
  }
  .tour-booking-bar__grid-book {
    order: -1;
    width: 100%;
    grid-template-columns: 1fr;
  }
  .tour-booking-bar__grid-meta {
    width: 100%;
    grid-template-columns: 1fr;
  }
  .tour-booking-bar__grid-meta .tour-booking-bar__duration,
  .tour-booking-bar__grid-meta .tour-booking-bar__place,
  .tour-booking-bar__grid-meta .tour-booking-bar__rating {
    grid-column: span 1;
  }
}

.tour-content {
  padding: 2rem 7%;
  display: flex;
  justify-content: space-between;
}
.tour-content__main {width: 68%;}
.tour-content__sidebar {width:30%;}
.tour-content__form-wrap {
  padding: 1.5rem;
  background: var(--gray-light);
  border-radius: var(--radius);
  border: 0.0625rem solid #e8e8e6;
}
.tour-content__form-wrap:has(form.contactformtour) {
  background: #1e293b;
  border-color: #334155;
  padding: 1.5rem 1.25rem;
}
.tour-content__sidebar-title {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin: 0 0 1rem 0;
  font-weight: 700;
}
.tour-content__sidebar .contact-form { margin-bottom: 0; }
.tour-content__sidebar .contact-form label { margin-top: 0.75rem; }
.tour-content__sidebar .contact-form label:first-of-type { margin-top: 0; }
.tour-content__sidebar .contact-form button { width: 100%; margin-top: 1rem; }

/* Formulario tour (contactformtour) – tema oscuro */
.contactformtour .titleformtour { margin: 0 0 1.25rem 0; font-size: 1.15rem; font-weight: 700; color: #f1f5f9; letter-spacing: 0.02em; }
.contactformtour .titleformtour p { margin: 0; }
.contactformtour .rowformtour { margin-bottom: 1rem; }
.contactformtour .rowformtour--dual { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.contactformtour .rowformtour .textrowformtour p { margin: 0; }
.contactformtour .textrowformtour input,
.contactformtour .textrowformtour select,
.contactformtour .textrowformtour textarea {
  margin-bottom: 0;
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: transparent;
  color: var(--gray-light);
  border: 0.0625rem solid rgba(255, 255, 255, 0.25);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contactformtour .textrowformtour input::placeholder,
.contactformtour .textrowformtour textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.contactformtour .textrowformtour input:focus,
.contactformtour .textrowformtour select:focus,
.contactformtour .textrowformtour textarea:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 0.1875rem rgba(45, 138, 62, 0.25);
}
.contactformtour .textrowformtour select {
  cursor: pointer;
  appearance: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  padding-right: 2rem;
}
.contactformtour .textrowformtour select option { background: var(--gray); color: var(--gray-light); }
.contactformtour .textrowformtour textarea { min-height: 5rem; resize: vertical; }
.contactformtour .rowformsubmittour { margin-top: 1rem; margin-bottom: 0; }
.contactformtour .rowformsubmittour p { margin: 0; }
.contactformtour .rowformsubmittour input[type="submit"] {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.contactformtour .rowformsubmittour input[type="submit"]:hover { background: var(--green-dark); }
@media (max-width: 48rem) {
  .contactformtour .rowformtour--dual { grid-template-columns: 1fr; }
}

.tour-content h2 { font-size: 1.35rem; color: var(--green); margin: 1.5rem 0 0.75rem; border-bottom: 0.125rem solid var(--green); padding-bottom: 0.25rem; }
.tour-content h3 { font-size: 1.1rem; color: var(--green-dark); margin: 1.25rem 0 0.5rem; }
.tour-content p, .tour-content li { margin-bottom: 0.5rem; }
.tour-content ul { margin: 0.5rem 0 1rem 1.5rem; }

/* Tabs (dentro de tour-content__main) */
.tour-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 0.125rem solid #e5e7eb;
  padding: 0 0.25rem 0 0;
}
.tour-tabs__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem 0.6rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #64748b;
  background: none;
  border: none;
  border-top: 0.0625rem solid #e5e7eb;
  border-left: 0.0625rem solid #e5e7eb;
  border-right: 0.0625rem solid #e5e7eb;
  border-bottom: 0.2rem solid transparent;
  margin-bottom: -0.125rem;
  cursor: pointer;
  border-radius: 0.375rem 0.375rem 0 0;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  min-width: 5rem;
}
.tour-tabs__tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}
.tour-tabs__tab-icon svg { display: block; }
.tour-tabs__tab:hover {
  color: var(--green);
  background: rgba(26, 95, 35, 0.05);
}
.tour-tabs__tab:hover .tour-tabs__tab-icon { opacity: 1; }
.tour-tabs__tab.is-active {
  color: var(--green-dark);
  font-weight: 600;
  border-top-color: var(--green);
  border-left-color: var(--green);
  border-right-color: var(--green);
  border-bottom-color: var(--green);
}
.tour-tabs__tab.is-active .tour-tabs__tab-icon {
  opacity: 1;
  color: var(--green);
}
.tour-tabs__tab-label { white-space: nowrap; text-align: center; line-height: 1.2; }
.tour-tabs__panels { margin-top: 0; }
.tour-tabs__panel { display: none; }
.tour-tabs__panel.is-active {
  display: block;
  border: 0.0625rem solid #e5e7eb;
  border-top: none;
  padding: 1.5rem 2.5rem;
  border-radius: 0 0 0.375rem 0.375rem;
}

/* Select móvil (reemplaza tabs en pantallas pequeñas) */
.tour-tabs__select-wrap {
  display: none;
}
.tour-tabs__select {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--green-dark);
  background: #fff;
  border: 0.125rem solid #e5e7eb;
  border-radius: 0.375rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}
.tour-tabs__select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 0.1875rem rgba(45, 138, 62, 0.25);
}

@media (max-width: 48rem) {
  .tour-content {
    flex-direction: column;
    gap: 2rem;
  }
  .tour-content__main,
  .tour-content__sidebar {
    width: 100%;
  }
  .tour-content__sidebar {
    position: static;
  }
  .tour-tabs__select-wrap {
    display: block;
    margin-bottom: 0;
  }
  .tour-tabs__nav {
    display: none;
  }
  .tour-tabs__panels {
    margin-top: 0;
  }
  .tour-tabs__panel.is-active {
    border-top: 0.0625rem solid #e5e7eb;
    padding: 1.25rem 1rem;
    border-radius: 0.375rem;
  }
}

.block-inclusions,
.block-exclusions,
.block-recommended {
  background: var(--gray-light);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  border-left: 0.25rem solid var(--green);
}
.block-exclusions { border-left-color: #c0392b; }
.block-recommended { border-left-color: var(--amber); }

.block-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.block-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.block-list__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-list__icon svg { display: block; }
.block-list__icon--check { color: var(--green); }
.block-list__icon--cross { color: #c0392b; }
.block-list__icon--list { color: var(--amber); }

.schedules-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.schedules-table th, .schedules-table td { border: 0.0625rem solid #ddd; padding: 0.6rem 0.8rem; text-align: left; }
.schedules-table th { background: var(--green); color: var(--white); }

.package-price {
  background: var(--white);
  border: 0.125rem solid var(--green);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 0.75rem 0;
}
.package-price strong { color: var(--green); }
.package-price .amount { font-size: 1.2rem; font-weight: 700; color: var(--green-dark); }
.package-price .amount s { font-size: 1rem; opacity: 0.85; margin-right: 0.35rem; }
.package-price .amount small { font-size: 0.75rem; font-weight: 400; opacity: 0.9; margin-left: 0.25rem; }

.review { background: #fafafa; border-radius: 0.5rem; padding: 1.25rem; margin: 1rem 0; border-left: 0.25rem solid var(--amber); }
.review .author { font-style: normal; font-size: 0.85rem; color: #666; margin-top: 0.5rem; }

/* Formato nuevo: título, texto, meta (autor + fecha) con iconos */
.review__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
}
.review__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gray);
  margin: 0 0 0.75rem 0;
  font-style: italic;
}
.review__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.8rem;
  color: #666;
}
.review__author,
.review__date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.review__author { margin: 0; font-weight: 500; }
.review__icon {
  flex-shrink: 0;
  color: var(--green);
  vertical-align: middle;
}
.review__author-text,
.review__date-text { font-style: normal; }

/* ----- Carrusel de reseñas (3 cols visibles, 6 ítems, avance 1 por 1) ----- */
.reviews-carousel-section .container { position: relative; }
.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.reviews-carousel__btn {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 0.125rem solid var(--green);
  background: var(--white);
  color: var(--green);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.reviews-carousel__btn:hover:not(:disabled) { background: var(--green); color: var(--white); }
.reviews-carousel__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.reviews-carousel__viewport {
  flex: 1;
  overflow: hidden;
}
.reviews-carousel__track {
  display: flex;
  width: 200%;
  transition: transform 0.35s ease;
}
.reviews-carousel__item {
  flex: 0 0 16.666%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}
.reviews-carousel__item .review {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.reviews-carousel__item .review__text { flex: 1; }
.reviews-carousel__item .review__meta { margin-top: 0.5rem; }

/* ----- Contact ----- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-wrapper__form {
  width: 100%;
}

.contact-wrapper__info {
  width: 100%;
}

.contact-form label { display: block; margin-bottom: 0.35rem; font-weight: 600; color: var(--gray); }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 0.0625rem solid #ccc;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 0.1875rem rgba(26,95,35,0.15);
}
.contact-form textarea { min-height: 7.5rem; resize: vertical; }
.contact-form button {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.contact-form button:hover { background: var(--green-dark); }

.contact-info {
  padding: 1.5rem;
  background: var(--gray-light);
  border-radius: var(--radius);
  position: sticky;
  top: 6rem;
}
.contact-info h3 { color: var(--green); margin-bottom: 0.75rem; }
.contact-info p { margin: 0.35rem 0; }
.contact-info a { color: var(--green); font-weight: 500; }
.contact-info a:hover { text-decoration: underline; }

/* Responsive: Contact wrapper */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-info {
    position: static;
  }
}

/* ----- Footer ----- */
.footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.2);
}
.footer__col { min-width: 0; }
.footer__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer__item {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}
.footer__item:last-child { margin-bottom: 0; }
.footer__item strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}
.footer__item a { color: rgba(255, 255, 255, 0.9); }
.footer__item a:hover { color: var(--amber); text-decoration: underline; }
.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__links li { margin-bottom: 0.5rem; }
.footer__links li:last-child { margin-bottom: 0; }
.footer__links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--amber); text-decoration: underline; }
.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.footer__social a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__social a:hover { color: var(--amber); text-decoration: underline; }
.footer a { color: rgba(255, 255, 255, 0.9); }
.footer a:hover { text-decoration: underline; }
.footer__bottom { padding-top: 1.25rem; text-align: center; }
.footer__copy { font-size: 0.85rem; opacity: 0.85; margin: 0; }
.footer__lang { margin: 0.75rem 0 0; font-size: 0.9rem; }
.footer__lang a { opacity: 0.9; text-underline-offset: 0.2em; }
.footer__lang a:hover { opacity: 1; }

/* Botón flotante WhatsApp */
@keyframes whatsapp-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0.75rem 0 1rem;
  height: 3.5rem;
  background: #25d366;
  color: #fff;
  border-radius: 2rem;
  box-shadow: 0 0.25rem 1rem rgba(37, 211, 102, 0.5);
  animation: whatsapp-bounce 2s ease-in-out infinite;
  transition: box-shadow 0.2s, color 0.2s;
}
.whatsapp-float:hover {
  animation-play-state: paused;
  transform: scale(1.05) translateY(0);
  box-shadow: 0 0.35rem 1.25rem rgba(37, 211, 102, 0.6);
  color: #fff;
}
.whatsapp-float__text {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.whatsapp-float__icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .whatsapp-float { padding: 0; width: 3.5rem; border-radius: 50%; }
  .whatsapp-float__text { display: none; }
}

@media (max-width: 64rem) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .page-home .hero .hero__content { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .page-home .hero .hero-offers { max-width: 100%; }
}
@media (max-width: 48rem) {
  .nav-links { display: none; }
  .btn-contact-nav { display: none; }
  .btn-menu { display: flex; }
  .hero { padding: 2.5rem 1rem; }
  .page-home .hero { padding: 2.5rem 1rem; }
  .page-home .hero .hero-bg { max-height: 70vh; object-position: center top; }
  .hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
  .tours-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .block-why {
    background-attachment: scroll;
    background-image: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.4) 100%),
      url("../../media/zipline03.webp");
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .footer__col--contact .footer__item { text-align: center; }
  .footer__social { justify-content: center; }
}
@media (min-width: 32rem) and (max-width: 48rem) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ----- Lightbox confirmación envío formulario ----- */
.form-message-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
}
.form-message-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}
.form-message-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.form-message-lightbox__box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
  max-width: 26rem;
  width: 100%;
  padding: 1.75rem;
  border-top: 0.25rem solid var(--green);
}
.form-message-lightbox__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--gray);
}
.form-message-lightbox__text {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.5;
}
.form-message-lightbox.is-error .form-message-lightbox__box { border-top-color: #c0392b; }
.form-message-lightbox__close {
  display: block;
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.form-message-lightbox__close:hover { background: var(--green-dark); }
.form-message-lightbox.is-error .form-message-lightbox__close { background: #c0392b; }
.form-message-lightbox.is-error .form-message-lightbox__close:hover { background: #a93226; }
