﻿/* ==============================
   RESET & CSS CUSTOM PROPERTIES
============================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #D4A843;
  --gold-light: #F0C860;
  --dark: #0E0E0E;
  --dark-2: #161616;
  --dark-3: #1F1F1F;
  --warm: #F5F0E8;
  --white: #FFFFFF;
  --gray: #888;
  --accent-camino: #D4A843;
  --accent-portugues: #2EAA5C;
  --accent-europa: #2A6BCC;
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-height: 68px;
}

html {
  font-size: 16px;
}

body {
  background: var(--dark);
  color: var(--warm);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ==============================
   NAV
============================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 1.25rem;
  height: var(--nav-height);
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
  transition: background 0.3s var(--ease);
}

nav.scrolled {
  background: rgba(14, 14, 14, 0.98);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: clamp(0.78rem, 3.1vw, 1rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 0.32rem;
  max-width: calc(100% - 56px);
  text-decoration: none;
  z-index: 1;
}

.nav-logo span {
  color: var(--warm);
  font-style: italic;
  font-weight: 400;
}

/* Nav links — hidden by default (mobile-first) */
.nav-links {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--dark-2);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
  padding: 1rem 1.25rem 1rem;
  flex-direction: column;
  gap: 0;
  list-style: none;
  z-index: 998;

  /* Slide-down drawer animation */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.35s var(--ease), opacity 0.3s var(--ease);
}

nav.mobile-open .nav-links {
  max-height: 400px;
  opacity: 1;
  pointer-events: auto;
}

.nav-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-links a {
  display: block;
  padding: 0.9rem 0;
  color: var(--warm);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--gold);
}

/* CTA button — hidden below 900 px */
.nav-cta {
  display: none;
  background: var(--gold);
  color: var(--dark);
  padding: 0.6rem 1.5rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  z-index: 1;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  border-radius: 999px;
  color: var(--warm);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.lang-btn:hover {
  background: rgba(212, 168, 67, 0.14);
  color: var(--gold-light);
}

.lang-btn-active {
  background: linear-gradient(140deg, var(--gold), var(--gold-light));
  color: var(--dark);
}

.lang-btn-active:hover {
  color: var(--dark);
  transform: translateY(-1px);
}

/* Mobile CTA rendered inside the drawer */
.nav-links .nav-cta-mobile {
  display: block;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  background: var(--gold);
  color: var(--dark);
  padding: 0.9rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Hamburger — shown by default (mobile-first) */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px 6px;
  flex-shrink: 0;
  background: none;
  border: none;
  z-index: 1;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--warm);
  display: block;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

/* Hamburger → X animation when open */
nav.mobile-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
nav.mobile-open .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
nav.mobile-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay for outside-click close */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  z-index: 997;
}

nav.mobile-open ~ .nav-overlay,
nav.mobile-open + .nav-overlay {
  display: block;
}

/* Desktop nav — override above 900 px */
@media (min-width: 900px) {
  nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
    padding: 0 clamp(1.5rem, 4vw, 3.5rem);
    height: auto;
    min-height: 78px;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  nav.scrolled {
    min-height: 70px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .nav-logo {
    max-width: none;
    font-size: clamp(0.9rem, 1.35vw, 1.08rem);
  }

  .nav-actions {
    justify-self: end;
    margin-left: 0;
    gap: 0.7rem;
  }

  .nav-links {
    position: static;
    max-height: none;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
    flex-direction: row;
    gap: clamp(1.1rem, 2.3vw, 2.2rem);
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  nav.mobile-open .nav-links {
    /* keep same as static on desktop */
    max-height: none;
  }

  .nav-links li {
    border: none;
  }

  .nav-links a {
    padding: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }

  .nav-links .nav-cta-mobile {
    display: none;
  }

  .nav-cta {
    display: inline-block;
    font-size: 0.76rem;
    padding: 0.72rem 1.15rem;
  }

  .hamburger {
    display: none;
  }
}

@media (max-width: 899px) {
  .nav-actions {
    margin-left: auto;
    margin-right: 0.3rem;
  }

  .lang-btn {
    min-width: 38px;
    height: 28px;
  }
}

@media (min-width: 1200px) {
  .nav-links a {
    font-size: 0.82rem;
  }

  .nav-cta {
    font-size: 0.8rem;
    padding: 0.75rem 1.3rem;
  }
}

/* ==============================
   HERO
============================== */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0E0E0E 0%, #1a1208 50%, #0E0E0E 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(212, 168, 67, 0.05) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 168, 67, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 67, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1.25rem 4rem;
  max-width: 1000px;
  width: 100%;
}

.hero-pretitle {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

/* Mobile-first hero title: safe clamp that never overflows 375 px */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 10vw, 5rem);
  line-height: 0.9;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
  will-change: transform;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.4s forwards;
}

.hero-title .gold {
  color: var(--gold);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-style: italic;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.6s forwards;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.8s forwards;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  margin-top: 0.3rem;
}

.hero-stat-divider {
  display: none;
}

.hero-ctas {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 1s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  animation: bounce 2s infinite 2s;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: clamp(4rem, 12vw, 8rem);
  }

  .hero-stat-num {
    font-size: 3rem;
  }

  .hero-stats {
    gap: 3rem;
  }

  .hero-stat-divider {
    display: block;
    width: 1px;
    background: rgba(212, 168, 67, 0.3);
    align-self: stretch;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: clamp(7rem, 12vw, 11rem);
  }

  .hero-content {
    padding: 6rem 2rem 4rem;
  }
}

/* ==============================
   BUTTONS
============================== */
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  padding: 0.9rem 1.8rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.3);
}

.btn-outline {
  border: 1px solid rgba(245, 240, 232, 0.3);
  color: var(--warm);
  padding: 0.9rem 1.8rem;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (min-width: 640px) {
  .btn-primary,
  .btn-outline {
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
  }
}

/* ==============================
   SECTION BASE
============================== */
section {
  padding: 4rem 1.25rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.7);
  max-width: 600px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .section-label,
  .section-title,
  .section-body {
    text-align: left;
  }
  .section-body {
    margin-left: 0;
    margin-right: 0;
  }
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 168, 67, 0.3), transparent);
}

@media (min-width: 1024px) {
  section {
    padding: 6rem 2rem;
  }
}

/* ==============================
   WHY ZOCOCAMINO
============================== */
#why {
  background: var(--dark-2);
}

/* Mobile: single column stack */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .why-features {
    grid-template-columns: 1fr 1fr;
  }
}

.why-feature {
  background: rgba(212, 168, 67, 0.05);
  border: 1px solid rgba(212, 168, 67, 0.1);
  padding: 1.2rem;
  border-radius: 4px;
  transition: border-color 0.3s, background 0.3s;
}

.why-feature:hover {
  border-color: rgba(212, 168, 67, 0.3);
  background: rgba(212, 168, 67, 0.08);
}

.why-feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.why-feature h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.why-feature p {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.6;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.12), rgba(212, 168, 67, 0.04));
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 4px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.highlight-box p {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--warm);
  line-height: 1.7;
}

.highlight-box strong {
  color: var(--gold);
  font-style: normal;
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .why-features {
    gap: 1.5rem;
  }

  .why-feature {
    padding: 1.5rem;
  }

  .highlight-box {
    padding: 2rem;
  }
}

/* ==============================
   PROGRAMS / TABS
============================== */
#programas {
  background: var(--dark);
}

/* Mobile: 2-column pill-button grid */
.programs-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.85rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: rgba(245, 240, 232, 0.55);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
  text-align: center;
  line-height: 1.3;
}

.tab-btn:hover {
  color: var(--warm);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Active states: solid accent background */
.tab-btn.active {
  color: var(--dark);
  border-color: transparent;
}

.tab-btn.active.camino {
  background: var(--accent-camino);
  color: var(--dark);
}

.tab-btn.active.portugues {
  background: var(--accent-portugues);
  color: #fff;
}

.tab-btn.active.europa {
  background: var(--accent-europa);
  color: #fff;
}

.tab-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
  flex-shrink: 0;
}

/* On active, dot becomes white so it's visible on coloured bg */
.tab-btn.active .tab-dot {
  background: rgba(255, 255, 255, 0.7) !important;
}

.tab-btn.camino .tab-dot { background: var(--accent-camino); }
.tab-btn.portugues .tab-dot { background: var(--accent-portugues); }
.tab-btn.europa .tab-dot { background: var(--accent-europa); }

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s var(--ease);
}

/* Desktop: restore horizontal tab-bar look */
@media (min-width: 900px) {
  .programs-tabs {
    display: flex;
    grid-template-columns: unset;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 3rem;
  }

  .tab-btn {
    padding: 1.2rem 2rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    margin-bottom: -1px;
    color: rgba(245, 240, 232, 0.4);
    font-size: 0.85rem;
    text-align: left;
  }

  .tab-btn:hover {
    background: none;
    border-color: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.2);
    color: var(--warm);
  }

  .tab-btn.active {
    background: none;
    color: var(--warm);
  }

  .tab-btn.active.camino {
    background: none;
    border-bottom-color: var(--accent-camino);
    color: var(--gold);
  }

  .tab-btn.active.portugues {
    background: none;
    border-bottom-color: var(--accent-portugues);
    color: #2EAA5C;
  }

  .tab-btn.active.europa {
    background: none;
    border-bottom-color: var(--accent-europa);
    color: #6AABFF;
  }

  .tab-btn.active .tab-dot {
    background: inherit !important;
  }

  .tab-btn.camino.active .tab-dot { background: var(--accent-camino) !important; }
  .tab-btn.portugues.active .tab-dot { background: var(--accent-portugues) !important; }
  .tab-btn.europa.active .tab-dot { background: var(--accent-europa) !important; }
}

/* Program banner — mobile: single column */
.program-banner {
  background: var(--dark-3);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  padding: 2rem 1.5rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.program-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.panel-camino .program-banner::before { background: var(--accent-camino); }
.panel-portugues .program-banner::before { background: var(--accent-portugues); }
.panel-europa .program-banner::before { background: var(--accent-europa); }

.program-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 5rem);
  line-height: 0.95;
  margin-bottom: 0.8rem;
}

.panel-camino .program-banner-title { color: var(--gold); }
.panel-portugues .program-banner-title { color: #2EAA5C; }
.panel-europa .program-banner-title { color: #6AABFF; }

.program-banner-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 1.2rem;
}

.program-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tag-outline {
  border: 1px solid rgba(212, 168, 67, 0.3);
  color: var(--gold);
}

.tag-green {
  border: 1px solid rgba(46, 170, 92, 0.3);
  color: #2EAA5C;
}

.tag-blue {
  border: 1px solid rgba(106, 171, 255, 0.3);
  color: #6AABFF;
}

/* Price card */
.program-banner-price {
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  padding: 1.2rem 1.5rem;
}

.price-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  margin-bottom: 0.5rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--gold);
}

.price-currency {
  font-size: 1.4rem;
  vertical-align: top;
  margin-top: 0.3rem;
  display: inline-block;
}

.price-note {
  font-size: 0.65rem;
  color: rgba(245, 240, 232, 0.4);
  margin-top: 0.5rem;
}

.price-date {
  font-size: 0.75rem;
  color: var(--gold);
  margin-top: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .program-banner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem;
  }

  .program-banner-price {
    min-width: 180px;
    padding: 1.5rem 2rem;
  }

  .price-amount {
    font-size: 3rem;
  }
}

/* Program detail cards — mobile: 1 column */
.program-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.detail-card {
  background: var(--dark-3);
  border-radius: 4px;
  padding: 1.5rem;
  border-top: 2px solid;
}

.panel-camino .detail-card { border-color: rgba(212, 168, 67, 0.3); }
.panel-portugues .detail-card { border-color: rgba(46, 170, 92, 0.3); }
.panel-europa .detail-card { border-color: rgba(106, 171, 255, 0.3); }

.detail-card h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.panel-camino .detail-card h3 { color: var(--gold); }
.panel-portugues .detail-card h3 { color: #2EAA5C; }
.panel-europa .detail-card h3 { color: #6AABFF; }

.detail-card p {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.7;
}

@media (min-width: 640px) {
  .program-details {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .detail-card {
    padding: 2rem;
  }
}

/* Itinerary */
.itinerary {
  margin-bottom: 2.5rem;
}

.itinerary > h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.panel-camino .itinerary > h3 { color: var(--gold); }
.panel-portugues .itinerary > h3 { color: #2EAA5C; }
.panel-europa .itinerary > h3 { color: #6AABFF; }

.stages {
  display: flex;
  flex-direction: column;
}

.stage {
  display: grid;
  grid-template-columns: minmax(3.75rem, auto) 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
  transition: background 0.2s, padding-left 0.2s;
}

.stage:hover {
  background: rgba(255, 255, 255, 0.02);
  padding-left: 0.5rem;
}

.stage-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 3.5rem;
  line-height: 1;
}

.stage-day {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
}

.stage-date {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
  white-space: nowrap;
}

.itinerary-legend {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.45);
  margin: -0.25rem 0 1.25rem;
  letter-spacing: 0.03em;
}

.stage-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--warm);
  margin-bottom: 0.2rem;
}

.stage-info p {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.5);
  line-height: 1.5;
}

.stage-km {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-align: right;
  white-space: nowrap;
}

.panel-camino .stage-km { color: var(--gold); }
.panel-portugues .stage-km { color: #2EAA5C; }
.panel-europa .stage-km { color: #6AABFF; }

@media (min-width: 640px) {
  .stage {
    grid-template-columns: minmax(4.5rem, auto) 1fr auto;
    gap: 1.5rem;
    padding: 1.2rem 0;
  }

  .stage-day { font-size: 2rem; }
  .stage-date { font-size: 0.68rem; }
  .stage-km  { font-size: 1.5rem; }
}

/* Includes grid */
.includes-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.panel-camino .includes-title { color: var(--gold); }
.panel-portugues .includes-title { color: #2EAA5C; }
.panel-europa .includes-title { color: #6AABFF; }

.includes-section {
  margin-bottom: 3rem;
}

.includes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.include-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.include-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.include-text {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.5;
}

.include-text strong {
  color: var(--warm);
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

@media (min-width: 640px) {
  .includes-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
}

/* ==============================
   TESTIMONIALS
============================== */
#testimonios {
  background: var(--dark-2);
}

/* Mobile: single column */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.testimonial {
  background: var(--dark-3);
  border-radius: 4px;
  padding: 1.8rem;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: rgba(212, 168, 67, 0.1);
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.8);
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-author {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.stars {
  color: var(--gold);
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

@media (min-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
  }
}

/* ==============================
   TEAM
============================== */
#equipo {
  background: var(--dark);
}

.team-intro {
  max-width: 700px;
  margin-bottom: 3rem;
}

/* Mobile: 2 columns */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--dark-3);
  margin: 0 auto 1rem;
  border: 2px solid rgba(212, 168, 67, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.team-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  font-style: italic;
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .team-avatar {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }

  .team-intro {
    margin-bottom: 4rem;
  }
}

/* ==============================
   CONTACT
============================== */
#contacto {
  background: linear-gradient(135deg, #0E0E0E 0%, #1a1208 100%);
  position: relative;
  overflow: hidden;
}

#contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Mobile: single column */
.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 6rem);
  line-height: 0.9;
  margin-bottom: 1.5rem;
}

.contact-title span {
  color: var(--gold);
  display: block;
}

.contact-body {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 4px;
  padding: 1.2rem 1.5rem;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}

.contact-method:hover {
  border-color: rgba(212, 168, 67, 0.4);
  background: rgba(212, 168, 67, 0.06);
}

.contact-method-icon {
  font-size: 1.3rem;
}

.contact-method-info {
  flex: 1;
}

.contact-method-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.contact-method-value {
  font-size: 0.95rem;
  color: var(--warm);
  font-weight: 500;
}

.contact-arrow {
  color: var(--gold);
  opacity: 0.5;
}

/* Desktop: 2 columns */
@media (min-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
  }

  .contact-title {
    font-size: clamp(3rem, 8vw, 6rem);
  }
}

/* Form */
.contact-form-area {
  background: var(--dark-2);
  border-radius: 6px;
  padding: 2rem 1.5rem;
}

.contact-form-area h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.contact-form-area > p {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 0.9rem 1rem;
  color: var(--warm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(212, 168, 67, 0.4);
}

.form-group select option {
  background: var(--dark-3);
  color: var(--warm);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* Mobile: always 1 column */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* 2 columns starting at 640 px */
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .contact-form-area {
    padding: 2.5rem;
  }
}

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 1.1rem;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

/* ==============================
   FOOTER
============================== */
footer {
  background: #080808;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 900;
}
.footer-logo span {
  color: var(--warm);
  font-style: italic;
  font-weight: 400;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.3);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

@media (min-width: 640px) {
  footer {
    flex-direction: row;
    text-align: left;
    padding: 2rem 3rem;
  }
}

/* ==============================
   ANIMATIONS
============================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ==============================
   SCROLL REVEAL
============================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  will-change: transform;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==============================
   FOCUS VISIBLE (Keyboard nav)
============================== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==============================
   WHATSAPP FLOATING BUTTON
============================== */
.whatsapp-float {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  right: max(24px, env(safe-area-inset-right, 24px));
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.2s;
  animation: wa-pulse 2.5s 2s infinite;
}

.whatsapp-float.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  flex-shrink: 0;
}

/* Tooltip */
.whatsapp-float::before {
  content: 'Escríbenos por WhatsApp';
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark-2);
  color: var(--warm);
  white-space: nowrap;
  font-size: 0.72rem;
  font-family: var(--font-body);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.whatsapp-float:hover::before {
  opacity: 1;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* Always visible on mobile */
@media (max-width: 767px) {
  .whatsapp-float {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    bottom: 72px; /* above sticky bar */
  }
}

/* ==============================
   STICKY MOBILE CTA BAR
============================== */
.sticky-mobile-bar {
  display: none;
}

@media (max-width: 767px) {
  .sticky-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--dark-2);
    border-top: 1px solid rgba(212, 168, 67, 0.2);
    z-index: 990;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(100%);
    transition: transform 0.3s var(--ease);
  }

  .sticky-mobile-bar.visible {
    transform: translateY(0);
  }

  .sticky-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: var(--warm);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.03em;
    background: none;
    border: none;
    padding: 0 0.5rem;
    height: 100%;
    cursor: pointer;
    transition: color 0.2s;
  }

  .sticky-bar-btn:first-child {
    border-right: 1px solid rgba(212, 168, 67, 0.2);
    color: #25D366;
  }

  .sticky-bar-btn:hover {
    color: var(--gold-light);
  }

  .sticky-bar-btn:first-child:hover {
    color: #4be084;
  }
}

/* ==============================
   FAQ ACCORDION
============================== */
#faq {
  background: var(--dark-2);
}

.faq-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid rgba(212, 168, 67, 0.12);
  border-radius: 4px;
  background: var(--dark-3);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  background: none;
  border: none;
  color: var(--warm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.3s var(--ease), background 0.2s;
  font-style: normal;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(212, 168, 67, 0.1);
}

/* CSS grid trick for smooth height animation */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 1.5rem;
  transition: padding 0.35s var(--ease);
}

.faq-item.open .faq-answer-inner {
  padding-bottom: 1.2rem;
}

.faq-answer-inner p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.68);
}

/* ==============================
   PRICE BLOCK REDESIGN
============================== */
.price-comparison {
  font-size: 0.7rem;
  color: rgba(245, 240, 232, 0.4);
  margin-bottom: 0.4rem;
}

.price-comparison s {
  color: rgba(245, 240, 232, 0.4);
}

.price-includes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.8rem;
}

.price-includes-item {
  font-size: 0.67rem;
  color: rgba(245, 240, 232, 0.55);
  white-space: nowrap;
}

.price-urgency {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.8rem;
  padding: 0.35rem 0.6rem;
  background: rgba(212, 168, 67, 0.08);
  border-radius: 3px;
  border: 1px solid rgba(212, 168, 67, 0.15);
}

.price-guarantee {
  font-size: 0.66rem;
  color: rgba(245, 240, 232, 0.45);
  margin-top: 0.7rem;
  padding: 0.45rem 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
  line-height: 1.5;
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.45); }
  50%       { box-shadow: 0 0 0 8px rgba(212, 168, 67, 0); }
}

.btn-price-cta {
  animation: pulse-btn 2.2s 1.5s infinite;
}

/* ==============================
   SVG ROUTE MAP
============================== */
.route-map-wrapper {
  margin-bottom: 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 168, 67, 0.3) transparent;
}

.route-map-wrapper::-webkit-scrollbar {
  height: 4px;
}

.route-map-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.route-map-wrapper::-webkit-scrollbar-thumb {
  background: rgba(212, 168, 67, 0.3);
  border-radius: 2px;
}

.route-svg {
  min-width: 100%;
  display: block;
  overflow: visible;
}

@media (min-width: 600px) {
  .route-svg {
    min-width: 600px;
  }
}

.route-path-line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: none;
}

.route-svg.animated .route-path-line {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.6s var(--ease);
}

.route-bg-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 2;
  stroke-dasharray: 6 8;
}

/* Marker circles */
.marker-circle {
  stroke-width: 1.5;
  fill: var(--dark);
  transition: fill 0.2s;
}

.route-marker {
  opacity: 0;
  transition: opacity 0.3s;
}

.route-svg.animated .route-marker {
  opacity: 1;
}

.route-svg.animated .route-marker:nth-child(1)  { transition-delay: 0.4s; }
.route-svg.animated .route-marker:nth-child(2)  { transition-delay: 0.55s; }
.route-svg.animated .route-marker:nth-child(3)  { transition-delay: 0.7s; }
.route-svg.animated .route-marker:nth-child(4)  { transition-delay: 0.85s; }
.route-svg.animated .route-marker:nth-child(5)  { transition-delay: 1.0s; }
.route-svg.animated .route-marker:nth-child(6)  { transition-delay: 1.15s; }
.route-svg.animated .route-marker:nth-child(7)  { transition-delay: 1.3s; }
.route-svg.animated .route-marker:nth-child(8)  { transition-delay: 1.45s; }
.route-svg.animated .route-marker:nth-child(9)  { transition-delay: 1.6s; }
.route-svg.animated .route-marker:nth-child(10) { transition-delay: 1.75s; }

.route-marker:hover .marker-circle {
  fill: rgba(255, 255, 255, 0.08);
}

.marker-num {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 11px;
  fill: #fff;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.marker-city {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 9px;
  fill: rgba(245, 240, 232, 0.55);
  text-anchor: middle;
  pointer-events: none;
}

/* Tooltip */
.marker-tooltip {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}

.route-marker:hover .marker-tooltip,
.route-marker:focus-within .marker-tooltip {
  opacity: 1;
}

.tooltip-bg {
  fill: var(--dark-2, #161616);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
  rx: 4;
  ry: 4;
}

.tooltip-name {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 10px;
  font-weight: 600;
  fill: var(--warm, #F5F0E8);
  text-anchor: middle;
  pointer-events: none;
}

.tooltip-detail {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 9px;
  fill: rgba(245, 240, 232, 0.55);
  text-anchor: middle;
  pointer-events: none;
}

.route-label {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: rgba(245, 240, 232, 0.25);
  text-anchor: middle;
}

/* ==============================
   IMAGES & PHOTO SECTIONS
============================== */

/* Hero photo background */
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('img/TRAVEL.jfif');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.28) saturate(0.6);
  z-index: 0;
}

/* Full-width photo band */
.photo-band {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6) saturate(0.85);
  transform: scale(1.05);
  transition: transform 8s ease;
  display: block;
}

.photo-band:hover img {
  transform: scale(1.0);
}

.photo-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,14,14,0.55) 0%,
    rgba(14,14,14,0.2) 35%,
    rgba(14,14,14,0.2) 65%,
    rgba(14,14,14,0.55) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.photo-band-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 3vw, 1.7rem);
  color: rgba(245, 240, 232, 0.96);
  text-align: center;
  max-width: 680px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7);
  line-height: 1.5;
}

.photo-band-quote span {
  color: var(--gold);
}

@media (min-width: 768px) {
  .photo-band { height: 400px; }
}

/* Why section inline photo — base rules overridden below in IMAGE FIX section */
.why-photo {
  margin-top: 2rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 67, 0.15);
}

.why-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0.92) saturate(0.95);
  transition: filter 0.4s, transform 0.5s;
}

.why-photo:hover img {
  filter: brightness(1) saturate(1);
  transform: scale(1.01);
}

@media (min-width: 1024px) {
  .why-photo { max-width: 100%; }
}

/* Program photo strip */
.program-photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 2rem 0;
}

.program-photo-strip figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(212, 168, 67, 0.1);
  position: relative;
}

.program-photo-strip figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease), filter 0.3s;
  filter: brightness(0.85);
}

.program-photo-strip figure:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

.program-photo-strip figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.7rem;
  background: linear-gradient(to top, rgba(14,14,14,0.85), transparent);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.8);
}

@media (min-width: 640px) {
  .program-photo-strip figure img { height: 220px; }
}

@media (min-width: 900px) {
  .program-photo-strip figure img { height: 260px; }
}

/* Photo Gallery Section */
#galeria {
  background: var(--dark-2);
  padding: 0;
  overflow: hidden;
}

.gallery-header {
  text-align: center;
  padding: 3rem 1.25rem 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  grid-auto-flow: dense;
  width: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.35s;
  filter: brightness(0.75) saturate(0.85);
}

.gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,14,14,0.75) 0%, transparent 55%);
  pointer-events: none;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 0.4;
}

.gallery-caption {
  position: absolute;
  bottom: 0.7rem;
  left: 0.7rem;
  right: 0.7rem;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.8);
}

.gallery-item.featured {
  grid-column: span 1;
}

.gallery-item.featured img {
  height: 100%;
}

@media (min-width: 520px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }
}

@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }
}

/* Team photo */
.team-photo {
  margin: 2.5rem auto 0;
  max-width: 720px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(212,168,67,0.15);
}

.team-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.8) saturate(0.85);
  transition: filter 0.4s;
}

.team-photo:hover img { filter: brightness(0.95) saturate(1); }

/* Contact section photo */
.contact-photo {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(212,168,67,0.15);
  margin-bottom: 1rem;
}

.contact-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.7) saturate(0.8);
}

/* Program panel solo (replaces tab-panel) */
.program-panel-solo {
  display: block;
}

/* Camino panel accent fallback for program-panel-solo */
.program-panel-solo .program-banner::before {
  background: var(--accent-camino);
}
.program-panel-solo .program-banner-title { color: var(--gold); }
.program-panel-solo .detail-card { border-top-color: rgba(212, 168, 67, 0.3); }
.program-panel-solo .detail-card h3 { color: var(--gold); }
.program-panel-solo .itinerary > h3 { color: var(--gold); }
.program-panel-solo .stage-km { color: var(--gold); }
.program-panel-solo .includes-title { color: var(--gold); }

/* ==============================================
   NTC LOGO (TEXT VERSION)
============================================== */
.footer-logo { margin-bottom: 0.75rem; }

/* ==============================================
   HERO PHOTO Z-INDEX FIX
============================================== */
.hero-photo  { z-index: 0; }
.hero-bg     { z-index: 1; }
.hero-grid   { z-index: 1; }

/* ==============================================
   IMAGE FIX â€” ASPECT-RATIO CONTAINERS (overrides)
============================================== */

/* WHY photo — show full image, no cropping */
.why-photo {
  margin-top: 2rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(212,168,67,0.15);
}
.why-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0.92) saturate(0.95);
  transition: filter 0.4s, transform 0.5s;
}
.why-photo:hover img {
  filter: brightness(1) saturate(1);
  transform: scale(1.01);
}

/* Photo Band — responsive height, centered overlay */
.photo-band {
  height: clamp(260px, 40vw, 520px);
  position: relative;
  overflow: hidden;
}
.photo-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.45) saturate(0.85);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.photo-band:hover img { transform: scale(1.0); }

/* Program photo strip */
.program-photo-strip figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(212,168,67,0.1);
}
.program-photo-strip figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.5s ease, filter 0.3s;
  filter: brightness(0.85);
}
.program-photo-strip figure:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

/* Gallery items */
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 130px;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease, filter 0.35s;
  filter: brightness(0.75) saturate(0.85);
}
.gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1.1);
}
.gallery-item.featured { aspect-ratio: 16 / 9; }
.gallery-item::after {
  content: '+';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
.gallery-item:hover::after { opacity: 1; }

/* Contact photo */
.contact-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(212,168,67,0.15);
  margin-top: 1.5rem;
}
.contact-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: brightness(0.72) saturate(0.85);
}

/* ==============================================
   MOMENTOS DEL CAMINO
============================================== */
#momentos { background: var(--dark); }
.momentos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.momento-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
}
.momento-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease, filter 0.4s;
  filter: brightness(0.5) saturate(0.8);
}
.momento-card:hover > img {
  transform: scale(1.05);
  filter: brightness(0.65) saturate(1);
}
.momento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,14,14,0.92) 0%, rgba(14,14,14,0.38) 50%, rgba(14,14,14,0.08) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.momento-day {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.momento-title {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 4vw, 1.55rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.momento-desc {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.75);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s;
}
.momento-card:hover .momento-desc,
.momento-card:focus-within .momento-desc {
  max-height: 100px;
  opacity: 1;
}
@media (min-width: 600px) {
  .momentos-grid { grid-template-columns: repeat(2, 1fr); }
  .momento-card { aspect-ratio: 4 / 3; }
}
@media (min-width: 1024px) {
  .momentos-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .momento-card { aspect-ratio: 3 / 4; }
}
#momentos .section-label,
#momentos .section-title,
#momentos .section-body { text-align: center; }
#momentos .section-body { margin-left: auto; margin-right: auto; }

/* ==============================================
   LIGHTBOX
============================================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.96);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  -webkit-tap-highlight-color: transparent;
}
.lightbox.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}
.lightbox-content {
  position: relative;
  max-width: min(96vw, 1100px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 3.5rem);
  object-fit: contain;
  border-radius: 3px;
  user-select: none;
}
.lightbox-caption {
  color: rgba(245,240,232,0.65);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.75rem;
  text-align: center;
}
.lightbox-close {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--warm);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10000;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--warm);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10000;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-prev { left: 0.4rem; }
.lightbox-next { right: 0.4rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.22); }
@media (min-width: 640px) {
  .lightbox-prev { left: 1.25rem; }
  .lightbox-next { right: 1.25rem; }
  .lightbox-close { top: 1.25rem; right: 1.25rem; }
}

/* ==============================================
   MOBILE-FIRST RESPONSIVE PATCHES
============================================== */
@media (max-width: 379px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 3px; }
  .gallery-item.featured { grid-column: span 1; aspect-ratio: 4/3; }
  .program-photo-strip { grid-template-columns: 1fr; }
  .program-photo-strip figure { aspect-ratio: 16/9; }
}
@media (max-width: 399px) {
  .program-banner { padding: 1.2rem 0.9rem; }
  .program-banner-title { font-size: clamp(1.6rem, 9vw, 2.8rem); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .gallery-item.featured { grid-column: span 1; aspect-ratio: 4/3; }
}
@media (max-width: 360px) {
  .hero-stats { gap: 1rem; }
  .hero-stat-num { font-size: 2rem; }
}
@media (min-width: 900px) {
  .contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}
.price-includes-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.8rem 0;
}
@media (max-width: 1023px) {
  #programas .section-label,
  #programas .section-title,
  #programas .section-body { text-align: center; }
}



/* ==============================================
   BIKE GALLERY — Experiencia en Bicicleta
============================================== */
#bici-experiencia {
  background: var(--dark-2);
}

.bike-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.bike-gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.bike-gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.78) saturate(0.85);
  transition: transform 0.6s var(--ease), filter 0.35s;
}

.bike-gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1.1);
}

.bike-gallery-item.bike-featured {
  aspect-ratio: 16 / 9;
}

/* 2 columns at 480px+ */
@media (min-width: 480px) {
  .bike-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .bike-gallery-item.bike-featured {
    grid-column: span 2;
    aspect-ratio: 21 / 9;
  }
}

/* 3 columns at 768px+ */
@media (min-width: 768px) {
  .bike-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .bike-gallery-item.bike-featured {
    grid-column: span 3;
    aspect-ratio: 21 / 9;
  }

  .bike-gallery-item {
    aspect-ratio: 4 / 3;
  }
}

/* 4 columns at 1100px+ */
@media (min-width: 1100px) {
  .bike-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
  }

  .bike-gallery-item.bike-featured {
    grid-column: span 4;
    aspect-ratio: 3 / 1;
    max-height: 380px;
  }
}
