/* Housing and Loan
   Brand red and navy from the logo, Plus Jakarta Sans, airy white and soft tints. */

:root {
  --red: #e31e26;
  --red-d: #c4141c;
  --red-50: #fff4f4;
  --red-100: #ffe4e5;
  --navy: #1d3282;
  --navy-d: #13235f;
  --navy-x: #0b1640;
  --navy-50: #f4f6fc;
  --navy-100: #e6ebf8;
  --ink: #0e1633;
  --text: #3b4462;
  --muted: #69718c;
  --line: #e6e9f2;
  --bg: #fff;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --r: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sh-1: 0 1px 2px rgba(14, 22, 51, .04), 0 4px 14px rgba(14, 22, 51, .05);
  --sh-2: 0 2px 6px rgba(14, 22, 51, .05), 0 18px 40px -12px rgba(14, 22, 51, .16);
  --sh-3: 0 30px 70px -20px rgba(11, 22, 64, .38);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.625rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.015em; line-height: 1.3; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(227, 30, 38, .45); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 10px; }
.wrap { max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.ic { width: 20px; height: 20px; flex: none; }
.hl { color: var(--red); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 8px; background: var(--red); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.eyebrow-light { color: #ff9ca0; }
.eyebrow-light::before { background: #ff9ca0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .9688rem; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(227, 30, 38, .65); }
.btn-red:hover { background: var(--red-d); box-shadow: 0 12px 26px -8px rgba(227, 30, 38, .7); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--navy-50); }
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-line-white { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-line-white:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: .9063rem; }
.btn-full { width: 100%; }
.btn-link { background: none; border: 0; padding: 0 8px; min-height: 48px; font-weight: 600; color: var(--muted); cursor: pointer; }
.btn-link:hover { color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; font-size: .9375rem; text-decoration: none; }
.link .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link:hover .ic { transform: translateX(3px); }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top line ---------- */
.topline { background: var(--navy-x); color: #b9c2dd; font-size: .8438rem; }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topline p { display: flex; align-items: center; gap: 6px; }
.topline .ic { width: 15px; height: 15px; color: #ff9ca0; }
.tl-r { gap: 22px !important; }
.tl-r a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 600; }
.tl-r a:hover { color: #ff9ca0; }
.tl-r button { background: var(--red); color: #fff; border: 0; border-radius: 6px; padding: 5px 12px; font-weight: 700; font-size: .8125rem; cursor: pointer; }
.tl-r button:hover { background: var(--red-d); }
@media (max-width: 900px) { .topline p:first-child, .tl-r a[href^="mailto"] { display: none; } .topline .wrap { justify-content: center; } }

/* ---------- Header ---------- */
.bar { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.bar.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(14,22,51,.35); }
.bar-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-d); flex: none; }
.brand img { width: 40px; }
.brand span { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.brand em { font-style: normal; color: var(--red); }
.brand-light { color: #fff; }
.brand-light img { background: #fff; border-radius: 10px; padding: 5px; width: 46px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .dd-btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font-weight: 600; font-size: .9375rem; color: var(--ink); text-decoration: none; cursor: pointer; transition: color .2s, background-color .2s; }
.dd-btn .ic { width: 16px; height: 16px; transition: transform .2s; }
.nav > a:hover, .dd-btn:hover, .dd:focus-within .dd-btn { color: var(--red); background: var(--red-50); }
.nav > a[aria-current="page"], .dd-btn[data-current] { color: var(--red); }
.dd { position: relative; }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 360px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd:hover .dd-panel, .dd.open .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .25s var(--ease); }
.dd:hover .dd-btn .ic, .dd.open .dd-btn .ic { transform: rotate(180deg); }
.dd-wide { width: 640px; }
.dd-small { width: 320px; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd-list { display: grid; gap: 2px; }
.dd-grid a, .dd-list a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; transition: background-color .15s; }
.dd-grid a:hover, .dd-list a:hover { background: var(--navy-50); }
.dd-grid .ic, .dd-list .ic { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--red-50); color: var(--red); }
.dd-grid b, .dd-list b { display: block; color: var(--ink); font-size: .9375rem; }
.dd-grid small, .dd-list small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.dd-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: var(--navy-50); color: var(--navy); font-weight: 700; font-size: .875rem; text-decoration: none; }
.dd-foot:hover { background: var(--navy-100); }
.dd-foot .ic { width: 16px; height: 16px; }
.nav-mobile-cta { display: none; }
.bar-cta { display: flex; align-items: center; gap: 18px; }
.bar-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: .9375rem; }
.bar-phone small { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); }
.bp-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red-50); color: var(--red); }
.bp-ic .ic { width: 18px; height: 18px; }
.menu-btn { display: none; }

@media (max-width: 1240px) { .bar-phone { display: none; } }
@media (max-width: 1080px) {
  .bar-cta { margin-left: auto; }
  .menu-btn { display: inline-grid; place-content: center; gap: 5px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
  .menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
  .bar.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .bar.open .menu-btn span:nth-child(2) { opacity: 0; }
  .bar.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--nav-top, 116px)); z-index: 59; margin: 0; padding: 12px var(--pad) 32px; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: 2px; overflow-y: auto; background: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .bar.open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .nav > a, .dd-btn { width: 100%; justify-content: space-between; font-size: 1.0625rem; padding: 14px 12px; }
  .dd-panel { position: static; width: auto !important; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 8px; display: none; }
  .dd.open .dd-panel { display: block; }
  .dd:hover .dd-panel { transform: none; }
  .dd-grid { grid-template-columns: 1fr; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 16px; }
}
@media (max-width: 560px) { .bar-cta .btn { display: none; } .brand span { font-size: 1.125rem; } .brand img { width: 36px; } .bar-in { min-height: 68px; } }

/* ---------- Home hero ---------- */
.hero { padding-top: 18px; }
.hero-panel { position: relative; border-radius: 28px; overflow: hidden; isolation: isolate; background: var(--navy-x); }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 68% 30%; }
.hero-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,22,64,.95) 0%, rgba(19,35,95,.86) 40%, rgba(19,35,95,.35) 70%, rgba(19,35,95,.1) 100%); }
.hero-panel::after { content: ""; position: absolute; left: 0; bottom: 0; z-index: -1; width: 220px; height: 90px; background: var(--red); clip-path: polygon(0 100%, 0 0, 100% 100%); opacity: .95; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 430px); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px); min-height: 640px; }
.pill-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: .8438rem; font-weight: 600; margin-bottom: 24px; backdrop-filter: blur(6px); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } }
.hero h1 { color: #fff; font-size: clamp(2.375rem, 1.3rem + 3.6vw, 4rem); line-height: 1.06; letter-spacing: -0.04em; }
.hero h1 .hl { color: #ff6b71; }
.hero-sub { margin-top: 20px; max-width: 34em; font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); color: #d7ddef; }
.hero-btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { margin-top: 34px; display: flex; align-items: center; gap: 14px; color: #fff; }
.avatars { display: flex; }
.avatars span { display: grid; place-items: center; width: 38px; height: 38px; margin-left: -10px; border-radius: 50%; border: 2px solid var(--navy-d); background: var(--red); font-size: .75rem; font-weight: 800; }
.avatars span:nth-child(even) { background: #4f68c4; }
.avatars span:first-child { margin-left: 0; }
.hero-proof b { display: block; font-size: .9063rem; }
.hero-proof .ic { width: 15px; height: 15px; color: #ffc53d; fill: #ffc53d; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.trust li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--navy-50); font-size: .8438rem; color: var(--muted); line-height: 1.4; }
.trust b { display: block; color: var(--ink); font-size: .9375rem; }
.trust .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: #fff; color: var(--red); box-shadow: var(--sh-1); }
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-panel::before { background: linear-gradient(180deg, rgba(11,22,64,.78) 0%, rgba(11,22,64,.92) 55%); }
  .hero-form { max-width: 560px; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero { padding-top: 10px; }
  .hero > .wrap { padding-inline: 10px; }
  .hero-panel { border-radius: 22px; }
  .hero-grid { padding: 32px 16px 18px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-btns .btn { flex: 1 1 100%; }
  .trust { grid-template-columns: 1fr; padding-inline: 6px; }
}

/* ---------- Lead form ---------- */
.lead { background: #fff; color: var(--text); border-radius: 22px; box-shadow: var(--sh-3); overflow: hidden; }
.lead-head { padding: 24px 26px 18px; background: linear-gradient(180deg, var(--red-50), #fff); border-bottom: 1px solid var(--line); }
.lead-head h2 { font-size: 1.3125rem; letter-spacing: -0.02em; }
.lead-step { margin-top: 4px; font-size: .8438rem; color: var(--muted); }
.lead-dots { display: flex; gap: 8px; margin-top: 14px; counter-reset: s; }
.lead-dots li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; color: var(--muted); counter-increment: s; }
.lead-dots li::before { content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: var(--muted); font-size: .6875rem; transition: background-color .3s, color .3s; }
.lead-dots li::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: var(--line); }
.lead-dots li:last-child::after { display: none; }
.lead-dots li.on { color: var(--ink); }
.lead-dots li.on::before { background: var(--red); color: #fff; }
.lead-dots li.done::before { content: "✓"; background: var(--navy); color: #fff; }
.lead-body { padding: 20px 26px 22px; }
.lead-panel { border: 0; padding: 0; margin: 0; display: grid; gap: 13px; min-width: 0; }
.lead-panel[hidden] { display: none; }
.lead-panel:not([hidden]) { animation: panel-in .35s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateX(12px); } }
.f { display: grid; gap: 6px; min-width: 0; }
.f > span:first-child { font-size: .8125rem; font-weight: 700; color: var(--ink); }
.f em { font-style: normal; font-weight: 500; color: var(--muted); }
.f input, .f select {
  width: 100%; min-height: 48px; padding: 0 14px;
  font: 500 .9688rem/1.2 var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  appearance: none; -webkit-appearance: none; transition: border-color .15s, box-shadow .15s;
}
.f input::placeholder { color: #9aa1b8; }
.f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d3282' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.f input:hover, .f select:hover { border-color: #c5cce0; }
.f input:focus, .f select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(29,50,130,.12); }
.f [aria-invalid="true"] { border-color: var(--red) !important; background: var(--red-50); }
.f-phone { display: flex; align-items: stretch; }
.f-phone b { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px; background: var(--navy-50); color: var(--ink); font-size: .9375rem; }
.f-phone input { border-radius: 0 12px 12px 0; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-actions { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.lead-actions .btn { flex: 1; }
.lead-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.lead-note .ic { width: 16px; height: 16px; color: var(--navy); }
.lead-done { text-align: center; padding: 10px 0; }
.lead-done:not([hidden]) ~ .lead-note { display: none; }
.done-tick { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #e7f8ee; color: #1a9d52; margin-bottom: 14px; animation: pop .5s var(--ease); }
.done-tick .ic { width: 30px; height: 30px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.lead-done h3 { font-size: 1.375rem; margin-bottom: 8px; }
.lead-done p { font-size: .9375rem; }
.lead-done a { color: var(--red); font-weight: 700; }
.lead-err { color: var(--red-d); font-size: .8438rem; font-weight: 700; padding: 8px 12px; border-radius: 10px; background: var(--red-50); }
@media (max-width: 480px) { .lead-head, .lead-body { padding-inline: 18px; } .f-row { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.sect { padding-top: clamp(72px, 8vw, 120px); }
.band-soft { background: var(--navy-50); margin-top: clamp(72px, 8vw, 120px); padding-block: clamp(72px, 8vw, 112px); }
.band-navy { background: var(--navy-d); margin-top: clamp(72px, 8vw, 120px); padding-block: clamp(72px, 8vw, 112px); color: #c3cbe3; position: relative; overflow: hidden; }
.band-navy::after { content: ""; position: absolute; right: 0; bottom: 0; width: 30%; height: 45%; background: var(--red); clip-path: polygon(0 100%, 100% 0, 100% 100%); opacity: .9; pointer-events: none; }
.band-navy h2 { color: #fff; }
.band-soft + .band-soft, .band-soft + .band-navy, .band-navy + .band-soft { margin-top: 0; }
.sh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px 40px; margin-bottom: 40px; }
.sh h2 { max-width: 18em; }
.sh > p, .sh div > p:not(.eyebrow) { max-width: 36em; color: var(--muted); }
.sh-center { flex-direction: column; align-items: center; text-align: center; }
.sh-center h2 { max-width: 22em; }
.sh-center > p:not(.eyebrow) { margin-top: -4px; }
.lead-p { font-size: 1.1875rem; color: var(--ink); font-weight: 500; line-height: 1.55; }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23e31e26' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 78% no-repeat; }
.ticks-doc li::before { background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 3h6l3 3v11H6z' fill='none' stroke='%231d3282' stroke-width='1.6'/%3E%3C/svg%3E") center / 75% no-repeat; border-radius: 6px; }
.small-note { margin-top: 16px; font-size: .875rem; color: var(--muted); }
.note { font-size: .8438rem; color: #b8c1df; line-height: 1.5; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(56px, 6vw, 80px); }
.stat { padding: 6px 28px; border-left: 3px solid var(--red); }
.stat b { display: block; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 800; color: var(--navy-d); letter-spacing: -0.04em; line-height: 1.1; }
.stat span { font-size: .9063rem; color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 28px; } .stat { padding: 4px 16px; } }

/* ---------- Needs selector ---------- */
.needs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.needs-tabs { display: grid; gap: 8px; }
.needs-tabs button { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; text-align: left; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-weight: 700; font-size: .9688rem; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease); }
.needs-tabs button::after { content: "→"; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.needs-tabs button:hover { border-color: #c9d0e4; transform: translateX(3px); }
.needs-tabs button[aria-selected="true"] { background: var(--navy-d); border-color: var(--navy-d); color: #fff; }
.needs-tabs button[aria-selected="true"]::after { color: #ff8b90; transform: translateX(3px); }
.needs-panel { padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--sh-2); position: relative; overflow: hidden; }
.needs-panel:not([hidden]) { animation: panel-in .4s var(--ease); }
.needs-panel::after { content: ""; position: absolute; right: 0; top: 0; width: 120px; height: 56px; background: var(--red-50); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.np-top { display: flex; align-items: center; gap: 16px; }
.np-k { font-size: .8125rem; font-weight: 700; color: var(--red); }
.np-top h3 { font-size: 1.625rem; letter-spacing: -0.03em; }
.np-a { margin-top: 18px; font-size: 1.0625rem; color: var(--text); }
.np-meta { display: flex; gap: 10px; margin-top: 22px; }
.np-meta li { flex: 1; padding: 14px 16px; border-radius: 12px; background: var(--navy-50); font-weight: 800; color: var(--ink); }
.np-meta small { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); }
.np-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 900px) { .needs { grid-template-columns: 1fr; } .needs-tabs { grid-template-columns: 1fr 1fr; } .needs-tabs button { padding: 14px; font-size: .875rem; } .needs-tabs button::after { display: none; } }
@media (max-width: 480px) { .needs-tabs { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.pc-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--red-50); color: var(--red); transition: background-color .25s, color .25s, transform .3s var(--ease); }
.pc-ic .ic { width: 26px; height: 26px; }
.pc-wa { background: #e7f8ee; color: #1a9d52; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pgrid-3 { grid-template-columns: repeat(3, 1fr); }
.pcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); text-decoration: none; color: var(--text); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.pcard::after { content: ""; position: absolute; right: 0; bottom: 0; width: 70px; height: 34px; background: var(--navy-100); clip-path: polygon(0 100%, 100% 0, 100% 100%); transition: background-color .3s, width .35s var(--ease); }
.pcard h3 { margin-top: 8px; font-size: 1.1875rem; }
.pcard p { font-size: .9375rem; color: var(--muted); }
.pc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pc-meta span { padding: 4px 10px; border-radius: 999px; background: var(--navy-50); font-size: .75rem; font-weight: 700; color: var(--navy); }
.pc-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-weight: 700; font-size: .9063rem; color: var(--red); }
.pc-go .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: #d6dcec; }
.pcard:hover::after { background: var(--red); width: 100px; }
.pcard:hover .pc-ic { background: var(--red); color: #fff; transform: rotate(-6deg); }
.pcard:hover .pc-go .ic { transform: translateX(4px); }
@media (max-width: 1080px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pgrid, .pgrid-3 { grid-template-columns: 1fr; } }

/* ---------- Calculator cards ---------- */
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cgrid-home { margin-top: 18px; grid-template-columns: repeat(5, 1fr); }
.cgrid-big .ccard { padding: 26px; }
.ccard { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.ccard b { display: block; color: var(--ink); font-size: .9688rem; line-height: 1.3; }
.ccard small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.45; margin-top: 2px; }
.cc-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--navy-50); color: var(--navy); transition: background-color .25s, color .25s; }
.cc-go { margin-left: auto; width: 18px; height: 18px; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.ccard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #d6dcec; }
.ccard:hover .cc-ic { background: var(--navy); color: #fff; }
.ccard:hover .cc-go { color: var(--red); transform: translateX(3px); }
.cgrid-home .ccard { flex-direction: column; align-items: flex-start; }
.cgrid-home .ccard small, .cgrid-home .cc-go { display: none; }
@media (max-width: 1080px) { .cgrid, .cgrid-home { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cgrid { grid-template-columns: 1fr; } .cgrid-home { grid-template-columns: 1fr 1fr; } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border-radius: 26px; overflow: hidden; box-shadow: var(--sh-2); border: 1px solid var(--line); background: #fff; }
.calc-in { padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 28px; align-content: start; }
.calc-out { position: relative; padding: clamp(24px, 3.5vw, 44px); background: var(--navy-d); color: #c3cbe3; display: grid; gap: 18px; align-content: start; overflow: hidden; }
.calc-out::after { content: ""; position: absolute; right: 0; top: 0; width: 140px; height: 64px; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 100%); opacity: .95; }
.calc-out > * { position: relative; z-index: 1; }
.rng-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.rng-top label { font-weight: 700; font-size: .9375rem; color: var(--ink); }
.rng-val { display: inline-flex; align-items: center; gap: 4px; padding: 0 12px; min-height: 42px; border-radius: 10px; background: var(--navy-50); border: 1.5px solid transparent; transition: border-color .2s, background-color .2s; }
.rng-val:focus-within { border-color: var(--navy); background: #fff; }
.rng-num { width: 9ch; border: 0; background: none; font: 800 1.0625rem var(--font); color: var(--navy); text-align: right; outline: none; }
.rng-val i { font-style: normal; font-weight: 700; color: var(--muted); font-size: .875rem; }
.rng input[type=range] { width: 100%; height: 30px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; --p: 50%; }
.rng input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--red) var(--p), var(--navy-100) var(--p)); }
.rng input[type=range]::-moz-range-track { height: 8px; border-radius: 4px; background: var(--navy-100); }
.rng input[type=range]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--red); }
.rng input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 6px solid var(--red); box-shadow: 0 4px 12px rgba(227,30,38,.35); transition: transform .15s; }
.rng input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--red); }
.rng input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.rng-ends { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); font-weight: 600; margin-top: 2px; }
.hint { margin-top: 6px; font-size: .8125rem; color: var(--muted); }
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.seg legend { font-weight: 700; font-size: .9375rem; color: var(--ink); margin-bottom: 10px; width: 100%; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 10px; background: var(--navy-50); font-weight: 700; font-size: .9063rem; color: var(--ink); transition: background-color .2s, color .2s; }
.seg label:hover span { background: var(--navy-100); }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid rgba(227,30,38,.45); outline-offset: 2px; }
.out-label { font-weight: 700; color: #fff; font-size: .9375rem; }
.out-big { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; color: #fff; letter-spacing: -0.045em; line-height: 1; margin-top: -8px; }
.out-line { font-size: .9063rem; }
.out-split { display: flex; align-items: center; gap: 22px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.06); }
.donut { width: 120px; height: 120px; flex: none; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 16; }
.d-bg { stroke: #6f84d1; }
.d-fg { stroke: var(--red); transition: stroke-dasharray .5s var(--ease); }
.key { display: grid; gap: 8px; font-size: .875rem; flex: 1; }
.key p { display: flex; align-items: center; gap: 8px; }
.key b { margin-left: auto; color: #fff; font-size: 1rem; }
.k { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.k1 { background: #6f84d1; } .k2 { background: var(--red); } .k0 { background: #fff; }
.out-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.out-grid div { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.07); }
.out-grid dt { font-size: .7813rem; }
.out-grid dd { font-size: 1.1875rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.out-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: rgba(255,255,255,.15); }
.out-bar span { height: 100%; transition: width .4s var(--ease); }
.out-bar span:first-child { background: var(--red); } .out-bar span:last-child { background: #ffc53d; }
.out-key { font-size: .8125rem; margin-top: -8px; }
.pm-checks { display: grid; gap: 6px; font-size: .875rem; }
.pm-checks li { display: flex; gap: 8px; }
.pm-checks li::before { content: "✓"; color: #3ddc84; font-weight: 800; }
.pm-checks li.no::before { content: "✕"; color: #ff8b90; }
@media (max-width: 920px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .out-split { flex-direction: column; align-items: stretch; } .donut { margin: 0 auto; } }
.sched { margin-top: 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.sched summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.sched summary::-webkit-details-marker { display: none; }
.sched[open] summary .ic { transform: rotate(180deg); }
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9063rem; }
th, td { padding: 12px 18px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
thead th { background: var(--navy-50); color: var(--ink); font-weight: 700; font-size: .8125rem; }
tbody tr:hover { background: var(--red-50); }
.cmp { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.cmp th, .cmp td { text-align: left; white-space: normal; }
.cmp tbody th { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.cmp tbody th .ic { color: var(--red); }

/* ---------- Why / vs ---------- */
.why { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.why-text { display: grid; gap: 18px; justify-items: start; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vs-col { padding: 28px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.vs-col h3 { color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.vs-col h3 img { width: 30px; background: #fff; border-radius: 8px; padding: 3px; }
.vs-col li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .9375rem; }
.vs-col li::before { content: "✕"; position: absolute; left: 0; top: 10px; color: #8d98bf; font-weight: 800; }
.vs-us { background: #fff; color: var(--text); border-color: #fff; box-shadow: var(--sh-3); }
.vs-us h3 { color: var(--ink); }
.vs-us li { border-color: var(--line); }
.vs-us li::before { content: "✓"; color: var(--red); }
@media (max-width: 920px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .vs { grid-template-columns: 1fr; } }

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.j-left { display: grid; gap: 16px; justify-items: start; position: sticky; top: 120px; }
.j-left > p:not(.eyebrow) { color: var(--muted); }
.j-steps { display: grid; gap: 10px; }
.j-steps li { border: 1.5px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.j-steps button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 18px; border: 0; background: none; text-align: left; cursor: pointer; }
.j-n { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--navy-50); color: var(--navy); font-weight: 800; transition: background-color .25s, color .25s; }
.j-steps b { display: block; color: var(--ink); font-size: 1rem; }
.j-steps small { display: block; color: var(--muted); font-size: .875rem; }
.j-steps p { display: none; padding: 0 22px 20px 72px; font-size: .9375rem; }
.j-steps li.open { border-color: var(--red); box-shadow: var(--sh-2); }
.j-steps li.open .j-n { background: var(--red); color: #fff; }
.j-steps li.open p { display: block; animation: panel-in .35s var(--ease); }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr; } .j-left { position: static; } .j-steps p { padding-left: 22px; } }

/* ---------- Split with pictures ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-text { display: grid; gap: 18px; justify-items: start; }
.split-pics { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: end; }
.split-pics img { width: 100%; object-fit: cover; border-radius: 20px; }
.split-pics img:first-child { aspect-ratio: 3 / 4; }
.split-pics img:nth-child(2) { aspect-ratio: 3 / 4; margin-bottom: 56px; }
.split-pics > img:only-of-type { grid-column: 1 / -1; aspect-ratio: 4 / 3; margin: 0; }
.float-card { position: absolute; left: -18px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 16px; background: #fff; box-shadow: var(--sh-3); font-size: .8438rem; color: var(--muted); line-height: 1.35; animation: bob 5s ease-in-out infinite; }
.float-card b { display: block; color: var(--ink); font-size: .9375rem; }
.float-card img { width: 40px; aspect-ratio: auto !important; border-radius: 0 !important; margin: 0 !important; }
.float-card .pc-ic { width: 42px; height: 42px; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .float-card { left: 10px; } }

/* ---------- Testimonials ---------- */
.qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qgrid-2 { grid-template-columns: repeat(2, 1fr); }
.quote { display: flex; flex-direction: column; gap: 20px; padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .3s var(--ease), box-shadow .3s; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.stars { display: flex; gap: 2px; color: #ffb400; }
.stars .ic { width: 18px; height: 18px; fill: currentColor; }
.quote blockquote { font-size: 1.0938rem; line-height: 1.6; color: var(--ink); font-weight: 500; flex: 1; }
.qgrid-2 .quote blockquote { font-size: 1.25rem; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.disc { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .875rem; }
.quote-red { background: var(--red); border-color: var(--red); }
.quote-red blockquote, .quote-red figcaption strong { color: #fff; }
.quote-red figcaption { color: #ffd9db; border-color: rgba(255,255,255,.2); }
.quote-red .stars { color: #fff; }
.quote-red .disc { background: #fff; color: var(--red); }
.quote-navy { background: var(--navy-d); border-color: var(--navy-d); }
.quote-navy blockquote, .quote-navy figcaption strong { color: #fff; }
.quote-navy figcaption { color: #b9c2dd; border-color: rgba(255,255,255,.12); }
.quote-navy .disc { background: var(--red); }
@media (max-width: 960px) { .qgrid, .qgrid-2 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-left { display: grid; gap: 16px; justify-items: start; position: sticky; top: 120px; }
.faq-left > p:not(.eyebrow) { color: var(--muted); }
.faq { display: grid; gap: 10px; }
.faq details { border: 1.5px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--navy-100); box-shadow: var(--sh-1); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { display: grid; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--navy-50); color: var(--navy); transition: transform .25s var(--ease), background-color .2s, color .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); background: var(--red); color: #fff; }
.faq details p { padding: 0 22px 20px; color: var(--text); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-left { position: static; } }

/* ---------- Inner page hero ---------- */
.phero { margin-top: 0; background: var(--navy-50); position: relative; overflow: hidden; }
.phero::after { content: ""; position: absolute; right: 0; bottom: 0; width: 26%; height: 120px; background: var(--red-100); clip-path: polygon(0 100%, 100% 0, 100% 100%); pointer-events: none; }
.phero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.phero-form .phero-in { grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); }
.phero h1 { font-size: clamp(2.125rem, 1.3rem + 2.8vw, 3.5rem); }
.phero-sub { margin-top: 18px; font-size: 1.0938rem; max-width: 38em; }
.phero-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--sh-2); }
.phero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.phero-facts li { padding: 12px 18px; border-radius: 14px; background: #fff; box-shadow: var(--sh-1); font-weight: 800; color: var(--ink); }
.phero-facts small { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font-size: .8438rem; color: var(--muted); }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--red); }
.crumbs > *:not(:last-child)::after { content: "/"; margin-left: 6px; color: #b5bcd2; }
.crumbs span { color: var(--ink); font-weight: 600; }
/* inner hero with form: photo + navy, like the home hero */
.phero-form { background: var(--navy-x); color: #d7ddef; isolation: isolate; }
.phero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.phero-form::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,22,64,.96) 0%, rgba(19,35,95,.88) 45%, rgba(19,35,95,.55) 100%); }
.phero-form::after { left: 0; right: auto; width: 240px; height: 96px; background: var(--red); clip-path: polygon(0 100%, 0 0, 100% 100%); }
.phero-form h1 { color: #fff; }
.phero-form .crumbs { color: #aab4d4; } .phero-form .crumbs span { color: #fff; }
.phero-form .eyebrow { color: #ff9ca0; } .phero-form .eyebrow::before { background: #ff9ca0; }
.phero-form .phero-facts li { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,.15); }
.phero-form .phero-facts small { color: #b9c2dd; }
.phero-form .phero-in { padding-block: clamp(48px, 6vw, 88px); }
main:has(> .band-soft:last-child) + .cta-band { margin-top: 0; }
@media (max-width: 960px) { .phero-in, .phero-form .phero-in { grid-template-columns: 1fr; } .phero-form-wrap { max-width: 560px; } }

/* ---------- Loan page body ---------- */
.loan-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.lb-main { display: grid; gap: 56px; }
.lb-block > h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 22px; }
.lb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lb-two .lb-block { padding: 28px; border-radius: 20px; background: var(--navy-50); }
.lb-two h2 { font-size: 1.375rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid-4 { grid-template-columns: repeat(4, 1fr); }
.fcard { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); display: grid; gap: 10px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.fcard .pc-ic { width: 44px; height: 44px; border-radius: 12px; }
.fcard .pc-ic .ic { width: 22px; height: 22px; }
.fcard p { font-size: .9375rem; color: var(--muted); }
.lb-side { position: sticky; top: 110px; display: grid; gap: 14px; }
.side-card { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); display: grid; gap: 6px; }
.side-card h3 { margin-bottom: 8px; }
.side-card > a:not(.btn) { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--ink); }
.side-card > a:not(.btn):hover { background: var(--navy-50); color: var(--red); }
.side-card > a .ic { color: var(--red); }
.side-red { background: var(--red); border-color: var(--red); color: #ffe4e5; gap: 10px; }
.side-red h3 { color: #fff; margin: 0; }
@media (max-width: 1040px) { .loan-body { grid-template-columns: 1fr; } .lb-side { position: static; grid-template-columns: 1fr 1fr; } .fgrid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lb-two, .fgrid, .fgrid-4, .lb-side { grid-template-columns: 1fr; } }

.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dcard { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.dcard h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 1.1875rem; }
.dcard h3 .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--red-50); color: var(--red); }
@media (max-width: 860px) { .docs-grid { grid-template-columns: 1fr; } }

/* ---------- Calculator page head ---------- */
.chead { background: var(--navy-d); color: #c3cbe3; padding: clamp(40px, 5vw, 64px) 0 clamp(120px, 12vw, 160px); position: relative; overflow: hidden; }
.chead::after { content: ""; position: absolute; right: 0; bottom: 0; width: 28%; height: 60%; background: var(--red); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.chead h1 { color: #fff; }
.chead p:not(.eyebrow) { margin-top: 14px; max-width: 40em; font-size: 1.0625rem; }
.chead .crumbs, .chead .crumbs span { color: #aab4d4; }
.chead .crumbs span { color: #fff; }
.calc-sect { margin-top: clamp(-110px, -9vw, -80px); position: relative; z-index: 2; }

/* ---------- Steps 4 (resale) ---------- */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.s4 { position: relative; padding: 28px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); display: grid; gap: 12px; align-content: start; }
.s4-n { position: absolute; right: 22px; top: 18px; font-size: 2.75rem; font-weight: 800; color: var(--navy-100); letter-spacing: -0.05em; line-height: 1; }
.s4 p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 960px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr; } }

/* ---------- About office ---------- */
.office { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; }
.office-pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; }
.office-pic figcaption { margin-top: 10px; font-size: .875rem; color: var(--muted); }
.office-card { margin-left: -90px; padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--navy-d); color: #c3cbe3; display: grid; gap: 14px; box-shadow: var(--sh-3); position: relative; }
.office-card h2 { color: #fff; }
@media (max-width: 900px) { .office { grid-template-columns: 1fr; } .office-card { margin: -50px 14px 0; } }

/* ---------- Contact ---------- */
.reach { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rcard { display: grid; gap: 4px; align-content: start; padding: 26px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.rcard .pc-ic { margin-bottom: 12px; }
.rcard b { color: var(--muted); font-size: .8125rem; }
.rcard > span:not(.pc-ic) { color: var(--ink); font-weight: 800; font-size: 1.0625rem; overflow-wrap: anywhere; }
.rcard small { color: var(--muted); font-size: .8438rem; }
a.rcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
@media (max-width: 960px) { .reach { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .reach { grid-template-columns: 1fr; } }
.visit { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.visit-text { display: grid; gap: 16px; justify-items: start; }
.map { width: 100%; min-height: 460px; border: 0; border-radius: 24px; box-shadow: var(--sh-2); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .map { min-height: 320px; } }

/* ---------- CTA strip and band ---------- */
.cta-strip { margin-top: clamp(72px, 8vw, 120px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: var(--red-50); border: 1.5px solid var(--red-100); position: relative; overflow: hidden; }
.cta-strip h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.cta-strip p { color: var(--muted); margin-top: 6px; }
.cs-act { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band { margin-top: clamp(72px, 8vw, 120px); background: var(--red); color: #ffe4e5; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: 0; bottom: 0; width: 34%; height: 70%; background: var(--navy); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.cta-band::before { content: ""; position: absolute; left: 50%; top: -60px; width: 300px; height: 300px; background: url("../assets/logo.png") center / contain no-repeat; opacity: .08; filter: brightness(0) invert(1); }
.cta-in { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-block: clamp(56px, 6vw, 80px); }
.cta-in h2 { color: #fff; max-width: 15em; }
.cta-text > p:last-child { margin-top: 10px; font-size: 1.0625rem; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.foot { background: var(--navy-x); color: #a7b1cf; font-size: .9375rem; padding-bottom: 20px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr 1.1fr; gap: 36px; padding-block: 64px 40px; }
.foot-brand { display: grid; gap: 16px; align-content: start; max-width: 320px; }
.foot-h { color: #fff; font-size: .9375rem; letter-spacing: 0; margin-bottom: 14px; }
.foot ul { display: grid; gap: 8px; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: #fff; }
.foot-c { margin: 10px 0; color: #fff; font-weight: 600; }
.foot-social { display: flex; gap: 16px; font-weight: 700; color: #fff; }
.foot-legal { display: grid; gap: 6px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8125rem; color: #7f8ab0; }
.foot-legal a { text-decoration: underline; }
@media (max-width: 1040px) { .foot-top { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .foot-top { grid-template-columns: 1fr 1fr; } }

/* ---------- Floating CTAs ---------- */
.side-tabs { position: fixed; right: 0; top: 50%; z-index: 50; display: grid; gap: 4px; transform: translateY(-50%); }
.side-tabs > * { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 74px; padding: 12px 6px; border: 0; border-radius: 14px 0 0 14px; background: var(--navy); color: #fff; font-size: .6875rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: width .2s var(--ease), background-color .2s; box-shadow: var(--sh-2); }
.side-tabs > *:first-child { background: var(--red); }
.side-tabs > *:hover { width: 84px; background: var(--red-d); }
.side-tabs .ic { width: 22px; height: 22px; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(0,0,0,.35); transition: transform .2s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }
.wa-float .ic { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.mbar { display: none; }
@media (max-width: 1080px) { .side-tabs { display: none; } }
@media (max-width: 760px) {
  .wa-float { display: none; }
  body { padding-bottom: 70px; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 4px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -16px rgba(14,22,51,.3); }
  .mbar > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border: 0; border-radius: 12px; background: none; color: var(--ink); font-size: .6875rem; font-weight: 700; text-decoration: none; cursor: pointer; }
  .mbar .ic { width: 22px; height: 22px; }
  .mbar > a:nth-child(2) { color: #1a9d52; }
  .mbar-apply { background: var(--red) !important; color: #fff !important; flex-direction: row !important; gap: 8px !important; font-size: .875rem !important; }
}

/* ---------- Modal ---------- */
.modal { width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: transparent; overflow: visible; }
.modal::backdrop { background: rgba(11,22,64,.6); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal .lead { max-height: calc(100dvh - 24px); overflow-y: auto; }
.modal-x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--sh-1); }
.modal-x:hover { background: var(--red); color: #fff; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .hero-text > *, .js .phero-text > * { animation: rise .8s var(--ease) both; }
  .js .hero-text > :nth-child(2), .js .phero-text > :nth-child(2) { animation-delay: .08s; }
  .js .hero-text > :nth-child(3), .js .phero-text > :nth-child(3) { animation-delay: .16s; }
  .js .hero-text > :nth-child(4), .js .phero-text > :nth-child(4) { animation-delay: .24s; }
  .js .hero-text > :nth-child(5), .js .phero-text > :nth-child(5) { animation-delay: .32s; }
  .js .hero-form, .js .phero-form-wrap { animation: rise 1s var(--ease) .2s both; }
  .js .hero-img { animation: drift 20s ease-out both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes drift { from { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* eligibility: self-employed ITR inputs and EMI-by-tenure table */
.itr { display: grid; gap: 22px; padding: 20px; border-radius: 16px; background: var(--navy-50); }
.itr[hidden], [data-show][hidden] { display: none; }
.itr-h { font-weight: 800; color: var(--ink); font-size: .9375rem; }
.itr .rng-val { background: #fff; }
.emi-table { padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.06); }
.emi-table p { font-size: .8125rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.emi-table table { font-size: .875rem; }
.emi-table td { padding: 7px 0; border-top: 1px solid rgba(255,255,255,.1); color: #c3cbe3; }
.emi-table td:last-child { text-align: right; color: #fff; font-weight: 700; }
.emi-table tr.cur td { color: #fff; }
.emi-table tr.cur td:first-child::after { content: "  · your tenure"; color: #ff9ca0; font-weight: 600; }
.emi-table tbody tr:hover { background: none; }

/* ---------- Property listings ---------- */
.pfilter { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 12px; margin-bottom: 24px; }
.plist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prop { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); text-decoration: none; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; }
.prop[hidden] { display: none; }
.prop:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.prop-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-50); }
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prop:hover .prop-img img { transform: scale(1.05); }
.prop-badge { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(11,22,64,.85); color: #fff; font-size: .75rem; font-weight: 700; }
.prop-badge.sold { background: var(--red); }
.prop-body { display: grid; gap: 6px; padding: 20px 22px 22px; }
.prop-price { font-size: 1.5rem; font-weight: 800; color: var(--red); letter-spacing: -0.03em; }
.prop-body b { color: var(--ink); font-size: 1.0625rem; }
.prop-loc { display: flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--muted); }
.prop-loc .ic { width: 16px; height: 16px; color: var(--red); }
.prop-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.prop-chips span { padding: 5px 10px; border-radius: 8px; background: var(--navy-50); font-size: .8125rem; font-weight: 700; color: var(--navy); }
.prop-none { margin-top: 18px; padding: 22px; border-radius: 16px; background: var(--navy-50); }
.prop-none .link { background: none; border: 0; padding: 0; cursor: pointer; }
.prop-empty { padding: 32px; border-radius: 20px; background: var(--navy-50); text-align: center; }
@media (max-width: 960px) { .plist { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plist, .pfilter { grid-template-columns: 1fr; } }

/* single property page */
.sp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(36px, 5vw, 64px); }
.sp-price { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 800; color: var(--red); letter-spacing: -0.04em; margin-top: 14px; }
.sp-loc { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--muted); }
.sp-loc .ic { color: var(--red); }
.sp-head .prop-chips { margin: 18px 0 24px; }
.sp-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--sh-2); }
.sp-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.wp-content > * + * { margin-top: 1em; }
.wp-content img { border-radius: 14px; }
.wp-content .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.wp-content .wp-block-gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.wp-content h2 { font-size: 1.5rem; margin-top: 1.4em; }
.sp-facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: .9375rem; }
.sp-facts dt { color: var(--muted); }
.sp-facts dd { color: var(--ink); font-weight: 700; text-align: right; }
.sp-emi { margin-top: 6px; padding: 16px; border-radius: 14px; background: var(--navy-50); font-size: .875rem; }
.sp-emi b { display: block; font-size: 1.375rem; color: var(--navy); }
@media (max-width: 960px) { .sp-head, .sp-body { grid-template-columns: 1fr; } }

/* buy / sell switch in the resale form */
.seg-full { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg-full legend { font-size: .8125rem; margin-bottom: 6px; }
.seg-full span { width: 100%; justify-content: center; }
[data-buy-only][hidden] { display: none; }

/* Phone and tablet menu: a blur on the header makes fixed children size to the header instead of the
   screen, which cut the menu off. Solid header on small screens; menu fills the screen below the header. */
@media (max-width: 1080px) {
  .bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .bar.open { box-shadow: 0 1px 0 var(--line); }
  .bar.open ~ .mbar, .bar.open ~ .wa-float, .bar.open ~ .side-tabs { display: none; }
  .nav > a, .dd-btn { padding: 12px 12px; }
  .dd-panel .dd-grid a, .dd-panel .dd-list a { padding: 10px 12px; }
  .dd-panel small { display: none; }
}

/* Property page: photo gallery, amenities, lightbox */
.sp-img { position: relative; }
.sp-all { position: absolute; right: 16px; bottom: 16px; border: 0; border-radius: 999px; padding: 10px 18px; background: #fff; color: var(--navy); font: inherit; font-weight: 700; font-size: .9375rem; box-shadow: var(--sh-2); cursor: pointer; }
.sp-all:hover { background: var(--navy); color: #fff; }
.sp-main > .sp-h:first-child { margin-top: 0; }
.sp-h { font-size: 1.5rem; margin: 1.6em 0 .7em; letter-spacing: -0.02em; }
.sp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.sp-gallery a { display: block; border-radius: 14px; overflow: hidden; }
.sp-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .4s ease; }
.sp-gallery a:hover img { transform: scale(1.04); }
.sp-notes p + p { margin-top: .8em; }
.sp-notes { font-size: 1.0625rem; }
.sp-amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; }
.sp-lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; }
.sp-lb::backdrop { background: rgba(8, 14, 40, .92); }
.sp-lb[open] { display: grid; place-items: center; }
.sp-lb img { max-width: min(92vw, 1400px); max-height: 84dvh; object-fit: contain; border-radius: 10px; }
.sp-lb button { position: fixed; border: 0; border-radius: 50%; width: 52px; height: 52px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.sp-lb button:hover { background: var(--red); }
.sp-lb-x { top: 18px; right: 18px; }
.sp-lb-p { left: 18px; top: 50%; transform: translateY(-50%); }
.sp-lb-n { right: 18px; top: 50%; transform: translateY(-50%); }
.sp-lb-c { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); color: #fff; font-weight: 600; font-size: .9375rem; }
@media (max-width: 600px) { .sp-lb-p, .sp-lb-n { top: auto; bottom: 12px; transform: none; } .sp-gallery { grid-template-columns: repeat(2, 1fr); } }
