:root {
  --bg: #f8f2ed;
  --ink: #211617;
  --muted: #6f5b56;
  --accent: #b44f51;
  --accent-2: #ac8548;
  --card: #fffaf6;
  --line: #e5d6ca;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 12px 35px rgba(49, 20, 16, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 15%, #f3e1d7 0%, transparent 35%),
    radial-gradient(circle at 85% 10%, #f6ead9 0%, transparent 30%),
    var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(248, 242, 237, 0.9);
  border-bottom: 1px solid rgba(33, 22, 23, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  width: 170px;
  max-width: min(42vw, 170px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
}

.nav-links a {
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 210px;
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.45rem;
  z-index: 50;
}

.dropdown-menu a {
  display: block;
  border-radius: 10px;
  white-space: nowrap;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: grid;
  gap: 0.3rem;
}

.menu-btn {
  display: none;
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  background-color: #291a1b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(18, 10, 11, 0.78) 0%, rgba(18, 10, 11, 0.38) 48%, rgba(18, 10, 11, 0.24) 100%);
}

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

.hero-copy {
  max-width: 680px;
  color: #fff5ef;
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.08;
  margin: 0;
}

.hero p {
  color: #f4e6db;
  max-width: 55ch;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--line);
  background: transparent;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: 1px solid #1fa855;
}

.btn-whatsapp:hover {
  background: #20bd5b;
}

.section {
  padding: 2rem 0 3.5rem;
}

/* Keep alternating section backgrounds on home/index only */
body[data-page="home"] main > .section:nth-child(odd) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(243, 225, 215, 0.3) 100%);
}

body[data-page="home"] main > .section:nth-child(even) {
  background: linear-gradient(180deg, rgba(242, 237, 231, 0.8) 0%, rgba(248, 242, 237, 0.6) 100%);
}

/* ── Carousel ────────────────────────────────────────────── */
.carousel-track-wrap {
  overflow: hidden;
}

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

.carousel-track .card {
  flex: 0 0 calc((100% - 2.2rem) / 3);
  min-width: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.carousel-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.carousel-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.carousel-dots {
  display: flex;
  gap: 0.35rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

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

@media (max-width: 760px) {
  .carousel-track .card {
    flex: 0 0 100%;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .carousel-track .card {
    flex: 0 0 calc((100% - 1.1rem) / 2);
  }
}

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

.section-head h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.1rem;
}

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

.card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(22, 33, 46, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: 200px auto;
}

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

.card-body {
  padding: 1rem;
}

.badge {
  display: inline-flex;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  font-size: 0.74rem;
  color: #663235;
  background: #f3d9cd;
  margin-bottom: 0.6rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.tour-country {
  margin: -0.25rem 0 0.75rem;
  color: #4d5a66;
  font-size: 0.82rem;
}

.tour-highlights {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: -0.2rem 0 0.9rem;
}

.tour-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #f7eee8;
  border: 1px solid #ecd6ca;
  color: #6d4d41;
  font-size: 0.78rem;
  line-height: 1.2;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8rem;
  color: #33414f;
}

.surface {
  background: #fff;
  border: 1px solid rgba(22, 33, 46, 0.09);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.filters {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-bottom: 1rem;
}

.country-status {
  margin: -0.15rem 0 0;
  color: #5b6975;
  font-size: 0.86rem;
}

label {
  display: block;
  font-size: 0.85rem;
  color: #3e4d59;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}

/* ── Country Picker ──────────────────────────────────────── */
.cp-wrap {
  position: relative;
}

.cp-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.45rem 0.65rem;
  background: #fff;
  cursor: text;
}

.cp-tags:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(180,79,81,0.15);
}

.cp-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #f3d9cd;
  color: #663235;
  border-radius: 999px;
  font-size: 0.8rem;
  padding: 0.22rem 0.5rem 0.22rem 0.65rem;
  white-space: nowrap;
}

.cp-tag-remove {
  border: 0;
  background: none;
  cursor: pointer;
  color: #b44f51;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
}

.cp-tag-remove:hover { color: #8b1c1e; }

.cp-search {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0.2rem 0 !important;
  min-width: 140px;
  flex: 1;
  font-size: 0.9rem;
  background: transparent !important;
  border-radius: 0 !important;
}

.cp-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-height: 240px;
  overflow-y: auto;
  z-index: 55;
  list-style: none;
  margin: 0;
  padding: 0.3rem;
}

.cp-dropdown--open {
  display: block;
}

.cp-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--ink);
  user-select: none;
}

.cp-option:hover {
  background: #f6ede8;
}

.cp-option--selected {
  background: #f3d9cd;
  color: #663235;
  font-weight: 600;
}

.cp-option-check {
  width: 16px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--accent);
  flex-shrink: 0;
}

.cp-option-code {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: monospace;
}
/* ── End Country Picker ──────────────────────────────────── */

.page-hero {
  padding: 3.2rem 0 1.2rem;
}

.page-hero h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.page-hero p {
  color: var(--muted);
  max-width: 68ch;
}

.timeline {
  display: grid;
  gap: 0.95rem;
}

.timeline-item {
  border-left: 3px solid var(--accent);
  background: #fff;
  border-radius: 0 14px 14px 0;
  padding: 0.9rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr 120px;
}

.timeline-item h4 {
  margin: 0 0 0.35rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.timeline-item img {
  width: 120px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
}

.detail-days {
  display: grid;
  gap: 1rem;
}

.detail-section {
  padding-top: 0;
  background: transparent;
}

.detail-day {
  background: linear-gradient(180deg, #f6eee8 0%, #f1e5dc 100%);
  border-radius: 14px;
  padding: 0.9rem;
  border: 1px solid #e2cfc0;
}

.detail-day-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.detail-day-head h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--ink);
}

.day-chip {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: 0.36rem 0.7rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(180, 79, 81, 0.25);
}

.detail-day-summary {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.detail-activities {
  display: grid;
  gap: 0.8rem;
}

.detail-activity-card {
  background: rgba(255, 250, 246, 0.95);
  border-radius: 0;
  padding: 0.9rem;
  border: 1px solid #ead8ca;
  display: grid;
  grid-template-columns: 1fr 305px;
  gap: 1rem;
  align-items: center;
}

.detail-activity-card.no-media {
  grid-template-columns: 1fr;
}

.detail-activity-copy h4 {
  margin: 0 0 0.4rem;
  font-size: 1.06rem;
  color: #633336;
}

.detail-activity-copy p {
  margin: 0;
  color: var(--muted);
}

.detail-activity-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #dfc7b4;
}

.inquiry-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 22, 0.54);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 80;
}

.inquiry-modal.open {
  display: flex;
}

.inquiry-modal-panel {
  width: min(92vw, 760px);
  max-height: 92vh;
  overflow: auto;
  position: relative;
}

.inquiry-close {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  line-height: 1;
  cursor: pointer;
}

.inquiry-package {
  color: var(--muted);
  margin-top: 0.25rem;
}

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

.inquiry-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}

.detail-cta {
  padding-top: 0.5rem;
}

.detail-cta-box h3 {
  margin: 0 0 0.25rem;
}

.detail-cta-box p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.go-top-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  z-index: 75;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow);
}

.go-top-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

.stat {
  background: #fff;
  border-radius: 15px;
  border: 1px solid rgba(22, 33, 46, 0.08);
  padding: 1rem;
}

.stat b {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
}

.gallery-grid {
  columns: 3 220px;
  column-gap: 0.9rem;
}

.gallery-grid img {
  margin-bottom: 0.9rem;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.015);
}

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

.customer-card {
  background: #fff;
  border: 1px solid rgba(22, 33, 46, 0.08);
  border-radius: 14px;
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  box-shadow: var(--shadow);
}

.customer-logo {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
  filter: saturate(0.95);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 28, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 60;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  width: min(95vw, 1000px);
  max-height: 90vh;
  object-fit: contain;
}

.site-footer {
  margin-top: 2rem;
  background: #1a1215;
  color: #b0a099;
  padding: 2.4rem 0 1.4rem;
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 2fr 1.2fr 0.8fr;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-grid h4 {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: inherit;
}

.footer-grid p {
  margin: 0 0 0.4rem;
  color: #9a8e88;
}

.footer-grid a {
  color: #b0a099;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.2rem;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  font-size: 0.78rem;
  color: #5a4f4a;
}

.coming {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.coming-box {
  width: min(92vw, 700px);
  padding: 2rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(22, 33, 46, 0.1);
  box-shadow: var(--shadow);
}

.reveal {
  animation: reveal 0.7s ease both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 88px 0 auto;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    box-shadow: none;
    border: 1px solid var(--line);
    margin-top: 0.45rem;
    width: 100%;
  }

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

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

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

@media (max-width: 760px) {
  .hero-grid,
  .grid-3,
  .filters,
  .inquiry-grid,
  .timeline-item,
  .stats,
  .customers-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    border-radius: 14px;
    border-left: 0;
    border-top: 3px solid var(--accent);
  }

  .timeline-item img {
    width: 100%;
    height: 180px;
  }

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

  .detail-activity-card {
    grid-template-columns: 1fr;
  }

  .detail-activity-media img {
    height: 200px;
  }
}
