/* ═══════════ Worldwide Properties — portal UI (MagicBricks / 99acres patterns) ═══════════ */
:root {
  --bg: #F4F6FA;
  --bg2: #EAEFF6;
  --card: #FFFFFF;
  --ink: #091E42;
  --ink2: #42526E;
  --mute: #7A869A;
  --line: #E3E8F0;
  --brand: #0B57D0;
  --brand-d: #083E96;
  --brand-50: #EAF2FF;
  --gold: #C8962E;
  --gold-50: #FBF4E4;
  --green: #12A150;
  --green-50: #E7F7EE;
  --amber: #E8870B;
  --violet: #6E4BD8;
  --navy: #071A33;
  --shadow: 0 1px 2px rgba(9, 30, 66, .06), 0 4px 16px rgba(9, 30, 66, .07);
  --shadow-lg: 0 18px 50px rgba(9, 30, 66, .18);
  --r: 16px;
  --hdr: 84px;
  --tb: 36px;
  --bnav: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}
@media (max-width: 899px) { :root { --hdr: 66px; --tb: 34px; } }
:root.tb-off { --tb: 0px; }

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100dvh; font-size: 15px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }
.ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.ic.sm { width: 15px; height: 15px; }
.ic.lg { width: 26px; height: 26px; }
.ic.xl { width: 32px; height: 32px; }
@media (max-width: 899px) { .hide-m { display: none !important; } }
@media (min-width: 900px) { .hide-d { display: none !important; } }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.muted { color: var(--mute); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 600; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.12; }
.h1 { font-size: clamp(28px, 5vw, 46px); font-weight: 800; }
.h2 { font-size: clamp(22px, 3.2vw, 32px); font-weight: 800; }
#prog { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--gold)); z-index: 80; }

/* ── top bar (rotating announcements + live clocks + flying plane) ── */
.topbar { position: fixed; inset: 0 0 auto; height: var(--tb); z-index: 61; overflow: hidden; color: #fff; background: linear-gradient(90deg, #071A33 0%, #0B3A80 50%, #071A33 100%); background-size: 200% 100%; animation: tbshift 14s ease-in-out infinite alternate; transition: height .35s; font-size: 13px; }
@keyframes tbshift { to { background-position: 100% 0; } }
.tb-in { height: 100%; display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.tb-msgs { flex: 1; min-width: 0; height: 100%; position: relative; overflow: hidden; }
.tb-msg { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; transform: translateY(10px); opacity: 0; visibility: hidden; transition: transform .45s cubic-bezier(.2, .8, .2, 1) .3s, opacity .45s ease .3s, visibility 0s .75s; font-weight: 500; }
.tb-msg.on { transform: none; opacity: 1; visibility: visible; transition-delay: .3s, .3s, 0s; }
.tb-msg.out { transform: translateY(-10px); opacity: 0; visibility: visible; transition: transform .3s ease, opacity .25s ease, visibility 0s .3s; }
.tb-msg > .ic { width: 15px; height: 15px; color: #F5D38A; flex: none; }
.tb-msg .txt { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tb-msg b { font-weight: 700; }
.tb-msg .go { color: #F5D38A; font-weight: 700; display: inline-flex; align-items: center; gap: 2px; flex: none; }
.tb-msg .go .ic { width: 13px; height: 13px; }
.tb-tag { font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 4px; background: #F5D38A; color: #071A33; flex: none; }
.tb-clock { display: flex; gap: 14px; align-items: center; white-space: nowrap; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .88); }
.tb-clock > span { display: inline-flex; gap: 6px; align-items: center; }
.tb-clock .ic { width: 14px; height: 14px; color: #F5D38A; }
.tb-clock .sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .25); }
.tb-clock .colon { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .35; } }
@media (max-width: 899px) { .tb-clock .pune, .tb-clock .sep { display: none; } .topbar { font-size: 12px; } .tb-msg .go { display: none; } }
.tb-x { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; color: rgba(255, 255, 255, .7); flex: none; }
.tb-x:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.tb-lane { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .08); pointer-events: none; }
.tb-lane i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: repeating-linear-gradient(90deg, rgba(245, 211, 138, .7) 0 6px, transparent 6px 10px); }
.tb-lane.run i { animation: lane 4.5s linear forwards; }
@keyframes lane { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .tb-lane { display: none; } }
:root.tb-off .topbar { height: 0; }

/* ── header ── */
.hdr { position: fixed; inset: var(--tb) 0 auto; height: var(--hdr); z-index: 60; background: #fff; border-bottom: 1px solid var(--line); transition: top .35s, background .3s, border-color .3s, box-shadow .3s; }
.hdr.scrolled { box-shadow: 0 6px 24px rgba(9, 30, 66, .08); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 16px; }
.burger { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; margin-left: -8px; }
.logo { display: block; position: relative; flex: none; }
.logo img { height: 62px; width: auto; transition: opacity .3s; }
.logo .logo-light { position: absolute; left: 0; top: 0; opacity: 0; }
@media (max-width: 899px) { .logo img { height: 50px; } }
.city { position: relative; }
.city > button { white-space: nowrap; display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; padding: 8px 4px; }
.city-pop { position: absolute; top: 100%; left: 0; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 210px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.city:hover .city-pop, .city:focus-within .city-pop { opacity: 1; visibility: visible; transform: none; }
.city-pop a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.city-pop a:hover { background: var(--brand-50); color: var(--brand); }
.mnav { display: flex; align-items: stretch; height: 100%; margin-left: auto; }
.mi { display: flex; align-items: center; }
.mi > a { white-space: nowrap; position: relative; display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 13px; font-weight: 600; font-size: 14.5px; color: var(--ink2); transition: color .2s; }
.mi > a .ic { width: 15px; height: 15px; transition: transform .25s; }
.mi:hover > a .ic { transform: rotate(180deg); }
.mi > a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); transform: scaleX(0); transition: transform .25s; }
.mi:hover > a, .mi.on > a { color: var(--ink); }
.mi:hover > a::after, .mi.on > a::after { transform: scaleX(1); }
.new-b { position: absolute; top: 12px; right: 0; font-size: 9px; font-weight: 800; background: #E5484D; color: #fff; padding: 1px 5px; border-radius: 4px; letter-spacing: .04em; }
.mega { position: absolute; left: 50%; top: calc(var(--hdr) - 1px); transform: translate(-50%, 10px); width: min(1100px, calc(100vw - 48px)); background: #fff; color: var(--ink); border-radius: 0 0 18px 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); border-top: 0; opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s, visibility .22s; overflow: hidden; }
.mi:hover .mega, .mi:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-body { display: grid; grid-template-columns: 1fr 280px; }
.mega-cols { padding: 24px 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 28px; align-content: start; }
.mega-cols .col { display: flex; flex-direction: column; }
.mega-cols h6 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin: 0 0 8px; font-weight: 800; }
.mega-cols a { font-size: 14px; color: var(--ink2); padding: 6px 0; display: flex; align-items: center; gap: 8px; transition: color .2s, transform .2s; }
.mega-cols a:hover { color: var(--brand); transform: translateX(3px); }
.mega-cols a .ic { width: 16px; height: 16px; color: var(--mute); }
.mega-cols a small { color: var(--mute); font-size: 12px; margin-left: auto; }
.mega-promo { margin: 18px 18px 18px 0; border-radius: 14px; background: linear-gradient(160deg, var(--brand-50), #fff); border: 1px solid #D6E4FF; padding: 18px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.mega-promo img { border-radius: 10px; height: 110px; object-fit: cover; width: 100%; }
.mega-promo b { font-size: 17px; }
.mega-promo li { list-style: none; display: flex; gap: 8px; font-size: 13.5px; color: var(--ink2); align-items: center; }
.mega-promo li .ic { color: var(--brand); width: 16px; height: 16px; }
.mega-foot { border-top: 1px solid var(--line); padding: 11px 28px; font-size: 12.5px; color: var(--mute); display: flex; justify-content: space-between; }
.mega-foot a { color: var(--brand); font-weight: 700; }
.mega-projects { padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
.mproj { display: flex; gap: 12px; padding: 8px; border-radius: 12px; transition: background .2s; align-items: center; }
.mproj:hover { background: var(--bg); }
.mproj img, .mproj .art-mini { width: 76px; height: 58px; border-radius: 10px; object-fit: cover; flex: none; }
.mproj b { display: block; font-size: 14px; line-height: 1.25; }
.mproj small { color: var(--mute); font-size: 12px; }
.hdr-r { display: flex; align-items: center; gap: 6px; margin-left: auto; }
@media (min-width: 900px) { .hdr-r { margin-left: 6px; } }
.pill-free { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 14px; border-radius: 999px; background: #fff; border: 1.5px solid #D6E4FF; color: var(--brand); font-weight: 700; font-size: 14px; white-space: nowrap; transition: .2s; }
.pill-free:hover { border-color: var(--brand); box-shadow: 0 4px 14px rgba(11, 87, 208, .18); }
.pill-free b { background: var(--green); color: #fff; font-size: 10.5px; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; }
@media (max-width: 899px) { .pill-free { height: 34px; font-size: 13px; padding-left: 12px; } }
.hbtn { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink2); transition: .2s; }
.hbtn:hover { background: var(--bg); color: var(--ink); }
.hbtn .dot, .bnav .badge { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; border-radius: 9px; background: #E5484D; color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; font-style: normal; }
@media (min-width: 900px) {
body.over .hdr:not(.scrolled) { background: transparent; border-color: transparent; color: #fff; }
body.over .hdr:not(.scrolled) .mi > a, body.over .hdr:not(.scrolled) .hbtn { color: rgba(255, 255, 255, .9); }
body.over .hdr:not(.scrolled) .mi:hover > a { color: #fff; }
body.over .hdr:not(.scrolled) .mi > a::after { background: #fff; }
body.over .hdr:not(.scrolled) .hbtn:hover { background: rgba(255, 255, 255, .14); }
body.over .hdr:not(.scrolled) .logo .logo-light { opacity: 1; }
body.over .hdr:not(.scrolled) .logo .logo-dark { opacity: 0; }
body.over .hdr:not(.scrolled) .city > button { color: #fff; }
}

@media (max-width: 1240px) { .mi > a { padding: 0 9px; font-size: 14px; } .mi > a::after { left: 9px; right: 9px; } .hdr-in { gap: 10px; } }
@media (max-width: 1100px) { .city { display: none; } .hdr-r .hbtn[href="#/contact"] { display: none; } }

/* ── drawer (MagicBricks-style side menu) ── */
.drawer { position: fixed; z-index: 92; inset: 0 auto 0 0; width: min(360px, 88vw); background: #fff; transform: translateX(-102%); transition: transform .4s cubic-bezier(.2, .9, .2, 1); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer.on { transform: none; }
.dr-head { background: var(--navy); color: #fff; padding: 18px 18px 20px; padding-top: max(18px, env(safe-area-inset-top)); position: relative; overflow: hidden; }
.dr-head::after { content: ''; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .05); }
.dr-head .x { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; z-index: 1; }
.dr-head .who { display: flex; gap: 12px; align-items: center; margin: 4px 0 14px; }
.dr-head .av { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; color: #F5D38A; }
.dr-head b { font-size: 17px; display: block; }
.dr-head small { opacity: .7; font-size: 12.5px; }
.dr-head .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; z-index: 1; }
.dr-body { flex: 1; overflow-y: auto; padding: 8px 0 20px; }
.dr-free { margin: 12px 16px 4px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--gold-50); border: 1px solid #F0DEB4; font-weight: 700; font-size: 14px; }
.dr-free .ic { color: var(--gold); }
.dr-free b { margin-left: auto; background: var(--green); color: #fff; font-size: 10px; padding: 3px 8px; border-radius: 999px; letter-spacing: .06em; }
.acc { border-bottom: 1px solid var(--line); }
.acc > button, .dr-link { width: 100%; display: flex; align-items: center; gap: 14px; padding: 15px 18px; font-weight: 700; font-size: 15px; text-align: left; }
.acc > button .ic:first-child, .dr-link .ic { color: var(--brand); }
.acc > button .chev { margin-left: auto; color: var(--mute); transition: transform .3s; }
.acc.open > button .chev { transform: rotate(180deg); }
.acc .acc-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc.open .acc-p { grid-template-rows: 1fr; }
.acc .acc-p > div { overflow: hidden; }
.acc .acc-p a { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px 10px 52px; font-size: 14px; color: var(--ink2); font-weight: 500; }
.acc .acc-p a:hover { color: var(--brand); background: var(--bg); }
.acc .acc-p a small { color: var(--mute); font-size: 12px; }
.acc .acc-p > div > :last-child { margin-bottom: 8px; }
.dr-link { border-bottom: 1px solid var(--line); }
.dr-foot { padding: 14px 18px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 14.5px; transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s; white-space: nowrap; border: 1.5px solid transparent; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-d); box-shadow: 0 8px 22px rgba(11, 87, 208, .3); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-outline:hover { background: var(--brand-50); }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg2); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-wa { background: #1FAF5A; color: #fff; }
.btn-wa:hover { background: #17924A; }
.btn-white { background: #fff; color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.link { color: var(--brand); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; }
.link .ic { width: 16px; height: 16px; transition: transform .2s; }
.link:hover .ic { transform: translateX(3px); }

/* ── main ── */
main { padding-top: calc(var(--hdr) + var(--tb)); padding-bottom: calc(var(--bnav) + var(--safe-b) + 8px); min-height: 100dvh; }
@media (min-width: 900px) { main { padding-bottom: 0; } body.over main { padding-top: 0; } }
section { padding: 34px 0; }
@media (min-width: 900px) { section { padding: 56px 0; } }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head p { color: var(--ink2); margin-top: 4px; font-size: 14.5px; }

/* ── bottom nav ── */
.bnav { position: fixed; inset: auto 0 0; height: calc(var(--bnav) + var(--safe-b)); padding-bottom: var(--safe-b); z-index: 60; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); box-shadow: 0 -4px 18px rgba(9, 30, 66, .05); }
.bnav > * { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--ink2); }
.bnav .ic { width: 22px; height: 22px; stroke-width: 1.8; }
.bnav .on { color: var(--ink); font-weight: 800; }
.bnav .on .ic { stroke-width: 2.4; color: var(--brand); }
.bnav .badge { top: 6px; right: calc(50% - 22px); }
.bnav [data-ai] .ai-dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), #5B8DEF); box-shadow: 0 4px 12px rgba(11, 87, 208, .35); }
.bnav [data-ai] .ai-dot .ic { width: 17px; height: 17px; color: #fff; }
.bnav [data-ai] em { position: absolute; top: 3px; left: calc(50% + 6px); font-style: normal; font-size: 8.5px; font-weight: 800; background: var(--green); color: #fff; padding: 1px 5px; border-radius: 6px; letter-spacing: .05em; }
@media (min-width: 900px) { .bnav { display: none; } }
.fabs { position: fixed; right: 22px; bottom: 22px; z-index: 58; display: none; flex-direction: column; align-items: flex-end; gap: 12px; }
@media (min-width: 900px) { .fabs { display: flex; } }
.fab-wa { width: 50px; height: 50px; border-radius: 50%; background: #1FAF5A; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(31, 175, 90, .35); transition: transform .2s; }
.fab-wa .ic { width: 26px; height: 26px; }
.fab-wa:hover { transform: scale(1.06); }
.fab-ai { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 8px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; box-shadow: var(--shadow-lg); position: relative; }
.fab-ai .ai-dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #5B8DEF); }
.fab-ai::before { content: ''; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(11, 87, 208, .5); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { opacity: 1; transform: scale(.96); } to { opacity: 0; transform: scale(1.18); } }
body.chat-open .fabs { display: none; }

/* ── hero ── */
.hero { position: relative; min-height: max(720px, 92vh); display: flex; align-items: flex-end; color: #fff; padding: 0; overflow: hidden; background: var(--navy); }
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slides img, .m-banner img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; opacity: 0; z-index: 0; transition: opacity 1.8s ease; will-change: transform, opacity; }
.hero-slides img.on, .m-banner img.on, .hero-slides img.prev, .m-banner img.prev { animation: kb1 7.5s ease-out both; }
.hero-slides img:nth-child(2n), .m-banner img:nth-child(2n) { animation-name: kb2 !important; }
.hero-slides img:nth-child(3n), .m-banner img:nth-child(3n) { animation-name: kb3 !important; }
.hero-slides img.on, .m-banner img.on { opacity: 1; z-index: 1; }
.hero-slides img.prev, .m-banner img.prev { opacity: 0; z-index: 2; animation-play-state: paused; }
.hero-slides::after { z-index: 3; }
@keyframes kb1 { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.16) translate(-2.5%, -1.5%); } }
@keyframes kb2 { from { transform: scale(1.18) translate(2%, 1%); } to { transform: scale(1.04) translate(-1%, 0); } }
@keyframes kb3 { from { transform: scale(1.05) translate(-2%, 1.5%); } to { transform: scale(1.17) translate(2%, -1%); } }
.hero-slides::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 26, 51, .78) 0%, rgba(7, 26, 51, .2) 35%, rgba(7, 26, 51, .55) 70%, rgba(7, 26, 51, .94) 100%); }
.hero-in { position: relative; z-index: 2; width: 100%; padding-top: 200px; padding-bottom: 46px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; max-width: 820px; }
.hero h1 .w { display: inline-block; }
.hero h1 .serif { color: #F5D38A; }
.hero .lead { font-size: 17px; max-width: 560px; margin: 14px 0 26px; color: rgba(255, 255, 255, .86); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-weight: 600; font-size: 13px; margin-bottom: 18px; backdrop-filter: blur(8px); }
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .25); }
.hero-feat { position: absolute; right: 28px; top: 120px; z-index: 2; text-align: right; font-size: 12px; opacity: .9; }
.hero-feat b { display: block; font-size: 18px; }
@media (max-width: 899px) { .hero { display: none; } }
.m-hero { display: none; }
@media (max-width: 899px) { .m-hero { display: block; } }
.m-banner { position: relative; height: 220px; overflow: hidden; }
.m-banner::after { z-index: 3; content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 26, 51, .1) 20%, rgba(7, 26, 51, .88)); }
.m-banner .cap { z-index: 4; position: absolute; left: 16px; right: 16px; bottom: 46px; color: #fff; }
.m-banner .cap b { font-size: 22px; display: block; line-height: 1.15; font-weight: 800; }
.m-banner .cap small { opacity: .85; font-size: 12.5px; }

/* search card */
.scard { background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); max-width: 960px; position: relative; }
@media (max-width: 899px) { .scard { margin: -30px 16px 0; z-index: 3; box-shadow: 0 8px 26px rgba(9, 30, 66, .14); } }
.stabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.stabs::-webkit-scrollbar { display: none; }
.stabs button { position: relative; padding: 16px 14px 14px; font-weight: 600; color: var(--ink2); white-space: nowrap; font-size: 15px; }
.stabs button.on { color: var(--ink); font-weight: 800; }
.stabs button.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--brand); }
.stabs .reddot { position: absolute; top: 12px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: #E5484D; }
.srow { display: flex; align-items: center; padding: 10px; }
.srow select { height: 48px; border: 0; background: none; font-weight: 700; padding: 0 12px; outline: 0; border-right: 1px solid var(--line); max-width: 180px; cursor: pointer; font-size: 14px; }
.srow .inp { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; min-width: 0; position: relative; }
.srow .inp .ic { color: var(--mute); }
.srow input { flex: 1; border: 0; outline: 0; height: 48px; font-size: 15.5px; min-width: 0; background: none; }
.srow .btn { height: 48px; padding: 0 28px; }
@media (max-width: 899px) { .stabs button { padding: 13px 10px 11px; font-size: 14px; } .srow select { display: none; } .srow .btn { padding: 0 16px; } .srow .inp { padding: 0 8px; } }
.srow input.typing::placeholder { color: var(--ink2); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px; z-index: 20; max-height: 380px; overflow: auto; color: var(--ink); }
.suggest h6 { font-size: 11px; color: var(--mute); letter-spacing: .1em; text-transform: uppercase; padding: 8px 10px 4px; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.suggest a:hover, .suggest a.hl { background: var(--bg); }
.suggest img, .suggest .sq { width: 44px; height: 36px; border-radius: 8px; object-fit: cover; flex: none; background: var(--brand-50); display: grid; place-items: center; color: var(--brand); }
.suggest b { display: block; font-size: 14px; }
.suggest small { color: var(--mute); font-size: 12px; }
.popular { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; align-items: center; font-size: 13px; }
.popular span { opacity: .8; }
.popular a { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-weight: 600; transition: background .2s; }
.popular a:hover { background: rgba(255, 255, 255, .26); }

/* get-started tiles */
.gs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (min-width: 900px) { .gs { grid-template-columns: repeat(8, 1fr); gap: 14px; } }
.gs a { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 4px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.2; transition: transform .25s, box-shadow .25s, border-color .25s; }
.gs a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D6E4FF; }
.bub { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex: none; }
.bub.g { background: var(--green-50); color: var(--green); }
.bub.o { background: #FFF3E3; color: var(--amber); }
.bub.v { background: #F1ECFF; color: var(--violet); }
.bub.y { background: var(--gold-50); color: var(--gold); }
.bub.sq { border-radius: 12px; }

/* stories */
.stories { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 6px; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: none; width: 72px; text-align: center; }
.story .ring { width: 72px; height: 72px; border-radius: 50%; padding: 2.5px; background: conic-gradient(var(--brand), var(--gold), var(--brand)); transition: transform .2s; }
.story.seen .ring { background: var(--line); }
.story:hover .ring { transform: scale(1.05); }
.story .ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); }
.story span { display: block; font-size: 11.5px; font-weight: 600; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink2); }

/* chips */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; transition: .2s; color: var(--ink2); }
.chip .ic { width: 15px; height: 15px; }
.chip:hover { border-color: #B9CCF0; }
.chip.on { background: var(--brand-50); color: var(--brand); border-color: var(--brand); }
.chip .n { font-size: 11.5px; color: var(--mute); }
.chip.on .n { color: var(--brand); }

/* project cards */
.hscroll { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 16px 20px; margin: 0 -16px; scroll-padding: 16px; scroll-behavior: smooth; }
@media (min-width: 768px) { .hscroll { margin: 0 -28px; padding: 4px 28px 20px; scroll-padding: 28px; } }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex: none; }
.carousel { position: relative; }
.c-nav { position: absolute; top: 36%; z-index: 4; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; color: var(--ink); transition: .2s; }
.c-nav:hover { background: var(--brand); color: #fff; }
.c-nav.prev { left: -18px; } .c-nav.next { right: -18px; }
@media (max-width: 899px) { .c-nav { display: none; } }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.pcard { position: relative; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s, transform .3s; }
@media (hover: hover) { .pcard:hover { transform: translateY(-4px); } }
.hscroll .pcard { width: min(82vw, 330px); }
.pcard:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard .media { display: block; position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--bg2); }
.pcard .media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .5s; }
.pcard .media img.ld { opacity: 1; }
.pcard .media { background: linear-gradient(110deg, var(--bg2) 30%, #F6F8FC 50%, var(--bg2) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.pcard:hover .media img { transform: scale(1.07); }
.pcard .media::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .5)); pointer-events: none; }
.pcard .top-row { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: start; z-index: 2; gap: 8px; pointer-events: none; }
.pcard .top-row > * { pointer-events: auto; }
.pcard .count { position: absolute; left: 12px; bottom: 10px; z-index: 2; color: #fff; font-size: 12px; font-weight: 700; display: flex; gap: 5px; align-items: center; }
.pcard .count .ic { width: 15px; height: 15px; }
.pcard .body { padding: 14px 16px 16px; }
.pcard h3 { font-size: 17.5px; font-weight: 800; letter-spacing: -.01em; }
.pcard .loc { font-size: 13px; color: var(--ink2); display: flex; gap: 5px; align-items: center; margin-top: 3px; }
.pcard .loc .ic { width: 14px; height: 14px; color: var(--mute); }
.pcard .cfg { font-size: 13px; color: var(--ink); font-weight: 600; margin: 10px 0 12px; display: flex; gap: 6px; align-items: center; }
.pcard .cfg .ic { width: 15px; height: 15px; color: var(--brand); }
.pcard .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px dashed var(--line); padding-top: 12px; }
.price { font-weight: 800; font-size: 14px; }
.price small { display: block; font-size: 11px; color: var(--mute); font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 5px 10px 5px 8px; border-radius: 6px; color: #fff; white-space: nowrap; }
.status .ic { width: 13px; height: 13px; }
.status.launch { background: var(--violet); }
.status.build { background: var(--amber); }
.status.partial { background: var(--brand); }
.status.ready { background: var(--green); }
.status.none { background: rgba(7, 26, 51, .72); }
.hot { display: inline-flex; align-items: center; gap: 4px; background: #FFF1E6; color: #C2410C; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; margin-left: 8px; vertical-align: middle; }
.hot .ic { width: 12px; height: 12px; }
.save { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 3px 10px rgba(0, 0, 0, .15); transition: transform .2s, color .2s; }
.save .ic { width: 18px; height: 18px; }
.save.on { color: var(--brand); }
.save.on .ic { fill: currentColor; }
.save.pop { animation: pop .4s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pop { 40% { transform: scale(1.25); } }
.cmp { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink2); cursor: pointer; user-select: none; }
.cmp i { width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid #B3BFD1; display: grid; place-items: center; transition: .2s; }
.cmp i .ic { width: 12px; height: 12px; color: #fff; opacity: 0; }
.cmp.on { color: var(--brand); }
.cmp.on i { background: var(--brand); border-color: var(--brand); }
.cmp.on i .ic { opacity: 1; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: var(--bg); color: var(--ink2); border: 1px solid var(--line); }
.art { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; color: #fff; overflow: hidden; background: linear-gradient(160deg, #0B57D0 0%, #071A33 100%); }
.art::before { content: ''; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .06); }
.art .ic { position: absolute; right: 22px; top: 22px; width: 54px; height: 54px; color: rgba(255, 255, 255, .35); stroke-width: 1.4; }
.art b { position: relative; font-size: 22px; line-height: 1.1; max-width: 80%; }
.art-mini { background: linear-gradient(160deg, #0B57D0, #071A33); display: grid; place-items: center; color: rgba(255, 255, 255, .6); }

/* stats band */
.band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 15% 0%, rgba(11, 87, 208, .45), transparent 70%), radial-gradient(500px 260px at 90% 100%, rgba(200, 150, 46, .25), transparent 70%); }
.band .wrap { position: relative; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: 18px; overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--navy); padding: 24px 20px; }
.stat > .ic { color: #F5D38A; margin-bottom: 14px; }
.stat b { display: block; font-size: clamp(30px, 4.6vw, 46px); line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.stat span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.stats.light { background: var(--line); }
.stats.light .stat { background: #fff; }
.stats.light .stat span { color: var(--ink2); }
.stats.light .stat > .ic { color: var(--brand); }

/* localities */
.locs { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .locs { grid-template-columns: repeat(5, 1fr); } }
.locs .loc { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3/4; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; isolation: isolate; }
.locs .loc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.locs .loc::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(7, 26, 51, .9)); }
.locs .loc:hover img { transform: scale(1.08); }
.locs .loc b { font-size: 18px; }
.locs .loc small { font-size: 12.5px; opacity: .85; line-height: 1.35; }
.locs .loc .n { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }

/* tools */
.tools { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tools { grid-template-columns: repeat(4, 1fr); } }
.tool { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden; text-align: left; }
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tool b { font-size: 17px; }
.tool p { font-size: 13.5px; color: var(--ink2); flex: 1; }
.tool.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.tool.dark p { color: rgba(255, 255, 255, .72); }
.tool.dark .bub { background: rgba(255, 255, 255, .1); color: #F5D38A; }
.tool.dark .link { color: #F5D38A; }

/* view simulator */
.viewsim { border-radius: 20px; overflow: hidden; position: relative; background: #000; color: #fff; box-shadow: var(--shadow-lg); }
.viewsim .stage { position: relative; aspect-ratio: 16/9; }
@media (max-width: 640px) { .viewsim .stage { aspect-ratio: 4/5; } }
.viewsim .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s ease; }
.viewsim .hud { position: absolute; inset: auto 0 0; padding: 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); display: grid; gap: 12px; z-index: 3; }
.viewsim .hud-top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; z-index: 3; gap: 8px; }
.seg { display: inline-flex; background: rgba(255, 255, 255, .16); backdrop-filter: blur(12px); border-radius: 10px; padding: 4px; gap: 2px; }
.seg button, .seg a { padding: 7px 12px; border-radius: 7px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .88); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.seg .ic { width: 15px; height: 15px; }
.seg button.on { background: #fff; color: var(--ink); }
.seg.light { background: var(--bg2); }
.seg.light button { color: var(--ink2); }
.seg.light button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.floor-ctl { display: flex; align-items: center; gap: 14px; }
.floor-ctl input { flex: 1; accent-color: #F5D38A; }
.floor-badge { font-size: 34px; line-height: 1; min-width: 72px; font-weight: 800; }
.floor-badge small { font-size: 10.5px; display: block; opacity: .7; font-weight: 700; letter-spacing: .12em; }
.lift { position: absolute; left: 16px; top: 72px; z-index: 3; width: 6px; height: 110px; border-radius: 3px; background: rgba(255, 255, 255, .2); }
.lift i { position: absolute; left: -5px; width: 16px; height: 16px; border-radius: 50%; background: #F5D38A; box-shadow: 0 0 16px #F5D38A; transition: bottom .6s cubic-bezier(.4, 1.4, .5, 1); }
@media (max-width: 640px) { .viewsim .hud-top a { display: none; } }

/* calculator & quiz */
.calc { background: #fff; border-radius: 20px; padding: 22px; border: 1px solid var(--line); display: grid; gap: 22px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; padding: 32px; gap: 40px; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 13px; display: flex; justify-content: space-between; color: var(--ink2); gap: 8px; }
.field label output { color: var(--brand); font-variant-numeric: tabular-nums; font-weight: 800; }
.field input[type=range] { width: 100%; accent-color: var(--brand); height: 26px; }
.field input:not([type=range]), .field select, .field textarea { height: 48px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; padding: 0 14px; outline: 0; transition: border .2s, box-shadow .2s; font-size: 15px; width: 100%; }
.field textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.result { border-radius: 16px; padding: 22px; background: var(--navy); color: #fff; display: grid; gap: 12px; align-content: start; }
.result .big { font-size: clamp(34px, 6vw, 52px); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: #F5D38A; }
.result .row { display: flex; justify-content: space-between; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 10px; gap: 10px; }
.result .row b { font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: end; gap: 6px; height: 110px; margin-bottom: 14px; }
.bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #F5D38A, var(--gold)); transition: height .6s cubic-bezier(.2, .8, .2, 1); position: relative; }
.bars i span { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; opacity: .6; font-style: normal; }
.fine { font-size: 11.5px; color: var(--mute); line-height: 1.5; }
.result .fine { color: rgba(255, 255, 255, .55); }
.quiz { background: #fff; border-radius: 20px; border: 1px solid var(--line); padding: 26px; max-width: 880px; margin: 0 auto; }
.quiz .progress { height: 5px; background: var(--bg2); border-radius: 3px; overflow: hidden; margin-bottom: 20px; }
.quiz .progress i { display: block; height: 100%; background: var(--brand); transition: width .4s; }
.quiz h3 { font-size: clamp(22px, 3.4vw, 28px); font-weight: 800; margin: 6px 0 16px; }
.opts { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .opts { grid-template-columns: repeat(4, 1fr); } }
.opt { padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); text-align: left; font-weight: 700; transition: .2s; display: grid; gap: 6px; background: #fff; }
.opt:hover { border-color: var(--brand); background: var(--brand-50); transform: translateY(-2px); }
.opt > .ic { color: var(--brand); width: 26px; height: 26px; }
.opt small { font-weight: 500; color: var(--mute); font-size: 12px; }

/* discover */
.deck-wrap { max-width: 440px; margin: 0 auto; padding: 0 16px; }
.deck { position: relative; height: clamp(340px, calc(100dvh - var(--hdr) - var(--tb) - var(--bnav) - 240px), 560px); margin: 14px 0 18px; }
.swipe { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; touch-action: none; user-select: none; will-change: transform; transition: transform .35s cubic-bezier(.2, .8, .2, 1); cursor: grab; }
.swipe.drag { transition: none; cursor: grabbing; }
.swipe > img, .swipe > .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.swipe .info { position: absolute; inset: auto 0 0; padding: 70px 20px 20px; background: linear-gradient(transparent, rgba(7, 26, 51, .94)); color: #fff; }
.swipe .info h3 { font-size: 26px; font-weight: 800; margin-top: 10px; }
.swipe .info p { opacity: .85; font-size: 14px; margin: 4px 0 10px; }
.swipe .info .tag { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .2); }
.swipe .stamp { position: absolute; top: 26px; padding: 6px 12px; border: 3px solid; border-radius: 8px; font-weight: 800; font-size: 16px; letter-spacing: .08em; opacity: 0; z-index: 3; background: rgba(255, 255, 255, .92); }
.swipe .stamp.yes { left: 20px; color: var(--brand); transform: rotate(-8deg); }
.swipe .stamp.no { right: 20px; color: var(--mute); transform: rotate(8deg); }
.deck-ctl { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.deck-ctl .btn { height: 50px; }

/* project page */
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--mute); padding: 14px 0 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand); }
.crumbs .ic { width: 13px; height: 13px; }
.pgal { display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; border-radius: 18px; overflow: hidden; position: relative; }
.pgal > img, .pgal > div { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; position: relative; }
.pgal > :first-child { grid-row: span 2; }
.pgal > :nth-child(n+6) { display: none; }
.gal-wrap { position: relative; }
.gal-wrap .all { position: absolute; right: 14px; bottom: 14px; z-index: 3; }
.gal-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; z-index: 3; }
@media (max-width: 899px) {
  .pgal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 0; margin: 0 -16px; height: 290px; gap: 0; }
  .pgal::-webkit-scrollbar { display: none; }
  .pgal > img, .pgal > div { flex: none; width: 100%; scroll-snap-align: center; }
  .pgal > :nth-child(n+6) { display: block; }
  .gal-wrap .all { display: none; }
}
.p-layout { display: grid; gap: 24px; margin-top: 20px; }
@media (min-width: 1024px) { .p-layout { grid-template-columns: 1fr 350px; gap: 36px; align-items: start; } }
.p-layout > *, .contact-grid > *, .calc > * { min-width: 0; }
.p-title { display: flex; justify-content: space-between; gap: 16px; align-items: start; flex-wrap: wrap; }
.p-title h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin: 10px 0 4px; }
.p-title .loc { display: flex; align-items: center; gap: 6px; color: var(--ink2); font-weight: 600; font-size: 14.5px; }
.p-title .loc .ic { width: 16px; height: 16px; color: var(--brand); }
.p-acts { display: flex; gap: 8px; }
.p-acts .btn .ic { width: 17px; height: 17px; }
.p-acts .btn.on { color: var(--brand); border-color: var(--brand); }
.p-acts .btn.on .ic { fill: currentColor; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin: 20px 0 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; margin: 0 -1px -1px 0; }
.fact > .ic { color: var(--brand); }
.fact small { display: block; font-size: 11.5px; font-weight: 600; color: var(--mute); }
.fact b { font-size: 14px; }
.ptabs { position: sticky; top: calc(var(--hdr) + var(--tb)); z-index: 20; background: var(--bg); display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-top: 16px; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs a { position: relative; flex: none; padding: 14px 14px 12px; font-weight: 600; font-size: 14px; color: var(--ink2); }
.ptabs a.on { color: var(--brand); font-weight: 800; }
.ptabs a.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--brand); }
.psec { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-top: 16px; scroll-margin-top: calc(var(--hdr) + var(--tb) + 60px); }
.psec h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.psec h2 > .ic { color: var(--brand); }
.psec p { color: var(--ink2); margin-bottom: 12px; }
.readmore { max-height: 200px; overflow: hidden; position: relative; transition: max-height .5s; }
.readmore::after { content: ''; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(transparent, #fff); }
.readmore.open { max-height: 2000px; }
.readmore.open::after { display: none; }
.units { display: grid; gap: 10px; }
.unit { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s; }
.unit:hover { border-color: #B9CCF0; }
.unit .bub { width: 44px; height: 44px; border-radius: 10px; }
.unit .u-main { flex: 1; min-width: 0; }
.unit .u-main b { display: block; font-size: 14.5px; }
.unit .u-main small { color: var(--mute); font-weight: 600; font-size: 12.5px; }
.amen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .amen { grid-template-columns: repeat(3, 1fr); } }
.amen div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-weight: 600; font-size: 13.5px; }
.amen div .ic { color: var(--brand); width: 18px; height: 18px; }
.plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.plans img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; background: #fff; cursor: zoom-in; border: 1px solid var(--line); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 640px) { .thumbs { grid-template-columns: repeat(5, 1fr); } }
.thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: transform .3s, filter .3s; }
.thumbs img:hover { transform: scale(1.04); filter: brightness(1.05); }
.side-card { position: sticky; top: calc(var(--hdr) + var(--tb) + 20px); background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 12px; }
.side-card h3 { font-size: 20px; font-weight: 800; }
.dl { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; transition: .2s; text-align: left; width: 100%; background: #fff; }
.dl:hover { border-color: var(--brand); background: var(--brand-50); }
.dl .bub { width: 40px; height: 40px; border-radius: 10px; }
.dl small { display: block; font-weight: 500; color: var(--mute); font-size: 12px; }
.dl > .ic { margin-left: auto; color: var(--mute); }
.cta-bar { position: fixed; inset: auto 0 0; z-index: 61; display: flex; gap: 8px; padding: 10px 12px calc(10px + var(--safe-b)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(9, 30, 66, .08); }
.cta-bar .btn { flex: 1; height: 48px; padding: 0 10px; }
.cta-bar .btn.sq { flex: none; width: 48px; padding: 0; }
@media (min-width: 1024px) { .cta-bar { display: none; } }
body.has-cta .bnav { display: none; }
.ai-ask { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: linear-gradient(120deg, var(--navy), #0B3A80); color: #fff; margin-top: 16px; flex-wrap: wrap; }
.ai-ask .bub { background: rgba(255, 255, 255, .12); color: #F5D38A; border-radius: 12px; }
.ai-ask p { flex: 1; font-size: 13.5px; color: rgba(255, 255, 255, .8); margin: 0; min-width: 180px; }
.ai-ask p b { color: #fff; display: block; font-size: 15px; }

/* area map */
.areamap { position: relative; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #CFE7F5, #9CCFE7); border: 1px solid var(--line); aspect-ratio: 4/5; max-height: 620px; width: 100%; }
@media (min-width: 900px) { .areamap { aspect-ratio: 16/9; } }
.areamap svg.land { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; transform: translate(-50%, -100%); z-index: 2; display: flex; flex-direction: column; align-items: center; transition: transform .2s; }
.pin:hover, .pin.on { transform: translate(-50%, -100%) scale(1.08); z-index: 3; }
.pin .lbl { background: #fff; color: var(--ink); font-weight: 700; font-size: 12.5px; padding: 6px 10px; border-radius: 10px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); display: flex; gap: 6px; align-items: center; }
.pin.on .lbl { background: var(--brand); color: #fff; }
.pin .lbl i { font-style: normal; background: var(--brand); color: #fff; border-radius: 6px; padding: 0 6px; font-size: 11px; }
.pin.on .lbl i { background: #fff; color: var(--brand); }
.pin::after { content: ''; border: 7px solid transparent; border-top-color: #fff; margin-top: -1px; }
.pin.on::after { border-top-color: var(--brand); }
.map-label { position: absolute; font-family: var(--serif); font-style: italic; color: rgba(11, 60, 107, .55); font-size: clamp(13px, 1.8vw, 20px); pointer-events: none; }

/* misc sections */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .team { grid-template-columns: repeat(4, 1fr); } }
.person { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; background: var(--bg2); transition: transform .6s; }
.person:hover img { transform: scale(1.04); }
.person div { padding: 12px 14px; }
.person b { display: block; font-size: 15px; }
.person small { color: var(--mute); font-weight: 600; font-size: 12.5px; }
.why { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; transition: transform .3s, box-shadow .3s; }
.why > div:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why .bub { border-radius: 12px; margin-bottom: 14px; }
.why b { font-size: 16px; display: block; margin-bottom: 4px; }
.why p { font-size: 13.5px; color: var(--ink2); }
.faq details { background: #fff; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 10px; overflow: hidden; }
.faq summary { padding: 16px 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s; color: var(--brand); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 18px 16px; color: var(--ink2); }
.devs { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 22px 0; }
.devs .track { display: flex; gap: 56px; width: max-content; align-items: center; animation: marq 40s linear infinite; }
.devs span { font-weight: 800; font-size: 18px; color: #9AA6B8; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.devs span .ic { color: var(--gold); }
@keyframes marq { to { transform: translateX(-50%); } }
.photo-strip { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip img { height: 230px; border-radius: 14px; flex: none; object-fit: cover; aspect-ratio: 4/3; cursor: zoom-in; }
.contact-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.cbox { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 22px; display: grid; gap: 14px; align-content: start; }
.cline { display: flex; gap: 12px; align-items: start; }
.cline .bub { width: 42px; height: 42px; border-radius: 10px; }
.cline small { display: block; color: var(--mute); font-weight: 600; font-size: 12px; }
.empty { text-align: center; padding: 56px 20px; background: #fff; border: 1px dashed #C9D3E3; border-radius: 16px; }
.empty .bub { width: 72px; height: 72px; margin: 0 auto; }
.empty h3 { font-size: 22px; font-weight: 800; margin: 14px 0 6px; }
.cmp-table { overflow-x: auto; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.cmp-table table { border-collapse: collapse; min-width: 640px; width: 100%; }
.cmp-table th, .cmp-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.cmp-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); width: 130px; background: var(--bg); }
.cmp-table td img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 8px; }
.cmp-fab { position: fixed; z-index: 55; left: 50%; transform: translateX(-50%); bottom: calc(var(--bnav) + var(--safe-b) + 14px); background: var(--navy); color: #fff; padding: 0 8px 0 16px; height: 50px; border-radius: 12px; display: flex; align-items: center; gap: 12px; font-weight: 700; box-shadow: var(--shadow-lg); font-size: 14px; white-space: nowrap; }
@media (min-width: 900px) { .cmp-fab { bottom: 24px; } }
.cmp-fab .ic { color: #F5D38A; }
body.has-cta .cmp-fab { bottom: calc(80px + var(--safe-b)); }
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #0B3A80 100%); color: #fff; border-radius: 22px; padding: 30px; display: grid; gap: 18px; position: relative; overflow: hidden; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 48px; } }
.cta-band::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .05); }
.cta-band h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, .75); margin-top: 8px; }
.cta-band .acts { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }

/* overlays */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(7, 26, 51, .5); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 93; inset: auto 0 0; max-height: 92dvh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 20px calc(24px + var(--safe-b)); transform: translateY(105%); transition: transform .45s cubic-bezier(.2, .9, .2, 1); box-shadow: var(--shadow-lg); }
.sheet.on { transform: none; }
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 16px; }
@media (min-width: 700px) { .sheet { inset: 50% auto auto 50%; width: 500px; border-radius: 20px; transform: translate(-50%, -45%) scale(.97); opacity: 0; pointer-events: none; transition: .3s; padding: 28px; } .sheet.on { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; } .sheet .grab { display: none; } }
.sheet h3 { font-size: 23px; font-weight: 800; }
.form { display: grid; gap: 12px; margin-top: 16px; }
.form-err { color: #C62828; background: #FDECEC; border-radius: 8px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; }
button:disabled { opacity: .7; cursor: progress; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: #000; display: none; flex-direction: column; }
.lightbox.on { display: flex; }
.lb-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track img { flex: none; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.lb-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; color: #fff; z-index: 2; background: linear-gradient(rgba(0, 0, 0, .6), transparent); font-weight: 700; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; z-index: 2; }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
@media (max-width: 700px) { .lb-nav { display: none; } }
.round-x { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; color: #fff; }
.storyview { position: fixed; inset: 0; z-index: 110; background: #000; display: none; color: #fff; }
.storyview.on { display: block; }
.sv-inner { position: relative; height: 100%; max-width: 480px; margin: 0 auto; overflow: hidden; }
.sv-inner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv-inner > img.kb { animation: kb 5s linear forwards; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.sv-bars { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; z-index: 3; }
.sv-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.sv-bars i b { display: block; height: 100%; width: 0; background: #fff; }
.sv-bars i.done b { width: 100%; }
.sv-bars i.run b { animation: svfill 5s linear forwards; }
@keyframes svfill { to { width: 100%; } }
.sv-head { position: absolute; top: 24px; left: 14px; right: 14px; display: flex; align-items: center; gap: 10px; z-index: 3; font-weight: 700; font-size: 14px; }
.sv-head img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.sv-head .round-x { margin-left: auto; }
.sv-foot { position: absolute; inset: auto 0 0; padding: 120px 20px calc(24px + var(--safe-b)); background: linear-gradient(transparent, rgba(0, 0, 0, .88)); z-index: 3; }
.sv-foot h3 { font-size: 24px; font-weight: 800; margin-top: 10px; }
.sv-foot p { opacity: .85; margin: 6px 0 14px; font-size: 14px; }
.sv-tap { position: absolute; top: 0; bottom: 170px; width: 40%; z-index: 2; }
.sv-tap.l { left: 0; } .sv-tap.r { right: 0; width: 60%; }
.toast { position: fixed; z-index: 120; left: 50%; top: calc(var(--hdr) + var(--tb) + 12px); transform: translate(-50%, -16px); opacity: 0; visibility: hidden; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1), opacity .25s, visibility 0s .4s; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.toast .ic { color: #3DDC84; }
.toast.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1), opacity .25s, visibility 0s; }

/* AI chat */
.chat { padding: 0 !important; position: fixed; z-index: 95; inset: 0; background: #fff; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .45s cubic-bezier(.2, .9, .2, 1); visibility: hidden; }
.chat.on { transform: none; visibility: visible; }
@media (min-width: 900px) { .chat { inset: auto 22px 22px auto; width: 410px; height: min(660px, calc(100dvh - 110px)); border-radius: 20px; box-shadow: 0 30px 80px rgba(7, 26, 51, .35); overflow: hidden; transform: translateY(20px) scale(.96); opacity: 0; transition: .3s cubic-bezier(.2, .9, .2, 1); transform-origin: bottom right; } .chat.on { transform: none; opacity: 1; } }
.chat-h { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; padding-top: max(14px, env(safe-area-inset-top)); background: var(--navy); color: #fff; }
.chat-h .ai-dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #5B8DEF); position: relative; flex: none; }
.chat-h .ai-dot::after { content: ''; position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; background: #3DDC84; border: 2px solid var(--navy); }
.chat-h b { display: block; font-size: 15.5px; }
.chat-h small { color: rgba(255, 255, 255, .65); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.chat-h .sp { flex: 1; min-width: 0; overflow: hidden; }
.chat-h .sp b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-h .hb { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.chat-h .hb:hover { background: rgba(255, 255, 255, .1); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); overscroll-behavior: contain; }
.msg { max-width: 90%; font-size: 14.5px; line-height: 1.55; animation: msgIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg.bot { align-self: flex-start; display: flex; gap: 8px; }
.msg.bot .av { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--navy); color: #F5D38A; flex: none; margin-top: 2px; }
.msg.bot .av .ic { width: 15px; height: 15px; }
.msg .bub-t { padding: 11px 14px; border-radius: 4px 16px 16px 16px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.msg.me { align-self: flex-end; }
.msg.me .bub-t { background: var(--brand); color: #fff; border: 0; border-radius: 16px 4px 16px 16px; }
.msg .bub-t p + p, .msg .bub-t p + ul, .msg .bub-t ul + p { margin-top: 8px; }
.msg .bub-t ul { padding-left: 18px; }
.msg .bub-t li { margin: 2px 0; }
.msg .bub-t a:not(.mini):not(.btn) { color: var(--brand); font-weight: 700; text-decoration: underline; }
.msg .cards { display: grid; gap: 8px; margin-top: 10px; }
.mini { display: flex; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 8px; transition: border-color .2s; }
.mini:hover { border-color: var(--brand); }
.mini img, .mini .art-mini { width: 64px; height: 50px; border-radius: 8px; object-fit: cover; flex: none; }
.mini b { display: block; font-size: 13.5px; color: var(--ink); }
.mini small { font-size: 12px; color: var(--mute); font-weight: 600; }
.mini > .ic { margin-left: auto; color: var(--mute); }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AA6B8; animation: bl 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bl { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-sugg { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 14px 0; background: #fff; border-top: 1px solid var(--line); }
.chat-sugg::-webkit-scrollbar { display: none; }
.chat-sugg button { flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid #C9D7F2; color: var(--brand); font-size: 13px; font-weight: 600; background: #fff; transition: .2s; }
.chat-sugg button:hover { background: var(--brand-50); }
.chat-in { display: flex; gap: 8px; align-items: end; padding: 10px 12px 6px; background: #fff; }
.chat-in textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; max-height: 120px; min-height: 48px; height: 48px; outline: 0; font-size: 15px; line-height: 1.4; transition: border-color .2s; }
.chat-in textarea:focus { border-color: var(--brand); }
.chat-in button { width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; transition: .2s; }
.chat-in button:disabled { background: #B3BFD1; }
.chat-note { font-size: 11px; color: var(--mute); text-align: center; padding: 0 14px calc(8px + var(--safe-b)); background: #fff; }
.handoff { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

footer { background: var(--navy); color: #B7C3D4; padding: 52px 0 calc(var(--bnav) + 40px); }
@media (min-width: 900px) { footer { padding-bottom: 36px; } }
footer .cols { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }
footer .about { grid-column: 1 / -1; }
@media (min-width: 900px) { footer .about { grid-column: auto; } }
footer .flogo { height: 64px; width: auto; margin-bottom: 14px; }
footer h4 { color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
footer a { display: block; padding: 4px 0; font-size: 14px; transition: color .2s; }
footer a:hover { color: #fff; }
footer .copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: #7E8FA2; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
