/* ============================================================
   MP MAVIS — Landing Page Stylesheet
   Brand: Navy #1E3A5F  |  Gold #A97C3B  |  Cream #FAF7F2
   ============================================================ */

:root {
  --navy: #1e3a5f;
  --navy-dark: #152c4a;
  --navy-deep: #0f2138;
  --gold: #a97c3b;
  --gold-light: #c69a5a;
  --cream: #faf7f2;
  --ink: #23303f;
  --muted: #5b6b7c;
  --line: #e6dfd4;
  --white: #ffffff;
  --success: #1e7e4e;
  --error: #c0392b;
  --shadow-sm: 0 2px 10px rgba(15, 33, 56, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 33, 56, 0.14);
  --shadow-lg: 0 24px 60px rgba(15, 33, 56, 0.22);
  --radius: 14px;
  --header-h: 74px;
  --font-display: "Marcellus", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; line-height: 1.18; color: var(--navy); }

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

section { padding: 72px 0; }

.section-kicker {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }

.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto 40px; }

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  border: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(169, 124, 59, 0.35);
}
.btn-gold:hover { box-shadow: 0 10px 26px rgba(169, 124, 59, 0.5); transform: translateY(-2px); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* ---------- Sticky Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230, 223, 212, 0.7);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img { height: 44px; width: auto; }

.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.22s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; fill: var(--gold); }

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  background: var(--navy-deep);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(100deg, rgba(15, 33, 56, 0.92) 0%, rgba(15, 33, 56, 0.62) 45%, rgba(15, 33, 56, 0.35) 100%),
    url("../assets/hero.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-rera {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(38px, 5.6vw, 64px);
  letter-spacing: 0.04em;
}
.hero .tagline {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: clamp(19px, 2.4vw, 26px);
  margin: 8px 0 6px;
}
.hero .loc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
}
.hero .loc svg { width: 16px; height: 16px; fill: var(--gold-light); flex: none; }

.stat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 100px;
}
.chip.gold { background: rgba(169, 124, 59, 0.9); border-color: transparent; }

.hero .diff {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16.5px;
  max-width: 480px;
  margin-bottom: 26px;
}

.trust-badges { display: flex; flex-wrap: wrap; gap: 18px; }
.trust-badges .badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
}
.trust-badges .badge svg { width: 18px; height: 18px; fill: var(--gold-light); flex: none; }

/* Lead form card */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 30px 28px;
  max-width: 420px;
  margin-left: auto;
  width: 100%;
}
.form-card h3 { font-size: 23px; margin-bottom: 4px; }
.form-card .form-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.18s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }

.phone-wrap { display: flex; }
.phone-wrap .prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}
.phone-wrap input { border-radius: 0 8px 8px 0 !important; }

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin: 14px 0;
}
.consent input { margin-top: 2px; accent-color: var(--gold); flex: none; }

.micro-trust {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.micro-trust svg { width: 13px; height: 13px; fill: var(--success); }

.field-error { color: var(--error); font-size: 12px; margin-top: 4px; display: none; }
.field.invalid input { border-color: var(--error); }
.field.invalid .field-error { display: block; }

/* honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Trust Strip ---------- */
.trust-strip { background: var(--navy); padding: 26px 0; }
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tstat { text-align: center; color: #fff; }
.tstat .num { font-family: var(--font-display); font-size: 27px; color: var(--gold-light); }
.tstat .lbl { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 26px 0 30px;
}
.astat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
}
.astat .num { font-family: var(--font-display); font-size: 19px; color: var(--navy); }
.astat .lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Highlights ---------- */
.highlights { background: #fff; }
.hl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hl-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hl-card .icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(169, 124, 59, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hl-card .icon svg { width: 26px; height: 26px; fill: var(--gold); }
.hl-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--navy); }

/* ---------- Pricing ---------- */
.price-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table th {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 20px;
  text-align: left;
}
.price-table td {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.price-table tr:last-child td { border-bottom: 0; }
.price-table .cfg { font-weight: 700; color: var(--navy); }
.price-table .price { font-family: var(--font-display); font-size: 19px; color: var(--gold); white-space: nowrap; }
.price-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Amenities ---------- */
.amenities { background: #fff; }
.am-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.am-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.am-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.am-card:hover img { transform: scale(1.06); }
.am-card .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 16px 14px;
  background: linear-gradient(transparent, rgba(15, 33, 56, 0.85));
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
}

.am-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.am-chips span {
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
}

.cta-banner {
  margin-top: 40px;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius);
  padding: 38px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h3 { color: #fff; font-size: 25px; }
.cta-banner p { color: rgba(255, 255, 255, 0.8); font-size: 14.5px; }

/* ---------- Floor Plans ---------- */
.fp-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 34px; }
.fp-tab {
  padding: 12px 30px;
  border-radius: 100px;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
}
.fp-tab.active { background: var(--navy); color: #fff; }

.fp-panel { display: none; }
.fp-panel.active { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }

.fp-img-wrap {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.fp-img-wrap::after {
  content: "MP MAVIS \2022 MP MAVIS \2022 MP MAVIS";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: 0.2em;
  color: rgba(30, 58, 95, 0.12);
  transform: rotate(-24deg);
  pointer-events: none;
  white-space: nowrap;
}
.fp-note { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

.fp-detail h3 { font-size: 26px; margin-bottom: 16px; }
.fp-specs { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.fp-specs td {
  padding: 11px 4px;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.fp-specs td:first-child { color: var(--muted); }
.fp-specs td:last-child { font-weight: 700; color: var(--navy); text-align: right; }

.fp-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.fp-form h4 { font-size: 15px; color: var(--navy); margin-bottom: 12px; }
.fp-form .row { display: flex; gap: 10px; }
.fp-form .row .field { flex: 1; }

/* ---------- Gallery ---------- */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gal-item {
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  border: 0;
  padding: 0;
  background: none;
}
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gal-item:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10, 20, 34, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 46px; height: 46px;
  font-size: 21px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.28); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Location ---------- */
.location { background: #fff; }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

.prox-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; }
.prox-cat h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 18px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.prox-cat h3 svg { width: 17px; height: 17px; fill: var(--gold); }
.prox-cat ul { list-style: none; }
.prox-cat li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 4.5px 0;
  border-bottom: 1px dashed var(--line);
}
.prox-cat li b { color: var(--navy); font-weight: 600; white-space: nowrap; }

/* ---------- Builder ---------- */
.builder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.builder-copy p { color: var(--muted); margin-bottom: 14px; }
.builder-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bstat {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.bstat .num { font-family: var(--font-display); font-size: 34px; color: var(--gold); }
.bstat .lbl { font-size: 13px; color: var(--muted); }
.past-projects { margin-top: 18px; font-size: 13px; color: var(--muted); }
.past-projects b { color: var(--navy); }

/* ---------- Closing CTA ---------- */
.closing {
  background:
    linear-gradient(rgba(15, 33, 56, 0.93), rgba(15, 33, 56, 0.93)),
    url("../assets/about.jpg") center / cover;
  color: #fff;
}
.closing .section-title { color: #fff; }
.closing .section-sub { color: rgba(255, 255, 255, 0.8); }
.closing-form {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.closing-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.closing .rera-line {
  text-align: center;
  margin-top: 26px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.75); padding: 54px 0 0; font-size: 13.5px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo {
  background: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  display: inline-block;
  margin-bottom: 18px;
}
.footer-logo img { height: 40px; }
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer li { list-style: none; margin-bottom: 9px; }
.footer-disclaimer { padding: 22px 0; font-size: 11.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.5); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
}

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 950;
  display: none;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -6px 20px rgba(15, 33, 56, 0.18);
}
.mobile-bar a {
  padding: 15px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-bar svg { width: 17px; height: 17px; fill: currentColor; }
.mobile-bar .call { background: var(--navy); color: #fff; }
.mobile-bar .cb { background: var(--gold); color: #fff; }

/* ---------- Popup ---------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10, 20, 34, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.open { display: flex; }
.popup {
  background: #fff;
  border-radius: var(--radius);
  max-width: 430px;
  width: 100%;
  padding: 34px 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.3s ease;
}
@keyframes popIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.popup-close {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--cream);
  border: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 17px;
  cursor: pointer;
  color: var(--muted);
}
.popup h3 { font-size: 22px; margin-bottom: 6px; }
.popup p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Thank you / legal pages ---------- */
.page-simple { min-height: 60vh; padding-top: calc(var(--header-h) + 60px); }
.ty-card {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 48px 40px;
  text-align: center;
}
.ty-icon {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(30, 126, 78, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.ty-icon svg { width: 36px; height: 36px; fill: var(--success); }
.ty-card h1 { font-size: 32px; margin-bottom: 12px; }
.ty-card p { color: var(--muted); margin-bottom: 12px; }
.ty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb857; transform: translateY(-2px); }

.legal-body { max-width: 800px; margin: 0 auto; }
.legal-body h1 { font-size: 34px; margin-bottom: 20px; }
.legal-body h2 { font-size: 21px; margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.legal-body ul { padding-left: 22px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { margin: 0 auto; }
  .hero { min-height: 0; }
  .fp-panel.active { grid-template-columns: 1fr; }
  .builder-grid, .about-grid, .loc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 54px 0; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 24px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-phone .phone-num { display: none; }
  .header-cta { display: none; }
  .header-inner { gap: 14px; }
  .am-grid, .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .closing-form .grid2 { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 52px; }
  .cta-banner { justify-content: center; text-align: center; }
  .fp-form .row { flex-direction: column; gap: 0; }
}

@media (max-width: 480px) {
  .am-grid, .gal-grid { grid-template-columns: 1fr; }
  .builder-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-chips { gap: 8px; }
  .chip { font-size: 12.5px; padding: 8px 13px; }
  .form-card { padding: 24px 20px; }
}
