/* ============ Amaari Estates — amaariestates.com ============ */
/* Brand: gold #D4AF37 / #F2D68C, black #111, navy #0D182A, green #0F3D2E
   Fonts: Cinzel (display), Montserrat (body) */

:root {
  --gold: #d4af37;
  --gold-light: #f2d68c;
  --gold-dim: #a8862a;
  --black: #0b0b0d;
  --ink: #15151a;
  --navy: #0d182a;
  --green: #0f3d2e;
  --ivory: #f7f3ea;
  --cream: #efe8d8;
  --muted: #9a958a;
  --line: rgba(212, 175, 55, 0.28);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --serif: "Cinzel", serif;
  --sans: "Montserrat", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--ivory);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- type ---------- */
h1, h2, h3, .display { font-family: var(--serif); font-weight: 600; letter-spacing: 0.04em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(28px, 4vw, 44px); line-height: 1.18; margin: 14px 0 18px; color: var(--ivory); }
.section-title em { font-style: normal; color: var(--gold-light); }
.lede { color: var(--muted); max-width: 640px; font-size: 15.5px; }
section { padding: 96px 0; position: relative; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border: 1px solid var(--gold);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  transition: all 0.3s ease; background: transparent; color: var(--gold-light);
}
.btn:hover { background: var(--gold); color: var(--black); }
.btn-solid { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 55%, var(--gold) 100%); color: var(--black); border: none; }
.btn-solid:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-wa { border-color: #2e7d32; color: #7fd88a; }
.btn-wa:hover { background: #1e5f24; color: #fff; }

/* ---------- header ---------- */
.topbar {
  background: var(--navy); font-size: 12px; padding: 7px 0;
  color: var(--cream); border-bottom: 1px solid rgba(212,175,55,0.2);
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: var(--gold-light); font-weight: 600; }
.topbar .tb-note { letter-spacing: 0.08em; }

header.site {
  position: sticky; top: 0; z-index: 90;
  background: rgba(11, 11, 13, 0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 52px; width: auto; }
.brand .brand-name { font-family: var(--serif); font-size: 19px; letter-spacing: 0.18em; color: var(--gold-light); }
.brand .brand-tag { font-size: 8.5px; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase; display: block; margin-top: 2px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); opacity: 0.85; transition: 0.25s; }
.nav-links a:hover { color: var(--gold); opacity: 1; }
.nav-cta { padding: 11px 22px !important; }
.hamburger { display: none; background: none; border: 1px solid var(--line); color: var(--gold); font-size: 20px; padding: 6px 12px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding: 0 0 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(11,11,13,0.78) 0%, rgba(11,11,13,0.45) 42%, rgba(11,11,13,0.12) 68%, transparent 80%),
    linear-gradient(180deg, rgba(11,11,13,0.5) 0%, rgba(11,11,13,0.2) 35%, rgba(11,11,13,0.82) 78%, var(--black) 100%);
}
.hero-inner { position: relative; z-index: 2; width: min(1180px, 92%); margin: 0 auto; }
.hero .kicker {
  display: inline-block; border: 1px solid var(--line); padding: 8px 18px;
  font-size: 10.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-light);
  background: rgba(11,11,13,0.55); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5.6vw, 66px); line-height: 1.12; max-width: 820px; text-shadow: 0 4px 30px rgba(0,0,0,0.6); }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero .sub { margin: 20px 0 30px; max-width: 620px; color: #d8d2c4; font-size: 16.5px; text-shadow: 0 2px 14px rgba(0,0,0,0.7); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-usps { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(212,175,55,0.25); }
.hero-usps div strong { display: block; font-family: var(--serif); font-size: 21px; color: var(--gold-light); letter-spacing: 0.03em; }
.hero-usps div span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #b8b2a4; }

/* ---------- trust ribbon ---------- */
.ribbon { background: var(--navy); padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ribbon .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.ribbon .rb { display: flex; align-items: center; gap: 12px; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); }
.ribbon .rb svg { flex: none; }

/* ---------- snapshot stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 54px; }
.stat { background: var(--ink); padding: 34px 26px; }
.stat b { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); color: var(--gold-light); font-weight: 600; display: block; }
.stat span { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.about-cols { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.about-cols .imgbox { position: relative; }
.about-cols .imgbox img { border: 1px solid var(--line); }
.about-cols .imgbox::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--line); z-index: -1;
}
.checks { margin-top: 26px; display: grid; gap: 13px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #cfc9bb; font-size: 15px; }
.checks li::before { content: "✦"; color: var(--gold); flex: none; margin-top: 1px; }

/* ---------- residences ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.res-card { background: var(--ink); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: 0.35s; }
.res-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.res-card .rc-img { height: 250px; overflow: hidden; }
.res-card .rc-img img { width: 100%; height: 100%; object-fit: cover; transition: 1.2s; }
.res-card:hover .rc-img img { transform: scale(1.07); }
.res-card .rc-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.res-card h3 { font-size: 21px; color: var(--gold-light); }
.res-card .rc-area { font-size: 13px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin: 6px 0 16px; }
.res-card table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 20px; }
.res-card td { padding: 7px 0; border-bottom: 1px dashed rgba(212,175,55,0.18); color: #cfc9bb; }
.res-card td:last-child { text-align: right; color: var(--ivory); font-weight: 600; }
.res-card .btn { margin-top: auto; width: 100%; }
.price-note { margin-top: 34px; text-align: center; }
.price-note .pn-price { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); color: var(--gold-light); }
.price-note p { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* ---------- trust section ---------- */
.trust { background: linear-gradient(180deg, var(--navy) 0%, #0a1120 100%); }
.trust-band { margin: 50px 0; border: 1px solid var(--line); }
.trust-band img { width: 100%; height: 300px; object-fit: cover; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.trust-card { border: 1px solid var(--line); padding: 34px; background: rgba(11,11,13,0.5); }
.trust-card .tc-num { font-family: var(--serif); color: var(--gold); font-size: 15px; letter-spacing: 0.3em; }
.trust-card h3 { font-size: 20px; margin: 12px 0 10px; color: var(--ivory); }
.trust-card p { color: #b9b3a5; font-size: 14.5px; }
.trust-quote { margin-top: 56px; text-align: center; }
.trust-quote p { font-family: var(--serif); font-size: clamp(19px, 2.6vw, 26px); color: var(--gold-light); max-width: 860px; margin: 0 auto; line-height: 1.5; }
.trust-quote span { display: block; margin-top: 14px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }

/* ---------- wellness pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.pillar { position: relative; height: 430px; overflow: hidden; border: 1px solid var(--line); }
.pillar img { width: 100%; height: 100%; object-fit: cover; transition: 1.2s; }
.pillar:hover img { transform: scale(1.06); }
.pillar .p-ov {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; background: linear-gradient(180deg, transparent 30%, rgba(11,11,13,0.92) 100%);
}
.pillar h3 { font-size: 20px; color: var(--gold-light); }
.pillar p { font-size: 13.5px; color: #c9c3b5; margin-top: 8px; }

/* ---------- amenities ---------- */
.amen-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.amen-list span {
  border: 1px solid var(--line); padding: 9px 18px; font-size: 12.5px;
  letter-spacing: 0.08em; color: #d5cfc1; background: rgba(255,255,255,0.02);
}
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; margin-top: 50px; }
.gallery figure { overflow: hidden; position: relative; border: 1px solid rgba(212,175,55,0.16); cursor: pointer; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: 1s; }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px 12px;
  background: linear-gradient(transparent, rgba(11,11,13,0.9));
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light);
}

/* ---------- payment ---------- */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 54px; }
.pay-card { border: 1px solid var(--line); background: var(--ink); }
.pay-card h3 { padding: 22px 28px; border-bottom: 1px solid var(--line); color: var(--gold-light); font-size: 18px; letter-spacing: 0.1em; }
.pay-card table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pay-card td { padding: 11px 28px; border-bottom: 1px solid rgba(212,175,55,0.12); color: #cfc9bb; }
.pay-card tr:last-child td { border-bottom: none; }
.pay-card td:last-child { text-align: right; color: var(--ivory); font-weight: 600; white-space: nowrap; }

/* ---------- location ---------- */
.loc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; margin-top: 54px; }
.loc-map { border: 1px solid var(--line); min-height: 420px; }
.loc-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(0.3) contrast(1.05); }
.loc-list { display: grid; gap: 0; }
.loc-list li { display: flex; justify-content: space-between; gap: 18px; padding: 15px 4px; border-bottom: 1px dashed rgba(212,175,55,0.2); font-size: 14.5px; color: #cfc9bb; }
.loc-list li b { color: var(--gold-light); font-weight: 600; white-space: nowrap; }
.loc-skyline { margin-top: 50px; border: 1px solid var(--line); }
.loc-skyline img { width: 100%; height: 320px; object-fit: cover; }

/* ---------- films ---------- */
.films { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.film { position: relative; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 9 / 16; background: #000; }
.film video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- virtual visit ---------- */
.virtual { background: linear-gradient(180deg, var(--green) 0%, #08251c 100%); }
.virtual .vt-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.vt-points { margin-top: 24px; display: grid; gap: 16px; }
.vt-points li { display: flex; gap: 14px; font-size: 15px; color: #d8e4dc; }
.vt-points li b { color: var(--gold-light); }
.vt-points .n {
  flex: none; width: 34px; height: 34px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  font-family: var(--serif); font-size: 15px;
}

/* ---------- NRI ---------- */
.nri-cols { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.nri-cols .imgbox img { border: 1px solid var(--line); }
.flags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.flags span { font-size: 12px; border: 1px solid var(--line); padding: 7px 14px; color: #d5cfc1; letter-spacing: 0.06em; }

/* ---------- MD / about ---------- */
.md-card {
  display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center;
  border: 1px solid var(--line); background: var(--ink); padding: 50px; margin-top: 54px;
}
.md-badge {
  width: 100%; aspect-ratio: 1; background: radial-gradient(circle at 30% 25%, #1d1d24, #0b0b0d 75%);
  border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.md-badge img { height: 120px; width: auto; }
.md-badge .md-name { font-family: var(--serif); font-size: 22px; color: var(--gold-light); letter-spacing: 0.08em; margin-top: 12px; }
.md-badge .md-role { font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.md-contact { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 24px; font-size: 14px; }
.md-contact a { color: var(--gold-light); font-weight: 600; }

/* ---------- contact / form ---------- */
.contact { background: linear-gradient(180deg, var(--navy), #070d18); }
.form-cols { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; margin-top: 10px; }
.lead-form { background: rgba(11,11,13,0.55); border: 1px solid var(--line); padding: 40px; }
.lead-form h3 { font-size: 20px; color: var(--gold-light); margin-bottom: 6px; }
.lead-form .lf-sub { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.f-field { margin-bottom: 16px; }
.f-field label { display: block; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(212,175,55,0.3);
  color: var(--ivory); padding: 13px 15px; font-family: var(--sans); font-size: 14.5px;
  transition: 0.25s; outline: none;
}
.f-field select option { background: var(--navy); }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { border-color: var(--gold); background: rgba(212,175,55,0.06); }
.lead-form .btn { width: 100%; margin-top: 8px; padding: 17px; }
.form-note { font-size: 11.5px; color: #7e7a70; margin-top: 14px; text-align: center; }
.hp { position: absolute; left: -6000px; opacity: 0; }

.contact-info { display: grid; gap: 8px; align-content: center; }
.ci-line { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px dashed rgba(212,175,55,0.2); }
.ci-line svg { flex: none; margin-top: 3px; }
.ci-line b { display: block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.ci-line a, .ci-line span { color: var(--ivory); font-size: 15.5px; }
.ci-line a:hover { color: var(--gold-light); }

/* ---------- footer ---------- */
footer { background: #060608; padding: 60px 0 110px; border-top: 1px solid var(--line); }
.foot-cols { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.foot-cols .fbrand img { height: 64px; }
.foot-cols h4 { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.foot-cols li { margin-bottom: 9px; }
.foot-cols a { font-size: 14px; color: #b3ada0; }
.foot-cols a:hover { color: var(--gold-light); }
.disclaimer { font-size: 11px; color: #6d6a62; line-height: 1.7; border-top: 1px solid rgba(212,175,55,0.14); padding-top: 24px; }

/* ---------- floating actions ---------- */
.fab-wa {
  position: fixed; right: 22px; bottom: 92px; z-index: 95;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45); transition: 0.3s;
}
.fab-wa:hover { transform: scale(1.08); }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 94; display: none;
  grid-template-columns: 1fr 1fr 1fr; background: var(--navy);
  border-top: 1px solid var(--gold);
}
.mobile-bar a {
  padding: 15px 4px; text-align: center; font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700; color: var(--cream);
}
.mobile-bar a.mb-enq { background: var(--gold); color: var(--black); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal .m-bg { position: absolute; inset: 0; background: rgba(5,5,8,0.82); backdrop-filter: blur(6px); }
.modal .m-box { position: relative; width: min(520px, 100%); max-height: 92vh; overflow: auto; background: var(--navy); border: 1px solid var(--gold); padding: 40px; }
.modal .m-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: var(--gold); font-size: 26px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(120px);
  background: var(--green); color: #eafbef; border: 1px solid var(--gold);
  padding: 15px 26px; font-size: 14px; z-index: 130; transition: 0.4s; max-width: 92%;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.vis { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .res-grid, .pillars { grid-template-columns: 1fr 1fr; }
  .films { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  section { padding: 68px 0; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); flex-direction: column; padding: 24px; gap: 18px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .about-cols, .trust-grid, .pay-grid, .loc-cols, .vt-cols, .nri-cols, .form-cols { grid-template-columns: 1fr !important; }
  .md-card { grid-template-columns: 1fr; padding: 30px; }
  .md-badge { max-width: 300px; margin: 0 auto; }
  .mobile-bar { display: grid; }
  .fab-wa { bottom: 76px; }
  .hero { min-height: 78vh; }
  .hero-usps { gap: 20px; }
  .res-grid, .pillars { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .topbar .tb-note { display: none; }
}
