/* =========================================================
   AIM Group Meghwadi: site 3 stylesheet (midnight navy + champagne gold)
   Critical header / hero styles are inlined in index.html
   ========================================================= */

/* =========================================================
   1. SHARED
   ========================================================= */
.section { position: relative; padding: 88px 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head--left { text-align: left; margin: 0 0 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--light .eyebrow { color: var(--gold-3); }
.eyebrow--dark { color: var(--navy-900) !important; }
.section-title {
  margin: 14px 0 0; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.05rem, 8vw, 3.5rem); line-height: 1.1; letter-spacing: -.01em; color: #fff; text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--gold); }
.section--light .section-title { color: var(--ink); }
.section--light .section-title em { color: var(--gold-3); }
.section-lead { margin: 16px auto 0; max-width: 620px; color: var(--muted); text-wrap: pretty; }
.section--light .section-lead { color: var(--ink-2); }
.section-lead a { color: var(--gold); text-underline-offset: 4px; }
.section-cta { display: flex; justify-content: center; margin-top: 44px; }
.btn--block { width: 100%; }
.btn--xl { min-height: 60px; font-size: 1.02rem; }
.btn--navy { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.btn--navy:hover { background: var(--navy-700); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa svg { width: 22px; height: 22px; }
.fine-print { margin: 24px auto 0; max-width: 640px; text-align: center; font-size: .8rem; color: var(--muted); }
.img-tag--in { top: 12px; right: auto; left: 12px; bottom: auto; }
.img-tag--xs { font-size: .56rem; padding: 3px 7px; letter-spacing: .02em; text-transform: none; white-space: nowrap; }
.img-tag--final { top: auto; right: auto; bottom: 16px; left: 16px; }

/* =========================================================
   2. HEADER MENU
   ========================================================= */
.menu-btn path { transition: transform .35s var(--ease); transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .menu-btn__top { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bottom { transform: translateY(-3px) rotate(-45deg); }
.site-menu {
  position: absolute; inset: 100% 0 auto 0; background: rgba(8, 18, 40, .98);
  border-top: 1px solid var(--line); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .7);
  max-height: calc(100svh - var(--header-h)); overflow-y: auto;
}
.site-menu__list { list-style: none; margin: 0; padding: 10px 0 26px; counter-reset: m; }
.site-menu__list a {
  display: flex; align-items: baseline; gap: 16px; min-height: 58px; padding: 14px 0;
  border-bottom: 1px solid rgba(212, 178, 106, .14);
  font-family: var(--serif); font-size: 1.55rem; color: #fff; text-decoration: none;
}
.site-menu__list a::before { counter-increment: m; content: "0" counter(m); font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.site-menu__list a:hover { color: var(--gold-2); }
body.menu-open .site-header { background: rgba(10, 22, 48, .98); }

/* =========================================================
   3. LOCATION STRIP
   ========================================================= */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy-850); }
.strip__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 22px; padding-bottom: 22px; text-align: center; }
.strip__address { display: inline-flex; align-items: flex-start; gap: 8px; margin: 0; font-weight: 600; color: #fff; }
.strip__address svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 2px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(212, 178, 106, .45); color: var(--gold-2); font-size: .84rem; font-weight: 600; text-decoration: none;
  transition: background-color .25s, color .25s;
}
.chips a:hover { background: rgba(212, 178, 106, .12); color: #fff; }
@media (min-width: 960px) { .strip__inner { flex-direction: row; justify-content: space-between; text-align: left; } }

/* =========================================================
   4. KEY FACTS
   ========================================================= */
.stats { padding: 64px 0; background: radial-gradient(80% 120% at 50% 0%, rgba(212, 178, 106, .08), transparent 60%); }
.stats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 8px; }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat__num {
  font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 14vw, 5rem); line-height: 1;
  background: linear-gradient(120deg, #F1DFAE, #D4B26A 55%, #B48E45); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { margin-top: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 960px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0 !important; border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}

/* =========================================================
   5. ABOUT (light)
   ========================================================= */
.about__grid { display: grid; gap: 48px; }
.about__visual { position: relative; padding: 0 0 56px; }
.about__photo { position: relative; margin: 0; width: 72%; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -36px rgba(13, 26, 54, .6); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__render {
  position: absolute; right: 0; bottom: 0; width: 46%; margin: 0; padding: 8px 8px 0;
  background: var(--navy-900); border-radius: 16px; border: 1px solid rgba(212, 178, 106, .55);
  box-shadow: 0 30px 60px -24px rgba(13, 26, 54, .7);
}
.about__render img { width: 100%; aspect-ratio: 360 / 520; object-fit: cover; border-radius: 10px; }
.about__render figcaption { padding: 8px 0 9px; text-align: center; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.about__copy .section-title { margin-bottom: 22px; }
.about__text p { margin: 0 0 1.05em; color: var(--ink-2); font-size: 1.02rem; }
.about__text strong { color: var(--ink); }
.read-more {
  display: none; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-3); text-underline-offset: 5px;
}
.about__links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 14px 0 0; }
.about__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration-color: var(--gold-3); text-underline-offset: 5px; }
@media (max-width: 959px) {
  .js .about__text { position: relative; max-height: 15em; overflow: hidden; transition: max-height .6s var(--ease); }
  .js .about__text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4.5em; background: linear-gradient(rgba(251, 248, 242, 0), var(--paper)); pointer-events: none; }
  .js .about__text.is-open { max-height: 80em; }
  .js .about__text.is-open::after { display: none; }
  .js .read-more { display: inline-flex; align-items: center; }
}
@media (min-width: 960px) {
  .about__grid { grid-template-columns: 1fr 1.1fr; gap: 88px; align-items: center; }
  .about__visual { padding-bottom: 72px; }
}

/* =========================================================
   6. RESIDENCES
   ========================================================= */
.residences { background: linear-gradient(180deg, var(--navy-900), var(--navy-850)); }
.res-grid { display: grid; gap: 22px; }
.res-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(212, 178, 106, .28);
}
.res-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.res-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.res-card:hover .res-card__media img { transform: scale(1.05); }
.res-card__chip {
  position: absolute; right: 14px; bottom: 14px; padding: 8px 16px; border-radius: 999px;
  background: rgba(5, 12, 30, .72); border: 1px solid rgba(212, 178, 106, .6);
  font-family: var(--serif); font-size: 1.25rem; color: var(--gold-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.res-card__body { padding: 24px 22px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.res-card__title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.9rem; color: #fff; line-height: 1.1; }
.res-card__rows { margin: 0; }
.res-card__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.res-card__rows div:last-child { border-bottom: 1px solid var(--line); }
.res-card__rows dt { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.res-card__rows dd { margin: 0; font-weight: 700; color: #fff; text-align: right; }
.res-card__price { font-family: var(--serif); font-size: 1.6rem; color: var(--gold) !important; }
.res-card__price small { font-family: var(--sans); font-size: .76rem; color: var(--muted); }
.res-card .btn { margin-top: auto; }
@media (min-width: 760px) { .res-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (min-width: 960px) { .res-card__body { padding: 30px 32px 32px; } }

/* =========================================================
   7. EOI (gold band)
   ========================================================= */
.eoi {
  position: relative; overflow: hidden; padding: 84px 0; color: var(--navy-950);
  background: linear-gradient(125deg, #F0DDA8 0%, #D9BA74 42%, #C29C52 100%);
}
.eoi::before {
  content: ""; position: absolute; inset: 0; opacity: .25; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 34px);
}
.eoi__grid { position: relative; display: grid; gap: 36px; }
.eoi__title { margin: 14px 0 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 7.4vw, 3rem); line-height: 1.12; color: var(--navy-950); text-wrap: balance; }
.eoi__amount { display: block; font-size: 1.6em; line-height: 1; letter-spacing: -.02em; }
.eoi__note { margin: 12px 0 24px; font-style: italic; color: #3D2F12; }
.eoi__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.eoi__list li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-top: 1px solid rgba(5, 12, 30, .2); font-size: 1.08rem; font-weight: 700; }
.eoi__list li:last-child { border-bottom: 1px solid rgba(5, 12, 30, .2); }
.eoi__n { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); color: var(--gold-2); font-family: var(--serif); font-size: 1rem; }
.eoi__offers { margin: 0; font-size: .88rem; color: #3D2F12; }
@media (min-width: 960px) {
  .eoi { padding: 112px 0; }
  .eoi__grid { grid-template-columns: 1fr 1fr; column-gap: 88px; align-items: center; }
  .eoi__offers { grid-column: 1 / -1; text-align: center; }
}

/* =========================================================
   8. AMENITIES (numbered rows on mobile, editorial grid on desktop)
   ========================================================= */
.amenities { background: var(--navy-900); }
.amen-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.amen {
  display: grid; grid-template-columns: 38% 1fr; align-items: center; gap: 16px; padding: 10px;
  border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(212, 178, 106, .2);
}
.amen__media { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 1; }
.amen__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.amen:hover .amen__media img { transform: scale(1.06); }
.amen__media .img-tag { top: 6px; left: 6px; }
.amen__n { display: block; font-family: var(--serif); font-size: .95rem; color: var(--gold); letter-spacing: .08em; }
.amen__text h3 { margin: 4px 0 0; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1.15; color: #fff; }
.amen__text p { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
@media (min-width: 960px) {
  .amen-list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .amen { display: block; padding: 12px 12px 22px; }
  .amen__media { aspect-ratio: 4 / 3.4; margin-bottom: 18px; }
  .amen__text { padding: 0 10px; }
  .amen__text h3 { font-size: 1.65rem; }
}

/* =========================================================
   9. LOCATION (light)
   ========================================================= */
.conn-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.conn { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 10; background: var(--navy-800); isolation: isolate; }
.conn picture, .conn img { width: 100%; height: 100%; }
.conn img { object-fit: cover; transition: transform 1.2s var(--ease); }
.conn:hover img { transform: scale(1.06); }
.conn::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5, 12, 30, 0) 35%, rgba(5, 12, 30, .85) 100%); }
.conn__text { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; color: #fff; }
.conn__text h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.15; }
.conn__text h3::before { content: ""; display: block; width: 26px; height: 2px; margin-bottom: 10px; background: var(--gold); }
.conn__text p { margin: 4px 0 0; font-size: .84rem; color: rgba(255, 255, 255, .85); }
.map { margin-top: 26px; border-radius: 18px; overflow: hidden; background: #E9E2D4; aspect-ratio: 4 / 3; border: 1px solid #E3D7C0; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 600px) { .conn-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .conn-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .conn { aspect-ratio: 3 / 4; }
  .map { aspect-ratio: 21 / 8; margin-top: 34px; }
}

/* =========================================================
   10. FAQ
   ========================================================= */
.faq { background: var(--navy-850); }
.faq__grid { display: grid; gap: 8px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative; min-height: 64px; padding: 20px 52px 20px 0;
  font-weight: 600; font-size: 1.04rem; line-height: 1.45; color: #fff;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  border: 1px solid rgba(212, 178, 106, .55);
  background:
    linear-gradient(var(--gold), var(--gold)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 12px no-repeat;
  transition: transform .35s var(--ease), background-color .35s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: rgba(212, 178, 106, .12); }
.faq__answer { padding: 0 40px 22px 0; color: var(--muted); }
.faq__answer p { margin: 0; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: .9fr 1.4fr; gap: 80px; align-items: start; }
  .faq .section-head--left { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* =========================================================
   11. FINAL CTA
   ========================================================= */
.final { position: relative; overflow: hidden; isolation: isolate; padding: 96px 0 104px; }
.final__bg { position: absolute; inset: 0; z-index: -1; }
.final__bg picture, .final__bg img { width: 100%; height: 100%; }
.final__bg img { object-fit: cover; object-position: 60% 50%; }
.final__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 48, .75) 0%, rgba(10, 22, 48, .82) 50%, rgba(10, 22, 48, .96) 100%); }
.final__grid { display: grid; gap: 40px; align-items: center; }
.final__lead { margin: 16px 0 0; color: var(--text); max-width: 460px; }
.agent { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.agent__mono { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--gold); background: var(--navy-800); font-family: var(--serif); font-size: 1.2rem; color: var(--gold-2); }
.agent__name { margin: 0; font-family: var(--serif); font-size: 1.35rem; color: #fff; }
.agent__phone { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; color: var(--gold-2); text-decoration: none; }
.agent__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.final__card {
  background: var(--paper); color: var(--ink); border-radius: 22px; padding: 30px 22px 26px;
  border: 1px solid rgba(212, 178, 106, .6); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.final__card-title { margin: 0 0 18px; font-family: var(--serif); font-weight: 600; font-size: 1.9rem; line-height: 1.1; color: var(--ink); }
@media (min-width: 960px) {
  .final { padding: 140px 0; }
  .final__grid { grid-template-columns: 1fr 450px; gap: 88px; }
  .final__card { padding: 38px 36px 32px; }
}

/* =========================================================
   12. FORMS (light cards: inline + modal)
   ========================================================= */
.lead-form { display: grid; gap: 15px; }
.field label, .choice legend { display: block; margin-bottom: 7px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field input[type="text"], .phone { width: 100%; min-height: 52px; border: 1px solid #CFC5B3; border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input[type="text"] { padding: 0 15px; font-size: 1rem; }
.phone { display: flex; overflow: hidden; }
.phone__prefix { display: grid; place-items: center; padding: 0 14px; background: #F1EBDF; border-right: 1px solid #E2D8C6; font-weight: 700; color: var(--ink-2); }
.phone input { flex: 1; min-width: 0; border: 0; padding: 0 14px; font-size: 1rem; background: transparent; color: var(--ink); }
.phone input:focus { outline: none; }
.field input[type="text"]:focus, .phone:focus-within { outline: none; border-color: var(--gold-3); box-shadow: 0 0 0 3px rgba(212, 178, 106, .3); }
.field.is-invalid input[type="text"], .field.is-invalid .phone { border-color: #A2322A; }
.field__hint { margin: 5px 0 0; font-size: .76rem; color: #5A6480; }
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice__opt { position: relative; }
.choice__opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice__opt span { display: grid; place-items: center; min-height: 48px; border-radius: 12px; border: 1px solid #CFC5B3; background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; transition: background-color .2s, color .2s, border-color .2s; }
.choice__opt input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-2); }
.choice__opt input:focus-visible + span { outline: 2px solid var(--gold-3); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy-900); cursor: pointer; }
.consent.is-invalid span { color: #A2322A; }
.form-error { margin: 0; font-size: .85rem; font-weight: 700; color: #A2322A; }
.form-error:empty { display: none; }
.lead-success { text-align: center; color: var(--ink); }
.lead-success:focus { outline: none; }
.lead-success__icon { width: 62px; height: 62px; margin: 4px auto 14px; display: grid; place-items: center; border-radius: 50%; background: rgba(37, 211, 102, .15); color: #138A43; }
.lead-success__icon svg { width: 30px; height: 30px; }
.lead-success__title { margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1.1; }
.lead-success p { margin: 0 0 20px; color: var(--ink-2); }
.lead-success .lead-success__alt { margin: 16px 0 0; font-size: .9rem; }
.lead-success__alt a { font-weight: 700; color: var(--ink); }

/* =========================================================
   13. MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 8, 20, .7); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: fadeIn .3s var(--ease); }
.modal__card {
  position: relative; width: 100%; max-width: 470px; max-height: calc(100svh - 20px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); color: var(--ink); border-radius: 24px 24px 0 0; border-top: 3px solid var(--gold);
  padding: 28px 22px calc(26px + env(safe-area-inset-bottom)); animation: sheetUp .45s var(--ease);
}
.modal__card:focus { outline: none; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #EFE8DA; color: var(--ink); cursor: pointer; }
.modal__close svg { width: 20px; height: 20px; }
.pill--sm { min-height: 32px; padding: 0 14px; font-size: .66rem; letter-spacing: .18em; background: var(--navy-900); color: var(--gold-2); border-color: var(--navy-900); }
.modal__title { margin: 14px 48px 6px 0; font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1.1; }
.modal__sub { margin: 0 0 18px; color: var(--ink-2); font-size: .94rem; }
@media (min-width: 600px) {
  .modal { align-items: center; padding: 24px; }
  .modal__card { border-radius: 24px; border-top-width: 3px; padding: 36px 34px 30px; animation-name: popIn; }
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
@keyframes popIn { from { transform: translateY(14px) scale(.98); opacity: 0; } }
body.modal-open { overflow: hidden; }

/* =========================================================
   14. MOBILE ACTION BAR + FLOATING WHATSAPP
   ========================================================= */
.action-bar {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 76px 92px 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 18, 40, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.action-bar__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px;
  border-radius: 14px; border: 1px solid transparent; text-decoration: none; cursor: pointer;
  font-size: .8rem; font-weight: 700; line-height: 1.1; text-align: center;
}
.action-bar__btn svg { width: 24px; height: 24px; }
.action-bar__btn--call { background: var(--navy-700); color: #fff; border-color: rgba(255, 255, 255, .08); }
.action-bar__btn--wa { background: #0F7A41; color: #fff; }
.action-bar__btn--main { background: transparent; color: #fff; border-color: rgba(212, 178, 106, .6); font-size: 1rem; }
.action-bar__btn--main:active { background: rgba(212, 178, 106, .12); }
body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }

.wa-float {
  position: fixed; z-index: 61; display: flex; align-items: center; gap: 10px;
  right: calc(14px + env(safe-area-inset-right)); bottom: calc(96px + env(safe-area-inset-bottom));
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.wa-float__btn {
  position: relative; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%;
  background: var(--wa); color: #fff; border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(10, 22, 48, .9), 0 16px 30px -10px rgba(0, 0, 0, .7);
}
.wa-float__btn svg { width: 30px; height: 30px; }
.wa-float__dot { position: absolute; right: 2px; bottom: 2px; width: 13px; height: 13px; border-radius: 50%; background: #7CFFB1; border: 2px solid var(--navy-900); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.wa-float__pill { display: none; padding: 10px 16px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .85rem; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .6); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.wa-float.is-compact .wa-float__pill { opacity: 0; transform: translateX(10px); pointer-events: none; }
body.modal-open .wa-float, body.menu-open .wa-float, body.is-typing .wa-float,
body.modal-open .action-bar, body.is-typing .action-bar { opacity: 0; pointer-events: none; transform: translateY(20px); }
@media (min-width: 960px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
  .wa-float { bottom: 24px; right: 24px; }
  .wa-float__pill { display: block; }
}

/* =========================================================
   15. FOOTER
   ========================================================= */
.site-footer { background: var(--navy-950); color: var(--muted); padding: 64px 0 34px; font-size: .9rem; border-top: 1px solid var(--line); }
.site-footer a { color: #fff; text-underline-offset: 3px; }
.footer__top { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer__top p { margin: 6px 0 0; }
.footer__rera { margin-top: 14px !important; color: var(--gold); font-weight: 700; }
.footer__label { margin: 0 0 8px !important; font-size: .7rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.footer__name { font-family: var(--serif); font-size: 1.3rem; color: #fff; }
.footer__top a:not(.wordmark) { display: inline-flex; align-items: center; min-height: 40px; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__disclaimer { margin: 26px 0 0; font-size: .76rem; line-height: 1.65; color: #8C97AF; }
.footer__copy { margin: 14px 0 0; font-size: .76rem; color: #8C97AF; }
@media (min-width: 960px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; } }

/* =========================================================
   16. MOTION
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .amen:hover .amen__media img, .conn:hover img, .res-card:hover .res-card__media img { transform: none; }
}
