/* ============================================================
   ACE PARKWAY 2.0 — Google Ads Landing Page
   ============================================================ */
:root{
  --forest-deep:   #0D2417;
  --forest:        #15321F;
  --forest-soft:   #1E4029;
  --ink:           #1A1812;
  --gold:          #B8862E;
  --gold-bright:   #D4A23A;
  --gold-soft:     #E8C887;
  --parchment:     #F6F1E4;
  --stone:         #ECE4D2;
  --stone-line:    #D9CDAC;
  --white:         #FFFFFF;
  --green-ok:      #3C6B3F;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}
body{
  margin:0; font-family:var(--font-body); color:var(--ink); background:var(--parchment);
  -webkit-font-smoothing:antialiased; line-height:1.5;
  padding-bottom:64px; /* room for fixed action bar */
}
body.modal-open{ overflow:hidden; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
.wrap{ max-width:var(--container); margin:0 auto; padding:0 24px; }
h1,h2,h3,h4{ font-family:var(--font-display); color:var(--forest-deep); margin:0; font-weight:600; letter-spacing:-0.01em; }
:focus-visible{ outline:2px solid var(--gold-bright); outline-offset:3px; }

.eyebrow{
  font-family:var(--font-mono); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold);
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:20px; height:1px; background:var(--gold); display:inline-block; }

.section{ padding:64px 0; }
.section--tight{ padding:40px 0; }
.section--stone{ background:var(--stone); }
.section--forest{ background:var(--forest-deep); color:var(--parchment); }
.section--forest h2{ color:var(--parchment); }
.section-head{ max-width:640px; margin-bottom:34px; }
.section-head h2{ font-size:clamp(1.7rem, 3vw, 2.3rem); margin-top:10px; }
.section-head p{ margin-top:12px; color:#4A4636; font-size:1rem; }
.section--forest .section-head p{ color:#C9D6CB; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 24px; font-weight:600; font-size:.92rem; border-radius:2px; border:1px solid transparent;
  transition:transform .15s ease, background .15s ease, border-color .15s ease; white-space:nowrap;
}
.btn-primary{ background:var(--gold); color:var(--forest-deep); }
.btn-primary:hover{ background:var(--gold-bright); transform:translateY(-1px); }
.btn-dark{ background:var(--forest-deep); color:var(--parchment); }
.btn-dark:hover{ background:var(--forest); transform:translateY(-1px); }
.btn-ghost{ border-color:var(--stone-line); color:var(--forest-deep); background:transparent; }
.btn-ghost:hover{ border-color:var(--gold); color:var(--gold); }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 16px; font-size:.82rem; }

/* ---------- corner-bracket frame (signature element) ---------- */
.frame{ position:relative; }
.frame::before,.frame::after{ content:""; position:absolute; width:16px; height:16px; pointer-events:none; }
.frame::before{ top:-1px; left:-1px; border-top:2px solid var(--gold); border-left:2px solid var(--gold); }
.frame::after{ bottom:-1px; right:-1px; border-bottom:2px solid var(--gold); border-right:2px solid var(--gold); }

/* ---------- header ---------- */
.topbar{ background:var(--forest-deep); color:var(--gold-soft); font-family:var(--font-mono); font-size:.74rem; padding:7px 0; text-align:center; letter-spacing:.04em; }
.header{ position:sticky; top:0; z-index:60; background:rgba(13,36,23,.96); backdrop-filter:blur(6px); border-bottom:1px solid rgba(212,162,58,.25); }
.header .wrap{ display:flex; align-items:center; justify-content:space-between; height:70px; gap:18px; }
.brand{ display:flex; flex-direction:column; line-height:1; color:var(--parchment); flex:none; }
.brand small{ font-family:var(--font-mono); font-size:.58rem; letter-spacing:.18em; color:var(--gold-soft); margin-bottom:4px; }
.brand strong{ font-family:var(--font-display); font-size:1.08rem; }
.header-nav{ display:flex; align-items:center; gap:26px; flex:1; justify-content:center; }
.header-nav a{ font-size:.84rem; color:#D7D9CE; font-weight:500; }
.header-nav a:hover{ color:var(--gold-bright); }
.header-call{ display:flex; align-items:center; gap:8px; color:var(--gold-bright); font-weight:700; font-size:.92rem; flex:none; }
.header-call svg{ width:17px; height:17px; }
@media (max-width:880px){ .header-nav{ display:none; } }

/* ---------- hero ---------- */
.hero{
  position:relative; background:#10271A url("assets/tower-crop.jpg") center 78% / cover no-repeat; color:var(--parchment);
}
.hero::before{ content:""; position:absolute; top:0; right:0; bottom:0; left:0; background:linear-gradient(180deg, rgba(10,24,16,.45) 0%, rgba(10,24,16,.55) 35%, rgba(9,20,13,.95) 100%); }
.hero::after{ content:""; position:absolute; top:0; right:0; bottom:0; left:0; background:linear-gradient(100deg, rgba(8,20,13,.85) 0%, rgba(8,20,13,.5) 40%, rgba(8,20,13,.08) 68%); }
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.2fr .8fr; gap:40px; align-items:center; padding:54px 0; }
@media (max-width:960px){ .hero-grid{ grid-template-columns:1fr; padding:36px 0; } }
.hero h1{ color:var(--white); font-size:clamp(2.4rem, 5vw, 3.6rem); line-height:1.05; margin-top:14px; }
.hero .accent{ color:var(--gold-bright); }
.hero-sub{ max-width:520px; margin-top:16px; font-size:1.04rem; color:#E4E3D4; }
.hero-bullets{ display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:22px; }
.hero-bullets li{ font-size:.86rem; color:#D7D9CE; display:flex; align-items:center; gap:7px; }
.hero-bullets li::before{ content:"◆"; color:var(--gold-bright); font-size:.6rem; }
.hero-price{ margin-top:26px; }
.hero-price small{ font-family:var(--font-mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-soft); }
.hero-price b{ display:block; font-family:var(--font-mono); font-size:2.2rem; color:var(--white); }
.hero-price span{ font-size:.8rem; color:#C9D6CB; }

/* ---------- hero lead form card ---------- */
.lead-card{ position:relative; z-index:1; background:var(--white); padding:28px 26px; box-shadow:0 24px 50px -20px rgba(0,0,0,.5); }
.lead-card h3{ font-size:1.2rem; }
.lead-card .sub{ font-size:.84rem; color:#5B5740; margin-top:4px; }
.field{ margin-top:14px; }
.field label{ display:block; font-size:.74rem; font-weight:600; color:var(--forest-deep); margin-bottom:6px; }
.field input, .field select{ width:100%; padding:12px 13px; border:1px solid var(--stone-line); font-family:var(--font-body); font-size:.94rem; border-radius:2px; }
.field input:focus, .field select:focus{ border-color:var(--gold); }
.consent{ display:flex; gap:9px; margin-top:14px; align-items:flex-start; }
.consent input{ margin-top:3px; flex:none; }
.consent label{ font-size:.72rem; line-height:1.5; color:#6B6650; }
.lead-card .btn{ margin-top:16px; }
.lead-success{ display:none; background:var(--forest-deep); color:var(--parchment); padding:20px; font-size:.92rem; text-align:center; }
.lead-success.is-visible{ display:block; }
.lead-card form.is-hidden{ display:none; }

/* ---------- floating action bar ---------- */
.action-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:70;
  background:var(--forest-deep); border-top:1px solid rgba(212,162,58,.3);
  display:grid; grid-template-columns:repeat(4,1fr);
}
.action-bar a{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  padding:9px 4px; color:var(--parchment); font-size:.66rem; font-weight:600; text-align:center;
  border-left:1px solid rgba(212,162,58,.18);
}
.action-bar a:first-child{ border-left:0; }
.action-bar svg{ width:19px; height:19px; color:var(--gold-bright); }
.action-bar a.primary{ background:var(--gold); color:var(--forest-deep); }
.action-bar a.primary svg{ color:var(--forest-deep); }

/* ---------- grids / cards ---------- */
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.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-6{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
@media (max-width:880px){ .grid-2,.grid-3{ grid-template-columns:1fr; } .grid-4{ grid-template-columns:repeat(2,1fr); } .grid-6{ grid-template-columns:repeat(3,1fr); } }

.card{ background:var(--white); padding:26px 22px; position:relative; }
.card .ico{ width:34px; height:34px; color:var(--gold); margin-bottom:14px; }
.card h3{ font-size:1.04rem; }
.card p{ margin-top:8px; color:#5B5740; font-size:.88rem; }

.highlight-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px 30px; }
@media (max-width:700px){ .highlight-list{ grid-template-columns:1fr; } }
.highlight-list li{ display:flex; gap:10px; align-items:flex-start; font-size:.94rem; color:#3A3726; }
.highlight-list li svg{ width:18px; height:18px; color:var(--gold); flex:none; margin-top:2px; }

/* ---------- pricing table ---------- */
.price-table{ width:100%; border-collapse:collapse; background:var(--white); }
.price-table th{ text-align:left; font-family:var(--font-mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:#7A7458; padding:14px 18px; border-bottom:1px solid var(--stone-line); }
.price-table td{ padding:18px; border-bottom:1px solid var(--stone-line); font-size:.96rem; }
.price-table td b{ font-family:var(--font-mono); color:var(--forest-deep); font-size:1.08rem; }
.price-table tr:last-child td{ border-bottom:0; }
.price-table .save{ color:var(--gold); font-weight:700; }
@media (max-width:700px){
  .price-table thead{ display:none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td{ display:block; width:100%; }
  .price-table tr{ padding:16px 0; border-bottom:1px solid var(--stone-line); }
  .price-table td{ border-bottom:0; padding:4px 0; }
  .price-table td::before{ content:attr(data-label); display:block; font-family:var(--font-mono); font-size:.66rem; text-transform:uppercase; color:#7A7458; }
}

/* ---------- plan diagrams (master/unit) ---------- */
.plan-card{ background:var(--white); padding:0; overflow:hidden; }
.plan-img{ background:var(--stone); padding:30px; display:flex; align-items:center; justify-content:center; min-height:220px; }
.plan-img svg{ max-width:100%; height:auto; }
.plan-body{ padding:20px 22px; }
.plan-body h3{ font-size:1.05rem; }
.plan-body p{ font-size:.84rem; color:#5B5740; margin-top:6px; }
.plan-body .btn{ margin-top:14px; }

/* ---------- amenities ---------- */
.amenity{ text-align:center; }
.amenity .ico-wrap{ width:56px; height:56px; border-radius:50%; background:var(--stone); display:flex; align-items:center; justify-content:center; margin:0 auto 10px; }
.amenity svg{ width:26px; height:26px; color:var(--forest-deep); }
.amenity span{ font-size:.82rem; font-weight:600; color:var(--forest-deep); }

/* ---------- gallery placeholder ---------- */
.gallery-tile{ aspect-ratio:4/3; min-height:220px; background:var(--stone); border:1px dashed var(--stone-line); display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:.7rem; color:#9C9474; text-align:center; padding:10px; }
.gallery-tile.has-img{ background-size:cover; background-position:center; border:0; }

/* ---------- location tabs ---------- */
.loc-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.loc-tab{ padding:9px 16px; font-size:.82rem; font-weight:600; border:1px solid var(--stone-line); background:var(--white); color:var(--forest-deep); }
.loc-tab.is-active{ background:var(--forest-deep); color:var(--parchment); border-color:var(--forest-deep); }
.loc-panel{ display:block; margin-bottom:10px; }
.loc-panel.is-hidden{ display:none; }
.loc-panel ul{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px 24px; }
@media (max-width:700px){ .loc-panel ul{ grid-template-columns:1fr; } }
.loc-panel li{ font-size:.92rem; color:#3A3726; padding:8px 0; border-bottom:1px solid var(--stone-line); display:flex; justify-content:space-between; gap:10px; }
.loc-panel li b{ color:var(--gold); font-family:var(--font-mono); font-size:.84rem; white-space:nowrap; }
.map-frame{ width:100%; aspect-ratio:16/7; min-height:200px; background:var(--stone); border:1px dashed var(--stone-line); display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:.78rem; color:#9C9474; margin-bottom:26px; text-align:center; padding:14px; }

/* ---------- RERA / compliance ---------- */
.rera-box{ background:var(--stone); border:1px solid var(--stone-line); padding:20px 22px; font-size:.82rem; color:#5B5740; margin-top:18px; }
.rera-box b{ color:var(--forest-deep); }
.legal{ font-size:.74rem; line-height:1.7; color:#8D9786; margin-top:18px; }

/* ---------- footer ---------- */
footer{ background:var(--forest-deep); color:#AEB8A8; padding:44px 0 28px; }
footer .f-top{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:30px; }
footer .f-brand strong{ font-family:var(--font-display); color:var(--parchment); font-size:1.15rem; }
footer .f-contact a{ display:block; font-size:.92rem; color:var(--gold-soft); margin-top:8px; font-weight:600; }
footer .legal{ border-top:1px solid rgba(212,162,58,.18); padding-top:20px; margin-top:30px; color:#8D9786; }
footer .legal b{ color:#C9D6CB; }

/* ---------- modal ---------- */
.modal-overlay{ position:fixed; top:0; right:0; bottom:0; left:0; background:rgba(10,20,13,.7); z-index:90; display:none; align-items:center; justify-content:center; padding:20px; }
.modal-overlay.is-open{ display:flex; }
.modal-card{ position:relative; background:var(--white); max-width:420px; width:100%; padding:30px 26px; }
.modal-close{ position:absolute; top:10px; right:10px; background:none; border:0; width:32px; height:32px; display:flex; align-items:center; justify-content:center; color:var(--forest-deep); }
.modal-close svg{ width:18px; height:18px; }
.modal-card h3{ font-size:1.25rem; padding-right:20px; }
.modal-card .sub{ font-size:.85rem; color:#5B5740; margin-top:6px; }

/* ---------- reveal (load animation, never hides content) ---------- */
.reveal{ animation:fade-up .6s ease both; }
@keyframes fade-up{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .reveal{ animation:none; } }
