/* ========== Manila Horizon — Dusk Navy Palette ========== */

/* ---------- Design Tokens ---------- */
:root {
  --bg:        #0E1A24;
  --bg-2:      #14202C;
  --bg-3:      #1C2A38;
  --ink:       #EADFC8;
  --ink-soft:  #B5BEC6;
  --muted:     #7E8B93;
  --gold:      #D4A968;
  --gold-soft: #B79055;
  --teal:      #6FA5AE;
  --hairline:  rgba(212, 169, 104, 0.18);
  --hairline-strong: rgba(212, 169, 104, 0.4);
  --max:       1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--bg); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.display {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
}
.display-xl { font-size: clamp(48px, 7.5vw, 104px); }
.display-l  { font-size: clamp(40px, 5vw, 64px); }
.display-m  { font-size: clamp(28px, 3vw, 40px); }
.serif-italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
section { position: relative; }
.rule {
  height: 1px;
  background: var(--hairline);
  width: 100%;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
  background: linear-gradient(180deg, rgba(14, 26, 36, 0.85) 0%, transparent 100%);
  transition: background 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 26, 36, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Outfit', sans-serif; font-weight: 300;
  font-size: 18px; letter-spacing: 0.45em; color: var(--ink);
}
.brand-mark {
  width: 32px; height: 32px; color: var(--gold);
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  color: var(--ink-soft);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  color: var(--gold);
  padding: 8px 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 26px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  border-radius: 0;
}
.btn:hover { background: var(--gold); color: var(--bg); }
.btn-solid {
  background: var(--gold); color: var(--bg);
}
.btn-solid:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-arrow::after {
  content: "→"; font-family: 'DM Sans', sans-serif; transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-photo {
  position: absolute; inset: 0;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,26,36,0.55) 0%, rgba(14,26,36,0.0) 30%, rgba(14,26,36,0.0) 55%, rgba(14,26,36,0.85) 100%),
    linear-gradient(90deg, rgba(14,26,36,0.35), rgba(14,26,36,0));
}
.hero-body {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 80px;
}
.hero-headline { max-width: 880px; }
.hero-eyebrow {
  margin-bottom: 28px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-sub {
  margin-top: 28px;
  max-width: 540px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}
.hero-ctas {
  margin-top: 38px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-meta {
  position: absolute; left: 0; right: 0; bottom: 28px;
  z-index: 2;
}
.hero-meta-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  font-family: 'DM Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--muted);
}
.hero-meta-row > div {
  display: flex; align-items: center; gap: 24px;
}

/* ---------- Intro ---------- */
.intro { padding: 140px 0; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.intro-body {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 24px;
}

/* ---------- Experience ---------- */
.experience { padding: 140px 0; }
.exp-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end; margin-bottom: 56px;
}
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.exp-grid-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.exp-card {
  background: var(--bg-2);
  border: 1px solid var(--hairline);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s;
}
.exp-card:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-4px);
}
.exp-card-img {
  width: 100%; height: 220px; object-fit: cover;
}
.exp-card-body { padding: 28px; }
.exp-eyebrow { margin-bottom: 4px; }
.exp-title {
  font-family: 'Outfit', sans-serif; font-weight: 300;
  font-size: 26px; line-height: 1.15; color: var(--ink);
  margin: 6px 0 14px;
}
.exp-body {
  font-size: 14.5px; line-height: 1.6; color: var(--ink-soft);
  margin: 0;
}

/* ---------- Itinerary ---------- */
.itinerary {
  background: var(--bg-2);
  padding: 140px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.iti-list {
  margin-top: 56px;
  border-top: 1px solid var(--hairline);
}
.iti-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 60px;
  gap: 40px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--hairline);
  transition: background 0.3s;
}
.iti-row:hover { background: rgba(212, 169, 104, 0.04); }
.iti-time {
  font-family: 'DM Mono', monospace; font-size: 13px;
  letter-spacing: 0.18em; color: var(--gold);
}
.iti-title {
  font-family: 'Outfit', sans-serif; font-weight: 300;
  font-size: 22px; color: var(--ink);
}
.iti-body {
  font-size: 14px; line-height: 1.55; color: var(--ink-soft);
}
.iti-num {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; color: var(--muted); text-align: right;
}

/* ---------- Gallery ---------- */
.gallery { padding: 140px 0 0; }
.gal-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end; margin-bottom: 56px;
}
.gal-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 320px;
  gap: 16px;
}
.gal-img {
  overflow: hidden;
  background: var(--bg-2);
}
.gal-img:nth-child(1) { grid-row: span 2; }
.gal-img:nth-child(4) { grid-column: span 2; }
.gal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.gal-img:hover img { transform: scale(1.04); }

/* ---------- Inclusions + Impact ---------- */
.inclusions { padding: 140px 0; }
.inc-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.inc-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.inc-list {
  list-style: none; margin: 32px 0 0; padding: 0;
  border-top: 1px solid var(--hairline);
}
.inc-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.inc-row .check { color: var(--gold); margin-top: 4px; }
.inc-row strong {
  font-family: 'Outfit', sans-serif; font-weight: 400; font-size: 16px;
  color: var(--ink); display: block;
}
.inc-row span {
  color: var(--ink-soft); font-size: 13.5px; line-height: 1.55;
}

.impact {
  margin-top: 100px;
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
  padding: 80px 60px;
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.impact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.impact-stat-num {
  font-family: 'Outfit', sans-serif; font-weight: 200;
  font-size: 64px; line-height: 1; color: var(--gold);
  letter-spacing: -0.02em;
}
.impact-stat-k {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.24em; color: var(--ink); margin-top: 14px;
  text-transform: uppercase;
}
.impact-stat-v {
  font-size: 13px; color: var(--ink-soft); margin-top: 8px;
  line-height: 1.55;
}

/* ---------- Booking ---------- */
.booking {
  padding: 140px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.book-panel {
  background: var(--bg);
  border: 1px solid var(--hairline-strong);
  padding: 40px;
}
.book-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.book-field {
  margin-top: 22px;
}
.book-field label {
  display: block;
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.24em; color: var(--muted); text-transform: uppercase;
  margin-bottom: 10px;
}
.book-field input, .book-field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  font-family: 'Outfit', sans-serif; font-weight: 300; font-size: 20px;
  padding: 8px 0 12px;
  outline: none;
  transition: border-color 0.2s;
}
.book-field input:focus, .book-field select:focus { border-bottom-color: var(--gold); }
.book-field select option { background: var(--bg); color: var(--ink); }

.summary {
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: flex; align-items: baseline; justify-content: space-between;
}
.summary-k { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.24em; color: var(--muted); text-transform: uppercase; }
.summary-v { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 44px; color: var(--ink); }
.summary-note { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { padding: 140px 0; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); padding: 24px 0; cursor: pointer; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: 'Outfit', sans-serif; font-weight: 400; font-size: 18px;
  color: var(--ink);
}
.faq-q .toggle {
  flex-shrink: 0;
  width: 24px; text-align: right;
  color: var(--gold); font-family: 'DM Mono', monospace; font-size: 18px;
  transition: transform 0.3s;
}
.faq-item.open .toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, margin 0.4s ease;
  color: var(--ink-soft); font-size: 14.5px; line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 240px; margin-top: 14px; }

/* ---------- Footer ---------- */
.footer {
  padding: 100px 0 40px;
  border-top: 1px solid var(--hairline);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.foot-col h5 {
  font-family: 'DM Mono', monospace; font-size: 10px;
  letter-spacing: 0.28em; color: var(--gold); text-transform: uppercase;
  margin: 0 0 18px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--ink-soft); font-size: 14px; transition: color 0.2s; }
.foot-col a:hover { color: var(--gold); }
.foot-blurb { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; max-width: 360px; margin-top: 22px; }
.foot-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'DM Mono', monospace; font-size: 10.5px;
  letter-spacing: 0.22em; color: var(--muted);
}

/* ---------- Fade-in Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}



/* ---------- Social Impact ---------- */
.impact-hero { position: relative; height: 90vh; min-height: 600px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--hairline); }
.impact-hero-content { position: relative; z-index: 2; width: 100%; }
.impact-hero-text { max-width: 580px; }
.impact-hero-sub { margin-top: 28px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.impact-hero-img-wrapper { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; }
.impact-hero-img-wrapper::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 40%); z-index: 1; }
.impact-hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.impact-dashboard { background: var(--bg-2); border-bottom: 1px solid var(--hairline); padding: 56px 0; }
.dashboard-grid { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 40px; }
.dashboard-stat { text-align: center; }
.dashboard-val { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 48px; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.dashboard-lbl { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }

.impact-pillars { padding: 140px 0; }
.pillars-head { margin-bottom: 72px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar-card { background: var(--bg-2); border: 1px solid var(--hairline); transition: transform 0.4s, border-color 0.3s; overflow: hidden; }
.pillar-card:hover { transform: translateY(-4px); border-color: var(--hairline-strong); }
.pillar-img-wrap { height: 240px; overflow: hidden; }
.pillar-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.pillar-card:hover .pillar-img-wrap img { transform: scale(1.05); }
.pillar-content { padding: 40px 32px; }
.pillar-icon { color: var(--gold); width: 32px; height: 32px; margin-bottom: 24px; }
.pillar-title { font-family: 'Outfit', sans-serif; font-weight: 300; font-size: 24px; margin-bottom: 16px; color: var(--ink); }
.pillar-body { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

.geo-reach { padding: 140px 0; background: var(--bg-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.geo-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.geo-body { color: var(--ink-soft); font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
.geo-body strong { color: var(--ink); font-weight: 500; }
.map-container { background: var(--bg-3); border: 1px solid var(--hairline); padding: 40px; border-radius: 4px; display: flex; align-items: center; justify-content: center; min-height: 400px; }
.abstract-map { width: 100%; max-width: 320px; height: auto; }

.impact-cta { padding: 120px 0; background: var(--bg-3); background-image: linear-gradient(135deg, var(--bg-3) 0%, rgba(212,169,104,0.05) 100%); }
.cta-headline { margin-bottom: 40px; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); padding: 14px 26px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; transition: background 0.25s, color 0.25s; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(14, 26, 36, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--hairline);
  }
  .menu-toggle { display: inline-flex; }
  .intro-grid, .exp-head, .gal-head, .inc-grid, .inc-columns, .book-grid, .faq-grid, .impact-grid, .foot-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .exp-grid, .exp-grid-dual { grid-template-columns: 1fr; }
  .iti-row { grid-template-columns: 100px 1fr; gap: 20px; }
  .iti-row > :nth-child(3), .iti-row > :nth-child(4) { display: none; }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gal-img:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .gal-img:nth-child(4) { grid-column: span 2; }
  .gal-img:nth-child(7) { grid-column: span 2; }
  .hero-body { padding-bottom: 40px; }
  .hero-meta { position: relative; bottom: auto; padding-bottom: 32px; }
  .hero-meta-row { flex-direction: column; gap: 16px; align-items: flex-start; }
  .hero-meta-row > div { flex-direction: column; gap: 8px; }
  .impact { padding: 48px 24px; }
  .book-panel { padding: 28px; }
  .container { padding: 0 22px; }
  .pad-y, .experience, .itinerary, .gallery, .inclusions, .booking, .faq { padding: 80px 0; }
  .impact-hero { padding-top: 100px; flex-direction: column; text-align: center; height: auto; padding-bottom: 0; border: none; }
  .impact-hero-text { max-width: 100%; margin: 0 auto 40px; padding: 0 22px; }
  .impact-hero-img-wrapper { position: relative; width: 100%; height: 320px; }
  .impact-hero-img-wrapper::before { background: linear-gradient(180deg, var(--bg) 0%, transparent 40%); }
  .dashboard-grid { flex-direction: column; gap: 32px; }
  .pillars-grid, .geo-grid { grid-template-columns: 1fr; gap: 36px; }
  .impact-pillars, .geo-reach, .impact-cta { padding: 80px 0; }
}
