/* =====================================================
   MAGUEY BLANCO — Design System & Global Styles
   Balneario Maguey Blanco, Ixmiquilpan Hidalgo
   ===================================================== */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Brand Colors — extracted from Maguey Blanco logo */
  --color-primary: #FF6B1A;
  /* vibrant orange */
  --color-primary-dark: #E05010;
  /* deeper orange for hover */
  --color-secondary: #00B4D8;
  /* sky turquoise */
  --color-secondary-dark: #0096B7;
  --color-accent: #FFD700;
  /* logo yellow */
  --color-green: #2D9B3A;
  /* fresh green from logo */
  --color-green-dark: #1F7229;

  /* Neutral */
  --color-bg: #F5F9FA;
  --color-surface: #FFFFFF;
  --color-surface-2: #EEF6F9;
  --color-dark: #0A2E3D;
  /* deep navy */
  --color-dark-2: #0F3D51;
  --color-text: #1A2E38;
  --color-text-muted: #5A7A87;
  --color-border: rgba(0, 180, 216, 0.15);

  /* Typography */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Text Scale (fluid) */
  --text-xs: clamp(0.7rem, 1.5vw, 0.75rem);
  --text-sm: clamp(0.8rem, 1.8vw, 0.875rem);
  --text-base: clamp(0.9rem, 2vw, 1rem);
  --text-lg: clamp(1rem, 2.5vw, 1.125rem);
  --text-xl: clamp(1.1rem, 3vw, 1.25rem);
  --text-2xl: clamp(1.3rem, 4vw, 1.5rem);
  --text-3xl: clamp(1.6rem, 5vw, 2rem);
  --text-4xl: clamp(2rem, 6vw, 2.75rem);
  --text-hero: clamp(2.4rem, 7vw, 4rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.18);
  --shadow-orange: 0 0 32px rgba(255, 107, 26, 0.35);
  --shadow-blue: 0 0 32px rgba(0, 180, 216, 0.3);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;

  /* Navbar height */
  --nav-h: 80px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

/* Scroll animation utility */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   LAYOUT HELPERS
   ===================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(255, 107, 26, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--t-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 107, 26, 0.45);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-blue:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  gap: 6px;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp svg {
  vertical-align: middle;
}

/* =====================================================
   NAVBAR
   ===================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--t-base), box-shadow var(--t-base), height var(--t-base);
  background: transparent;
}

#navbar.scrolled {
  background: rgba(10, 46, 61, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  height: 68px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo img {
  height: 75px;
  width: auto;
  transition: height var(--t-base);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

#navbar.scrolled .nav-logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-links a,
.nav-links .nav-dropdown>span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color var(--t-fast);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:hover,
.nav-links .nav-dropdown>span:hover {
  color: var(--color-accent);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown>span svg {
  transition: transform var(--t-base);
}

.nav-dropdown:hover>span svg,
.nav-dropdown.open>span svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  min-width: 220px;
  padding: var(--space-2) 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
  box-shadow: var(--shadow-lg);
}

/* Puente invisible para evitar que el menú se cierre al mover el ratón */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  text-transform: none;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: background var(--t-fast), color var(--t-fast);
}

.dropdown-menu a:hover {
  background: rgba(255, 107, 26, 0.12);
  color: var(--color-accent);
}

.dropdown-menu a .icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 107, 26, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.nav-cta {
  margin-left: var(--space-4);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--t-base);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--color-dark);
  z-index: 999;
  padding: 100px var(--space-8) var(--space-8);
  transition: right var(--t-slow);
  overflow-y: auto;
}

.nav-mobile.open {
  right: 0;
}

.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow);
}

.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a,
.nav-mobile .mobile-dropdown-trigger {
  display: block;
  font-size: var(--text-lg);
  font-weight: 600;
  color: #fff;
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--t-fast);
}

.nav-mobile a:hover {
  color: var(--color-accent);
}

.nav-mobile-dropdown {
  display: none;
  padding-left: var(--space-4);
}

.nav-mobile-dropdown.open {
  display: block;
}

.nav-mobile-dropdown a {
  font-size: var(--text-base);
}

/* =====================================================
   HERO SLIDER
   ===================================================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-dark);
  opacity: 0.35;
  z-index: 1;
}

/* Gradient slides (no ext images needed) */
.hero-slide-1 {
  background: url(../assets/images/balneario-ixmiquilpan-n.jpg) center/cover no-repeat;
}

.hero-slide-2 {
  background: url(../assets/images/lago-natural-n.jpg) center/cover no-repeat;
}

.hero-slide-3 {
  background: url(../assets/images/koko-extremo-n.jpg) center/cover no-repeat;
}

/* Wave decoration at the bottom of hero */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 5;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--space-24) var(--space-8);
  padding-top: calc(var(--nav-h) + var(--space-16));
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  opacity: 0;
  animation: heroFadeUp 0.7s 0.2s forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 700px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: heroFadeUp 0.7s 0.35s forwards;
}

.hero-title span {
  color: var(--color-accent);
}

.hero-desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--space-4);
  max-width: 520px;
  opacity: 0;
  animation: heroFadeUp 0.7s 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.7s 0.65s forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero floating cards (HERO.png style) */
.hero-cards {
  position: absolute;
  right: var(--space-8);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 3;
  opacity: 0;
  animation: heroFadeUp 0.8s 0.8s forwards;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 200px;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
}

.hero-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.hero-card-text {
  color: #fff;
}

.hero-card-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
}

.hero-card-text span {
  font-size: var(--text-xs);
  opacity: 0.75;
}

/* Slider controls */
.hero-controls {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  z-index: 10;
}

/* Hero floating social icons */
.hero-social {
  position: absolute;
  left: var(--space-6);
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 10;
}

.hero-social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all var(--t-base);
}

.hero-social-link:hover {
  transform: scale(1.15);
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.28);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  transition: all var(--t-base);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--color-accent);
  width: 28px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--t-base);
  font-size: 18px;
}

.hero-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.hero-arrow.prev {
  left: var(--space-6);
}

.hero-arrow.next {
  right: var(--space-6);
}

/* =====================================================
   COSTOS / TARIFAS
   ===================================================== */
#costos {
  padding: var(--space-24) 0;
  background: url(../assets/images/pattern-costos.jpg) repeat;
}

.tarifas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.tarifa-card {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.tarifa-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--t-base);
}

.tarifa-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.tarifa-card:hover::before {
  transform: scaleX(1);
}

.tarifa-card.featured {
  background: var(--color-dark);
  border-color: var(--color-primary);
  color: #fff;
}

.tarifa-card.featured::before {
  transform: scaleX(1);
}

.tarifa-card.featured .tarifa-label,
.tarifa-card.featured .tarifa-desc {
  color: rgba(255, 255, 255, 0.7);
}

.tarifa-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: var(--color-accent);
  color: var(--color-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tarifa-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

.tarifa-label {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.tarifa-price {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.tarifa-price sup {
  font-size: var(--text-lg);
  vertical-align: super;
  font-weight: 600;
}

.tarifa-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  line-height: 1.5;
}

.costos-note {
  text-align: center;
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: rgba(255, 107, 26, 0.07);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  border: 1px dashed rgba(255, 107, 26, 0.25);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   ATRACCIONES PRINCIPALES
   ===================================================== */
#atracciones {
  padding: var(--space-24) 0;
  background: var(--color-bg);
}

.atracciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.atraccion-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}

.atraccion-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.atraccion-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.atraccion-img-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.atraccion-card:hover .atraccion-img-bg {
  transform: scale(1.06);
}

.atraccion-koko .atraccion-img-bg {
  background: url(../assets/images/atraccion-koko-extremo.jpg) center/cover no-repeat;
}

.atraccion-lago .atraccion-img-bg {
  background: url(../assets/images/atraccion-lago-natural.jpg) center/cover no-repeat;
}

.atraccion-ra .atraccion-img-bg {
  background: url(../assets/images/atraccion-rasabi.jpg) center/cover no-repeat;
}

.atraccion-zabi .atraccion-img-bg {
  background: url(../assets/images/atracciones-toboganes.jpg) center/cover no-repeat;
}

.atraccion-img-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

.atraccion-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.atraccion-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.atraccion-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-3);
}

.atraccion-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.atraccion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}

.atraccion-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-secondary);
  background: rgba(0, 180, 216, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.atraccion-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-primary);
  margin-top: var(--space-2);
  transition: gap var(--t-fast);
}

.atraccion-link:hover {
  gap: var(--space-3);
}

/* =====================================================
   TESTIMONIOS
   ===================================================== */
#testimonios {
  padding: var(--space-24) 0;
  background: url(../assets/images/fondo.jpg) center/cover no-repeat;
  overflow: hidden;
}

#testimonios .section-title {
  color: #fff;
}

#testimonios .section-eyebrow {
  color: #030e15;
  background: rgb(255, 251, 17);
}

#testimonios .section-subtitle {
  color: rgba(255, 255, 255, 1);
}

.testimonios-track-wrapper {
  overflow: hidden;
  margin-top: var(--space-12);
}

.testimonios-track {
  display: flex;
  gap: var(--space-6);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}

.testimonio-card {
  flex: 0 0 340px;
  width: 340px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  transition: all var(--t-base);
}

.testimonio-card:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(255, 215, 0, 0.2);
}

.testimonio-stars {
  color: var(--color-accent);
  font-size: var(--text-lg);
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}

.testimonio-quote {
  font-size: var(--text-base);
  color: rgba(15, 14, 105, 1);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-6);
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonio-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonio-name {
  font-weight: 700;
  color: #000000;
  font-size: var(--text-base);
}

.testimonio-place {
  font-size: var(--text-xs);
  color: rgba(4, 22, 82, 1);
  margin-top: 2px;
}

.testimonios-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.testimonios-nav button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--t-base);
}

.testimonios-nav button:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* =====================================================
   CÓMO LLEGAR
   ===================================================== */
#como-llegar {
  padding: var(--space-24) 0;
  background: url(../assets/images/pattern-como.jpg) repeat;
}

.llegar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-12);
}

.llegar-info {
  display: flex;
  flex-direction: column;
}

.llegar-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  align-items: flex-start;
}

.llegar-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 26, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.llegar-item-title {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-dark);
  margin-bottom: 4px;
}

.llegar-item-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.llegar-horarios {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-6);
  border: 1px solid var(--color-border);
}

.llegar-horarios h4 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.horario-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.horario-row:last-child {
  border-bottom: none;
}

.horario-row .dias {
  color: var(--color-text);
  font-weight: 500;
}

.horario-row .hora {
  color: var(--color-secondary);
  font-weight: 700;
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =====================================================
   PREGUNTAS FRECUENTES
   ===================================================== */
#faq {
  padding: var(--space-24) 0;
  background: var(--color-surface);
}

.faq-list {
  max-width: 760px;
  margin: var(--space-12) auto 0;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: box-shadow var(--t-base);
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-secondary);
}

.faq-question {
  width: 100%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-8);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  gap: var(--space-6);
  transition: background var(--t-fast);
}

.faq-question:hover {
  background: var(--color-bg);
}

.faq-item.open .faq-question {
  color: var(--color-secondary);
  background: rgba(0, 180, 216, 0.04);
}

.faq-chevron {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1;
  transition: color var(--t-base);
  width: 28px;
  text-align: center;
}

.faq-item.open .faq-chevron {
  color: var(--color-secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 var(--space-6);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-top: var(--space-2);
  padding-bottom: var(--space-6);
}

/* =====================================================
   HOTEL & CABAÑAS
   ===================================================== */
#hotel {
  padding: var(--space-24) 0;
  background: url(../assets/images/fondo-hotel.jpg) center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

#hotel::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

#hotel .section-title {
  color: #fff;
}

#hotel .section-eyebrow {
  color: var(--color-secondary);
  background: rgba(0, 180, 216, 0.1);
}

#hotel .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.hotel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-12);
}

.hotel-visual {
  position: relative;
}

.hotel-img-main {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-xl);
  background: url(../assets/images/hotel-maguey-blanco.jpg) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hotel-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  box-shadow: var(--shadow-md);
  max-width: 160px;
}

.hotel-stat-card-1 {
  bottom: -var(--space-6);
  left: -var(--space-6);
  bottom: -20px;
  left: -20px;
}

.hotel-stat-card-2 {
  top: var(--space-6);
  right: -var(--space-4);
  top: 20px;
  right: -16px;
}

.hotel-stat-num {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-accent);
}

.hotel-stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  line-height: 1.3;
  word-break: break-word;
}

.hotel-content {
  display: flex;
  flex-direction: column;
}

.hotel-features {
  margin: var(--space-6) 0 var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hotel-feature {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hotel-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 180, 216, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hotel-feature-text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
}

.hotel-feature-text strong {
  color: #fff;
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

/* =====================================================
   FOOTER
   ===================================================== */
#footer {
  background: #030e15;
  color: rgba(255, 255, 255, 0.65);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 280px;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--t-base);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-col ul li a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  font-size: var(--text-xs);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-bottom a {
  color: var(--color-primary);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* =====================================================
   ATTRACTION PAGE HERO (HERO.png style)
   ===================================================== */
.page-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero--renta {
  position: relative;
  height: 50vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.05) 30%,
      rgba(5, 20, 30, 0.75) 70%,
      rgba(5, 20, 30, 0.97) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-12) 0 var(--space-16);
  width: 100%;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.page-hero-breadcrumb a {
  color: var(--color-accent);
}

.page-hero-breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 650px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.page-hero-desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin-top: var(--space-5);
  line-height: 1.65;
}

.page-hero-cta {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

/* Side cards on page hero */
.page-hero-cards {
  position: absolute;
  right: var(--space-8);
  bottom: var(--space-16);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* =====================================================
   ATTRACTION INNER PAGE
   ===================================================== */
.attraction-detail {
  padding: var(--space-20) 0;
  background: var(--color-surface);
}

.attraction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.attraction-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.attraction-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.attraction-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.highlight-item {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  border: 1px solid var(--color-border);
}

.highlight-num {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.highlight-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-1);
  font-weight: 600;
}

.reglamento-section {
  padding: var(--space-20) 0;
  background: var(--color-bg);
}

.reglamento-section h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.reglamento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}

.reglamento-item {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-5);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.reglamento-item .rule-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Other attractions section */
.otras-atracciones {
  padding: var(--space-20) 0;
  background: var(--color-surface);
}

.otras-atracciones h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-8);
  text-align: center;
}

.otras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.otra-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: transform var(--t-base);
}

.otra-card:hover {
  transform: translateY(-4px);
}

.otra-card:hover .otra-card-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.otra-card-bg {
  position: absolute;
  inset: 0;
}

.otra-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: background var(--t-base);
}

.otra-card-label {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  padding: var(--space-4);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero-cards {
    display: none;
  }

  .llegar-grid {
    grid-template-columns: 1fr;
  }

  .hotel-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .attraction-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-cards {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 70px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-content {
    padding: var(--space-6);
    padding-top: calc(var(--nav-h) + var(--space-16));
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-arrow {
    display: none;
  }

  .tarifas-grid {
    grid-template-columns: 1fr 1fr;
  }

  .atracciones-grid {
    grid-template-columns: 1fr;
  }

  .testimonios-track-wrapper {
    padding: 0 var(--space-4);
  }

  .testimonio-card {
    min-width: calc(100vw - var(--space-12));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hotel-stat-card-1,
  .hotel-stat-card-2 {
    display: none;
  }

  .attraction-highlights {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .tarifas-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================================================
   7. LIGHTBOX GALERÍA
   ===================================================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  /* Capa de color negro con opacidad de .5 tal y como se solicitó */
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  transform: scale(0.95);
  transition: transform var(--t-base);
  box-shadow: var(--shadow-lg);
}

.lightbox-overlay.active .lightbox-image {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.4);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* =====================================================
   8. VIDEO CAROUSEL & TIKTOK EMBEDS
   ===================================================== */
.video-card {
  flex: 0 0 auto;
  width: 250px;
  height: 445px;
  /* Aspect-ratio 9/16 pre-calculado para altura y adaptado a tiktok iframe */
  border-radius: 16px;
  background: #000;
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ajustes globales para TikTok Embeds sin importar los estilos inline del HTML */
.video-card .tiktok-embed {
  margin: 0 !important;
  padding: 0 !important;
  /* 250px / 325px = 0.769 Scale logic */
  transform: scale(0.769) !important;
  transform-origin: top center;
  min-width: 325px !important;
  max-width: 325px !important;
  width: 325px !important;
  height: auto !important;
  border: none !important;
}

.video-card iframe {
  border-radius: 20px !important;
  /* Bordes suaves para simular el border-radius original tras escalar */
}