/* P6: non-critical styles for investment.css — critical nav/hero remain inline */
/* ROI TABLE */
.roi-section { background:var(--charcoal); }
.roi-section .eyebrow { color:var(--gold); }
.roi-section .section-title { color:var(--white); }
.roi-section .divider { background:var(--gold); }
.roi-grid { display:grid;grid-template-columns:1fr 1.5fr;gap:80px;margin-top:60px;align-items:start; }
.roi-note { font-size:0.85rem;font-style:italic;line-height:1.85;color:rgba(255,255,255,0.5);border-left:2px solid var(--gold);padding-left:20px;margin-bottom:32px; }
.roi-disclaimer { font-size:0.7rem;line-height:1.7;color:rgba(255,255,255,0.25);margin-top:20px; }
.roi-table { width:100%;border-collapse:collapse; }
.roi-table th { font-size:0.56rem;letter-spacing:0.16em;text-transform:uppercase;color:var(--gold);text-align:left;padding:12px 14px;border-bottom:1px solid rgba(201,169,110,0.2); }
.roi-table th:not(:first-child) { text-align:center; }
.roi-table td { font-size:0.8rem;color:rgba(255,255,255,0.6);padding:13px 14px;border-bottom:1px solid rgba(255,255,255,0.04);vertical-align:middle; }
.roi-table td:not(:first-child) { text-align:center; }
.roi-table .total-row td { color:var(--white);font-weight:400; }
.roi-table .total-row td:first-child { color:var(--gold-light); }
.sbadge { display:inline-block;font-size:0.54rem;letter-spacing:0.1em;text-transform:uppercase;padding:3px 8px;border-radius:2px; }
.slow { background:rgba(255,255,255,0.06);color:rgba(255,255,255,0.4); }
.smid { background:rgba(201,169,110,0.12);color:var(--gold-light); }
.shigh { background:rgba(78,102,82,0.25);color:#8fbc8f; }
.stotal { background:var(--gold);color:var(--forest);font-weight:500; }

/* PAYMENT */
.payment-section { background:var(--sand); }
.pay-steps { display:flex;gap:0;margin-top:60px; }
.pay-step { flex:1;padding:36px 28px;background:var(--white);border-right:1px solid var(--sand-dark);text-align:center; }
.pay-step:last-child { border-right:none; }
.pay-pct { font-family:'Cormorant Garamond',serif;font-size:2.6rem;font-weight:300;color:var(--gold);line-height:1; }
.pay-title { font-size:0.7rem;font-weight:500;color:var(--forest);letter-spacing:0.1em;text-transform:uppercase;margin-top:10px; }
.pay-desc { font-size:0.75rem;color:var(--text-light);margin-top:6px;line-height:1.6; }

/* MARKET CASE */
.market { background:var(--white); }
.market-grid { display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-top:60px; }
.market-card { padding:36px;background:var(--sand); }
.market-card-title { font-family:'Cormorant Garamond',serif;font-size:1.3rem;color:var(--forest);margin-bottom:16px; }
.market-points { display:flex;flex-direction:column;gap:14px; }
.mp { font-size:0.82rem;line-height:1.75;color:var(--text-light);display:flex;gap:12px; }
.mp-icon { font-size:1rem;flex-shrink:0;margin-top:1px; }

/* COMPARE TABLE */
.compare { background:var(--sand); }
.compare-table { width:100%;border-collapse:collapse;margin-top:48px; }
.compare-table th { font-size:0.6rem;letter-spacing:0.18em;text-transform:uppercase;padding:14px 20px;text-align:left;border-bottom:2px solid var(--sand-dark); }
.th-metric { color:var(--text-light);background:var(--white); }
.th-phangan { color:var(--gold);background:var(--forest); }
.th-phuket { color:var(--text-light);background:var(--white); }
.compare-table td { padding:16px 20px;font-size:0.82rem;border-bottom:1px solid var(--sand-dark);vertical-align:top;line-height:1.65; }
.compare-table .td-metric { font-size:0.68rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--text-light);background:var(--white); }
.compare-table .td-phangan { color:var(--white);background:var(--forest); }
.compare-table .td-phangan .plus { color:var(--gold-light); }
.compare-table .td-phuket { color:var(--text-light);background:var(--white); }

/* OWNERSHIP */
.ownership { background:var(--forest);padding:100px 48px; }
.ownership .eyebrow { color:var(--gold); }
.ownership .section-title { color:var(--white); }
.ownership .divider { background:var(--gold); }
.own-grid { display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-top:60px;align-items:start; }
.lease-bar { display:flex;gap:4px;margin-bottom:28px; }
.lb { flex:1;background:rgba(201,169,110,0.12);border:1px solid rgba(201,169,110,0.2);padding:20px 12px;text-align:center; }
.lb-num { font-family:'Cormorant Garamond',serif;font-size:1.8rem;color:var(--gold);font-weight:300;line-height:1; }
.lb-label { font-size:0.52rem;letter-spacing:0.12em;text-transform:uppercase;color:rgba(255,255,255,0.3);margin-top:5px; }
.lb-plus { display:flex;align-items:center;color:rgba(201,169,110,0.3);font-size:1.2rem; }
.lb-total { background:var(--gold);border-color:var(--gold); }
.lb-total .lb-num { color:var(--forest); }
.lb-total .lb-label { color:rgba(44,59,45,0.6); }
.own-points { display:flex;flex-direction:column;gap:22px; }
.op { display:flex;gap:14px; }
.op-icon { width:34px;height:34px;background:rgba(201,169,110,0.12);border:1px solid rgba(201,169,110,0.2);display:flex;align-items:center;justify-content:center;font-size:0.85rem;flex-shrink:0; }
.op-title { font-family:'Cormorant Garamond',serif;font-size:1rem;color:var(--white);margin-bottom:4px; }
.op-text { font-size:0.76rem;line-height:1.75;color:rgba(255,255,255,0.4); }

/* CTA */
.cta-strip { background:var(--gold);padding:60px 48px;display:flex;align-items:center;justify-content:space-between;gap:40px; }
.cta-title { font-family:'Cormorant Garamond',serif;font-size:clamp(1.6rem,3vw,2.4rem);font-weight:300;color:var(--forest);line-height:1.2; }
.cta-sub { font-size:0.8rem;color:rgba(44,59,45,0.6);margin-top:8px; }
.btn-dark { font-size:0.65rem;letter-spacing:0.2em;text-transform:uppercase;background:var(--forest);color:var(--white);padding:14px 32px;text-decoration:none;transition:all 0.3s;white-space:nowrap; }
.btn-dark:hover { background:var(--charcoal); }

@media (max-width:900px) {
  section,.roi-section,.payment-section,.market,.compare,.ownership { padding:60px 24px; }
  .hero-big-stats { grid-template-columns:repeat(2,1fr); }
  .roi-grid { grid-template-columns:1fr; }
  .pay-steps { flex-direction:column; }
  .pay-step { border-right:none;border-bottom:1px solid var(--sand-dark); }
  .market-grid { grid-template-columns:1fr; }
  .own-grid { grid-template-columns:1fr; }
  .cta-strip { flex-direction:column;align-items:flex-start; }
}
footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.2);
}

@media (max-width: 900px) {
  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 28px 20px;
  }
}
/* ---- Shared base (both plans) ---- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
              background 0.3s ease, border-color 0.3s ease;
}
.floating-whatsapp .wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

/* ================= PLAN A — refined circle ================= */
.floating-whatsapp.wa--circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-light);
  border: 1px solid rgba(201, 169, 110, 0.35);
  box-shadow: 0 8px 24px rgba(26, 26, 24, 0.28);
}
.floating-whatsapp.wa--circle .wa-label { display: none; }   /* icon only */
.floating-whatsapp.wa--circle:hover {
  transform: translateY(-3px);
  border-color: var(--gold-light);
  box-shadow: 0 12px 28px rgba(26, 26, 24, 0.38);
}

/* ================= PLAN B — luxury pill (ACTIVE) ================= */
.floating-whatsapp.wa--pill {
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--gold-light);
  border: 1px solid rgba(201, 169, 110, 0.4);
  box-shadow: 0 8px 24px rgba(26, 26, 24, 0.3);
}
.floating-whatsapp.wa--pill .wa-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.floating-whatsapp.wa--pill:hover {
  transform: translateY(-3px);
  background: var(--forest);
  border-color: var(--gold-light);
  box-shadow: 0 12px 28px rgba(26, 26, 24, 0.4);
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .floating-whatsapp { bottom: 20px; right: 20px; }

  .floating-whatsapp.wa--circle { width: 48px; height: 48px; }

  /* Pill collapses to an icon-only circle on small screens (optional) */
  .floating-whatsapp.wa--pill {
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
  .floating-whatsapp.wa--pill .wa-label { display: none; }
}
/*
 * Shell / positioning — uncomment when GAIA_OPEN_HOUSE_POPUP_ENABLED is true:
 *
 * #gaia-popup {
 *   position: fixed;
 *   z-index: 9999;
 *   background: #1A1F1A;
 *   box-shadow: 0 24px 64px rgba(0,0,0,0.45);
 *   transform: translateY(120%);
 *   transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
 *   font-family: 'Jost', sans-serif;
 * }
 * #gaia-popup.visible { transform: translateY(0); }
 * @media (min-width: 640px) {
 *   #gaia-popup { bottom: 32px; left: 32px; width: 340px; border-radius: 10px; overflow: hidden; }
 * }
 * @media (max-width: 639px) {
 *   #gaia-popup { bottom: 0; left: 0; right: 0; border-radius: 16px 16px 0 0; overflow: hidden; }
 *   .gp-drag-handle { display: flex; justify-content: center; padding: 10px 0 0; }
 * }
 * .gp-gold-bar { height: 3px; background: linear-gradient(90deg, #C9A96E, #D4B882, #C9A96E); }
 * .gp-drag-handle { display: none; }
 * .gp-drag-handle-bar { width: 36px; height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; }
 */

.gp-body {
  padding: 24px 24px 24px;
}
.gp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.gp-eyebrow {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9A96E;
  margin: 0 0 8px;
}
.gp-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  color: #F5F0E8;
  margin: 0;
  line-height: 1.2;
}
.gp-title em {
  color: #C9A96E;
  font-style: italic;
}
.gp-close {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 12px;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}
.gp-close:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
}
.gp-details {
  display: flex;
  gap: 24px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}
.gp-detail-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 4px;
}
.gp-detail-value {
  font-size: 13px;
  color: #F5F0E8;
  margin: 0;
}
.gp-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  margin: 0 0 18px;
}
.gp-cta {
  display: block;
  background: #C9A96E;
  color: #1A1F1A;
  text-align: center;
  padding: 13px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  border-radius: 2px;
  transition: background 0.2s;
}
.gp-cta:hover {
  background: #D4B882;
}
.gp-location {
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  text-align: center;
  margin: 10px 0 0;
}

/* studios-2026: start studio-bar.css */
/**
 * Studio Collection launch bar + "New" nav marker
 * Shared across: index, index_fr (bar) and every page that shows the nav (marker).
 * Include via PHP in page <head> like enquiry-form.css (path: includes/css/studio-bar.css)
 */

/* STUDIO BAR (fixed above the fixed nav; the live CSS sets overflow-x:hidden on html AND body,
   which breaks position:sticky, so the bar is fixed and the body is padded by its height) */
:root { --sb-h: 42px; }

.studio-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  min-height: var(--sb-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 56px;
  background: var(--forest, #2C3B2D);
  border-bottom: 1px solid rgba(201, 169, 110, 0.28);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
}
.studio-bar[hidden] { display: none; }

.studio-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(253, 250, 245, 0.88);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  padding: 10px 0;
  transition: color 0.3s;
}
.studio-bar-link:hover { color: var(--white, #FDFAF5); }

.sb-new {
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold, #C9A96E);
  font-weight: 500;
  padding-right: 18px;
  border-right: 1px solid rgba(201, 169, 110, 0.45);
}

.sb-text strong { font-weight: 400; color: var(--gold-light, #D4B882); }
.sb-short { display: none; }

.sb-arrow {
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold, #C9A96E);
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}
.sb-arrow::after { content: '\2192'; }
.studio-bar-link:hover .sb-arrow { gap: 14px; }

.studio-bar-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  cursor: pointer;
  color: rgba(253, 250, 245, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s;
}
.studio-bar-close:hover { color: var(--gold-light, #D4B882); }
.studio-bar-close svg { display: block; }

/* While the bar shows: pad the page, push the fixed nav down, keep the hero fold aligned */
body.has-studio-bar { padding-top: var(--sb-h); }
body.has-studio-bar nav#mainNav { top: var(--sb-h); }
body.has-studio-bar .hero { height: calc(100vh - var(--sb-h)); }

/* Nav marker next to Studios: a small gold dot (text label is visually hidden, read by screen readers) */
.nav-new {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold, #C9A96E);
  vertical-align: super;
  margin-left: 5px;
  position: relative;
  top: -1px;
}
.nav-new span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .studio-bar { padding: 0 48px 0 16px; }
  .studio-bar-link { gap: 12px; font-size: 0.72rem; }
  .sb-new { padding-right: 12px; letter-spacing: 0.26em; }
  .sb-text .sb-long { display: none; }
  .sb-short { display: inline; }
  .sb-arrow { display: none; }
}

/* Contact card: photo instead of the logo box (all pages) */
.cs-photo.cs-photo-img { border: 0; background: none; overflow: hidden; }
.cs-photo.cs-photo-img img { width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 1; display: block; }

/* Residences availability: Studios tab, not yet in the list */
.af-btn-soon, .af-btn-soon:hover { cursor: not-allowed; pointer-events: none; border: 1px solid #D8D1C1; color: #8E8A7E; background: #E7E2D6; opacity: 0.72; }
.af-btn-soon .af-new { background: rgba(201, 169, 110, 0.8); color: var(--forest, #2C3B2D); }
.af-new { display: inline-block; margin-left: 8px; padding: 2px 6px; background: var(--gold, #C9A96E); color: var(--forest, #2C3B2D); font-size: 0.5rem; letter-spacing: 0.18em; vertical-align: 1px; }


/* Footer: Instagram + Facebook (all pages) */
.footer-social { display: flex; align-items: center; gap: 22px; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); text-decoration: none; transition: color 0.3s; white-space: nowrap; }
.footer-social a:hover { color: var(--gold, #C9A96E); }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; display: block; flex: none; }
.footer-social .sh { text-transform: none; letter-spacing: 0.06em; font-size: 0.72rem; }
@media (max-width: 900px) { .footer-social { justify-content: center; } }

/* Contact card: follow line under the intro */
.cs-social { margin-top: 18px; font-size: 0.78rem; line-height: 1.7; color: rgba(255, 255, 255, 0.5); max-width: 380px; }
.cs-social a { color: var(--gold-light, #D4B882); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(201, 169, 110, 0.5); }
.cs-social a:hover { color: var(--gold, #C9A96E); }
/* studios-2026: end studio-bar.css */


/* investment page css in critical */
/* studios-2026: end investment.css */

/* P6: after shared .hero-big-stats 2-col mobile rule — investment stats stay 1-col stacked */
@media (max-width: 900px) {
  .hero-big-stats.inv-stats { grid-template-columns: 1fr; margin-top: 32px; }
  .hero-big-stats.inv-stats .hbs { padding: 18px 20px; display: flex; align-items: baseline; gap: 14px; }
  .hero-big-stats.inv-stats .hbs-num { font-size: 1.9rem; }
}
