/* ==========================================================================
   Kovai Pavilion — Landing page
   Design values follow the wireframe in index.wireframe.html
   ========================================================================== */

:root {
  --cream: #F5F1EA;
  --sand: #EDE7DC;
  --sand-deep: #E7E0D3;
  --line: #E2DBCF;
  --line-strong: #D5CCBC;
  --ink: #18222D;
  --ink-2: #33404E;
  --muted: #4A5461;
  --muted-2: #5B6470;
  --on-dark-muted: #B8C0CA;
  --bronze: #8C5A2B;
  --bronze-dark: #6E4520;
  --bronze-soft: #F1E7DB;
  --gold: #D4AE83;
  --green: #1B6B45;
  --white: #FFFFFF;

  --font-heading: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --radius: 0;
  --radius-lg: 0;
  --header-h: 77px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze); }
a:hover { color: var(--bronze-dark); }
h1, h2, h3, p { margin: 0; }
input, select, button { font: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
section[id] { scroll-margin-top: var(--header-h); }
main { overflow-x: clip; } /* keeps slide-in animations from causing sideways scroll */

.wrap { max-width: var(--wrap); margin: 0 auto; }
.section { padding: 104px 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--bronze);
}
.eyebrow--gold { color: var(--gold); }
.h2 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.02em;
}
.lead { font-size: 16px; line-height: 1.7; color: var(--muted); }
.note { font-size: 13px; color: var(--muted-2); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head--split {
  max-width: none; flex-direction: row; flex-wrap: wrap;
  gap: 24px 64px; align-items: flex-end; justify-content: space-between;
}
.section-head--split > div { display: flex; flex-direction: column; gap: 14px; max-width: 600px; }
.section-head--split > p { max-width: 460px; }
.section-head--split > .developer__intro { max-width: 500px; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; font-weight: 600; }
.btn--md { min-height: 48px; padding: 0 22px; font-weight: 600; }
.btn--bronze { background: var(--bronze); color: var(--white); }
.btn--bronze:hover { background: var(--bronze-dark); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; font-weight: 600; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--whatsapp { border-color: var(--green); color: var(--green); background: transparent; }
.btn--whatsapp:hover { background: var(--green); color: var(--white); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: var(--white); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 241, 234, 0.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { height: 52px; width: auto; }
.brand__divider { width: 1px; height: 32px; background: var(--line-strong); }
.brand__name { font-family: var(--font-heading); font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }
.nav {
  display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--bronze); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  border-radius: 0; background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
}
@media (max-width: 480px) {
  .brand img { height: 42px; }
  .brand__name { font-size: 18px; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 24px 88px; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -0.03em;
}
.hero__intro { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 560px; }
.hero__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.hero__price strong { font-family: var(--font-heading); font-size: 40px; font-weight: 800; }
.hero__price span { font-size: 16px; color: var(--muted); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 14px; font-weight: 600; background: var(--white);
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 8px; }
.hero__media {
  flex: 1 1 460px; position: relative; min-height: 560px;
  border-radius: 0; overflow: hidden; background: var(--sand-deep);
}
.hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero__offer {
  position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 320px;
  background: rgba(24, 34, 45, 0.92); color: var(--cream);
  border-radius: 0; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px;
}
.hero__offer b { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.hero__offer span { font-family: var(--font-heading); font-weight: 600; font-size: 20px; line-height: 1.25; }
.img-caption {
  position: absolute; top: 14px; right: 14px; font-size: 11px; color: var(--ink);
  background: rgba(255,255,255,0.8); padding: 3px 8px; border-radius: 999px;
}
@media (max-width: 600px) {
  .hero { padding: 40px 16px 64px; }
  .hero__grid { gap: 36px; }
  .hero__copy, .hero__media { flex-basis: 100%; }
  .hero__media { min-height: 440px; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Snapshot ---------- */
.snapshot { background: var(--ink); color: var(--cream); padding: 96px 24px; }
.snapshot .wrap { display: flex; flex-direction: column; gap: 48px; }
.snapshot-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--ink-2); border: 1px solid var(--ink-2); border-radius: 0; overflow: hidden;
}
.snapshot-grid > div { background: var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.snapshot-grid dt { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }
.snapshot-grid dd { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: 24px; }
.snapshot-grid dd.small { font-size: 22px; word-break: break-word; }
.snapshot .note { color: var(--on-dark-muted); }
@media (max-width: 900px) { .snapshot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .snapshot { padding: 72px 16px; }
  .snapshot-grid { grid-template-columns: 1fr; }
  .snapshot-grid dd.small { font-size: 18px; }
}

/* ---------- Why ---------- */
.why .wrap { display: flex; flex-direction: column; gap: 52px; }
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.reason { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 2px solid var(--ink); }
.reason__num { font-family: var(--font-heading); font-weight: 300; font-size: 44px; color: var(--bronze); line-height: 1; }
.reason h3 { font-family: var(--font-heading); font-weight: 600; font-size: 26px; }
.reason p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.pitch {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
  background: var(--ink); color: var(--cream); border-radius: 0; overflow: hidden;
}
.pitch__media { position: relative; min-height: 320px; }
.pitch__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pitch__copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.pitch__copy h3 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.pitch__copy p { color: var(--on-dark-muted); font-size: 16px; line-height: 1.7; }
@media (max-width: 860px) {
  .pitch { grid-template-columns: 1fr; }
  .pitch__media { min-height: 240px; }
  .pitch__copy { padding: 32px 24px; }
}

/* ---------- Location ---------- */
.location { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.location__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.location__intro { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.location__intro h3 { margin-top: 8px; font-size: 18px; font-weight: 700; }
.map-card {
  display: block; border-radius: 0; overflow: hidden;
  border: 1px solid var(--line); background: var(--sand);
}
.map-card img { width: 100%; height: auto; }
.location__table { flex: 1 1 520px; display: flex; flex-direction: column; }
.landmarks { width: 100%; border-collapse: collapse; }
.landmarks th {
  padding: 0 0 14px; border-bottom: 2px solid var(--ink); text-align: left;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.landmarks th:last-child, .landmarks td:last-child { text-align: right; }
.landmarks td { padding: 18px 0; border-bottom: 1px solid var(--line); }
.landmarks td:first-child { font-size: 17px; font-weight: 600; padding-right: 16px; }
.landmarks td:last-child { font-size: 16px; color: var(--bronze); font-weight: 600; }
.location__table .note { margin-top: 16px; }
@media (max-width: 600px) {
  .landmarks td:first-child { font-size: 15px; }
  .landmarks td:last-child { font-size: 14px; }
}

/* ---------- Floor plans ---------- */
.plans .wrap { display: flex; flex-direction: column; gap: 44px; }
.plans__layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.plan-tabs { display: flex; flex-direction: column; gap: 10px; }
.plan-tab {
  text-align: left; width: 100%; padding: 18px 20px; border-radius: 0;
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  display: flex; flex-direction: column; gap: 4px; color: var(--ink); transition: border-color .2s, background .2s;
}
.plan-tab:hover { border-color: var(--bronze); }
.plan-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.plan-tab__title { font-weight: 700; font-size: 16px; }
.plan-tab__meta { font-size: 14px; color: var(--muted); }
.plan-tab[aria-selected="true"] .plan-tab__meta { color: var(--on-dark-muted); }
.plan-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 0;
  overflow: hidden; display: grid; grid-template-columns: 1fr 280px;
}
.plan-panel[hidden] { display: none; }
.plan-panel__img {
  background: #EEF0F2; display: flex; align-items: center; justify-content: center;
  padding: 24px; min-height: 420px; cursor: zoom-in; border: 0;
}
.plan-panel__img img { max-height: 520px; width: auto; object-fit: contain; }
.plan-panel__info { padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; border-left: 1px solid var(--line); }
.plan-panel__info h3 { font-family: var(--font-heading); font-weight: 600; font-size: 28px; }
.plan-specs { margin: 0; display: flex; flex-direction: column; }
.plan-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.plan-specs dt { font-size: 14px; color: var(--muted); }
.plan-specs dd { margin: 0; font-weight: 700; text-align: right; }
.plans__typical {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center;
  background: var(--sand); border-radius: 0; padding: 40px;
}
.plans__typical h3 { font-family: var(--font-heading); font-weight: 600; font-size: 28px; margin-bottom: 12px; }
.plans__typical button { border: 0; padding: 16px; background: var(--white); border-radius: 0; overflow: hidden; cursor: zoom-in; }
.plans__typical button img { width: 100%; max-height: 460px; object-fit: contain; }
@media (max-width: 1000px) {
  .plans__layout { grid-template-columns: 1fr; }
  .plan-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .plan-tab { min-width: 210px; scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .plan-panel { grid-template-columns: 1fr; }
  .plan-panel__info { border-left: 0; border-top: 1px solid var(--line); padding: 24px; }
  .plan-panel__img { min-height: 0; padding: 16px; }
  .plan-panel__img img { max-height: 420px; }
  .plans__typical { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .plans__typical button img { max-height: none; }
}

/* ---------- Features ---------- */
.features .wrap { display: flex; flex-direction: column; gap: 52px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: 0;
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.feature__icon {
  width: 52px; height: 52px; border-radius: 0; background: var(--bronze-soft);
  display: flex; align-items: center; justify-content: center;
}
.feature h3 { font-size: 20px; font-weight: 700; }
.feature p { font-size: 15px; line-height: 1.65; color: var(--muted); }
@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } .feature { padding: 26px; } }

/* ---------- Gallery ---------- */
.gallery { padding: 0 24px 104px; }
.gallery .wrap { display: flex; flex-direction: column; gap: 28px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid button {
  position: relative; border: 0; padding: 0; border-radius: 0; overflow: hidden;
  aspect-ratio: 4 / 5; cursor: zoom-in; background: var(--sand-deep);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid button:hover img { transform: scale(1.03); }
.gallery-grid figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(24,34,45,0.85); color: var(--cream); font-size: 13px; font-weight: 600;
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .gallery-grid figure { scroll-snap-align: start; }
}
.gallery-grid figure { margin: 0; }

/* ---------- Developer ---------- */
.developer { background: var(--sand); }
.developer .wrap { display: flex; flex-direction: column; gap: 56px; }
.developer__intro { max-width: 500px; display: flex; flex-direction: column; gap: 10px; }
.developer__intro strong { font-size: 18px; }
.partners { display: flex; flex-direction: column; gap: 24px; }
.partners > h3 { font-family: var(--font-heading); font-weight: 600; font-size: 28px; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.partner { background: var(--white); border-radius: 0; overflow: hidden; display: flex; flex-direction: column; }
.partner__photo {
  aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(160deg, #D9D0C1, #C9BEAB);
  display: flex; align-items: center; justify-content: center;
}
.partner__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s ease; }
.partner:hover .partner__photo img { transform: scale(1.04); }
.partner__initials { font-family: var(--font-heading); font-weight: 300; font-size: 72px; color: var(--white); opacity: .9; letter-spacing: 0.04em; }
.partner__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 8px; }
.partner__name { font-family: var(--font-heading); font-size: 24px; font-weight: 700; }
.partner__role { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bronze); }

/* Partners with a profile: clickable photo + link */
button.partner__photo { position: relative; width: 100%; border: 0; padding: 0; font: inherit; cursor: pointer; }
.partner__hint {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgba(24, 34, 45, 0.85));
  color: var(--white); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  text-align: left; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.partner__photo:hover .partner__hint, .partner__photo:focus-visible .partner__hint { opacity: 1; transform: none; }
@media (hover: none) { .partner__hint { opacity: 1; transform: none; } }
.partner__link {
  align-self: flex-start; margin-top: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; text-decoration-thickness: 2px;
}
.partner__link:hover { color: var(--bronze); text-decoration-color: var(--bronze); }

/* Profile popup */
.profile-modal {
  width: min(1040px, 94vw); max-height: 90vh; padding: 0; border: 0; overflow: hidden;
  background: var(--cream); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}
.profile-modal[open] { display: flex; animation: profile-in .35s cubic-bezier(.2, .7, .2, 1); }
.profile-modal::backdrop { background: rgba(10, 15, 20, 0.7); }
@keyframes profile-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.profile-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 999px;
  border: 0; background: var(--white); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.4);
}
.profile-modal__close:hover { background: var(--ink); color: var(--white); }
.profile-modal__content { overflow-y: auto; width: 100%; max-height: 90vh; overscroll-behavior: contain; }
.profile { display: grid; grid-template-columns: 320px 1fr; min-height: 100%; }
.profile__side { background: var(--ink); color: var(--cream); padding: 32px 28px; display: flex; flex-direction: column; gap: 8px; }
.profile__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 14px; }
.profile__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.profile__name { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 28px; line-height: 1.15; }
.profile__org { color: var(--on-dark-muted); font-size: 15px; }
.profile__email { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--gold); font-weight: 700; font-size: 15px; text-decoration: none; word-break: break-all; }
.profile__email:hover { color: var(--white); }
.profile__contacts { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.profile__contacts .profile__email { margin-top: 0; }
.profile__side-heading {
  margin: 22px 0 6px; padding-top: 16px; border-top: 1px solid var(--ink-2);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}
.profile__side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; }
.profile__side-list span { color: var(--on-dark-muted); }
.profile__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.profile__chips li {
  padding: 7px 14px; border: 1px solid var(--line-strong); background: var(--white); border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.3;
}
.profile__stats { margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ink-2); border: 1px solid var(--ink-2); }
.profile__stats div { background: var(--ink); padding: 12px; display: flex; flex-direction: column-reverse; gap: 2px; }
.profile__stats dd { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 26px; line-height: 1; }
.profile__stats dt { font-size: 12px; color: var(--on-dark-muted); line-height: 1.35; }
.profile__main { padding: 40px 44px 44px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.profile__summary { font-size: 18px; color: var(--ink); line-height: 1.65; }
.profile__heading {
  margin: 32px 0 14px; padding-top: 18px; border-top: 1px solid var(--line-strong);
  font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--ink);
}
.profile__edu strong { color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line-strong); }
.timeline > li { position: relative; padding: 0 0 26px 24px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 999px;
  background: var(--cream); border: 2px solid var(--bronze);
}
.timeline > li:first-child::before { background: var(--bronze); }
.timeline__when { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bronze); }
.timeline__what { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--ink); margin: 2px 0 6px; }
.timeline p { margin: 0; }
.timeline ul { margin: 0; padding-left: 18px; }
.timeline ul li { margin-bottom: 6px; }
.timeline ul li::marker { color: var(--bronze); }
.timeline strong { color: var(--ink); }
@media (max-width: 820px) {
  .profile-modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
  .profile-modal__content { max-height: 100dvh; }
  .profile { grid-template-columns: 1fr; }
  .profile__side { padding: 24px 20px; }
  .profile__photo { max-width: 220px; }
  .profile__main { padding: 28px 20px 36px; }
  .profile__summary { font-size: 17px; }
}
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border: 1px solid var(--line);
}
.stat {
  padding: 36px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat__icon {
  width: 52px; height: 52px; background: var(--bronze-soft); margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center;
}
.stat__title {
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15; letter-spacing: -0.01em; color: var(--ink);
}
.stat__title [data-count] { font: inherit; color: inherit; }
.stat__text { font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 28px 24px; }
  .stat:first-child { border-top: 0; }
}

/* ---------- Visit / lead form ---------- */
.visit__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.visit__copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.visit__copy > p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.contact-card {
  margin-top: 12px; padding: 24px; border: 1px solid var(--line); border-radius: 0;
  background: var(--white); display: flex; flex-direction: column; gap: 14px;
}
.contact-card__title { font-weight: 700; font-size: 16px; }
.contact-card__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.phone-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.phone-list a { color: var(--ink); font-weight: 700; text-decoration: none; }
.phone-list a:hover { color: var(--bronze); }
.address { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--muted-2); border-top: 1px solid var(--line); padding-top: 14px; }
.offer-banner {
  display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 0;
  background: var(--bronze-soft); border: 1px solid #E4D2BC; font-weight: 700; font-size: 15px;
}

.form-card {
  flex: 1 1 520px; background: var(--white); border: 1px solid var(--line);
  border-radius: 0; padding: 40px; box-shadow: 0 20px 50px -30px rgba(24, 34, 45, 0.35);
}
.lead-form { display: flex; flex-direction: column; gap: 20px; }
.lead-form h3, .form-success h3 { font-family: var(--font-heading); font-weight: 600; font-size: 30px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select {
  min-height: 52px; padding: 0 16px; border: 1px solid #CFC6B6; border-radius: 0;
  font-size: 16px; background: #FBFAF7; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus { outline: 2px solid var(--bronze); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: #9A2E16; }
.field__error { margin: 0; font-size: 13px; font-weight: 700; color: #9A2E16; }
.phone-field { display: flex; align-items: stretch; }
.phone-field__prefix {
  display: flex; align-items: center; padding: 0 14px; font-size: 16px; font-weight: 700; color: var(--ink);
  background: var(--sand); border: 1px solid #CFC6B6; border-right: 0;
}
.phone-field input { flex: 1; min-width: 0; letter-spacing: 0.04em; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form { position: relative; }
.lead-form button[type="submit"][disabled] { opacity: .7; cursor: progress; }
.form-error { padding: 12px 16px; border-radius: 0; background: #FBEAE5; color: #9A2E16; font-size: 14px; font-weight: 600; }
.lead-form button[type="submit"] { min-height: 56px; font-size: 17px; }
.form-legal { font-size: 12px; color: var(--muted-2); }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.form-success__icon {
  width: 56px; height: 56px; border-radius: 999px; background: #E4F0E8;
  display: flex; align-items: center; justify-content: center;
}
.form-success p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.form-success .form-success__redirect { font-size: 14px; padding: 12px 16px; background: var(--cream); border: 1px solid var(--line); }
.form-success__redirect a { margin-left: 6px; font-weight: 700; }

/* ==========================================================================
   Thank-you page (thank-you.html)
   ========================================================================== */
.ty-hero { background: var(--ink); color: var(--cream); padding: 80px 24px 72px; text-align: center; }
.ty-hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 760px; }
.ty-check {
  width: 84px; height: 84px; border-radius: 999px; background: var(--green); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 10px rgba(27, 107, 69, 0.25);
}
.js .ty-check { animation: ty-pop .6s cubic-bezier(.2, .9, .3, 1.4) both; }
.js .ty-check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: ty-draw .5s ease .45s forwards; }
@keyframes ty-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ty-draw { to { stroke-dashoffset: 0; } }
.ty-hero h1 { margin: 6px 0 0; font-family: var(--font-heading); font-weight: 700; font-size: clamp(34px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.02em; }
.ty-hero__lead { font-size: 18px; line-height: 1.65; color: var(--on-dark-muted); }
.ty-hero__lead strong { color: var(--white); }
.ty-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; background: var(--ink-2); border: 1px solid var(--ink-2); margin-top: 8px; }
.ty-summary div { background: var(--ink); padding: 14px 22px; display: flex; flex-direction: column; gap: 4px; min-width: 180px; }
.ty-summary dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.ty-summary dd { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 18px; }
.ty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.ty-actions .btn--whatsapp { color: #7FD6A8; border-color: #7FD6A8; }
.ty-actions .btn--whatsapp:hover { background: #7FD6A8; color: var(--ink); }
.ty-actions .btn--outline { color: var(--cream); border-color: var(--cream); }
.ty-actions .btn--outline:hover { background: var(--cream); color: var(--ink); }

.ty-steps { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border: 1px solid var(--line); counter-reset: step; }
.ty-step { padding: 36px 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.ty-step:first-child { border-left: 0; }
.ty-step__num { font-family: var(--font-heading); font-weight: 300; font-size: 44px; line-height: 1; color: var(--bronze); }
.ty-step h3 { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 22px; }
.ty-step p { font-size: 15px; line-height: 1.65; color: var(--muted); }

.ty-visit { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); background: var(--white); }
.ty-visit__copy { padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.ty-visit__copy h2 { margin: 0; }
.ty-visit__copy address { font-style: normal; font-size: 16px; line-height: 1.7; color: var(--muted); }
.ty-visit__map { display: block; overflow: hidden; border-left: 1px solid var(--line); }
.ty-visit__map img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ty-visit__map:hover img { transform: scale(1.03); }
@media (max-width: 860px) {
  .ty-steps, .ty-visit { grid-template-columns: 1fr; }
  .ty-step { border-left: 0; border-top: 1px solid var(--line); padding: 28px 24px; }
  .ty-step:first-child { border-top: 0; }
  .ty-visit__map { border-left: 0; border-top: 1px solid var(--line); }
  .ty-visit__copy { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .ty-hero { padding: 56px 16px 52px; }
  .ty-actions { width: 100%; }
  .ty-actions .btn { width: 100%; }
  .ty-summary { flex-direction: column; width: 100%; }
  .ty-summary div { min-width: 0; }
}
@media (max-width: 600px) {
  .section { padding: 72px 16px; }
  .form-card { padding: 26px 20px; }
  .visit__grid { gap: 40px; }
  .visit__copy, .form-card { flex-basis: 100%; }
}

/* ---------- CTA strip ---------- */
.cta { padding: 0 24px 96px; }
.cta__box {
  position: relative; overflow: hidden; background: var(--ink); color: var(--cream);
  border-radius: 0; padding: 64px 56px;
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
.cta__box::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/dusk-road.jpg") right 40% / cover no-repeat; opacity: .35;
}
.cta__box::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 35%, rgba(24,34,45,0.4) 100%);
}
.cta__box > * { position: relative; z-index: 1; }
.cta__copy { display: flex; flex-direction: column; gap: 14px; flex: 1 1 520px; }
.cta__copy h2 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; }
.cta__copy .gold { font-size: 16px; color: var(--gold); font-weight: 600; }
.cta__copy .muted { font-size: 15px; color: var(--on-dark-muted); }
.cta .btn { min-height: 56px; padding: 0 34px; font-size: 17px; }
@media (max-width: 600px) {
  .cta { padding: 0 16px 72px; }
  .cta__box { padding: 40px 24px; }
  .cta__copy { flex-basis: 100%; }
  .cta .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 24px 56px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 40px; align-items: start; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { height: 56px; width: auto; }
.footer__brand .kp { height: 72px; border-radius: 0; }
.footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.footer__col h4 { margin: 0 0 4px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.footer__col a { color: var(--muted); text-decoration: none; }
.footer__col a:hover { color: var(--bronze); }
.footer__rera { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--muted-2); text-align: center; }
.footer__rera img { width: 92px; height: auto; border: 1px solid var(--line); border-radius: 0; background: var(--white); padding: 4px; }
.footer__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); line-height: 1.6; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .site-footer { padding: 40px 16px 112px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__rera { align-items: flex-start; text-align: left; }
}

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid;
    grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(245, 241, 234, 0.97); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgba(24,34,45,.4);
  }
  .mobile-bar .btn { min-height: 46px; padding: 0 10px; font-size: 14px; gap: 6px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh;
}
.lightbox::backdrop { background: rgba(10, 15, 20, 0.86); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; border-radius: 0; background: var(--white); }
.lightbox__close {
  position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 999px;
  border: 0; background: var(--cream); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer;
}
.lightbox__caption { color: var(--cream); text-align: center; margin-top: 10px; font-size: 14px; }
.lightbox__nav {
  position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 999px;
  border: 0; background: rgba(245, 241, 234, 0.92); color: var(--ink); font-size: 34px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; padding-bottom: 4px;
}
.lightbox__nav:hover { background: var(--white); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* ==========================================================================
   Interactive elements
   ========================================================================== */

/* ---------- Scroll progress + header state ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--bronze); transform-origin: 0 50%; transform: scaleX(0); }
.site-header { transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(24, 34, 45, 0.45); }
.nav a.is-active:not(.btn) { color: var(--bronze); }

/* ---------- Text link ---------- */
.text-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: underline;
  text-decoration-color: var(--line-strong); text-underline-offset: 5px; text-decoration-thickness: 2px;
}
.text-link:hover { color: var(--bronze); text-decoration-color: var(--bronze); }

/* ---------- Hero entrance (on load) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes wipe-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { scale: 1.18; } to { scale: 1; } }
.js .hero__copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero__copy > :nth-child(1) { animation-delay: .05s; }
.js .hero__copy > :nth-child(2) { animation-delay: .15s; }
.js .hero__copy > :nth-child(3) { animation-delay: .28s; }
.js .hero__copy > :nth-child(4) { animation-delay: .38s; }
.js .hero__copy > :nth-child(5) { animation-delay: .46s; }
.js .hero__copy > :nth-child(6) { animation-delay: .54s; }
.js .hero__copy > :nth-child(7) { animation-delay: .62s; }
.js .hero__media { animation: wipe-down 1.3s cubic-bezier(.7, 0, .2, 1) .1s both; }
.js .hero__media > img { animation: settle 1.8s cubic-bezier(.2, .7, .2, 1) .1s both; }
.js .hero__offer { animation: rise .8s cubic-bezier(.2, .7, .2, 1) 1.1s both; }

/* ---------- Parallax ---------- */
.hero__media > img, .pitch__media img { transform: translate3d(0, var(--py, 0px), 0) scale(1.1); will-change: transform; }
.cta__box::before { transform: translate3d(0, var(--py, 0px), 0) scale(1.2); }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1), clip-path 1.2s cubic-bezier(.7, 0, .2, 1);
}
.js .reveal[data-reveal="up"] { transform: translateY(40px); }
.js .reveal[data-reveal="left"] { transform: translateX(-56px); }
.js .reveal[data-reveal="right"] { transform: translateX(56px); }
.js .reveal[data-reveal="zoom"] { transform: scale(.94); }
/* Wipe clips the image inside, not the observed box: a fully clipped box never
   registers as "on screen" with IntersectionObserver, so it would stay hidden. */
.js .reveal[data-reveal="wipe"] { opacity: 1; }
.js .reveal[data-reveal="wipe"] img { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1), transform .6s; }
.js .reveal[data-reveal="wipe"].is-visible img { clip-path: inset(0 0 0 0); }
.js .reveal[data-reveal="words"] { opacity: 1; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Headings slide up word by word */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.word > span { display: inline-block; transform: translateY(110%); transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 55ms); }
.reveal.is-visible .word > span { transform: none; }

/* ---------- Hover lifts ---------- */
.feature, .partner, .plan-tab { transition: transform .25s, box-shadow .25s, border-color .2s, background .2s; }
.feature:hover, .partner:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(24, 34, 45, 0.45); }
.feature:hover .feature__icon { background: var(--bronze); }
.feature:hover .feature__icon svg { stroke: var(--white); }
.feature__icon { transition: background .25s; }
.feature__icon svg { transition: stroke .25s; }
.landmarks tbody tr { transition: background .2s; }
.landmarks tbody tr:hover { background: var(--cream); }
.landmarks tbody tr:hover td:first-child { color: var(--bronze); }
.map-card img { transition: transform .6s; }
.map-card:hover img { transform: scale(1.03); }
.pitch__media { overflow: hidden; }

/* ---------- EMI calculator ---------- */
.emi { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.emi .wrap { display: flex; flex-direction: column; gap: 44px; }
.emi__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line); }
.emi__controls { padding: 40px; display: flex; flex-direction: column; gap: 30px; background: var(--cream); }
.range-field { display: flex; flex-direction: column; gap: 10px; }
.range-field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range-field label { font-weight: 700; font-size: 15px; }
.range-field output { font-family: var(--font-heading); font-weight: 700; font-size: 22px; color: var(--ink); }
.range-field__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-2); }
.range-field input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer;
  --fill: 0%;
}
.range-field input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; background: linear-gradient(90deg, var(--bronze) var(--fill), var(--line-strong) var(--fill));
}
.range-field input[type="range"]::-moz-range-track { height: 6px; background: var(--line-strong); }
.range-field input[type="range"]::-moz-range-progress { height: 6px; background: var(--bronze); }
.range-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 999px;
  background: var(--white); border: 3px solid var(--bronze); box-shadow: 0 2px 6px rgba(24, 34, 45, 0.25);
}
.range-field input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 999px; background: var(--white); border: 3px solid var(--bronze);
}
.range-field input[type="range"]:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }

.emi__result {
  padding: 40px; background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; gap: 20px;
}
.emi__label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.emi__value { font-family: var(--font-heading); font-weight: 800; font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -0.02em; }
.emi__value small { font-size: 18px; font-weight: 600; color: var(--on-dark-muted); letter-spacing: 0; }
.emi__breakdown { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ink-2); border: 1px solid var(--ink-2); }
.emi__breakdown div { background: var(--ink); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.emi__breakdown dt { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); }
.emi__breakdown dd { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 20px; }
.emi__result .btn { align-self: flex-start; }
.emi__note { font-size: 12px; color: var(--on-dark-muted); line-height: 1.6; }

.split { display: flex; flex-direction: column; gap: 10px; }
.split__bar { position: relative; display: flex; gap: 2px; height: 14px; background: var(--ink); }
.split__seg { height: 100%; transition: width .35s ease; cursor: default; outline: none; }
.split__seg:focus-visible { box-shadow: 0 0 0 2px var(--cream); }
.split__seg--principal { background: #3566A0; }
.split__seg--interest { background: #B8742A; }
.split__tip {
  position: absolute; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap;
  background: var(--cream); color: var(--ink); font-size: 13px; font-weight: 700; padding: 6px 10px;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); pointer-events: none;
}
.split__legend { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--on-dark-muted); }
.split__legend li { display: flex; align-items: center; gap: 8px; }
.split__legend b { color: var(--cream); }
.swatch { width: 12px; height: 12px; display: inline-block; }
.swatch--principal { background: #3566A0; }
.swatch--interest { background: #B8742A; }
@media (max-width: 900px) { .emi__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .emi__controls, .emi__result { padding: 26px 20px; }
  .emi__breakdown dd { font-size: 17px; }
  .emi__result .btn { width: 100%; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-heading); font-weight: 700; font-size: 19px; line-height: 1.35;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--bronze); }
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze);
  transform: rotate(45deg); transition: transform .25s, margin-top .25s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-item p { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.js .faq-item[open] p { animation: faq-in .3s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; gap: 28px; }
  .faq .section-head { position: static; }
  .faq-item summary { font-size: 17px; }
}

/* ---------- Quick date picks ---------- */
.quick-dates { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: -6px; font-size: 13px; color: var(--muted-2); }
.quick-date {
  border: 1px solid var(--line-strong); background: var(--white); color: var(--ink);
  font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.quick-date:hover { border-color: var(--bronze); color: var(--bronze); }
.quick-date[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 48px; height: 48px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(24, 34, 45, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top:hover { background: var(--bronze); color: var(--white); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 760px) { .to-top { bottom: 86px; right: 14px; width: 44px; height: 44px; } }

/* ==========================================================================
   Legal pages (privacy-policy.html)
   ========================================================================== */
.legal-hero { background: var(--ink); color: var(--cream); padding: 64px 24px 56px; }
.legal-hero .wrap { display: flex; flex-direction: column; gap: 14px; }
.breadcrumb { display: flex; gap: 10px; font-size: 14px; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.legal-hero__title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.1; letter-spacing: -0.02em; }
.legal-hero__meta { font-size: 15px; color: var(--on-dark-muted); }

.legal { padding: 72px 24px 104px; }
.legal__grid { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); border-top: 2px solid var(--ink); padding-top: 16px; }
.legal__toc-title { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.legal__toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.legal__toc a { color: var(--ink); text-decoration: none; }
.legal__toc a:hover { color: var(--bronze); }
.legal__body { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--muted); }
.legal__body p, .legal__body ul { margin: 0 0 16px; }
.legal__body ul { padding-left: 22px; }
.legal__body li { margin-bottom: 8px; }
.legal__body li::marker { color: var(--bronze); }
.legal__body strong { color: var(--ink); }
.legal__intro { font-size: 19px; color: var(--ink); padding-bottom: 8px; }
.legal__body h2 {
  margin: 44px 0 14px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--font-heading); font-weight: 700; font-size: 26px; line-height: 1.25; color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal__body h2 span { color: var(--bronze); margin-right: 6px; }
.placeholder { background: #FFF1C2; color: #7A4B00; padding: 0 4px; font-weight: 700; }
.grievance-card { background: var(--white); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.grievance-card__name { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--ink); }
.grievance-card address { font-style: normal; }
.grievance-card__links { list-style: none; padding: 0 !important; margin: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.grievance-card__links li { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink); font-weight: 600; }
.grievance-card__links svg { color: var(--bronze); flex: none; }
.legal__back { margin-top: 40px !important; }
.footer__legal a { color: var(--ink); font-weight: 700; margin-left: 6px; }
.footer__legal a:hover { color: var(--bronze); }
@media (max-width: 900px) {
  .legal__grid { grid-template-columns: 1fr; gap: 32px; }
  .legal__toc { position: static; }
}
@media (max-width: 600px) {
  .legal-hero { padding: 44px 16px 40px; }
  .legal { padding: 48px 16px 72px; }
  .legal__body { font-size: 16px; }
  .legal__body h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .js .reveal, .js .reveal img { opacity: 1; transform: none; clip-path: none; }
  .word > span { transform: none; }
}
