:root {
  --ink: #171410;
  --muted: #5d574e;
  --sand: #f6f1e8;
  --paper: #fffcf7;
  --line: #e6ded0;
  --card: #ffffff;
  --gray-photo: #d9d4cb;
  --teal: #0f6e62;
  --teal-dark: #0b5249;
  --gold: #c3922e;
  --ok: #1f7a4d;
  --shadow: 0 10px 28px rgba(23, 20, 16, 0.08);
  --radius: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 80% -10%, #ffe8c8 0%, transparent 55%),
    var(--sand);
  min-height: 100vh;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, #1aa392 0%, var(--teal) 48%, #e07a3d 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 700;
}

.topbar-actions {
  display: flex;
  gap: 10px;
}

.icon-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: #f3f1ee;
  color: #111;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 8px 18px rgba(23, 20, 16, 0.06);
  cursor: pointer;
  text-decoration: none;
}

.icon-btn svg {
  width: 22px;
  height: 22px;
}

.icon-btn:hover {
  background: #ece9e4;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 20, 16, 0.35);
  z-index: 50;
}

.drawer[hidden],
.menu-overlay[hidden] {
  display: none;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(86vw, 360px);
  height: 100%;
  background: var(--paper);
  padding: 18px 20px 28px;
  box-shadow: -20px 0 50px rgba(23, 20, 16, 0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head p {
  margin: 0;
  font-weight: 600;
}

.drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: auto;
}

.drawer-links a {
  display: block;
  text-decoration: none;
  padding: 12px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.drawer-links a:hover {
  background: var(--sand);
}

.drawer-whatsapp {
  margin-top: auto;
  text-align: center;
  text-decoration: none;
  background: #25d366;
  color: #07351a;
  font-weight: 700;
  padding: 14px;
  border-radius: 14px;
}

.hero {
  padding: 36px 20px 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  font-weight: 600;
  max-width: 16ch;
}

.hero-copy {
  margin: 16px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.catalog {
  padding: 8px 0 48px;
}

.category {
  padding: 22px 0 8px;
  scroll-margin-top: 84px;
}

.category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  max-width: 1180px;
  margin: 0 auto 14px;
}

.category-head h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
}

.scroll-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.scroll-btn:hover {
  background: var(--sand);
}

.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 20px 18px;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.card-link {
  flex: 0 0 min(78vw, 320px);
  text-decoration: none;
  color: inherit;
}

.card {
  height: 100%;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-photo);
}

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

.card-body {
  padding: 14px 16px 16px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.92rem;
}

.rating svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.price {
  margin: 8px 0 10px;
  color: var(--muted);
}

.price strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.facts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #3d3a35;
  font-size: 0.92rem;
}

.fact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fact svg {
  width: 16px;
  height: 16px;
}

.fact-time svg {
  color: #2d2a26;
}

.fact-ok svg {
  color: var(--ok);
}

.site-footer {
  padding: 28px 20px 40px;
  text-align: center;
  color: var(--muted);
}

.site-footer p {
  margin: 0 0 6px;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 35;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(14, 90, 40, 0.35);
  text-decoration: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  background: #1fbe5a;
}

@media (max-width: 700px) {
  .scroll-btn {
    display: none;
  }
}

@media (min-width: 800px) {
  .topbar,
  .hero,
  .category-head,
  .rail {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero {
    padding-top: 56px;
  }

  .card-link {
    flex-basis: 300px;
  }
}

.page-tour {
  background: #fff;
}

.page-tour .topbar {
  position: static;
  background: #fff;
  backdrop-filter: none;
}

.page-tour.tour-compact {
  padding-bottom: 92px;
}

body.sheet-open {
  overflow: hidden;
}

.section-tabs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform 0.28s ease;
}

.section-tabs.is-visible {
  transform: translateY(0);
}

.section-tabs-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px;
  scrollbar-width: none;
}

.section-tabs-rail::-webkit-scrollbar {
  display: none;
}

.section-tabs-rail a {
  flex: 0 0 auto;
  text-decoration: none;
  padding: 16px 12px 12px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 3px solid transparent;
}

.section-tabs-rail a.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.tour-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 12px 20px 48px;
}

.tour-page h1 {
  margin: 8px 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 5vw, 2.15rem);
  line-height: 1.15;
}

.tour-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.tour-rating-row a,
.reviews-summary a {
  color: var(--teal-dark);
}

.stars-teal {
  color: #12a06a;
  letter-spacing: 1px;
}

.tour-reco,
.tour-place {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  margin: 18px 0 16px;
  height: min(52vw, 320px);
  border-radius: 18px;
  overflow: hidden;
}

.gallery-main {
  grid-row: 1 / 3;
}

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

.tour-price {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.booking-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

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

.booking-field span {
  font-size: 0.78rem;
  color: var(--muted);
}

.booking-field select,
.date-trigger {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.date-trigger strong {
  font-size: 1rem;
}

.booking-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.booking-value strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ink);
  pointer-events: none;
}

.cal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(23, 20, 16, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.cal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cal-sheet {
  width: min(100%, 520px);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 10px 18px 18px;
  transform: translateY(100%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.cal-overlay.is-open .cal-sheet {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .cal-overlay,
  .cal-sheet {
    transition: none;
  }
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cal-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.cal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f1f1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.cal-close svg {
  width: 16px;
  height: 16px;
}

.cal-monthbar {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  margin: 8px 0 14px;
}

.cal-monthbar p {
  margin: 0;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.cal-nav {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.cal-week,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.cal-week {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.cal-grid button {
  border: 0;
  background: transparent;
  height: 44px;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
}

.cal-grid button.is-muted,
.cal-grid button:disabled {
  color: #c5c5c5;
  cursor: default;
}

.cal-grid button.is-selected {
  background: #0f6e62;
  color: #fff;
  font-weight: 700;
}

.cal-handle {
  width: 44px;
  height: 5px;
  border-radius: 99px;
  background: #d9d9d9;
  margin: 4px auto 12px;
}

.trav-sheet {
  padding-bottom: 20px;
}

.trav-note {
  margin: 0 0 16px;
  color: var(--muted);
}

.trav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.trav-name {
  margin: 0;
  font-weight: 700;
}

.trav-limit {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.trav-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 8px;
  background: #d8f3e4;
  color: #0f6e62;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}

.trav-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trav-stepper strong {
  min-width: 1.2em;
  text-align: center;
  font-size: 1.15rem;
}

.trav-stepper button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #0f6e62;
  background: #fff;
  color: #0f6e62;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.trav-stepper button:disabled {
  border-color: #d0d0d0;
  color: #d0d0d0;
  cursor: default;
}

.trav-apply {
  width: 100%;
  margin-top: 10px;
  border: 0;
  border-radius: 14px;
  background: #128c4b;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
}

.trav-fine {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.cta-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #128c4b;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 16px;
  border-radius: 14px;
}

.cta-whatsapp svg {
  width: 22px;
  height: 22px;
}

.cta-whatsapp:hover {
  background: #0f7a41;
}

.derisk {
  margin: 14px 0 20px;
  padding: 16px 14px;
  background: #e9f8f0;
  border-radius: 16px;
  color: #1a1a1a;
}

.derisk p {
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.4;
}

.derisk p + p {
  margin-top: 12px;
}

.derisk svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.derisk strong {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tour-facts {
  list-style: none;
  margin: 0 0 28px;
  padding: 16px 0;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

.tour-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 1rem;
}

.tour-facts svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.reviews h2,
.overview h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.reviews {
  scroll-margin-top: 72px;
  padding-bottom: 8px;
}

.reviews-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}

.reviews-summary strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.reviews-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.reviews-rail::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 min(78vw, 280px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.review-meta {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 600;
}

.review-card p:last-child {
  margin: 0;
  color: #3d3a35;
  line-height: 1.45;
}

.overview {
  scroll-margin-top: 72px;
  padding: 8px 0 24px;
}

.overview p {
  color: #3d3a35;
  line-height: 1.6;
}

.tour-drawer {
  border-top: 1px solid #ececec;
  padding: 4px 0 8px;
  scroll-margin-top: 72px;
}

.tour-drawer summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 16px 28px 16px 0;
  position: relative;
}

.tour-drawer summary::-webkit-details-marker {
  display: none;
}

.tour-drawer summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
}

.tour-drawer[open] summary::after {
  transform: translateY(-20%) rotate(-135deg);
}

.include-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.include-list li {
  position: relative;
  padding: 6px 0 6px 26px;
  line-height: 1.4;
}

.include-list li::before {
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

.include-list .is-in::before {
  content: "✓";
}

.include-list .is-out::before {
  content: "×";
}

.itinerary {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  counter-reset: step;
}

.itinerary li {
  position: relative;
  padding: 2px 0 28px 44px;
}

.itinerary li:last-child {
  padding-bottom: 8px;
}

.itinerary li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.itinerary li::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 28px;
  bottom: 0;
  width: 4px;
  background: var(--ink);
}

.itinerary li:last-child::after {
  display: none;
}

.itinerary h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.itinerary p {
  margin: 0;
  color: #3d3a35;
  line-height: 1.45;
}

.itinerary-meta {
  margin-top: 6px !important;
  color: var(--muted) !important;
  font-size: 0.88rem;
}

.questions {
  margin: 12px 0 28px;
  padding: 8px 0 4px;
  scroll-margin-top: 72px;
}

.questions h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.questions-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.questions-cta svg {
  width: 22px;
  height: 22px;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 44;
  padding: 12px 16px 16px;
  background: #fff;
  box-shadow: 0 -8px 24px rgba(23, 20, 16, 0.08);
  transform: translateY(110%);
  transition: transform 0.28s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.page-tour .category-head,
.page-tour .rail {
  padding-left: 0;
  padding-right: 0;
}
