* { box-sizing: border-box; }
html { overflow-x: hidden; }
body { font-family: 'Barlow', sans-serif; background: #0e0d0b; color: #f0ebe2; margin: 0; padding: 0; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Barlow Condensed', sans-serif; }
.hero-bg {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
}
.hero-bg__picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.responsive-picture {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}
.responsive-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(14,13,11,0.15) 0%, rgba(14,13,11,0.55) 60%, rgba(14,13,11,1) 100%);
  pointer-events: none;
}
.hero-bg__content {
  position: relative;
  z-index: 2;
}
.accent { color: #e07b2f; }
.btn-primary {
  background: #e07b2f;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #c96a20; transform: translateY(-1px); }
.btn-outline {
  border: 2px solid #e07b2f;
  color: #e07b2f;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.7rem 1.8rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover { background: #e07b2f; color: #fff; }
.tour-card {
  background: #1a1813;
  border: 1px solid #2e2b25;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.tour-card:hover { border-color: #e07b2f; transform: translateY(-2px); }
.tour-card-body { flex: 1; display: flex; flex-direction: column; padding: 1.5rem; }
.tour-card-spacer { flex: 1; }
.tour-card__media-btn {
  display: block;
  width: 100%;
  height: 220px;
  padding: 0;
  border: 0;
  margin: 0;
  position: relative;
  cursor: pointer;
  background: #111009;
  overflow: hidden;
  flex-shrink: 0;
  text-align: left;
  font: inherit;
}
.tour-card__media-btn .responsive-picture,
.tour-card__media-btn .responsive-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour-card__media-btn:focus-visible {
  outline: 2px solid #e07b2f;
  outline-offset: -2px;
}
.tour-card__media-btn:hover .tour-card__expand-hint { opacity: 1; }
.tour-card__expand-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 0.75rem 0.6rem;
  background: linear-gradient(transparent, rgba(14, 13, 11, 0.92));
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0ebe2;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.tour-card__details-btn {
  width: 100%;
  justify-content: center;
}
.tour-modal.gallery-lightbox {
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 1.5rem);
}
.tour-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  width: min(960px, 100%);
  max-height: calc(100vh - 2rem);
  background: #1a1813;
  border: 1px solid #2e2b25;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.tour-modal__media {
  position: relative;
  min-height: 220px;
  background: #111009;
}
.tour-modal__picture,
.tour-modal__picture img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}
.tour-modal__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}
.tour-modal__body {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.tour-modal__counter {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 235, 226, 0.45);
  margin: 0 0 0.75rem;
}
.tour-modal__wa {
  width: 100%;
  justify-content: center;
  margin-top: 1.25rem;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .tour-modal__panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 1.5rem);
  }
  .tour-modal__media {
    max-height: 38vh;
  }
  .tour-modal__picture,
  .tour-modal__picture img {
    min-height: 0;
    max-height: 38vh;
  }
  .tour-card__expand-hint { opacity: 1; }
}
.stat-block { border-left: 3px solid #e07b2f; padding-left: 0.75rem; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e07b2f;
  font-weight: 600;
}
.nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0ebe2;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
.nav-link:hover { opacity: 1; color: #e07b2f; }
.lang-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  background: transparent;
  color: rgba(240,235,226,0.5);
}
.lang-btn.active { border-color: #e07b2f; color: #e07b2f; }
.lang-btn:hover:not(.active) { color: #f0ebe2; }
.faq-item summary { cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  background: #25D366;
  color: white;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 6px;
}
.gallery-grid .span2 { grid-column: span 2; }
.gallery-item {
  cursor: pointer;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
}
.gallery-item:focus-visible {
  outline: 2px solid #e07b2f;
  outline-offset: 2px;
}
.gallery-lightbox {
  position: fixed !important;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(14, 13, 11, 0.92);
  backdrop-filter: blur(8px);
  animation: gallery-lightbox-in 0.2s ease-out;
}
@keyframes gallery-lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.gallery-lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.gallery-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.gallery-lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 3vw, 1.25rem);
  right: clamp(0.75rem, 3vw, 1.25rem);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid #2e2b25;
  border-radius: 50%;
  background: rgba(26, 24, 19, 0.9);
  color: #f0ebe2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.gallery-lightbox__close:hover {
  border-color: #e07b2f;
  background: #1a1813;
}
.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid #2e2b25;
  border-radius: 50%;
  background: rgba(26, 24, 19, 0.9);
  color: #f0ebe2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.gallery-lightbox__nav:hover {
  border-color: #e07b2f;
  background: #1a1813;
}
.gallery-lightbox__nav--prev { left: clamp(0.5rem, 2vw, 1.25rem); }
.gallery-lightbox__nav--next { right: clamp(0.5rem, 2vw, 1.25rem); }
.gallery-lightbox__counter {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 235, 226, 0.5);
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-grid .span2 { grid-column: span 2; }
  .gallery-lightbox__nav { width: 40px; height: 40px; }
}
.img-placeholder {
  width: 100%; height: 100%;
  background: #1a1813;
  display: flex; align-items: center; justify-content: center;
  color: #3a3630;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.divider { border: none; border-top: 1px solid #2e2b25; margin: 0; }
.enduro-bg {
  background: linear-gradient(135deg, #1a1813 0%, #0e0d0b 100%);
}
.badge {
  display: inline-block;
  background: rgba(224,123,47,0.15);
  color: #e07b2f;
  border: 1px solid rgba(224,123,47,0.3);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}
.sticky-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.sticky-nav.scrolled {
  background: rgba(14,13,11,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2e2b25;
}
html { scroll-behavior: smooth; }
/* Mobile + iPad: keep flags centered in frame */
@media (max-width: 1024px) {
  .hero-bg__img {
    object-position: center center;
  }
}
@media (min-width: 769px) { .hidden-mobile { display: flex !important; } .show-mobile { display: none !important; } }
@media (max-width: 768px) { .hidden-mobile { display: none !important; } .show-mobile { display: block !important; } }
