/* =====================================================================
   KARAI PROPERTY PROMOTORS – public site styles
   Palette: navy · white · gold. Fonts: Fraunces (display), Plus Jakarta Sans (text)
   ===================================================================== */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("../fonts/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --navy-950: #050f1e;
  --navy-900: #071528;
  --navy-800: #0b1f3a;
  --navy-700: #13305a;
  --navy-600: #1f4478;
  --navy-100: #e6ecf5;
  --navy-50:  #f3f6fb;
  --gold:     #c9a227;
  --gold-300: #e6cd7e;
  --gold-100: #f8efd4;
  --gold-ink: #7d6210;      /* gold for text on white (AA) */
  --sand:     #faf7f0;
  --ink:      #13213a;
  --muted:    #55657d;
  --line:     #e1e7ef;
  --white:    #ffffff;
  --green:    #157a45;
  --green-bg: #e3f4ea;
  --amber:    #8a5a00;
  --amber-bg: #fff1d6;
  --red:      #b42318;
  --red-bg:   #fde8e6;
  --wa:       #0f7a3f;      /* WhatsApp action (AA with white) */
  --wa-hover: #0b6634;
  --radius:   14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(7,21,40,.06), 0 2px 8px rgba(7,21,40,.05);
  --shadow:    0 6px 24px rgba(7,21,40,.09), 0 2px 6px rgba(7,21,40,.05);
  --shadow-lg: 0 24px 60px rgba(7,21,40,.18);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-text); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy-900); margin: 0 0 .5em; letter-spacing: -.01em; font-variation-settings: "SOFT" 30; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ buttons */
.btn { --b: var(--navy-800); display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.3em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: #d9b23a; color: var(--navy-950); box-shadow: 0 8px 24px rgba(201,162,39,.35); }
.btn-outline { background: transparent; border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: #fff; color: var(--navy-900); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-call { background: var(--white); color: var(--navy-800); border-color: var(--line); }
.btn-call:hover { border-color: var(--navy-800); color: var(--navy-900); }
.btn-sm { min-height: 38px; padding: .5em 1em; font-size: .87rem; }
.btn-lg { min-height: 54px; padding: .85em 1.7em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: progress; pointer-events: none; }
.btn .spinner { width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------- header */
.topbar { background: var(--navy-950); color: #c9d4e6; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-info { display: flex; gap: 22px; align-items: center; overflow: hidden; white-space: nowrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info .icon { color: var(--gold); width: 14px; height: 14px; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { opacity: .85; } .topbar-social a:hover { opacity: 1; color: var(--gold-300); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(7,21,40,.08); border-bottom-color: var(--line); background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 64px; }
.brand { display: flex; flex: none; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); min-width: 0; }
.brand img { height: 52px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: .02em; color: var(--navy-900); white-space: nowrap; }
.brand-tag { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; white-space: nowrap; }
.main-nav { margin-left: auto; min-width: 0; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; white-space: nowrap; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink); font-size: .95rem; position: relative; transition: color .2s, background .2s; }
.main-nav a:hover { background: var(--navy-50); color: var(--navy-900); }
.main-nav a[aria-current="page"] { color: var(--navy-900); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold); border-radius: 2px; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.header-actions .btn { min-height: 42px; padding: .55em 1em; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--navy-900); }
.nav-toggle .icon { width: 24px; height: 24px; }
.mobile-nav-extra { display: none; }

@media (max-width: 1500px) {
  .header-actions .btn-call .label { display: none; }
  .main-nav a { padding: 10px 10px; }
}
@media (max-width: 1200px) and (min-width: 981px) {
  .brand-text { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .topbar-info .hide-md { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-actions { display: none; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--white); margin: 0; padding: 88px 22px 28px; transform: translateX(100%); transition: transform .35s var(--ease), visibility .35s; visibility: hidden; z-index: 120; box-shadow: var(--shadow-lg); overflow-y: auto; display: flex; flex-direction: column; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .main-nav a[aria-current="page"] { background: var(--navy-50); }
  .main-nav a[aria-current="page"]::after { left: 0; top: 14px; bottom: 14px; right: auto; width: 3px; height: auto; }
  .mobile-nav-extra { display: grid; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
  .mobile-nav-extra .reg { font-size: .82rem; color: var(--muted); }
  .nav-close { position: absolute; top: 18px; right: 18px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(5,15,30,.5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 110; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 981px) { .nav-close, .nav-backdrop { display: none; } }
@media (max-width: 600px) {
  .topbar { display: none; }
  .brand img { height: 44px; }
  .brand-name { font-size: .92rem; }
  .brand-tag { font-size: .62rem; letter-spacing: .1em; }
}
@media (max-width: 380px) { .brand-text { display: none; } }

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: clamp(560px, 86vh, 820px); color: #fff; overflow: hidden; background: var(--navy-900); isolation: isolate; }
.hero-track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; display: flex; align-items: center; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,15,30,.86) 0%, rgba(5,15,30,.62) 42%, rgba(5,15,30,.12) 78%), linear-gradient(0deg, rgba(5,15,30,.6), transparent 40%); }
.hero-content { max-width: 680px; padding: 60px 0 170px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 18px; }
.hero-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.hero h1, .hero h2.hero-title { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 600; margin-bottom: 18px; text-wrap: balance; }
.hero-text { font-size: clamp(1rem, 1.6vw, 1.18rem); color: #dbe4f1; max-width: 560px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-slide .hero-content > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hero-slide.is-active .hero-content > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-content > :nth-child(2) { transition-delay: .1s; }
.hero-slide.is-active .hero-content > :nth-child(3) { transition-delay: .2s; }
.hero-slide.is-active .hero-content > :nth-child(4) { transition-delay: .3s; }
.hero-controls { position: absolute; z-index: 5; right: max(20px, calc((100vw - var(--container)) / 2 + 20px)); bottom: 150px; display: flex; align-items: center; gap: 12px; }
.hero-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(5,15,30,.35); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, border-color .2s; backdrop-filter: blur(4px); }
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: width .3s var(--ease), background .3s; }
.hero-dot[aria-current="true"] { width: 30px; background: var(--gold); }
.hero-progress { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--gold); width: 0; z-index: 6; }

/* ---------------------------------------------------- search panel */
.search-panel-wrap { position: relative; z-index: 10; margin-top: -110px; }
.search-panel { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px; border: 1px solid rgba(255,255,255,.6); }
.search-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--navy-50); border-radius: 999px; margin-bottom: 16px; }
.search-tabs label { position: relative; }
.search-tabs input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.search-tabs span { display: block; padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--muted); transition: background .2s, color .2s; }
.search-tabs input:checked + span { background: var(--navy-800); color: #fff; }
.search-tabs input:focus-visible + span { outline: 3px solid var(--gold); }
.search-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1.1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.search-actions { display: flex; gap: 8px; }
@media (max-width: 1100px) { .search-grid { grid-template-columns: repeat(3, 1fr); } .search-actions { grid-column: 1 / -1; } .search-actions .btn { flex: 1; } }
@media (max-width: 640px) { .search-grid { grid-template-columns: 1fr 1fr; } .search-grid .span-2-sm { grid-column: 1 / -1; } .search-panel { padding: 16px; border-radius: 16px; } .search-tabs { display: flex; } .search-tabs label { flex: 1; text-align: center; } .search-tabs span { padding: 8px 6px; } .search-panel-wrap { margin-top: -90px; } }

/* -------------------------------------------------------- form fields */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .field-label { font-size: .8rem; font-weight: 700; color: var(--navy-800); letter-spacing: .02em; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea, .input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; transition: border-color .2s, box-shadow .2s; font-size: 1rem; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313305a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(31,68,120,.12); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-error { font-size: .82rem; color: var(--red); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy-800); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-check span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); transition: all .15s; }
.chip-check input:checked + span { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.chip-check input:focus-visible + span { outline: 3px solid var(--gold); }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented .chip-check span { padding: 11px 18px; font-size: .95rem; }

/* ------------------------------------------------------------- sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy-900); color: #d6dfec; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head > div { max-width: 680px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section-navy .eyebrow { color: var(--gold-300); }
.lead { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section-navy .lead { color: #b9c6da; }

/* ------------------------------------------------------- property card */
.property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 26px; }
.property-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; box-shadow: var(--shadow-sm); }
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3dbe7; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-50); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; }
.property-card:hover .card-media img { transform: scale(1.05); }
.card-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 6px; pointer-events: none; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .03em; line-height: 1.2; }
.badge-tx { background: var(--navy-900); color: #fff; }
.badge-tx.tx-rent { background: #1f4478; } .badge-tx.tx-lease { background: #5b3f8c; }
.badge-status { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.badge-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-status.is-available { color: var(--green); } .badge-status.is-pending { color: var(--amber); } .badge-status.is-closed { color: var(--red); }
.badge-verified { background: var(--gold-100); color: var(--gold-ink); }
.card-photos { position: absolute; right: 12px; bottom: 12px; background: rgba(5,15,30,.7); color: #fff; font-size: .74rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; }
.card-body { padding: 18px 20px 6px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-price { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--navy-900); line-height: 1.2; }
.card-price small { font-family: var(--font-text); font-size: .78rem; font-weight: 600; color: var(--muted); }
.card-title { font-family: var(--font-text); font-size: 1.04rem; font-weight: 700; margin: 0; line-height: 1.35; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--navy-600); }
.card-loc { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: .9rem; }
.card-loc .icon { margin-top: 3px; color: var(--gold-ink); width: 15px; height: 15px; }
.card-desc { font-size: .9rem; color: var(--muted); margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 12px 0 0; margin-top: auto; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--ink); font-weight: 600; }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-meta .icon { width: 16px; height: 16px; color: var(--navy-600); }
.card-id { font-size: .76rem; color: var(--muted); font-weight: 700; letter-spacing: .04em; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 20px 20px; }
.card-actions .btn-primary { grid-column: 1 / -1; }
.card-actions .btn { min-height: 42px; padding: .5em .9em; font-size: .86rem; }
.card-actions .btn-icon { width: 42px; padding: 0; }
.card-actions .btn-icon .icon { width: 19px; height: 19px; }

/* --------------------------------------------------- category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-tile { position: relative; display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.cat-tile::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--gold-100); opacity: 0; transition: opacity .3s, transform .4s var(--ease); transform: scale(.6); }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-300); color: var(--ink); }
.cat-tile:hover::after { opacity: .7; transform: scale(1); }
.cat-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--navy-800); color: var(--gold-300); display: grid; place-items: center; flex: none; }
.cat-icon .icon { width: 26px; height: 26px; }
.cat-tile h3 { font-family: var(--font-text); font-size: 1.05rem; font-weight: 800; margin: 0 0 2px; }
.cat-tile p { margin: 0; font-size: .88rem; color: var(--muted); }
.cat-tile .arrow { margin-left: auto; color: var(--navy-600); transition: transform .3s var(--ease); position: relative; z-index: 1; }
.cat-tile:hover .arrow { transform: translateX(4px); }

/* -------------------------------------------------------------- why */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.why-card { padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.why-card:hover { background: rgba(255,255,255,.07); border-color: rgba(201,162,39,.5); transform: translateY(-3px); }
.why-card .num { font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1; margin-bottom: 14px; display: block; }
.why-card h3 { font-family: var(--font-text); font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.why-card p { font-size: .92rem; color: #b9c6da; margin: 0; }
.why-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
@media (max-width: 800px) { .why-intro { grid-template-columns: 1fr; gap: 12px; } }
.reg-card { display: inline-flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(201,162,39,.45); background: rgba(201,162,39,.08); color: #fff; }
.reg-card .icon { width: 30px; height: 30px; color: var(--gold); }
.reg-card small { display: block; color: #b9c6da; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.reg-card strong { font-size: 1.15rem; letter-spacing: .04em; }

/* -------------------------------------------------------- submit CTA */
.cta-band { position: relative; border-radius: 26px; overflow: hidden; background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: #fff; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(201,162,39,.12); }
.cta-band::after { content: ""; position: absolute; z-index: -1; left: 40%; bottom: -160px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.04); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d4e6; margin-bottom: 0; }
.cta-steps { list-style: none; margin: 22px 0 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: .9rem; color: #dbe4f1; }
.cta-steps li { display: flex; align-items: center; gap: 8px; }
.cta-steps .icon { color: var(--gold); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- footer */
.site-footer { background: var(--navy-950); color: #aebbd0; padding: 72px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-family: var(--font-text); color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; margin-bottom: 18px; }
.site-footer a { color: #dbe4f1; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.footer-logo { height: 76px; width: auto; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact > div { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.footer-bottom { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.footer-map { margin-top: 14px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.footer-map iframe { width: 100%; height: 160px; border: 0; display: block; }

/* floating WhatsApp + mobile bar */
.float-wa { position: fixed; right: 20px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(15,122,63,.4); transition: transform .3s var(--ease); }
.float-wa:hover { transform: scale(1.07); color: #fff; }
.float-wa .icon { width: 30px; height: 30px; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .float-wa { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(7,21,40,.08); }
  .mobile-bar .btn { min-height: 48px; }
  body { padding-bottom: 72px; }
}

/* ------------------------------------------------------------ page hero */
.page-hero { background: radial-gradient(1200px 400px at 85% -20%, rgba(201,162,39,.22), transparent 60%), linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 54px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: 6%; bottom: -60px; width: 260px; height: 260px; border: 40px solid rgba(255,255,255,.04); border-radius: 50%; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #c9d4e6; max-width: 640px; margin: 0; font-size: 1.05rem; }
.page-hero .eyebrow { color: var(--gold-300); }
.breadcrumbs { font-size: .84rem; margin-bottom: 18px; color: #b9c6da; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: #fff; text-decoration: none; } .breadcrumbs a:hover { color: var(--gold-300); }
.breadcrumbs.dark { color: var(--muted); } .breadcrumbs.dark a { color: var(--navy-700); }

/* ------------------------------------------------------------- listing */
.listing-layout { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; box-shadow: var(--shadow-sm); }
.filters h2 { font-family: var(--font-text); font-size: 1rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; }
.filters .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-toggle { display: none; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.results-count { font-weight: 700; color: var(--navy-900); }
.results-count span { color: var(--muted); font-weight: 600; }
.sort-select { min-height: 42px; border-radius: 999px; padding: 8px 38px 8px 16px; border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313305a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; appearance: none; font-weight: 600; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.active-filters a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--navy-50); color: var(--navy-800); font-size: .84rem; font-weight: 700; text-decoration: none; }
.active-filters a:hover { background: var(--navy-100); }
.listing-layout .property-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
@media (max-width: 980px) {
  .listing-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; z-index: 130; max-height: 88vh; overflow-y: auto; border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .35s var(--ease), visibility .35s; visibility: hidden; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .filters.is-open { transform: none; visibility: visible; }
  .filters-toggle { display: inline-flex; }
}
.empty-state { text-align: center; padding: 60px 24px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--navy-50); }
.empty-state > .icon { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--navy-600); }
.empty-state h3 { font-family: var(--font-text); font-weight: 800; }
.empty-state .btn { margin: 6px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); background: #fff; }
.pagination a:hover { border-color: var(--navy-800); }
.pagination [aria-current="page"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.load-more-wrap { text-align: center; margin-top: 34px; }
.load-more-wrap .muted { display: block; margin-top: 10px; font-size: .88rem; }
.js .pagination.has-load-more { display: none; }

/* ------------------------------------------------------- property page */
.prop-header { padding: 28px 0 22px; }
.prop-header-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.prop-header h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 10px 0 8px; }
.prop-header .badges { display: flex; gap: 8px; flex-wrap: wrap; }
.prop-price-block { text-align: right; }
.prop-price { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; color: var(--navy-900); line-height: 1.1; }
.prop-price-label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); font-weight: 800; }
@media (max-width: 700px) { .prop-price-block { text-align: left; } }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(300px, 52vw, 540px); border-radius: 18px; overflow: hidden; }
.gallery button { padding: 0; border: 0; background: var(--navy-50); cursor: zoom-in; overflow: hidden; position: relative; display: block; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.gallery .g-main { grid-row: 1 / 3; }
.gallery.count-1 { grid-template-columns: 1fr; } .gallery.count-1 .g-main { grid-row: auto; }
.gallery.count-2 { grid-template-rows: 1fr; } .gallery.count-2 .g-main { grid-row: auto; }
.gallery .g-more { position: absolute; inset: 0; background: rgba(5,15,30,.55); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.gallery-all { position: absolute; right: 14px; bottom: 14px; }
.gallery-wrap { position: relative; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; } .gallery button:not(.g-main) { display: none; } .gallery .g-main { aspect-ratio: 4 / 3; grid-row: auto; } }
.prop-layout { display: grid; grid-template-columns: 1fr 370px; gap: 40px; margin-top: 36px; align-items: start; }
@media (max-width: 980px) { .prop-layout { grid-template-columns: 1fr; } }
.prop-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.prop-section:first-child { padding-top: 0; }
.prop-section h2 { font-size: 1.45rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.fact { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: var(--navy-50); }
.fact .icon { width: 22px; height: 22px; color: var(--navy-600); }
.fact small { display: block; font-size: .74rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.fact strong { font-size: .98rem; color: var(--navy-900); }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.amenities li { display: flex; gap: 10px; align-items: center; }
.amenities .icon { color: var(--green); background: var(--green-bg); border-radius: 50%; padding: 4px; width: 24px; height: 24px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 600; }
.prose { max-width: 72ch; } .prose p { color: #26364f; }
.enquiry-card { position: sticky; top: calc(var(--header-h) + 18px); border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.enquiry-card .head { background: var(--navy-900); color: #fff; padding: 20px 22px; }
.enquiry-card .head small { display: block; color: var(--gold-300); font-size: .74rem; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; }
.enquiry-card .head strong { font-family: var(--font-display); font-size: 1.6rem; }
.enquiry-card .body { padding: 22px; display: grid; gap: 12px; }
.enquiry-card .ref { display: flex; justify-content: space-between; font-size: .88rem; padding: 10px 12px; background: var(--navy-50); border-radius: 10px; }
.enquiry-card .note { font-size: .82rem; color: var(--muted); margin: 0; }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; }
.preview-banner { background: var(--amber-bg); color: var(--amber); padding: 12px 0; font-weight: 700; border-bottom: 1px solid #f0d9a8; }
.preview-banner .container { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.closed-banner { background: var(--red-bg); color: var(--red); border-radius: 12px; padding: 14px 18px; font-weight: 700; margin-bottom: 18px; }

/* ------------------------------------------------------------ lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(3,9,18,.95); display: none; flex-direction: column; }
.lightbox.is-open { display: flex; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; color: #fff; font-weight: 700; }
.lightbox-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; padding: 0 70px 24px; touch-action: pan-y; }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; user-select: none; }
.lightbox .lb-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox .lb-btn:hover { background: var(--gold); color: var(--navy-950); }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 12px; } .lightbox .lb-next { right: 12px; }
@media (max-width: 600px) { .lightbox-stage { padding: 0 8px 24px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 30px; transform: none; } }

/* ------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.contact-card .ci { width: 48px; height: 48px; border-radius: 14px; background: var(--navy-800); color: var(--gold-300); display: grid; place-items: center; flex: none; }
.contact-card h3 { font-family: var(--font-text); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--gold-ink); margin: 0 0 4px; }
.contact-card p { margin: 0; }
.contact-card a { font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-sm); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 18px; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.alert { padding: 14px 16px; border-radius: 12px; font-weight: 600; margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start; }
.alert-error { background: var(--red-bg); color: var(--red); }
.alert-success { background: var(--green-bg); color: var(--green); }
.alert-info { background: var(--navy-50); color: var(--navy-700); }

/* --------------------------------------------------------- submit form */
.submit-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
@media (max-width: 980px) { .submit-layout { grid-template-columns: 1fr; } .submit-aside { order: -1; } }
.form-step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 32px); margin-bottom: 22px; }
.form-step-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.form-step-head .n { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-800); color: var(--gold-300); font-weight: 800; display: grid; place-items: center; flex: none; }
.form-step-head h2 { font-family: var(--font-text); font-size: 1.15rem; font-weight: 800; margin: 0; }
.form-step-head p { margin: 0; font-size: .88rem; color: var(--muted); }
.dropzone { border: 2px dashed #c3cede; border-radius: 16px; padding: 30px 20px; text-align: center; background: var(--navy-50); cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--navy-600); background: #eaf0f8; }
.dropzone .icon { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--navy-600); }
.dropzone strong { display: block; color: var(--navy-900); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 16px; }
.preview { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--navy-50); border: 1px solid var(--line); }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview .rm { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(5,15,30,.75); color: #fff; display: grid; place-items: center; cursor: pointer; }
.preview .rm:hover { background: var(--red); }
.preview .cover { position: absolute; left: 6px; bottom: 6px; background: var(--gold); color: var(--navy-950); font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 6px; }
.preview.is-error { outline: 2px solid var(--red); }
.progress { height: 10px; border-radius: 999px; background: var(--navy-100); overflow: hidden; }
.progress > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--navy-600), var(--gold)); transition: width .2s; }
.upload-status { display: none; margin-top: 14px; }
.upload-status.is-active { display: block; }
.upload-status p { margin: 8px 0 0; font-size: .88rem; font-weight: 700; color: var(--navy-700); }
.aside-card { background: var(--sand); border: 1px solid #efe6cf; border-radius: 18px; padding: 24px; position: sticky; top: calc(var(--header-h) + 18px); }
.aside-card ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: #3a4a62; font-size: .93rem; }
.thanks { text-align: center; max-width: 640px; margin: 0 auto; }
.thanks .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; margin: 0 auto 20px; }
.thanks .tick .icon { width: 40px; height: 40px; }
.ref-box { display: inline-block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--navy-900); padding: 14px 26px; border-radius: 14px; background: var(--gold-100); border: 1px dashed var(--gold); letter-spacing: .04em; margin: 8px 0 18px; }

/* --------------------------------------------------------------- toast */
.toast-wrap { position: fixed; z-index: 400; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 10px; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .94rem; animation: toast-in .35s var(--ease); }
.toast.is-error { background: var(--red); } .toast.is-success { background: var(--green); }
.toast.is-leaving { animation: toast-out .3s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) { .toast-wrap { bottom: 88px; } }

/* ------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s !important; } .reveal-delay-2 { transition-delay: .16s !important; } .reveal-delay-3 { transition-delay: .24s !important; }

/* image loading placeholder */
.img-load { background: linear-gradient(100deg, var(--navy-50) 30%, #fff 50%, var(--navy-50) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.img-load.is-loaded { animation: none; background: var(--navy-50); }
@keyframes shimmer { to { background-position: -150% 0; } }

/* error page */
.error-page { text-align: center; padding: 100px 20px; }
.error-page .code { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--navy-100); font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .topbar, .site-footer, .float-wa, .mobile-bar, .hero-controls, .card-actions, .enquiry-card .btn { display: none !important; }
}
.prop-header-grid > div:first-child { flex: 1 1 520px; min-width: 0; }
.prop-header-grid > .prop-price-block { flex: 0 0 auto; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .header-inner { gap: 10px; }
  .brand { gap: 8px; flex: 1 1 auto; min-width: 0; }
  .brand img { height: 40px; }
  .brand-text { min-width: 0; overflow: hidden; }
  .brand-name { font-size: .82rem; overflow: hidden; text-overflow: ellipsis; }
  .brand-tag { font-size: .58rem; overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { flex: none; }
}
.submit-layout > *, .listing-layout > *, .prop-layout > *, .contact-grid > *, .form-grid > * { min-width: 0; }
.field input, .field select { min-width: 0; }
.btn-block { white-space: normal; text-align: center; }
.form-step > div { min-width: 0; }

/* --------------------------------------------------------------------
   Header fit with six menu items ("Our Partners" added, Oct 2026).
   Desktop only (≥981px); the mobile menu is unchanged. Slightly tighter
   spacing so the menu never runs into the Call / WhatsApp buttons.
   -------------------------------------------------------------------- */
@media (min-width: 981px) {
  .header-inner { gap: 16px; }
  .main-nav ul { gap: 2px; }
  .main-nav a { padding: 10px 8px; font-size: .9rem; }
  .main-nav a[aria-current="page"]::after { left: 8px; right: 8px; }
  .header-actions .btn { padding: .55em .9em; }
  .header-actions .btn-call .label { display: none; }
  .brand-name { font-size: .98rem; }
  .brand-tag { letter-spacing: .12em; }
}
@media (min-width: 981px) and (max-width: 1279px) {
  .brand-text { display: none; }
}
