/* === BatamZoo Design Tokens === */
:root {
  --blue: #1B5FB5;
  --blue-deep: #0E3F86;
  --blue-soft: #DCE9FA;
  --yellow: #FFC73B;
  --yellow-soft: #FFF0BF;
  --green: #2C9B5C;
  --green-deep: #1B6B3D;
  --green-soft: #D6F0DE;
  --cream: #FFF8EC;
  --cream-warm: #FCEFD2;
  --navy: #0E2340;
  --navy-soft: #2A3F60;
  --ink-2: #5A6B85;
  --line: #EAE0C8;
  --white: #FFFFFF;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 0 rgba(14,35,64,0.06), 0 2px 6px rgba(14,35,64,0.04);
  --shadow: 0 2px 0 rgba(14,35,64,0.04), 0 12px 32px -8px rgba(14,35,64,0.18);
  --shadow-lg: 0 30px 80px -20px rgba(14,35,64,0.30);

  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(32px, 4.5vw, 56px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
h4 { font-size: 18px; letter-spacing: -0.01em; }
p  { text-wrap: pretty; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, color .14s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 2px 0 rgba(14,35,64,0.12), 0 12px 24px -10px rgba(255,199,59,0.7); }
.btn-primary:hover { background: #FFD15C; }
.btn-blue { background: var(--blue); color: white; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(14,35,64,0.16); }
.btn-ghost:hover { background: rgba(14,35,64,0.04); }
.btn-light { background: white; color: var(--navy); }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* === Tags / Chips === */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--cream-warm);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(14,35,64,0.06);
}
.chip.blue { background: var(--blue-soft); color: var(--blue-deep); }
.chip.green { background: var(--green-soft); color: var(--green-deep); }
.chip.yellow { background: var(--yellow-soft); color: #7A5400; }
.chip.dark { background: var(--navy); color: var(--yellow); border-color: var(--navy); }

/* === Card === */
.card {
  background: white;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card.hoverable:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* === Nav === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,248,236,0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(14,35,64,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue);
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.18);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy-soft);
  position: relative;
}
.nav-links a:hover { color: var(--navy); background: rgba(14,35,64,0.05); }
.nav-links a.active { color: var(--navy); background: white; box-shadow: var(--shadow-sm); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(14,35,64,0.12);
  border-radius: 10px;
  padding: 8px 10px;
}

/* === Footer === */
.footer {
  background: var(--navy);
  color: #B9C7DE;
  padding: 72px 0 32px;
  margin-top: 80px;
}
.footer h4 { color: white; margin-bottom: 14px; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.footer a:hover { color: var(--yellow); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #7B8AAA;
  flex-wrap: wrap;
  gap: 12px;
}

/* === Sections === */
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}

/* === Hero === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 strong { color: var(--blue); font-style: normal; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero h1 .y { color: #C58900; background: var(--yellow); padding: 0 .1em; border-radius: 8px; }
.hero-sub {
  font-size: 19px;
  color: var(--navy-soft);
  max-width: 540px;
  margin: 22px 0 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px dashed rgba(14,35,64,0.18);
}
.hero-stat .n {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: block;
}
.hero-stat .l {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
}

/* === Placeholder === */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg,
      rgba(14,35,64,0.05) 0,
      rgba(14,35,64,0.05) 10px,
      rgba(14,35,64,0.02) 10px,
      rgba(14,35,64,0.02) 20px);
  border: 1px dashed rgba(14,35,64,0.16);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 16px;
  overflow: hidden;
}
.ph.tinted-blue { background-color: var(--blue-soft); }
.ph.tinted-green { background-color: var(--green-soft); }
.ph.tinted-yellow { background-color: var(--yellow-soft); }
.ph .ph-label {
  background: rgba(255,255,255,0.85);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(14,35,64,0.08);
  max-width: 80%;
}

/* === Page header === */
.pagehead {
  background: var(--blue);
  color: white;
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
}
.pagehead.green { background: var(--green); }
.pagehead.yellow { background: var(--yellow); color: var(--navy); }
.pagehead h1 { font-size: clamp(40px, 5.5vw, 64px); }
.pagehead p { max-width: 560px; opacity: .92; font-size: 18px; margin-top: 16px; }
.pagehead .crumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 16px;
}

/* Decorative shapes for pagehead */
.pagehead::before,
.pagehead::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.pagehead::before {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,199,59,0.3), transparent 60%);
  top: -120px;
  right: -80px;
}
.pagehead::after {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
  bottom: -80px;
  left: 10%;
}

/* === Grids === */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* === Fauna card === */
.fauna-card { cursor: pointer; }
.fauna-card .fauna-img { aspect-ratio: 4/3; }
.fauna-card .fauna-meta { padding: 18px 18px 20px; }
.fauna-card .fauna-meta h3 { font-size: 22px; margin-bottom: 4px; }
.fauna-card .fauna-meta .latin { font-style: italic; color: var(--ink-2); font-size: 13px; }
.fauna-card .fauna-tags { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }

/* === Tickets === */
.ticket-card {
  background: white;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
  padding: 32px;
  position: relative;
  transition: all .2s ease;
}
.ticket-card.featured {
  border-color: var(--yellow);
  background: linear-gradient(180deg, #FFFDF4 0%, white 100%);
  box-shadow: 0 24px 60px -28px rgba(255,199,59,0.6);
}
.ticket-card .price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.ticket-card .price small { font-size: 16px; color: var(--ink-2); font-weight: 500; }
.ticket-card .ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
}
.ticket-features { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.ticket-features li { display: flex; gap: 10px; font-size: 14.5px; color: var(--navy-soft); align-items: flex-start; }
.ticket-features .check { color: var(--green); font-weight: 700; flex-shrink: 0; }

/* === Counters / form === */
.counter {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  overflow: hidden;
}
.counter button {
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--navy);
}
.counter button:hover { background: rgba(14,35,64,0.06); }
.counter button:disabled { opacity: .3; cursor: not-allowed; }
.counter .count { width: 38px; text-align: center; font-weight: 700; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label { font-size: 13px; font-weight: 600; color: var(--navy-soft); }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27,95,181,0.12);
}
.field textarea { min-height: 120px; resize: vertical; }

/* === FAQ === */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  cursor: pointer;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
}
.faq-q .ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream-warm);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease;
  font-size: 16px;
}
.faq-item.open .faq-q .ic { background: var(--yellow); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .2s ease;
  color: var(--navy-soft);
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-top: 12px;
}

/* === Detail two-col === */
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.detail-hero { aspect-ratio: 5/4; border-radius: var(--r-xl); }
.kv-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.kv-row .k { color: var(--ink-2); font-weight: 500; }
.kv-row .v { font-weight: 600; color: var(--navy); }

/* === Marquee / banner === */
.banner-strip {
  background: var(--navy);
  color: white;
  padding: 10px 0;
  font-size: 13.5px;
  text-align: center;
  font-weight: 500;
}
.banner-strip strong { color: var(--yellow); }

/* === Step indicator === */
.steps {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
}
.step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r);
  background: white;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.step .step-n {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream-warm);
  color: var(--navy-soft);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.step.active { background: var(--navy); color: white; border-color: var(--navy); }
.step.active .step-n { background: var(--yellow); color: var(--navy); }
.step.done { color: var(--green-deep); background: var(--green-soft); border-color: transparent; }
.step.done .step-n { background: var(--green); color: white; }

/* === Toast === */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn .25s ease;
}
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
@keyframes toastIn {
  from { transform: translate(-50%, 20px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* Hover scale for gallery */
.gallery-tile {
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s ease;
  cursor: pointer;
}
.gallery-tile:hover { transform: scale(1.02); }

/* Misc */
.divider { height: 1px; background: var(--line); margin: 48px 0; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.lead { font-size: 19px; color: var(--navy-soft); line-height: 1.6; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
  .hero-grid, .detail-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .steps { flex-wrap: wrap; }
  .step { flex: 1 1 calc(50% - 6px); }
}

/* Floating decoration */
.decor-leaf {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}

/* === Icon (FontAwesome) === */
.ic-wrap {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.ic-wrap i { line-height: 1; }
.ic-box {
  border-radius: 14px;
}
.ic-box.blue { background: var(--blue-soft); color: var(--blue-deep); }
.ic-box.green { background: var(--green-soft); color: var(--green-deep); }
.ic-box.yellow { background: var(--yellow-soft); color: #7A5400; }
.ic-box.dark { background: var(--navy); color: var(--yellow); }
.ic-box.cream { background: var(--cream-warm); color: var(--navy); }
.ic-box.yellow-solid { background: var(--yellow); color: var(--navy); }
.ic-box.blue-solid { background: var(--blue); color: white; }
.ic-box.green-solid { background: var(--green); color: white; }
.ic-circle { border-radius: 50%; }

/* Subtle icon left of text */
.ic-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* FAQ "+" icon uses FA */
.faq-q .ic i { transition: transform .2s ease; }
.faq-item.open .faq-q .ic { background: var(--yellow); transform: none; }
.faq-item.open .faq-q .ic i { transform: rotate(45deg); }

/* Footer social */
.sm-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: white;
  transition: background .15s ease, color .15s ease;
}
.sm-btn:hover { background: var(--yellow); color: var(--navy); }
