/* ============================================================================
   SIYA RAM REALTY VENTURES — styles
   Mobile-first · Plain CSS · No frameworks
   Palette: navy #0B1F3A · gold #C9A24B · off-white #FAF8F4
            charcoal #2B2B2B · soft grey #E8E4DC
   ========================================================================== */

/* ------------------------------- 1. TOKENS ------------------------------- */
:root {
  --navy: #0B1F3A;
  --navy-soft: #14294A;
  --gold: #C9A24B;
  --gold-ink: #7A5F26;      /* darker gold for small text/icons (contrast safe) */
  --gold-tint: #F3ECDC;
  --bg: #FAF8F4;
  --bg-alt: #F4F1E9;
  --ink: #2B2B2B;
  --muted: #5C5C5C;
  --line: #E8E4DC;
  --line-strong: #DCD5C6;
  --danger: #9E2B1B;
  --white: #FFFFFF;

  --radius: 12px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .05), 0 10px 26px -18px rgba(11, 31, 58, .35);
  --shadow-md: 0 2px 6px rgba(11, 31, 58, .05), 0 30px 60px -34px rgba(11, 31, 58, .40);
  --shadow-lg: 0 40px 90px -40px rgba(11, 31, 58, .55);

  --wrap: 1120px;
  --pad: 20px;
  --header-h: 64px;
  --bar-h: 68px;

  --font-head: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------- 2. BASE -------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.012em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }
a { color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(201, 162, 75, .32); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap { white-space: nowrap; }

/* Author styles must never beat the hidden attribute */
[hidden] { display: none !important; }

.ico {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.ico-check {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--gold-ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------------------------- 3. TYPOGRAPHY ----------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-ink);
  line-height: 1.4;
}
.eyebrow-rule {
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow-tight { margin-bottom: 10px; }

.section { padding: clamp(44px, 8vw, 76px) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(22px, 4vw, 38px);
}
.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.55rem, 4.4vw, 2.3rem);
  line-height: 1.15;
}

.micro {
  font-size: .78rem;
  line-height: 1.5;
  color: var(--muted);
}
.center { text-align: center; }

/* ------------------------------ 4. BUTTONS ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 26px -18px rgba(11, 31, 58, .85);
}
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: rgba(11, 31, 58, .10);
  box-shadow: 0 14px 28px -18px rgba(160, 126, 50, .95);
}
.btn-gold:hover { background: #D4B061; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--white); border-color: var(--navy); }

.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .72; cursor: progress; transform: none; }

/* ------------------------------ 5. HEADER ------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 244, .90);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 9px;
  background: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .55);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.brand-logo {
  display: block;
  flex: none;
  height: 40px;
  width: auto;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.01em;
}
.brand-loc {
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 8px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.header-call .ico { width: 18px; height: 18px; color: var(--gold-ink); }
.header-call-num { display: none; }
.header-call:hover { background: rgba(11, 31, 58, .05); }

/* ------------------------------- 6. HERO -------------------------------- */
.hero {
  padding-top: clamp(20px, 4vw, 44px);
  padding-bottom: clamp(36px, 6vw, 68px);
}

.hero-grid {
  display: grid;
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(2.05rem, 8.4vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: -.02em;
}

.hero-sub {
  margin-top: 16px;
  max-width: 38ch;
  font-size: clamp(.98rem, 2.6vw, 1.1rem);
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink);
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-media {
  position: relative;
  margin: 0;
}
.hero-media img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-md);
}

/* --------------------------- 7. FEATURED HOMES -------------------------- */
.homes { background: var(--bg-alt); }

.homes .section-head { margin-bottom: clamp(18px, 3vw, 30px); }

.track {
  display: flex;
  gap: 14px;
  margin-inline: calc(var(--pad) * -1);
  padding: 4px var(--pad) 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* Photo-only gallery tiles (no prices, sizes or project details) */
.track-gallery { gap: 12px; }

.tile {
  flex: 0 0 85vw;
  max-width: 460px;
  aspect-ratio: 4 / 3;
  margin: 0;
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow-md);
}

.tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.tile:hover img { transform: scale(1.03); }

/* Shown only if a photo is missing / fails to load */
.tile.is-empty {
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
}
.tile.is-empty::after {
  content: "Property photo";
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.section-note {
  margin-top: 10px;
  max-width: 46ch;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--muted);
}

.contact-tag {
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

/* Carousel arrows — desktop only */
.carousel-nav { display: none; gap: 8px; flex: none; }
.round-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s;
}
.round-btn:hover:not(:disabled) { background: var(--bg); border-color: var(--navy); }
.round-btn:disabled { opacity: .38; cursor: default; }
.round-btn .ico { width: 18px; height: 18px; }

.swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.swipe-hint .ico { width: 15px; height: 15px; color: var(--gold-ink); }

/* ---------------------------- 8. WHY CHOOSE US -------------------------- */
.why-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.why-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.why-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 10px;
  background: var(--gold-tint);
  color: var(--gold-ink);
}
.why-icon .ico { width: 22px; height: 22px; stroke-width: 1.5; }
.why-card p {
  flex: 1 1 auto;
  min-width: 0;
  font-size: .94rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  overflow-wrap: break-word;
}

/* ---------------------------- 9. HOW IT WORKS --------------------------- */
.steps { display: grid; gap: 0; }

.step {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-no {
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 600;
  color: var(--gold-ink);
  letter-spacing: .04em;
  min-width: 26px;
}
.step p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.45;
}

.how-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 28px;
}
.how-cta .micro { text-align: center; }

/* ------------------------------- 10. FOOTER ----------------------------- */
.site-footer {
  background: var(--navy);
  color: #E9ECF2;
  padding: clamp(40px, 7vw, 68px) 0 calc(24px + var(--bar-h) + env(safe-area-inset-bottom));
}

.footer-grid {
  display: grid;
  gap: 34px;
}

.brand-inverse .brand-mark {
  background: transparent;
  border: 1px solid rgba(201, 162, 75, .6);
  color: var(--gold);
}
.brand-inverse .brand-name { color: #fff; }
.brand-inverse .brand-loc { color: rgba(233, 236, 242, .62); }

.footer-line {
  margin-top: 16px;
  max-width: 30ch;
  font-size: .94rem;
  line-height: 1.6;
  color: rgba(233, 236, 242, .78);
}
.footer-rera {
  margin-top: 16px;
  font-size: .74rem;
  letter-spacing: .03em;
  color: rgba(233, 236, 242, .60);
}

.footer-title {
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
}

.contact-list { display: grid; gap: 14px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .93rem;
  line-height: 1.5;
  color: rgba(233, 236, 242, .82);
}
.contact-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  color: var(--gold);
}
.contact-ico .ico { width: 17px; height: 17px; }
.contact-list a {
  color: #E9ECF2;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.contact-list a:hover { color: var(--gold); border-bottom-color: rgba(201, 162, 75, .5); }
.contact-list address {
  font-style: normal;
  max-width: 34ch;
  color: rgba(233, 236, 242, .82);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  margin-top: clamp(30px, 5vw, 44px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .74rem;
  line-height: 1.6;
  color: rgba(233, 236, 242, .58);
}
.legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.legal a {
  color: rgba(233, 236, 242, .80);
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 236, 242, .28);
  padding-bottom: 1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.legal a:hover { color: var(--gold); border-bottom-color: rgba(201, 162, 75, .6); }
.legal .dot { opacity: .5; }

/* ------------------------ 11. STICKY MOBILE BAR ------------------------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 248, 244, .97);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -22px rgba(11, 31, 58, .55);
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.action-btn .ico { width: 17px; height: 17px; color: var(--gold-ink); }
.action-btn:active { background: var(--bg-alt); }

.action-cta {
  border-color: transparent;
  background: var(--gold);
  color: var(--navy);
  font-size: .84rem;
  box-shadow: 0 8px 18px -12px rgba(160, 126, 50, .9);
}

/* --------------------- 12. DESKTOP FLOATING ACTIONS --------------------- */
.wa-float { display: none; }

.cta-pill {
  display: none;
  position: fixed;
  right: 28px;
  bottom: 98px;
  z-index: 50;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(201, 162, 75, .55);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 18px 36px -20px rgba(11, 31, 58, .85);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.cta-pill:hover { transform: translateY(-2px); background: var(--navy-soft); }
.cta-pill[hidden] { display: none !important; }

/* ------------------------------ 13. MODAL ------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
}
.modal[hidden] { display: none; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, .55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: fadeIn .25s var(--ease) both;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  animation: modalIn .32s var(--ease) both;
}
.modal-dialog:focus { outline: none; }

.modal-body { padding: clamp(22px, 5vw, 32px); }

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: rgba(11, 31, 58, .045);
  color: var(--navy);
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.modal-close:hover { background: rgba(11, 31, 58, .09); }
.modal-close .ico { width: 18px; height: 18px; stroke-width: 1.8; }

.modal-title {
  padding-right: 30px;
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  line-height: 1.16;
  letter-spacing: -.015em;
}
.modal-sub {
  margin-top: 8px;
  max-width: 42ch;
  font-size: .93rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ------------------------------- 14. FORM ------------------------------- */
#leadForm {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.field { display: grid; gap: 6px; }

/* Budget + configuration sit side by side even on phones — keeps the form short */
.field-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.field-row label {
  display: flex;
  align-items: flex-end;
  min-height: 2.6em;
  font-size: .76rem;
  letter-spacing: 0;
}
.field-row select { padding-left: 12px; }

label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--navy);
}
.req { color: var(--danger); font-weight: 700; }
.optional { font-weight: 400; color: var(--muted); }

input[type="text"],
input[type="tel"],
input[type="email"],
select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem; /* 16px stops iOS zoom-on-focus */
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 15px;
}

input::placeholder { color: #9C978D; }

input:focus,
select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 31, 58, .12);
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(158, 43, 27, .10);
}

/* Phone: fixed +91 prefix */
.phone-wrap {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.phone-wrap:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 31, 58, .12);
}
.phone-wrap.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(158, 43, 27, .10);
}
.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--bg-alt);
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-size: .95rem;
  font-weight: 600;
  flex: none;
}
.phone-wrap input {
  border: 0;
  border-radius: 0;
  background: transparent;
  min-height: 48px;
  letter-spacing: .03em;
}
.phone-wrap input:focus { box-shadow: none; }

.error {
  display: block;
  margin: 0;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--danger);
}

/* Consent */
.consent-field { margin-top: 2px; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}
.checkbox input {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.checkbox-box {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  border: 1.5px solid #B5AE9E;
  border-radius: 5px;
  background: var(--white);
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.checkbox-box svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity .15s var(--ease);
}
.checkbox input:checked + .checkbox-box {
  background: var(--navy);
  border-color: var(--navy);
}
.checkbox input:checked + .checkbox-box svg { opacity: 1; }
.checkbox input:focus-visible + .checkbox-box {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.checkbox.is-invalid .checkbox-box { border-color: var(--danger); }

.form-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #EBCFC7;
  border-radius: var(--radius-sm);
  background: #FDF3F0;
  color: #8A2A1C;
  font-size: .82rem;
  line-height: 1.5;
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(11, 31, 58, .25);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn-spinner { display: block; }
.btn.is-loading .btn-label { opacity: .75; }

/* Honeypot — hidden from humans and screen readers */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ------------------------------ 15. SUCCESS ----------------------------- */
.success-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, .55);
  background: rgba(201, 162, 75, .14);
  color: var(--gold-ink);
}
.success-mark svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#successTitle { padding-right: 0; outline: none; }
#leadSuccessView .btn-gold { margin-top: 22px; }
#leadSuccessView .btn-ghost { margin-top: 10px; }

/* --------------------------- 16. ANIMATIONS ----------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(.99); }
  to { opacity: 1; transform: none; }
}
@keyframes sheetIn {
  from { opacity: .6; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================ 17. RESPONSIVE ============================ */
@media (max-width: 400px) {
  .action-btn { font-size: .76rem; padding: 0 9px; gap: 5px; }
  .action-cta { font-size: .8rem; }
  .action-btn .ico { width: 15px; height: 15px; }
}

/* Very narrow phones: keep the CTA readable, icons carry the other two actions */
@media (max-width: 359px) {
  .action-label { display: none; }
  .action-btn { padding: 0 14px; }
  .action-cta { padding: 0 10px; }
}

/* Mobile: popup becomes a bottom sheet (thumb-friendly) */
@media (max-width: 640px) {
  .modal {
    padding: 0;
    align-items: end;
  }
  .modal-dialog {
    max-width: none;
    max-height: 94dvh;
    border-radius: 16px 16px 0 0;
    border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
    animation-name: sheetIn;
  }
}

@media (min-width: 480px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 600px) {
  .tile { flex: 0 0 55vw; }
}

@media (min-width: 560px) {
  .header-call-num { display: inline; }
  .header-call {
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, .5);
  }
  .trust-strip li + li::before {
    content: "";
    width: 1px;
    height: 13px;
    background: var(--line-strong);
    margin-right: 9px;
  }
  .modal-dialog { border-radius: 16px; }
  .how-cta { flex-direction: row; align-items: center; gap: 18px; }
  .how-cta .micro { text-align: left; margin-top: 0; }
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .step {
    flex-direction: column;
    gap: 10px;
    padding: 18px 0 0;
    border-bottom: 0 !important;
  }
  .step-no { font-size: 1.6rem; min-width: 0; }
  .step p { font-size: 1.02rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

@media (min-width: 900px) {
  :root { --pad: 32px; --header-h: 76px; }

  .hero-grid {
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(40px, 5vw, 72px);
  }
  .hero-media { order: 0; }
  .hero h1 { font-size: clamp(2.5rem, 4.6vw, 3.5rem); }
  .hero-media img { aspect-ratio: 4 / 5; }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 16px -16px -16px 16px;
    border: 1px solid rgba(201, 162, 75, .45);
    border-radius: var(--radius);
    z-index: 0;
    pointer-events: none;
  }

  .track {
    margin-inline: 0;
    padding: 8px 0 14px;
    gap: 20px;
  }
  .tile { flex: 0 0 calc((100% - 24px) / 3); max-width: none; scroll-snap-align: start; }

  .carousel-nav { display: flex; }
  .swipe-hint { display: none; }

  .why-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }

  .site-footer { padding-bottom: clamp(40px, 7vw, 68px); }
  .action-bar { display: none; }

  .wa-float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 50;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    border: 1px solid rgba(201, 162, 75, .5);
    box-shadow: 0 16px 34px -16px rgba(11, 31, 58, .75);
    text-decoration: none;
    transition: transform .2s var(--ease), background-color .2s var(--ease);
  }
  .wa-float .ico { width: 25px; height: 25px; stroke-width: 1.5; }
  .wa-float:hover { transform: translateY(-2px); background: var(--navy-soft); }

  .cta-pill { display: inline-flex; align-items: center; }

  .reveal-hero .reveal { transition-duration: .7s; }
}

/* ---------------------------- 18. PREFERENCES --------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .tile:hover img { transform: none; }
}

@media print {
  .action-bar, .wa-float, .cta-pill, .modal, .site-header { display: none !important; }
}

/* ============================================================================
   LEGAL / PRIVACY POLICY PAGE
   ========================================================================== */
.legal-body { background: var(--bg); }

.legal-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 244, .92);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.legal-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-block: 8px;
}
/* Legal header must never wrap: one compact row at every width */
.legal-top .brand { min-width: 0; }
.legal-top .brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 46vw;
  font-size: .88rem;
}
.legal-top .brand-logo { height: 32px; }
.legal-top .header-call {
  flex: none;
  gap: 6px;
  padding: 0 4px;
  font-size: .82rem;
}
.legal-top .header-call .ico { width: 20px; height: 20px; color: var(--gold-ink); }

.legal-main { padding-block: clamp(28px, 5vw, 56px) clamp(40px, 6vw, 72px); }
.legal-wrap { max-width: 820px; }

.legal-h1 {
  font-size: clamp(1.85rem, 4.6vw, 2.9rem);
  line-height: 1.12;
  margin-top: 6px;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px 20px;
  margin: 26px 0 34px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.legal-meta div { display: flex; flex-direction: column; gap: 2px; }
.legal-meta dt {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-meta dd { margin: 0; font-size: .9rem; font-weight: 600; color: var(--navy); }

.legal-summary {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--gold-tint);
}
.legal-summary-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.legal-summary ul { display: grid; gap: 8px; }
.legal-summary li {
  position: relative;
  padding-left: 20px;
  font-size: .93rem;
  line-height: 1.6;
}
.legal-summary li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-toc {
  margin: clamp(28px, 4vw, 40px) 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.legal-toc-title {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 10px;
}
.legal-toc ol {
  counter-reset: toc;
  display: grid;
  gap: 6px;
  font-size: .92rem;
}
.legal-toc li { counter-increment: toc; }
.legal-toc li a {
  display: inline-block;
  padding: 2px 0;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.legal-toc li a::before {
  content: counter(toc) ". ";
  color: var(--gold-ink);
  font-weight: 600;
}
.legal-toc li a:hover { border-bottom-color: var(--gold); }

.legal-section { padding-top: clamp(26px, 4vw, 38px); }
.legal-section + .legal-section { border-top: 1px solid var(--line); margin-top: clamp(26px, 4vw, 38px); }
.legal-section h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  line-height: 1.24;
  margin-bottom: 14px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal-section h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 22px 0 8px;
}
.legal-section p,
.legal-section li { font-size: .96rem; line-height: 1.68; color: #3a3a3a; }
.legal-section p + p { margin-top: 12px; }
.legal-section ul,
.legal-section ol { display: grid; gap: 9px; margin: 14px 0; }
.legal-section ul > li { position: relative; padding-left: 20px; }
.legal-section ul > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .64em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}
.legal-section ol { counter-reset: item; }
.legal-section ol > li { position: relative; padding-left: 26px; counter-increment: item; }
.legal-section ol > li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: var(--gold-ink);
}
.legal-section a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 2px; }
.legal-section code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86em;
  background: var(--bg-alt);
  padding: 1px 5px;
  border-radius: 5px;
}

.legal-callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--white);
  font-size: .93rem;
}

.legal-table-wrap {
  margin: 18px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 540px;
}
.legal-table caption {
  caption-side: top;
  text-align: left;
  padding: 14px 16px 0;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-table th,
.legal-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}
.legal-table thead th {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: var(--bg-alt);
}
.legal-table tbody th { font-weight: 600; color: var(--navy); }
.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td { border-bottom: 0; }

.legal-card {
  margin: 16px 0;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
}
.legal-card p { font-size: .93rem; }
.legal-card p + p { margin-top: 4px; }

.legal-contact-list { margin-top: 10px; display: grid; gap: 6px; }
.legal-contact-list li { font-size: .93rem; }

.legal-fineprint {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--muted);
}

.legal-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding-block: 26px 34px;
}
.legal-footer-inner { display: grid; gap: 6px; max-width: 820px; }
.legal-footer a { color: var(--navy); }

@media (min-width: 720px) {
  .brand-logo { height: 46px; }
  .legal-summary { padding: 26px 30px; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .legal-top .brand-name { font-size: .95rem; max-width: none; }
  .legal-top .brand-logo { height: 46px; }
}
