/* =========================================================
   WP Homestay — Global Styles
   Palette: Navy #0A1F33 / Gold #C9A05C / White / Off-white
   ========================================================= */

:root {
  --navy: #0A1F33;
  --navy-light: #123457;
  --gold: #C9A05C;
  --gold-light: #ddb877;
  --white: #FFFFFF;
  --offwhite: #F7F5F1;
  --ink: #16202B;
  --gray: #6B7280;
  --gray-light: #E7E3DC;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(10, 31, 51, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 31, 51, 0.16);
  --maxw: 1200px;
  --ff-serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { color: var(--gray); }

.section {
  padding: 100px 0;
}
.section--tight { padding: 70px 0; }
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.72); }
.section--offwhite { background: var(--offwhite); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.section-head.align-left { margin-left: 0; text-align: left; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(201,160,92,0.35); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 22px; font-size: 0.85rem; }

/* =========== Header =========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(10,31,51,0.96);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

.header-ctas { display: flex; gap: 12px; align-items: center; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* =========== Hero =========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,51,0.75) 0%, rgba(10,31,51,0.88) 55%, rgba(10,31,51,0.97) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero .lead {
  font-size: 1.18rem;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin-bottom: 38px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-microline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}
.hero-microline strong { color: var(--gold-light); font-weight: 600; }

/* =========== Why Choose Us / Pillars =========== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  transition: all 0.3s ease;
}
.pillar-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(201,160,92,0.12);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.pillar-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.pillar-card p { font-size: 0.93rem; }

/* =========== Process Timeline =========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  position: relative;
}
.process-step {
  text-align: left;
  padding: 26px 18px 0;
  border-top: 3px solid var(--gray-light);
  position: relative;
}
.process-step .step-num {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.process-step h4 { font-size: 1rem; margin-bottom: 8px; color: var(--navy); font-family: var(--ff-sans); font-weight: 700; }
.process-step p { font-size: 0.85rem; }
.process-closing {
  text-align: center;
  margin-top: 50px;
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  color: var(--navy);
}

/* =========== ROI Table =========== */
.roi-wrap { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
.roi-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.roi-table th, .roi-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--gray-light);
}
.roi-table th { background: var(--navy); color: var(--white); font-weight: 600; font-size: 0.85rem; }
.roi-table td:first-child { color: var(--navy); font-weight: 600; }
.roi-table tr:last-child td { border-bottom: none; }
.roi-table td.win { color: #1a7a4c; font-weight: 600; }

.split-callout {
  margin-top: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  text-align: center;
}
.split-callout .split-numbers {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}
.split-numbers .num-block { text-align: center; }
.split-numbers .num-block .num { font-family: var(--ff-serif); font-size: 2.6rem; color: var(--gold); display: block; }
.split-numbers .num-block .lbl { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.7); }
.split-callout p { color: rgba(255,255,255,0.85); font-size: 1.02rem; max-width: 560px; margin: 0 auto; }
.split-callout .tagline { margin-top: 16px; font-family: var(--ff-serif); font-style: italic; font-size: 1.15rem; color: var(--white); }

/* =========== Areas Grid =========== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.area-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  color: var(--white);
}
.area-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.area-card:hover img { transform: scale(1.08); }
.area-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,51,0) 40%, rgba(10,31,51,0.92) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
}
.area-card-overlay h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 6px; }
.area-card-overlay p { color: rgba(255,255,255,0.75); font-size: 0.8rem; }
.area-card.large { grid-column: span 2; grid-row: span 2; }

/* =========== Property Cards =========== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.property-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.property-card:hover .property-media img { transform: scale(1.06); }
.property-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--navy);
  font-size: 0.72rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.property-body { padding: 22px; }
.property-body h4 { font-size: 1.08rem; margin-bottom: 6px; color: var(--navy); }
.property-meta { display: flex; gap: 14px; font-size: 0.82rem; color: var(--gray); margin-bottom: 14px; }
.property-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--gray-light); }
.property-price { font-family: var(--ff-serif); font-size: 1.2rem; color: var(--navy); font-weight: 600; }
.property-price span { font-size: 0.78rem; color: var(--gray); font-family: var(--ff-sans); font-weight: 400; }

/* =========== Stats =========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-block .stat-num {
  font-family: var(--ff-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.stat-block .stat-lbl { font-size: 0.92rem; color: rgba(255,255,255,0.75); }

/* =========== CTA Band =========== */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2740 100%);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,160,92,0.18) 0%, transparent 70%);
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 34px; font-size: 1.08rem; color: rgba(255,255,255,0.8); }
.cta-band .micro { margin-top: 18px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* =========== Footer =========== */
.site-footer {
  background: #071522;
  color: rgba(255,255,255,0.65);
  padding: 70px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-grid h5 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-grid ul li { margin-bottom: 11px; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--gold); }
.footer-logo { font-family: var(--ff-serif); font-size: 1.3rem; color: var(--white); margin-bottom: 14px; }
.footer-logo span { color: var(--gold); }
.footer-about p { font-size: 0.88rem; max-width: 320px; margin-bottom: 20px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: all .2s;
}
.social-icons a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom a:hover { color: var(--gold); }

/* =========== Forms =========== */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}
.form-step { display: none; }
.form-step.active { display: block; animation: fadein .3s ease; }
@keyframes fadein { from{opacity:0; transform: translateY(8px);} to{opacity:1; transform: translateY(0);} }

.form-progress { display: flex; gap: 8px; margin-bottom: 30px; }
.form-progress .dot { flex: 1; height: 4px; background: var(--gray-light); border-radius: 4px; transition: background .3s; }
.form-progress .dot.done { background: var(--gold); }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  transition: border-color .2s;
  background: var(--offwhite);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }

.radio-group { display: flex; gap: 12px; }
.radio-option {
  flex: 1;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 13px;
  text-align: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all .2s;
}
.radio-option input { display: none; }
.radio-option.selected { border-color: var(--gold); background: rgba(201,160,92,0.1); color: var(--navy); font-weight: 700; }

.form-nav { display: flex; justify-content: space-between; margin-top: 24px; gap: 12px; }
.form-success { text-align: center; padding: 20px 0; }
.form-success .check-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(201,160,92,0.15); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 1.8rem;
}

/* =========== FAQ Accordion =========== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-light);
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}
.faq-question .icon { font-size: 1.3rem; color: var(--gold); transition: transform .3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer p { padding: 0 4px 22px; font-size: 0.93rem; }
.faq-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; }
.faq-tab-btn {
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--gray-light);
  background: var(--white); cursor: pointer; font-weight: 600; font-size: 0.88rem; color: var(--gray);
}
.faq-tab-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.faq-panel { display: none; }
.faq-panel.active { display: block; }

/* =========== Booking Page =========== */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 14px;
  margin-top: -60px;
  position: relative;
  z-index: 5;
}
.filter-bar .field { margin-bottom: 0; }
.filter-bar .field label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gray); margin-bottom: 6px;}
.filter-bar .field input, .filter-bar .field select { padding: 11px 12px; background: var(--offwhite); }
.filter-bar .btn { align-self: end; }

.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0 0; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--gray-light);
  font-size: 0.85rem; font-weight: 600; color: var(--navy); cursor: pointer; background: var(--white);
}
.chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* =========== About Timeline =========== */
.about-hero {
  padding-top: 160px;
  padding-bottom: 60px;
  background: var(--offwhite);
}
.milestones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.milestone { text-align: center; padding: 30px 16px; border-left: 2px solid var(--gray-light); }
.milestone .yr { font-family: var(--ff-serif); font-size: 1.6rem; color: var(--gold); display: block; margin-bottom: 8px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--gray-light); }

/* =========== Utilities =========== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.badge-strip { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 30px; opacity: 0.6; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; }

/* =========== Responsive =========== */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .milestones { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 720px) {
  .nav-links, .header-ctas .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .pillars-grid, .process-grid, .areas-grid, .properties-grid, .stats-grid, .footer-grid, .filter-bar, .milestones { grid-template-columns: 1fr; }
  .area-card.large { grid-column: span 1; grid-row: span 1; }
  .roi-table { font-size: 0.8rem; }
  .split-callout { padding: 30px 22px; }
  .split-numbers { gap: 24px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 120px; text-align: left; }
  .radio-group { flex-direction: column; }
  .form-card { padding: 26px; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 78%; max-width: 340px; height: 100vh;
  background: var(--navy); z-index: 1100; padding: 100px 30px 30px;
  transition: right .35s ease;
  box-shadow: -10px 0 40px rgba(0,0,0,0.3);
}
.mobile-nav.open { right: 0; }
.mobile-nav a { display: block; color: var(--white); font-size: 1.1rem; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav .btn { margin-top: 24px; width: 100%; }
.mobile-nav-close { position: absolute; top: 30px; right: 30px; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; }
.nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1050; display: none; }
.nav-scrim.open { display: block; }
