:root {
  --background: #FDFBF6;
  --surface: rgba(255, 254, 250, 0.94);
  --surface-strong: #fffefa;
  --text: #202720;
  --muted: #667062;
  --line: rgba(32, 39, 32, 0.11);
  --primary: #4D653D;
  --primary-deep: #344A2A;
  --mustard: #E6B33F;
  --action-mustard: var(--mustard);
  --action-mustard-deep: #bd8719;
  --leaf: #5F754D;
  --sand: #D9C99A;
  --ink: #171F19;
  --shadow-soft: 0 16px 48px rgba(17, 24, 28, 0.12);
  --shadow-card: 0 12px 32px rgba(17, 24, 28, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(217, 201, 154, 0.16), transparent 28%), var(--background);
  background-image: radial-gradient(rgba(23, 31, 25, 0.025) 1px, transparent 1px), radial-gradient(circle at top, rgba(217, 201, 154, 0.16), transparent 28%);
  background-size: 22px 22px, auto;
  line-height: 1.65;
}

a:not([class]) {
  color: var(--primary-deep);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(52, 74, 42, 0.42);
  transition: color 0.2s ease, text-decoration-color 0.2s ease, opacity 0.2s ease;
}

a:not([class]):hover {
  color: var(--primary);
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid rgba(31, 91, 91, 0.38);
  outline-offset: 3px;
}

.button,
.card-link,
.section-link,
.nav a,
.footer-list a,
.header-cta {
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

[ng-cloak] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--text);
  font-weight: 700;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--primary);
}

/* Buttons inside .nav keep their own color (e.g. Book Now in mobile drawer) */
.nav a.button {
  color: #fff;
}

.menu-button {
  display: none;
}

/* Mobile-only nav elements — hidden on desktop */
.nav-mobile-header,
.nav-mobile-cta {
  display: none;
}

/* ===== MOBILE OVERLAY =====
   Pure CSS: controlled via #menuToggle:checked sibling selectors.
   No JavaScript needed — same approach as the admin panel.
   ====================================== */

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 50;
}

#menuToggle:checked ~ .menu-overlay {
  display: block;
}

/* ===== BUTTON SYSTEM =====
   Base: .button
  Modifiers: .sm  .light
   Combinable: .button.sm.light  etc.
   ========================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0 1.6rem;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  /* Primary: mustard */
  color: var(--ink);
  background: var(--mustard);
  box-shadow: 0 5px 15px rgba(160, 116, 20, 0.34);
}

.button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.button:hover {
  background: #D8A62F;
  box-shadow: 0 12px 32px rgba(160, 116, 20, 0.42);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(160, 116, 20, 0.3);
}

.button .wsIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: 6px;
}

.button .wsIcon svg {
  display: block;
}

.button .wsIcon svg rect {
  fill: #25D366;
}

.button .wsIcon svg path {
  fill: #fff;
}

/* Modifier: tamaño pequeño */
.button.sm {
  min-height: 2.4rem;
  padding: 0 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.button.light {
  background: #fff;
  color: var(--primary-deep);
  box-shadow: 0 4px 16px rgba(52, 74, 42, 0.12);
  border: 1.5px solid rgba(31, 91, 91, 0.22);
}

.button.light::after {
  display: none;
}

.button.light:hover {
  color: var(--primary-deep);
  box-shadow: 0 8px 24px rgba(52, 74, 42, 0.18);
}

/* Modifier: verde bosque para acciones destacadas */
.button.forest {
  background: linear-gradient(135deg, #5F754D 0%, var(--leaf) 52%, #344A2A 100%);
  color: #fff;
  box-shadow: 0 5px 15px rgba(52, 74, 42, 0.35);
}

.button.forest::after {
  display: block;
}

.button.forest:hover {
  background: linear-gradient(135deg, #6D8459 0%, #5A7449 52%, #405B33 100%);
  box-shadow: 0 12px 32px rgba(52, 74, 42, 0.45);
  transform: translateY(-2px);
}

.button.forest:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(52, 74, 42, 0.32);
}

.button-icon {
  margin-right: 0.5rem;
  font-size: 1em;
  line-height: 1;
}



.hero {
  position: relative;
  overflow: hidden;
  min-height: 47rem;
  color: #fefcf8;
}

.hero-media,
.hero-overlay,
.hero-fade {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(28, 52, 20, 0.22) 0%, rgba(0, 0, 0, 0.15) 48%, rgba(0, 0, 0, 0) 70%);
}

.hero-fade {
  background: linear-gradient(180deg, rgb(247 242 234 / 0%) 68%, rgb(247 242 234 / 50%) 100%);
}

.hero-content {
  position: relative;
  padding: 5rem 1rem 14rem;
}

.hero-title,
.section-title,
.cta-title,
.page-title {
  font-family: 'Lora', serif;
  font-weight: 700;
  line-height: 0.88;
}

.hero-title {
  max-width: 62rem;
  margin: 0 0 1.5rem;
  font-size: clamp(4.5rem, 10vw, 8rem);
}

.hero-title .accent {
  color: var(--primary);
  text-shadow: 5px 2px 10px #fff;
}

.hero-copy {
  max-width: 37rem;
  margin: 0 0 1.4rem;
  font-size: clamp(1.15rem, 1.5vw, 1.55rem);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin: 0 0 2rem;
}

.hero-benefits span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.02em;
}

.hero-title-br {
  display: none;
}

.hero-actions,
.cta-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.stats-wrap {
  position: relative;
  margin-top: -7rem;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 2rem 1.4rem;
  text-align: center;
}

.stat-card+.stat-card {
  border-left: 1px solid var(--line);
}

.stat-value {
  font-family: 'Lora', serif;
  color: var(--action-mustard-deep);
  font-size: clamp(1.6rem, 2.5vw, 3rem);
  line-height: 1;
}

.stat-label {
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.84rem;
  color: var(--muted);
}

.section {
  padding: 3rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.8rem;
}

.section-title {
  margin: 0;
  max-width: none;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.1;
}

.section-link {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
  white-space: nowrap;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.tour-card,
.panel,
.contact-card,
.booking-card,
.detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.tour-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tour-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 91, 91, 0.32);
  box-shadow: var(--shadow-soft);
}

.tour-media {
  display: flex;
  align-items: flex-end;
  position: relative;
  min-height: 18.5rem;
  padding: 1rem;
  color: #fefcf8;
  overflow: hidden;
  background: linear-gradient(160deg, #5F754D 0%, #344A2A 100%);
}

.tour-media-link {
  display: flex;
  color: #fefcf8;
  text-decoration: none;
}

.tour-media-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

.tour-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 58%);
  mix-blend-mode: overlay;
  z-index: 1;
}

.tour-media img.tour-promo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tour-badge {
  display: inline-block;
  text-align: center;
  border-radius: 50px;
  min-height: 2.1rem;
  padding: 0.4rem 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

.tour-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 252, 247, 0.95);
  color: var(--ink);
  z-index: 1;
}

.tour-meta {
  flex: 1;
  min-width: 0;
}

.tour-body p,
.muted,
.page-copy {
  color: var(--muted);
}

.tour-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tour-category-tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--leaf);
  background: rgba(77, 101, 61, 0.09);
  border: 1px solid rgba(77, 101, 61, 0.22);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

a.tour-category-tag:hover,
a.tour-category-tag:focus-visible {
  background: rgba(77, 101, 61, 0.16);
  border-color: rgba(77, 101, 61, 0.38);
}

.tour-meta h3,
.tour-body h3,
.detail-card h3 {
  margin: 0;
}

.tour-meta h3 {
  font-family: 'Lora', serif;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  line-height: 1.1;
  text-wrap: balance;
}

.tour-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding: 1.3rem;
}

.tour-footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.tour-media-price {
  flex-shrink: 0;
  align-self: flex-end;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  background: rgba(255, 252, 247, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 0.45rem 0.95rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.tmp-label {
  text-transform: uppercase;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--muted);
}

.tmp-value {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.tour-price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  background: rgba(230, 179, 63, 0.14);
  border: 1px solid rgba(230, 179, 63, 0.42);
  border-radius: 50px;
  padding: 0.35rem 0.85rem;
  width: fit-content;
}

.price-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
}

.price-value {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--action-mustard-deep);
  line-height: 1;
}

.price-value small {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 0.15rem;
}

.tour-actions {
  display: flex;
  gap: 0.5rem;
}

.card-link {
  flex: 1;
  display: block;
  text-align: center;
  padding: 0.55rem 0.9rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.1s ease;
  white-space: nowrap;
  background: var(--action-mustard);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(160, 116, 20, 0.3);
}

.card-link-primary {
  background: linear-gradient(135deg, #5F754D 0%, #344A2A 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(52, 74, 42, 0.28);
}

.card-link-primary:hover {
  background: linear-gradient(135deg, #6D8459 0%, #405B33 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(52, 74, 42, 0.34);
}

.card-link-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid rgba(77, 101, 61, 0.38);
  box-shadow: none;
}

.card-link-secondary:hover {
  background: rgba(77, 101, 61, 0.08);
  color: var(--primary-deep);
  border-color: rgba(77, 101, 61, 0.55);
  box-shadow: none;
}

.card-link-secondary span:last-child,
.card-link-primary span:last-child {
  display: inline-block;
  margin-left: 0.3rem;
  transition: transform 0.18s ease;
}

.card-link-secondary:hover span:last-child,
.card-link-primary:hover span:last-child {
  transform: translateX(0.18rem);
  
}

.cta {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #4D653D 0%, #344A2A 100%);
  color: #fefcf8;
}

.cta-panel {
  text-align: center;
}

.cta-title {
  margin: 0 0 1rem;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
}

.cta-copy {
  max-width: 42rem;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: rgba(255, 252, 247, 0.97);
}

.site-footer {
  margin-top: 0;
  color: #fefcf8;
  background: var(--ink);
}

.wave {
  height: 4rem;
  margin-top: 4rem;
  background: var(--primary);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'><path d='M0,40 C240,120 480,0 720,50 C960,100 1200,20 1440,60 L1440,120 L0,120 Z'/></svg>") center / 100% 100% no-repeat;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 1rem;
}

.footer-title,
.footer-heading {
  margin: 0;
  font-family: 'Lora', serif;
}

.footer-title {
  font-size: 3rem;
  color: var(--leaf);
}

.footer-heading {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-copy,
.footer-list a,
.footer-list li,
.copyright {
  color: rgba(255, 252, 247, 0.88);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li+li {
  margin-top: 0.75rem;
}

.copyright {
  padding: 1.4rem 0 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
  text-align: center;
  color: #fefcf8;
  box-shadow: 0 28px 42px -34px rgba(8, 20, 28, 0.55);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 20, 28, 0.24) 0%, rgba(8, 20, 28, 0.16) 56%, rgba(8, 20, 28, 0.22) 100%),
    url('../assets/hero-blur.webp') top / cover no-repeat;
  filter: blur(2px) saturate(0.98) brightness(0.98);
  transform: scale(1.02);
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero .page-title {
  margin: 0 0 1rem;
  color: #fefcf8;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
}

.page-hero .page-copy {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.32);
}

.catalog-hero-copy {
  padding: 1rem 0 1.5rem;
}

.catalog-hero-copy .page-copy {
  margin: 0 auto;
  color: var(--muted);
  text-shadow: none;
  font-size: 1.08rem;
}

.page-hero .tour-badge {
  position: static;
  display: inline-block;
  margin-bottom: 1.2rem;
  background: rgba(255, 252, 247, 0.12);
  color: #fefcf8;
  border: 1px solid rgba(255, 252, 247, 0.22);
}

.hero-inline-link {
  color: #d6f0d0;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(217, 243, 242, 0.45);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.hero-inline-link:hover {
  color: #ffffff;
  text-decoration-color: currentColor;
}

.page-title {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
}

.page-copy {
  max-width: 46rem;
  margin: 0 auto;
  font-size: 1.15rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.catalog-hero .container {
  max-width: 66rem;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  gap: 0.75rem;
  margin: 0 0 2.2rem;
  padding: 1rem;
  border: 1px solid rgba(28, 37, 40, 0.08);
  border-radius: 1.4rem;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 10px 24px rgba(17, 24, 28, 0.05);
  backdrop-filter: blur(10px);
}

.filter-btn {
  position: relative;
  display: inline-block;
  text-align: center;
  min-height: 2.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(28, 37, 40, 0.08);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.filter-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(77, 101, 61, 0.3);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(17, 24, 28, 0.08);
}

.filter-btn.active {
  border-color: rgba(77, 101, 61, 0.28);
  background: linear-gradient(180deg, rgba(77, 101, 61, 0.16), rgba(77, 101, 61, 0.08));
  color: var(--primary-deep);
  box-shadow: 0 12px 26px rgba(77, 101, 61, 0.14);
}

.filter-btn:focus-visible {
  outline: 2px solid rgba(77, 101, 61, 0.28);
  outline-offset: 3px;
}

/* ============================================================
   Filtro de categorías — barra compacta con desplegable (móvil)
   Oculta por defecto; solo se muestra bajo el breakpoint de 760px,
   donde reemplaza la fila completa de píldoras .category-filter.
============================================================ */
.category-filter-mobile {
  display: none;
}

.category-filter-bar {
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
}

.category-filter-summary {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  padding: 0 0.9rem 0 1.1rem;
  border: 1.5px solid rgba(28, 37, 40, 0.1);
  border-radius: 50px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 10px 24px rgba(17, 24, 28, 0.05);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.category-filter-summary.is-active {
  border-color: rgba(77, 101, 61, 0.45);
  background: linear-gradient(180deg, rgba(77, 101, 61, 0.12), rgba(77, 101, 61, 0.05));
  box-shadow: 0 10px 24px rgba(77, 101, 61, 0.12);
}

.cfs-label {
  flex-shrink: 0;
  text-transform: uppercase;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-right: 0.6rem;
  border-right: 1px solid rgba(28, 37, 40, 0.12);
}

.cfs-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text);
}

.category-filter-summary.is-active .cfs-value {
  color: var(--primary-deep);
}

.cfs-chevron {
  flex-shrink: 0;
  display: flex;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.cfs-chevron.is-open {
  transform: rotate(180deg);
}

.category-filter-clear {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  min-height: 3.1rem;
  border: 1.5px solid rgba(77, 101, 61, 0.28);
  border-radius: 50px;
  background: rgba(77, 101, 61, 0.08);
  color: var(--primary-deep);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.category-filter-clear:hover {
  background: rgba(77, 101, 61, 0.16);
  transform: translateY(-1px);
}

.category-filter-backdrop {
  position: fixed;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(8, 20, 28, 0.28);
  z-index: 29;
  cursor: default;
}

.category-filter-dropdown {
  position: relative;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: -0.9rem 0 1.4rem;
  padding: 1rem;
  border: 1px solid rgba(28, 37, 40, 0.08);
  border-radius: 1.2rem;
  background: #fffdf9;
  box-shadow: 0 20px 40px rgba(17, 24, 28, 0.14);
}

@media (max-width: 760px) {
  .category-filter {
    display: none;
  }

  .category-filter-mobile {
    display: block;
  }
}

.catalog-grid .tour-card {
  border-radius: 1.15rem;
}

.catalog-grid .tour-media {
  min-height: 14.75rem;
}

.catalog-grid .tour-body {
  gap: 0.85rem;
  padding: 1.5rem;
}

.catalog-grid .tour-body>p {
  margin: 0;
  min-height: 4.5rem;
}



.field,
.field select,
.field input,
.field textarea {
  width: 100%;
}

.field input,
.field select,
.field textarea {
  min-height: 3.35rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdf9;
  color: var(--text);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.info-grid,
.detail-layout {
  display: grid;
  gap: 1.4rem;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-layout {
  grid-template-columns: 1.25fr 0.85fr;
  align-items: start;
}



.reserve-page .page-title {
  margin-bottom: 1.4rem;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
}

.reserve-form-card {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.55rem;
  border-radius: 1.5rem;
  background: rgba(255, 252, 247, 0.97);
  box-shadow: 0 16px 42px rgba(17, 24, 28, 0.08);
}

.detail-panels {
  display: grid;
  gap: 1.4rem;
}

.reserve-form-head h2 {
  margin: 0 0 0.25rem;
  font-family: 'Lora', serif;
  font-size: 2.1rem;
  color: var(--action-mustard-deep);
}

.reserve-form-head p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.booking-travelers-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr);
  gap: 0.75rem;
  align-items: end;
}

.traveler-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  align-items: end;
}

.traveler-fields--children {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reserve-form-card .field {
  margin-bottom: 0.95rem;
}

.reserve-form-card .field label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  font-weight: 800;
  color: rgba(28, 37, 40, 0.88);
}

.age-range {
  white-space: nowrap;
}

.reserve-form-card .field input,
.reserve-form-card .field textarea,
.tour-select-trigger {
  min-height: 3rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(28, 37, 40, 0.12);
  border-radius: 0.8rem;
  background: rgba(255, 252, 247, 0.98);
}

.reserve-form-card .field input:focus,
.reserve-form-card .field textarea:focus,
.tour-select-trigger.is-open {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(77, 101, 61, 0.15);
}

.reserve-form-card textarea {
  min-height: 4.25rem;
}

.reserve-footnote {
  margin-top: 1.4rem;
  font-size: 14px;
  color: var(--muted);
}

.tour-select {
  position: relative;
}

.tour-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fffdf9;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tour-select-trigger:hover {
  border-color: var(--primary);
}

.tour-select-trigger.is-open {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(77, 101, 61, 0.1);
}

.tour-select-trigger::after {
  content: '▾';
  margin-left: 1rem;
  font-size: 0.9rem;
  color: var(--ink);
  transition: transform 0.2s ease;
}

.tour-select-trigger.is-open::after {
  transform: rotate(180deg);
}

.tour-select-trigger.is-placeholder {
  color: rgba(28, 37, 40, 0.75);
}

.tour-select-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 100;
  overflow-y: auto;
  max-height: 26rem;
  border: 1px solid rgba(28, 37, 40, 0.22);
  border-radius: 0.8rem;
  background: #fffdf9;
  box-shadow: 0 16px 42px rgba(17, 24, 28, 0.15);
}

.tour-select-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
  border-bottom: 1px solid rgba(28, 37, 40, 0.08);
}

.tour-select-option:last-child {
  border-bottom: none;
}

.tour-select-option:hover,
.tour-select-option.is-selected {
  background: rgba(77, 101, 61, 0.1);
}

.tour-select-option-icon {
  width: 1.5rem;
  flex-shrink: 0;
  text-align: center;
  font-size: 1.2rem;
}

/* ========== Tour Modal Styles ========== */
.tour-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
  animation: fadeIn 0.2s ease;
}

.tour-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  width: 100%;
  max-height: 85vh;
  z-index: 200;
  background: #fffdf9;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease;
  overflow: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.tour-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(28, 37, 40, 0.1);
  flex-shrink: 0;
}

.tour-modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.tour-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: none;
  border-radius: 50%;
  background: rgba(77, 101, 61, 0.1);
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tour-modal-close:hover {
  background: var(--primary);
  color: white;
}

.tour-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

/* Responsive modal grid */
@media (max-width: 768px) {
  .tour-modal-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .tour-modal {
    max-width: 95vw;
    max-height: 90vh;
  }
  
  .tour-modal-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

.tour-modal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  border: 2px solid rgba(28, 37, 40, 0.1)!important;
  border-radius: var(--radius-md);
  background: #fefdfb;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.tour-modal-card:hover {
  border: 2px solid var(--primary);
  background: rgba(77, 101, 61, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(77, 101, 61, 0.15);
}

.tour-modal-card:active {
  transform: translateY(0);
}

.tour-modal-card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  line-height: 1;
}

.tour-modal-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.8rem;
  line-height: 1.2;
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-modal-card-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  font-size: 0.75rem;
}

.tour-detail-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  line-height: 1.3;
}

.tour-detail-item:last-child {
  margin-bottom: 0;
}

.tour-detail-icon {
  display: inline-block;
  min-width: 1rem;
  text-align: center;
  font-size: 0.85rem;
}

.tour-detail-text {
  flex: 1;
  word-break: break-word;
}

.tour-detail-label {
  display: inline;
  font-weight: 600;
  color: var(--muted);
}

.tour-detail-price {
  display: inline;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
}

.tour-detail-inquire {
  color: var(--action-mustard-deep);
  font-style: italic;
}

.tour-selected-card {
  padding: 1.5rem;
  border: 2px solid rgba(28, 37, 40, 0.1);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fefdfb 0%, rgba(254, 253, 251, 0.9) 100%);
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.tour-selected-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(77, 101, 61, 0.12);
}

.tour-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tour-card-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  flex: 1;
  min-width: 0;
}

@media (max-width: 600px) {
  .tour-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .tour-card-change-btn {
    align-self: flex-start;
  }
}

.tour-card-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.tour-card-change-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0 1rem;
  border: 2px solid var(--primary);
  border-radius: 50px;
  background: transparent;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}

.tour-card-change-btn:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(77, 101, 61, 0.3);
}

.tour-card-details {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  border-top: 1px solid rgba(28, 37, 40, 0.08);
  padding-top: 0.75rem;
}

.tour-card-details .tour-detail-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(28, 37, 40, 0.06);
  color: var(--muted);
}

.tour-card-details .tour-detail-item:last-child {
  border-bottom: none;
}

.tour-card-details .tour-detail-item span:first-child {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.tour-card-details .tour-detail-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  margin-left: auto;
}

.tour-card-details .tour-detail-inquire {
  margin-left: auto;
  font-size: 0.8rem;
}

.tour-select-trigger-active {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(28, 37, 40, 0.1);
}

.form-inline-link {
  color: var(--primary-deep);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(58, 81, 48, 0.42);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.form-inline-link:hover {
  color: var(--primary);
  text-decoration-color: currentColor;
}

.booking-summary {
  display: block;
  padding: 1.1rem 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(77, 101, 61, 0.06);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.summary-row:first-child {
  min-height: 2.5rem;
}

.summary-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.summary-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.reserve-submit {
  width: 100%;
  margin-top: 0.4rem;
  min-height: 3.6rem;
}

.reserve-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Validación de campos */
.field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #c62828;
}

.field-input--error {
  border-color: #f44336 !important;
  box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.15) !important;
}

.booking-success {
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  background-color: rgba(76, 175, 80, 0.1);
  border-left: 4px solid #4caf50;
  color: #2e7d32;
  font-size: 0.95rem;
  line-height: 1.5;
}

.booking-success p {
  margin: 0;
}

/* Pregunta de transporte */
.transport-question {
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid rgba(28, 37, 40, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.transport-question--error {
  border-color: #d64545;
  background: rgba(214, 69, 69, 0.055);
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.1);
}

.transport-question-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.transport-question-heading label {
  margin: 0;
}

.reserve-form-card .transport-question-heading label {
  color: rgba(28, 37, 40, 0.92);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.transport-required {
  flex: 0 0 auto;
  padding: 0.2rem 0.45rem;
  border-radius: 50px;
  background: rgba(28, 37, 40, 0.08);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.transport-question--error .transport-required {
  background: #d64545;
  color: #fff;
}

.transport-question-help {
  margin: 0.35rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.transport-cost-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(189, 135, 25, 0.35);
  border-left: 4px solid var(--action-mustard-deep);
  border-radius: 10px;
  background: rgba(230, 179, 63, 0.2);
  color: #5d4715;
  font-size: 0.82rem;
  line-height: 1.45;
}

.transport-cost-alert-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--action-mustard-deep);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.transport-options {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.transport-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  min-height: 2.8rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(28, 37, 40, 0.16);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.transport-option > span:last-child {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.reserve-form-card .transport-option {
  display: inline-flex;
}

.transport-option:hover,
.transport-option:focus-within {
  border-color: var(--primary);
}

.transport-option.is-active {
  border-color: var(--primary);
  background: rgba(77, 101, 61, 0.08);
  color: var(--primary-deep);
}

.transport-option input {
  display: none;
}

.transport-radio {
  display: grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border: 1.5px solid rgba(28, 37, 40, 0.35);
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.transport-option.is-active .transport-radio {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 0.25rem #fff;
  background: var(--primary);
}

.transport-error {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: #b3261e;
  font-size: 0.82rem;
  line-height: 1.4;
}

.transport-error-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #d64545;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.transport-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(77, 101, 61, 0.08);
  border-left: 3px solid var(--primary);
  font-size: 0.88rem;
  color: var(--primary-deep);
  line-height: 1.5;
}

.summary-row-transport {
  align-items: flex-start;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(32, 39, 32, 0.1);
}

.summary-transport-value {
  max-width: 60%;
  color: #8b6211;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: right;
}

.summary-disclaimer {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .booking-summary {
    padding: 1rem;
  }

  .summary-row-transport {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(8rem, 1.2fr);
    gap: 0.75rem;
  }

  .summary-transport-value {
    max-width: none;
  }
}

.admin-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.admin-head .page-title {
  margin: 0.2rem 0 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.45rem, 1.7vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 24rem;
}

.admin-head .page-copy {
  max-width: 36rem;
  margin: 0;
  font-size: 0.98rem;
}

.admin-head-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.admin-head-actions {
  margin-top: 1rem;
}

.admin-primary-action {
  min-height: 2.9rem;
  padding-inline: 1.2rem;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-summary-card,
.admin-calendar-card,
.admin-form-card {
  border: 1px solid rgba(28, 37, 40, 0.08);
  border-radius: 1.5rem;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 16px 42px rgba(17, 24, 28, 0.08);
}

.admin-summary-card {
  padding: 1rem 1.1rem;
}

.admin-summary-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 2rem;
}

.admin-summary-label,
.admin-panel-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(28, 37, 40, 0.7);
}

.admin-layout {
  display: block;
}

.admin-calendar-card,
.admin-form-card {
  padding: 1.4rem;
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(17, 24, 28, 0.3);
  backdrop-filter: blur(4px);
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 41;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.admin-form-modal {
  width: min(100%, 34rem);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}

.admin-form-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(28, 37, 40, 0.1);
  border-radius: 50px;
  background: #fffdf9;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.admin-form-context {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.admin-form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.admin-secondary-action,
.admin-submit-action {
  width: 100%;
}

.button-secondary {
  border: 1px solid rgba(28, 37, 40, 0.12);
  background: rgba(255, 252, 247, 0.98);
  color: var(--text);
}

.admin-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-calendar-head h2,
.admin-day-panel h3 {
  margin: 0;
  font-family: 'Lora', serif;
  font-size: 2.1rem;
}

.admin-month-button {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(28, 37, 40, 0.1);
  border-radius: 50px;
  background: #fffdf9;
  cursor: pointer;
}

.admin-weekdays,
.admin-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem;
}

.admin-weekdays {
  margin-bottom: 0.55rem;
}

.admin-weekdays span {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(28, 37, 40, 0.7);
}

.admin-day-card {
  min-height: 7.3rem;
  padding: 0.7rem;
  border: 1px solid rgba(28, 37, 40, 0.08);
  border-radius: 1rem;
  background: #fffdf9;
  text-align: left;
  cursor: pointer;
}

.admin-day-card.is-outside {
  opacity: 0.45;
}

.admin-day-card.is-selected {
  border-color: rgba(77, 101, 61, 0.45);
  box-shadow: 0 0 0 2px rgba(77, 101, 61, 0.15);
}

.admin-day-card.is-today .admin-day-number {
  color: var(--primary);
}

.admin-day-number {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 800;
}

.admin-day-events {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-day-more,
.admin-status-pill {
  display: inline-block;
  border-radius: 50px;
  min-height: 1.45rem;
  padding: 0.18rem 0.55rem;
  font-size: 0.67rem;
  color: #fffdf9;
}

.admin-day-event-dot,
.admin-booking-tour-dot {
  display: inline-flex;
  flex: 0 0 auto;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50px;
  box-shadow: 0 0 0 2px rgba(255, 253, 249, 0.95);
}

.admin-booking-topline strong {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-booking-tour-dot {
  width: 0.82rem;
  height: 0.82rem;
  box-shadow: none;
}

.admin-day-more {
  color: rgba(28, 37, 40, 0.72);
  background: rgba(28, 37, 40, 0.06);
}

.status-new {
  background: #e8994a;
}

.status-pending {
  background: #9072cf;
}

.status-confirmed {
  background: #2d9689;
}

.admin-day-panel {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(28, 37, 40, 0.08);
}

.admin-booking-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.admin-booking-item {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(28, 37, 40, 0.07);
  border-radius: 1rem;
  background: rgba(28, 37, 40, 0.02);
}

.admin-booking-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-booking-item p,
.admin-booking-item small,
.admin-empty-state {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.admin-form-card .reserve-form-head {
  margin-bottom: 1rem;
}

.admin-form-split {
  margin-bottom: 0;
}

.panel,
.contact-card,
.booking-card,
.detail-card {
  padding: 1.6rem;
}

.contact-card h3,
.booking-card h3,
.detail-card h3,
.panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.detail-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.detail-list li {
  margin-bottom: 0.7rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

@media (max-width: 980px) {

  .tours-grid,
  .info-grid,
  .related-grid,
  .detail-layout,
  .footer-grid,
  .form-row-split,
  .admin-layout,
  .admin-head {
    grid-template-columns: 1fr;
  }

  .traveler-fields--children {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-modal {
    align-items: flex-end;
    padding: 0.75rem;
  }

  .admin-form-modal {
    width: 100%;
    max-height: min(90vh, 48rem);
  }

  .admin-form-actions {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card:nth-child(3),
  .stat-card:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .stat-card:nth-child(3) {
    border-left: 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .booking-travelers-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 1.5rem 0;
  }

  .header-inner {
    min-height: 4.2rem;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: auto;
    min-height: 2.75rem;
    padding: 0.55rem 1rem;
    border-radius: 50px;
    background: var(--mustard);
    border: 1px solid rgba(168, 120, 22, 0.52);
    color: var(--ink);
    box-shadow: 0 5px 14px rgba(168, 120, 22, 0.24);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
  }

  .header-cta {
    display: none;
  }

  /* Same .nav element becomes a fixed side-panel on mobile */
  .nav {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 270px;
    max-width: 85vw;
    background: #fff;
    transform: translateX(110%);
    will-change: transform;
    transition: transform 0.3s ease;
    z-index: 51;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(17, 24, 28, 0.16);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  #menuToggle:checked ~ .header-inner .nav {
    transform: translateX(0);
  }

  /* Show mobile-only elements */
  .nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(28, 37, 40, 0.08);
    flex-shrink: 0;
  }

  .nav-mobile-header a img {
    display: block;
  }

  .nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: rgba(77, 101, 61, 0.1);
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
  }

  .nav-close-btn:hover {
    background: var(--primary);
    color: #fff;
  }

  /* Nav links: direct <a> children only (excludes links inside .nav-mobile-header and .nav-mobile-cta) */
  .nav > a {
    display: flex;
    align-items: center;
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    margin: 2px 12px;
    width: calc(100% - 24px);
    background: transparent;
    color: var(--text);
    transition: background 0.14s, color 0.14s;
  }

  .nav > a:hover,
  .nav > a.is-active {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(77, 101, 61, 0.25);
  }

  .nav-mobile-cta {
    display: block;
    padding: 20px 20px;
    border-top: 1px solid rgba(28, 37, 40, 0.08);
    margin-top: auto;
    text-align: center;
  }

  .hero {
    min-height: 40rem;
  }

  .hero-title {
    font-size: clamp(2.85rem, 13vw, 4.2rem);
    line-height: 0.92;
  }

  .hero-title-br {
    display: block;
  }

  .hero-benefits {
    gap: 0.5rem 1rem;
  }

  .hero-benefits span {
    font-size: 0.82rem;
  }

  .footer-title {
    font-size: 2.2rem;
    line-height: 0.95;
  }

  .footer-heading {
    font-size: 1.25rem;
  }

  .footer-copy {
    font-size: 0.95rem;
  }

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

  .stat-card+.stat-card,
  .stat-card:nth-child(3),
  .stat-card:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ============================================================
   Phone field with country selector
============================================================ */
.phone-input-container {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3rem;
  border: 1px solid rgba(28, 37, 40, 0.12);
  border-radius: 0.8rem;
  background: rgba(255, 252, 247, 0.98);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.phone-input-container:focus-within,
.phone-input-container.phone-input--open {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(77, 101, 61, 0.15);
}

.phone-input-container.field-input--error {
  border-color: #e05454;
  box-shadow: none;
}

.phone-country-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.7rem 0 0.95rem;
  min-height: 3rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 0.9rem;
  white-space: nowrap;
  border-radius: 0.8rem 0 0 0.8rem;
  flex-shrink: 0;
  transition: background 0.15s;
}

.phone-country-btn:hover {
  background: rgba(77, 101, 61, 0.06);
}

.phone-flag {
  font-size: 1.2rem;
  line-height: 1;
}

.phone-dial {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.phone-chevron {
  color: var(--muted);
  transition: transform 0.18s;
  flex-shrink: 0;
}

.phone-input--open .phone-chevron {
  transform: rotate(180deg);
}

.phone-sep {
  width: 1px;
  height: 1.5rem;
  background: rgba(28, 37, 40, 0.13);
  flex-shrink: 0;
}

.phone-number-input {
  flex: 1;
  min-height: 3rem;
  padding: 0 0.95rem;
  border: none !important;
  background: transparent !important;
  border-radius: 0 0.8rem 0.8rem 0 !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 0.95rem;
  color: var(--text);
  font-family: inherit;
}

/* Phone dropdown */
.phone-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 270px;
  max-width: 320px;
  background: #fff;
  border: 1px solid rgba(28, 37, 40, 0.12);
  border-radius: 0.8rem;
  box-shadow: 0 8px 28px rgba(17, 24, 28, 0.13);
  z-index: 310;
  overflow: hidden;
}

.phone-search-wrap {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid rgba(28, 37, 40, 0.08);
}

.phone-search-input {
  width: 100%;
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(28, 37, 40, 0.14);
  border-radius: 0.5rem;
  background: rgba(249, 247, 243, 0.9);
  font-size: 0.84rem;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.phone-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(77, 101, 61, 0.12);
}

.phone-country-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.phone-country-list::-webkit-scrollbar {
  width: 4px;
}

.phone-country-list::-webkit-scrollbar-track {
  background: transparent;
}

.phone-country-list::-webkit-scrollbar-thumb {
  background: rgba(77, 101, 61, 0.28);
  border-radius: 2px;
}

.phone-country-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.9rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background 0.12s;
}

.phone-country-item:hover {
  background: rgba(77, 101, 61, 0.07);
}

.phone-country-item--active {
  background: rgba(77, 101, 61, 0.1);
  font-weight: 600;
}

.phone-item-flag {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.phone-item-name {
  flex: 1;
  color: var(--text);
}

.phone-item-dial {
  color: var(--muted);
  font-size: 0.81rem;
  font-weight: 500;
  flex-shrink: 0;
}

.phone-placeholder-text {
  font-size: 0.88rem;
  color: rgba(28, 37, 40, 0.38);
  font-weight: 400;
}

.phone-country-btn--placeholder .phone-chevron {
  color: rgba(28, 37, 40, 0.35);
}

/* ============================================================
   Booking Confirmation View
============================================================ */
.booking-confirmation {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Header */
.confirm-header {
  text-align: center;
  padding: 0.5rem 0 0;
}

.confirm-check {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.confirm-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.6rem;
}

.confirm-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 44ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* Confirmation code block */
.confirm-code-block {
  background: linear-gradient(135deg, #eef5e8 0%, #e3edd4 100%);
  border: 1.5px solid rgba(77, 101, 61, 0.3);
  border-radius: var(--radius-md);
  padding: 1.6rem 2rem;
  text-align: center;
}

.confirm-code-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-deep);
  margin: 0 0 0.55rem;
}

.confirm-code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--primary-deep);
  margin: 0 0 0.8rem;
  word-break: break-all;
}

.confirm-code-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* Summary table */
.confirm-summary {
  border: 1px solid rgba(28, 37, 40, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.confirm-summary-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(28, 37, 40, 0.5);
  padding: 0.85rem 1.2rem 0.7rem;
  border-bottom: 1px solid rgba(28, 37, 40, 0.08);
  margin: 0;
  background: rgba(249, 247, 243, 0.7);
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.7rem 1.2rem;
  border-bottom: 1px solid rgba(28, 37, 40, 0.06);
  gap: 1rem;
}

.confirm-row:last-child {
  border-bottom: none;
}

.confirm-row-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
}

.confirm-row-value {
  font-size: 0.9rem;
  color: var(--text);
  text-align: right;
}

.confirm-row-total {
  background: rgba(77, 101, 61, 0.04);
}

.confirm-total-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.confirm-price-note {
  justify-content: flex-start;
  align-items: flex-start;
  padding-block: 0.65rem;
  border-bottom: none;
  border-left: 3px solid var(--action-mustard-deep);
  background: rgba(230, 179, 63, 0.13);
}

.confirm-price-note .confirm-row-value {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: left;
}

.confirm-price-note strong {
  color: #8b6211;
}

/* Actions */
.confirm-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

/* Loading & not-found states */
.confirm-loading,
.confirm-not-found {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.confirm-loading-icon,
.confirm-not-found-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.confirm-not-found h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.confirm-not-found p {
  font-size: 0.92rem;
  margin: 0 0 1.4rem;
}

@media (max-width: 480px) {
  .confirm-code {
    font-size: 1.5rem;
    letter-spacing: 0.07em;
  }

  .confirm-code-block {
    padding: 1.25rem 1rem;
  }

  .confirm-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .confirm-row-value {
    text-align: left;
  }
}

.carousel-slide--placeholder {
  background: linear-gradient(160deg, #5F754D 0%, #344A2A 100%);
}

.carousel-slide--placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 60%);
  mix-blend-mode: overlay;
}

/* Sticky aside — booking card */
.detail-card--sticky {
  position: sticky;
  /* 4.5rem = header min-height + 1px border; 1.5rem = breathing room */
  top: calc(4.5rem + 1.5rem);
}

.booking-price-block {
  background: rgba(77, 101, 61, 0.07);
  border: 1px solid rgba(77, 101, 61, 0.18);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 0.85rem 0 1.1rem;
}

.booking-price-block--inquire {
  text-align: center;
  padding: 1.25rem;
}

.booking-price-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.booking-price-item {
  flex: 1;
}

.booking-price-label {
  display: block;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.booking-price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
}

.booking-price-currency {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-deep);
  align-self: flex-start;
  margin-top: 0.45rem;
}

.booking-price-number {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.booking-price-per {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 0.25rem;
  align-self: flex-end;
  padding-bottom: 0.2rem;
}

.booking-price-divider {
  width: 1px;
  height: 2.8rem;
  background: rgba(77, 101, 61, 0.25);
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .detail-card--sticky {
    position: static;
  }
}

/* ============================================================
   Tour hero — layout partido (info + imagen), DISEÑO DE PRUEBA
   Usado por ahora solo en en/tours/nauyaca-waterfalls.html
============================================================ */
.tour-hero-split-section {
  padding: 2.75rem 0 1rem;
}

.tour-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tour-hero-info {
  order: 1;
}

.tour-hero-media {
  order: 2;
}

.tour-hero-split-title {
  margin: 0 0 0.9rem;
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.15;
  color: var(--ink);
}

.tour-hero-split-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
  max-width: 42rem;
}

.tour-hero-quickfacts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  padding: 0;
  margin: 0 0 1.5rem;
}

.tour-hero-quickfacts li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-deep);
}

.tour-hero-quickfacts .qf-icon {
  font-size: 1rem;
}

.tour-hero-tag {
  display: inline-flex;
  align-items: center;
  color: var(--primary-deep);
  text-decoration: none;
  border-bottom: 1px dashed rgba(58, 81, 48, 0.45);
  transition: color 0.2s, border-color 0.2s;
}

.tour-hero-tag:hover,
.tour-hero-tag:focus-visible {
  color: var(--primary);
  border-color: var(--primary);
}

.tour-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.carousel.tour-hero-media-carousel {
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: 560px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 46px rgba(17, 24, 28, 0.16);
}

.tour-hero-media .carousel-dots {
  margin-top: 1rem;
}

@media (max-width: 980px) {
  .tour-hero-split-section {
    padding-top: 0.5rem;
    overflow-x: hidden;
  }

  .tour-hero-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tour-hero-info {
    order: 2;
  }

  .tour-hero-media {
    order: 1;
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  .carousel.tour-hero-media-carousel {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: none;
  }

  .tour-hero-media .carousel-dots {
    margin-top: 0.85rem;
  }
}

/* ============================================================
   Tour detail — image carousel
============================================================ */
.tour-carousel-section {
  padding: 3rem 0 0;
}

.carousel-wrap {
  position: relative;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--line);
  aspect-ratio: 16 / 9;
  max-height: 520px;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(17, 24, 28, 0.55);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(17, 24, 28, 0.85);
}

.carousel-btn.prev { left: 0.75rem; }
.carousel-btn.next { right: 0.75rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* Tour detail — YouTube embed */
.tour-video-section {
  padding: 2.5rem 0 0;
}

.video-embed-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #000;
}

.video-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 700px) {
  .carousel {
    aspect-ratio: 4 / 3;
    max-height: 280px;
  }
}