/* =========================================================
   AssetNest Realtors — Global Stylesheet
   Brand palette taken from assetnestrealtors.com
   ========================================================= */
:root {
  /* Brand — navy & gold, sampled from the AssetNest logo */
  --ink: #141738;      /* deep navy (logo background) */
  --ink-2: #1a1d4a;    /* navy surface */
  --ink-3: #22265a;    /* raised navy */
  --ink-4: #353b7a;    /* navy borders / accents */
  --navy: #171945;     /* logo navy */
  --gold: #edca64;
  --gold-deep: #d29135;
  --sand: #e9d7c9;
  --cream: #f2e6dd;
  --white: #ffffff;
  --silver: #d9dcef;
  --muted: #9da2c4;

  /* Derived (tints of brand colours) */
  --paper: #fbf7f3;            /* cream at ~35% on white */
  --line: rgba(20, 23, 56, 0.1);
  --line-dark: rgba(255, 255, 255, 0.1);
  --text: #22254a;
  --text-soft: rgba(34, 37, 74, 0.74);
  --gold-grad: linear-gradient(135deg, #edca64 0%, #d29135 100%);

  /* Type */
  --f-display: "Marcellus", Georgia, serif;
  --f-label: "Rethink Sans", "Poppins", sans-serif;
  --f-body: "Poppins", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(20, 23, 56, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(20, 23, 56, 0.35);
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: 400; line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
i[data-icon] { display: contents; font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-label); font-size: 13px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold-deep); font-weight: 500;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 12px; }
.section-head p { color: var(--text-soft); margin: 0; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head--dark h2 { color: var(--white); }
.section-head--dark p { color: var(--silver); }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--silver); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold-deep); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--radius-sm); border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 500; font-size: 15px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  white-space: nowrap; line-height: 1.2;
}
.btn:hover { --bg: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(210, 145, 53, .6); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--dark { --bg: var(--ink); --fg: var(--white); }
.btn--dark:hover { --bg: var(--ink-3); box-shadow: var(--shadow); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { --bg: var(--white); --fg: var(--ink); border-color: var(--white); box-shadow: none; }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--line); border-color: rgba(34, 37, 74,.2); }
.btn--outline:hover { --bg: var(--ink); --fg: var(--white); box-shadow: none; }
.btn--wa { --bg: #25d366; --fg: #fff; }
.btn--wa:hover { --bg: #1ebe5b; box-shadow: 0 12px 24px -10px rgba(37, 211, 102, .6); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Top bar + Header ---------- */
.topbar {
  background: var(--ink); color: var(--silver); font-size: 13px;
  border-bottom: 1px solid var(--line-dark);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar a:hover { color: var(--gold); }
.topbar__left, .topbar__right { display: flex; gap: 22px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; color: var(--gold); }
.topbar__social { display: flex; gap: 14px; }

.header {
  position: sticky; top: 0; z-index: 90; height: var(--header-h);
  background: rgba(20, 23, 56, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transition: height .35s var(--ease), background .35s;
}
.header.is-scrolled { --header-h: 68px; background: rgba(20, 23, 56, 0.97); }
.header > .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; height: 100%; }
.logo img { height: 46px; width: auto; transition: height .35s var(--ease); }
.header.is-scrolled .logo img { height: 40px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--white);
  font-size: 15px; border-radius: 8px; transition: color .25s;
}
.nav > li > a:hover, .nav > li > a.active { color: var(--gold); }
.nav > li > a svg { width: 12px; height: 12px; opacity: .7; }
/* ---------- Mega menu ---------- */
.nav > li.has-mega { position: static; }
.nav > li.has-mega > a svg { transition: transform .3s var(--ease); }
.nav > li.has-mega.open > a { color: var(--gold); }
.nav > li.has-mega.open > a svg { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--white); color: var(--text);
  border-top: 1px solid var(--line); box-shadow: 0 40px 60px -30px rgba(20, 23, 56,.45);
  opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.has-mega.open > .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.mega__inner { display: grid; gap: 40px; padding-top: 34px; padding-bottom: 34px; }
.mega__inner--projects { grid-template-columns: 1fr 1fr 1fr 1.35fr; }
.mega__inner--services { grid-template-columns: minmax(0, 1fr) 290px; }
.mega h6 { font-family: var(--f-label); font-weight: 500; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 14px; }
.mega h6:not(:first-child) { margin-top: 26px; }
.mega__links { display: grid; gap: 2px; }
.mega__links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; margin: 0 -12px; border-radius: 8px; font-size: 14.5px; transition: background .2s, color .2s, padding .25s var(--ease); }
.mega__links a:hover { background: var(--paper); color: var(--ink); padding-left: 18px; }
.mega__links em { font-style: normal; font-size: 12px; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--cream); color: var(--gold-deep); display: grid; place-items: center; font-weight: 600; }
.mega__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mega__feature { display: grid; gap: 12px; align-content: start; }
.mcard { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); transition: .3s var(--ease); }
.mcard:hover { border-color: var(--gold-deep); box-shadow: var(--shadow); transform: translateY(-2px); }
.mcard img { width: 110px; height: 82px; object-fit: cover; border-radius: 8px; }
.mcard small { display: block; font-size: 12px; color: var(--text-soft); }
.mcard b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 17px; line-height: 1.25; margin: 2px 0 4px; color: var(--ink); }
.mcard span { font-size: 13px; font-weight: 600; color: var(--gold-deep); }
.mega__foot { background: var(--paper); border-top: 1px solid var(--line); }
.mega__foot .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; font-size: 14px; color: var(--text-soft); }
.mega__foot span { display: flex; gap: 10px; align-items: center; }
.mega__foot svg { width: 18px; height: 18px; color: var(--gold-deep); }
.mega__svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px; }
.mega__svc a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background .25s; }
.mega__svc a:hover { background: var(--paper); }
.mega__ico { width: 42px; height: 42px; border-radius: 10px; background: var(--cream); color: var(--gold-deep); display: grid; place-items: center; flex: none; transition: .3s; }
.mega__svc a:hover .mega__ico { background: var(--ink); color: var(--gold); }
.mega__ico svg { width: 21px; height: 21px; }
.mega__svc b { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 2px; }
.mega__svc small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.45; color: var(--text-soft); }
.mega__promo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--silver); display: flex; align-items: flex-end; min-height: 320px; }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.mega__promo > div { position: relative; padding: 24px; }
.mega__promo h4 { color: var(--white); font-size: 22px; margin: 10px 0 8px; }
.mega__promo p { font-size: 13.5px; margin-bottom: 16px; }
.mega__call { display: flex; justify-content: center; gap: 8px; align-items: center; margin-top: 12px; font-size: 14px; color: var(--white); }
.mega__call:hover { color: var(--gold); }
.mega__call svg { width: 15px; height: 15px; color: var(--gold); }
/* staggered items */
.mega__col, .mega__svc li, .mega__promo { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .45s var(--ease); }
.has-mega.open .mega__col, .has-mega.open .mega__svc li, .has-mega.open .mega__promo { opacity: 1; transform: none; }
.has-mega.open .mega__col:nth-child(2) { transition-delay: .04s; } .has-mega.open .mega__col:nth-child(3) { transition-delay: .08s; } .has-mega.open .mega__col:nth-child(4) { transition-delay: .12s; }
.has-mega.open .mega__svc li:nth-child(3n+2) { transition-delay: .04s; } .has-mega.open .mega__svc li:nth-child(3n) { transition-delay: .08s; }
.has-mega.open .mega__promo { transition-delay: .12s; }
/* dim page behind open mega menu */
body::after { content: ""; position: fixed; inset: 0; z-index: 80; background: rgba(20, 23, 56,.45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; pointer-events: none; }
body.mega-open::after { opacity: 1; visibility: visible; transition-delay: 0s; }

/* Drawer accordions */
.dgroup { border-bottom: 1px solid var(--line-dark); }
.dgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; color: var(--white); font-size: 17px; cursor: pointer; }
.dgroup summary::-webkit-details-marker { display: none; }
.dgroup summary svg { width: 16px; height: 16px; color: var(--gold); transition: transform .3s; }
.dgroup[open] summary svg { transform: rotate(180deg); }
.dgroup a.sub { border-bottom: 0; padding: 9px 0 9px 16px; }
.dgroup a.sub:last-child { padding-bottom: 16px; }

.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 14px; }
.header__phone .ico {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(237, 202, 100, .4); color: var(--gold);
}
.header__phone .ico svg { width: 16px; height: 16px; }
.header__phone small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-dark); background: transparent; color: var(--white); }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: .3s; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 120; background: rgba(20, 23, 56, .6);
  opacity: 0; visibility: hidden; transition: .35s;
}
.drawer.open { opacity: 1; visibility: visible; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: var(--ink);
  padding: 24px; transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto;
  display: flex; flex-direction: column; gap: 20px;
}
.drawer.open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__top img { height: 40px; width: auto; }
.drawer__close { background: none; border: 1px solid var(--line-dark); color: var(--white); width: 40px; height: 40px; border-radius: 10px; font-size: 22px; }
.drawer nav a { display: block; padding: 14px 0; color: var(--white); border-bottom: 1px solid var(--line-dark); font-size: 17px; }
.drawer nav a.sub { padding-left: 16px; font-size: 15px; color: var(--silver); }
.drawer nav a.sub:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  /* Sized so the overlapping search panel is fully visible in the first screen:
     viewport − top bar (40) − header (80) − part of the search panel below the hero (~105) */
  position: relative; min-height: max(540px, calc(100vh - 225px)); min-height: max(540px, calc(100svh - 225px));
  background: radial-gradient(110% 90% at 68% 38%, #1f2463 0%, var(--ink) 55%, #0e1030 100%); color: var(--white); overflow: hidden; display: flex; align-items: center;
  padding: 36px 0 140px;
}
.hero__bg { position: absolute; inset: 0; opacity: .22; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0;
  transform: scale(1.08);
}
.hero__slide.is-active { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 23, 56,.94) 0%, rgba(20, 23, 56,.78) 42%, rgba(20, 23, 56,.35) 100%),
    linear-gradient(0deg, rgba(20, 23, 56,.9) 0%, rgba(20, 23, 56,0) 40%);
}
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero__copy { max-width: 680px; }
.hero__kicker { font-family: var(--f-label); letter-spacing: 5px; text-transform: uppercase; font-size: 13px; color: var(--gold); margin-bottom: 14px; display: inline-flex; gap: 10px; align-items: center; }
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(237,202,100,.2); }
.hero h1 { font-size: clamp(38px, min(6vw, 8.4vh), 76px); line-height: 1.05; margin-bottom: 18px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero h1 .line > span { display: inline-block; }
.hero__lead { font-size: clamp(15px, 1.3vw, 17px); color: var(--silver); max-width: 560px; margin-bottom: 24px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }


/* ---------- Forms ---------- */
.field { position: relative; display: block; }
.field + .field { margin-top: 12px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  border-color: rgba(34, 37, 74,.14); background: var(--white); font-size: 15px; color: var(--text);
  transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23141738' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(210, 145, 53, .15); }
.field.is-invalid input, .field.is-invalid select { border-color: #9e0c0c; }
.field .err { display: none; color: #9e0c0c; font-size: 12px; margin-top: 4px; }
.field.is-invalid .err { display: block; }
.form-dark .field input, .form-dark .field select, .form-dark .field textarea {
  background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: var(--white);
}
.form-dark .field input::placeholder, .form-dark .field textarea::placeholder { color: rgba(255,255,255,.55); }
.form-dark .field select { background-repeat: no-repeat; background-position: right 16px center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23EDCA64' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); }
.form-dark .field select option { color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row .field + .field { margin-top: 0; }
.form-row + .field, .form-row + .form-row, .field + .form-row { margin-top: 12px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; display: flex; gap: 6px; align-items: center; }
.form-note svg { width: 14px; height: 14px; color: var(--gold-deep); }
.phone-wrap { display: flex; }
.phone-wrap .cc {
  display: grid; place-items: center; padding: 0 12px; border: 1px solid rgba(34, 37, 74,.14); border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-size: 14px; background: var(--paper);
}
.phone-wrap input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.form-dark .phone-wrap .cc { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); color: var(--gold); }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--gold-grad); color: var(--ink); }
.form-success .tick svg { width: 30px; height: 30px; }
.form-success h4 { font-size: 24px; margin-bottom: 6px; }
form.is-sent .form-body { display: none; }
form.is-sent .form-success { display: block; }

/* ---------- Search panel (overlaps hero) ---------- */
.search-wrap { position: relative; z-index: 5; margin-top: -120px; }
.search {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 10px 24px 24px;
}
.search__tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.search__tabs::-webkit-scrollbar { display: none; }
.search__tab {
  background: none; border: 0; padding: 16px 18px; font-size: 15px; font-weight: 500; color: var(--text-soft);
  position: relative; white-space: nowrap;
}
.search__tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--gold-deep); transform: scaleX(0); transition: transform .35s var(--ease); }
.search__tab.active { color: var(--ink); }
.search__tab.active::after { transform: scaleX(1); }
.search__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 12px; }
.search__grid .field + .field { margin-top: 0; }
.search__grid .btn { height: 100%; padding: 0 30px; }
.search__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; font-size: 13px; color: var(--text-soft); }
.chip {
  padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); border-color: rgba(34, 37, 74,.14);
  font-size: 13px; background: var(--white); transition: .25s;
}
.chip:hover, .chip.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: .35s var(--ease);
}
.cat:hover { border-color: var(--gold-deep); transform: translateY(-4px); box-shadow: var(--shadow); }
.cat__ico { width: 52px; height: 52px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; color: var(--gold-deep); transition: .35s; }
.cat:hover .cat__ico { background: var(--ink); color: var(--gold); }
.cat__ico svg { width: 26px; height: 26px; }
.cat h4 { font-family: var(--f-body); font-weight: 600; font-size: 16px; }
.cat small { color: var(--text-soft); font-size: 13px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tab {
  padding: 10px 20px; border-radius: 99px; border: 1px solid rgba(34, 37, 74,.14); background: var(--white);
  font-size: 14px; font-weight: 500; transition: .25s;
}
.tab:hover { border-color: var(--ink); }
.tab.active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Property card ---------- */
.grid-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.07); }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 23, 56,.65) 0%, rgba(20, 23, 56,0) 45%); }
.pcard__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; flex-wrap: wrap; }
.badge { font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: var(--ink); color: var(--white); }
.badge--gold { background: var(--gold-grad); color: var(--ink); }
.badge--light { background: rgba(255,255,255,.92); color: var(--ink); }
.pcard__fav {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 0; display: grid; place-items: center; color: var(--ink); transition: .25s;
}
.pcard__fav svg { width: 16px; height: 16px; }
.pcard__fav.on { background: var(--gold-deep); color: var(--white); }
.pcard__loc { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: var(--white); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.pcard__loc svg { width: 14px; height: 14px; color: var(--gold); }
.pcard__body { padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__dev { font-family: var(--f-label); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-deep); }
.pcard__title { font-size: 22px; }
.pcard__title a:hover { color: var(--gold-deep); }
.pcard__price { font-weight: 600; font-size: 18px; color: var(--ink); }
.pcard__price small { font-weight: 400; color: var(--text-soft); font-size: 13px; }
.pcard__specs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--text-soft); padding-top: 10px; margin-top: auto; border-top: 1px solid var(--line); }
.pcard__specs span { display: inline-flex; gap: 6px; align-items: center; }
.pcard__specs svg { width: 15px; height: 15px; color: var(--gold-deep); }
.pcard__actions { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; padding: 0 20px 20px; }
.pcard__actions .btn { padding: 11px 10px; font-size: 13.5px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: #25d366; color: #fff; border: 0; transition: .25s;
}
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn svg { width: 20px; height: 20px; }
.center-cta { text-align: center; margin-top: 44px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; border: 1px dashed rgba(34, 37, 74,.2); border-radius: var(--radius); }
.empty-state h4 { font-size: 24px; margin-bottom: 8px; }

/* ---------- Featured slider ---------- */
.featured { overflow: hidden; }
.slider { position: relative; }
.slider__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.slider__track::-webkit-scrollbar { display: none; }
.fslide {
  position: relative; flex: 0 0 min(84%, 980px); aspect-ratio: 16 / 8; border-radius: var(--radius-lg); overflow: hidden;
  scroll-snap-align: center; color: var(--white);
}
.fslide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fslide:hover img { transform: scale(1.05); }
.fslide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 23, 56,.88) 0%, rgba(20, 23, 56,.1) 55%); }
.fslide__info { position: absolute; left: 36px; right: 36px; bottom: 32px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.fslide__info h3 { font-size: clamp(26px, 3vw, 40px); margin: 8px 0 6px; }
.fslide__meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--silver); font-size: 14px; }
.fslide__price { font-family: var(--f-display); font-size: 28px; color: var(--gold); }
.slider__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 16px; }
.slider__arrows { display: flex; gap: 10px; }
.arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(34, 37, 74,.2); background: var(--white);
  display: grid; place-items: center; transition: .25s;
}
.arrow:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.arrow svg { width: 18px; height: 18px; }
.slider__progress { flex: 1; max-width: 320px; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.slider__progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--gold-deep); transition: transform .4s var(--ease), width .4s; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  overflow: hidden; transition: .45s var(--ease); display: flex; flex-direction: column;
}
.svc::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease); z-index: 0; }
.svc > * { position: relative; z-index: 1; }
.svc:hover::before { transform: none; }
.svc:hover { color: var(--silver); box-shadow: var(--shadow-lg); }
.svc:hover h3 { color: var(--white); }
.svc__num { position: absolute; top: 22px; right: 26px; font-family: var(--f-display); font-size: 44px; color: rgba(210,145,53,.18); z-index: 1; }
.svc__ico { width: 60px; height: 60px; border-radius: 14px; background: var(--cream); color: var(--gold-deep); display: grid; place-items: center; margin-bottom: 22px; transition: .4s; }
.svc:hover .svc__ico { background: var(--gold-grad); color: var(--ink); }
.svc__ico svg { width: 28px; height: 28px; }
.svc h3 { font-size: 23px; margin-bottom: 10px; transition: color .4s; }
.svc p { font-size: 15px; color: inherit; opacity: .85; }
.svc ul { display: grid; gap: 6px; margin-bottom: 20px; font-size: 14px; }
.svc ul li { display: flex; gap: 8px; }
.svc ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-deep); margin-top: 9px; flex: none; }
.svc__link { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; font-weight: 500; color: var(--gold-deep); font-size: 14px; }
.svc:hover .svc__link { color: var(--gold); }
.svc__link svg { width: 16px; height: 16px; transition: transform .3s; }
.svc:hover .svc__link svg { transform: translateX(4px); }

/* ---------- Pinned steps (WPResidence customization-tools style) ---------- */
.steps-sec { background: var(--ink); color: var(--silver); }
.steps { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; min-height: 100vh; padding: 90px 0; }
.steps__list { position: relative; padding-left: 34px; }
.steps__rail { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line-dark); }
.steps__rail span { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--gold-grad); }
.step { position: relative; padding: 14px 0; cursor: pointer; }
.step::before {
  content: ""; position: absolute; left: -34px; top: 20px; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--ink-4); background: var(--ink); transition: .35s;
}
.step.active::before { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 5px rgba(237, 202, 100, .18); }
.step h3 { font-family: var(--f-body); font-weight: 500; font-size: 19px; color: var(--muted); transition: color .35s; }
.step.active h3 { color: var(--white); }
.step__body { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.step.active .step__body { max-height: 220px; opacity: 1; margin-top: 10px; }
.step__body p { font-size: 15px; margin: 0; }
.steps__visual { position: relative; aspect-ratio: 5 / 4.4; }
.vpanel {
  position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: visible; background: var(--ink-2);
  border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); opacity: 0; transform: translateY(30px) scale(.97);
  transition: opacity .6s var(--ease), transform .6s var(--ease); display: flex; flex-direction: column;
}
.vpanel.active { opacity: 1; transform: none; }
.vpanel img { width: 100%; height: 62%; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.vpanel__body { padding: 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.vpanel__label { font-family: var(--f-label); letter-spacing: 3px; font-size: 11px; text-transform: uppercase; color: var(--gold); }
.vpanel h4 { font-size: 24px; color: var(--white); }
.vpanel__row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { padding: 6px 12px; border-radius: 99px; background: rgba(237,202,100,.1); color: var(--gold); font-size: 12.5px; border: 1px solid rgba(237,202,100,.25); }
.vpanel__float {
  position: absolute; right: -22px; top: 26px; background: var(--white); color: var(--ink); border-radius: 12px;
  padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: 13px; display: flex; gap: 10px; align-items: center; z-index: 3;
  white-space: nowrap; line-height: 1.35;
}
/* On narrower screens keep the badge inside the card so it can never be cut off or cause sideways scroll */
@media (max-width: 1280px) { .vpanel__float { right: 16px; top: 16px; } }
.vpanel__float b { display: block; font-size: 15px; }
.vpanel__float .ico { width: 34px; height: 34px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; }
.vpanel__float svg { width: 16px; height: 16px; }

/* ---------- Localities ---------- */
.locs { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 18px; }
.loc { position: relative; border-radius: var(--radius); overflow: hidden; color: var(--white); display: block; }
.loc:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.loc:nth-child(6) { grid-column: span 2; }
.loc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.loc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 23, 56,.85) 0%, rgba(20, 23, 56,0) 60%); transition: .4s; }
.loc:hover img { transform: scale(1.08); }
.loc:hover::after { background: linear-gradient(0deg, rgba(20, 23, 56,.9) 0%, rgba(20, 23, 56,.25) 100%); }
.loc__info { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.loc h4 { font-size: 24px; }
.loc:nth-child(1) h4 { font-size: 34px; }
.loc small { color: var(--silver); font-size: 13px; }
.loc__go { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-grad); color: var(--ink); display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); flex: none; }
.loc:hover .loc__go { transform: scale(1); }
.loc__go svg { width: 16px; height: 16px; }

/* ---------- Stats + marquee ---------- */
.stats-band { background: var(--gold-grad); color: var(--ink); padding: 54px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--f-display); font-size: clamp(38px, 5vw, 58px); line-height: 1; }
.stat .lbl { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-top: 8px; font-weight: 500; }
.stat + .stat { border-left: 1px solid rgba(20, 23, 56,.18); }
.marquee { overflow: hidden; padding: 34px 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 70px; width: max-content; align-items: center; }
.marquee__item { font-family: var(--f-display); font-size: 26px; color: rgba(34, 37, 74,.45); white-space: nowrap; display: flex; align-items: center; gap: 70px; transition: color .3s; }
.marquee__item:hover { color: var(--ink); }
.marquee__item::after { content: "✦"; font-size: 14px; color: var(--gold-deep); }

/* ---------- EMI + callback ---------- */
.tools { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; }
.emi { background: var(--white); border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--line); }
.emi h3, .callback h3 { font-size: 30px; margin-bottom: 6px; }
.emi > p, .callback > p { color: var(--text-soft); margin-bottom: 26px; }
.range { margin-bottom: 24px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 14px; color: var(--text-soft); }
.range__top output { font-weight: 600; color: var(--ink); font-size: 17px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold-deep) var(--p, 50%), var(--cream) var(--p, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid var(--gold); cursor: pointer; box-shadow: var(--shadow); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 4px solid var(--gold); cursor: pointer; }
.emi__result { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 22px; margin-top: 8px; }
.donut { width: 130px; height: 130px; border-radius: 50%; background: conic-gradient(var(--gold-deep) 0 var(--a, 60%), var(--ink) var(--a, 60%) 100%); display: grid; place-items: center; }
.donut::before { content: ""; width: 86px; height: 86px; border-radius: 50%; background: var(--paper); grid-area: 1 / 1; }
.emi__nums { display: grid; gap: 10px; }
.emi__nums div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--text-soft); }
.emi__nums b { color: var(--ink); }
.emi__nums .big { font-size: 13px; }
.emi__nums .big b { font-family: var(--f-display); font-weight: 400; font-size: 32px; color: var(--gold-deep); }
.legend { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.callback { background: var(--ink); color: var(--silver); border-radius: var(--radius-lg); padding: 34px; position: relative; overflow: hidden; }
.callback h3 { color: var(--white); }
.callback > p { color: var(--silver); }
.callback::before { content: ""; position: absolute; width: 280px; height: 280px; right: -110px; top: -110px; border-radius: 50%; border: 1px solid rgba(237,202,100,.25); }
.callback::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; border: 1px solid rgba(237,202,100,.25); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media .main { border-radius: var(--radius-lg); aspect-ratio: 4 / 4.6; object-fit: cover; width: 86%; }
.split__media .sub { position: absolute; right: 0; bottom: -30px; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--white); box-shadow: var(--shadow-lg); }
.split__badge { position: absolute; left: -10px; top: 40px; background: var(--ink); color: var(--white); padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split__badge .num { font-family: var(--f-display); font-size: 38px; color: var(--gold); line-height: 1; }
.split__badge small { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 26px 0 32px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.checks svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; margin-top: 2px; }

/* ---------- Testimonials ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.testi__stars { color: var(--gold-deep); letter-spacing: 3px; }
.testi p { font-size: 15.5px; color: var(--text-soft); margin: 0; flex: 1; }
.testi__who { display: flex; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-grad); color: var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-size: 18px; flex: none; }
.testi__who b { display: block; font-weight: 600; }
.testi__who small { color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 17px; font-weight: 500; }
.faq__q .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(34, 37, 74,.2); flex: none; position: relative; transition: .3s; }
.faq__q .pm::before, .faq__q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: .3s; }
.faq__q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq.open .pm { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.faq.open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { height: 0; overflow: hidden; transition: height .45s var(--ease); }
.faq__a p { padding-bottom: 22px; margin: 0; color: var(--text-soft); }
.faq-aside { position: sticky; top: calc(var(--header-h) + 30px); background: var(--ink); color: var(--silver); border-radius: var(--radius-lg); padding: 34px; }
.faq-aside h3 { color: var(--white); font-size: 28px; margin: 12px 0; }

/* ---------- Appointment (contact) ---------- */
.appoint { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.appoint__media { position: relative; min-height: 420px; }
.appoint__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.appoint__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 23, 56,.9), rgba(20, 23, 56,.2)); }
.appoint__contact { position: absolute; left: 30px; right: 30px; bottom: 30px; z-index: 2; display: grid; gap: 14px; color: var(--white); }
.appoint__contact a { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.appoint__contact a:hover { color: var(--gold); }
.appoint__contact .ico { width: 40px; height: 40px; border-radius: 50%; background: rgba(237,202,100,.14); color: var(--gold); display: grid; place-items: center; flex: none; }
.appoint__contact svg { width: 17px; height: 17px; }
.appoint__form { padding: clamp(28px, 4vw, 50px); color: var(--silver); }
.appoint__form h2 { color: var(--white); font-size: clamp(28px, 3vw, 38px); margin: 12px 0 10px; }
.appoint__form > p { font-size: 15px; margin-bottom: 26px; }

/* ---------- CTA trio ---------- */
.cta-trio { position: relative; padding: 110px 0; color: var(--white); overflow: hidden; }
.cta-trio__bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center; }
.cta-trio::after { content: ""; position: absolute; inset: 0; background: rgba(20, 23, 56,.72); }
.cta-trio .container { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cta-box { text-align: center; padding: 38px 28px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(20, 23, 56,.25); transition: .4s var(--ease); }
.cta-box:hover { border-color: var(--gold); transform: translateY(-6px); background: rgba(20, 23, 56,.5); }
.cta-box small { font-family: var(--f-label); letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-size: 12px; }
.cta-box h3 { font-size: 28px; margin: 10px 0 12px; }
.cta-box p { color: var(--silver); font-size: 15px; margin-bottom: 22px; }

/* ---------- Footer ---------- */
.prefoot { background: var(--ink-2); padding: 40px 0; border-bottom: 1px solid var(--line-dark); }
.prefoot .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.prefoot h3 { color: var(--white); font-size: clamp(22px, 2.6vw, 32px); }
.prefoot p { color: var(--silver); margin: 4px 0 0; }
.prefoot__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.footer { background: var(--ink); color: var(--silver); padding: 70px 0 0; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__brand img { height: 150px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 340px; }
.footer h5 { color: var(--white); font-size: 19px; margin-bottom: 20px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: var(--gold); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--gold); margin-top: 4px; flex: none; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: .3s; }
.socials a:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--ink); }
.socials svg { width: 17px; height: 17px; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* ---------- Floating conversion UI ---------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
}
.float-wa svg { width: 28px; height: 28px; }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.float-enquire {
  position: fixed; right: 0; top: 50%; z-index: 80; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  background: var(--gold-grad); color: var(--ink); border: 0; padding: 18px 11px; border-radius: 0 10px 10px 0;
  font-weight: 600; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; box-shadow: var(--shadow);
}
.to-top { position: fixed; right: 30px; bottom: 94px; z-index: 80; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--gold); border: 1px solid var(--line-dark); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top svg { width: 16px; height: 16px; }
.mbar { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: rgba(20, 23, 56,.7); opacity: 0; visibility: hidden; transition: .35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal__box {
  width: 100%; max-width: 820px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--white); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: .9fr 1.1fr; transform: translateY(30px) scale(.97); transition: transform .45s var(--ease); position: relative;
}
.modal.open .modal__box { transform: none; }
.modal__side { background: var(--ink); color: var(--silver); padding: 34px; position: relative; overflow: hidden; }
.modal__side img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.modal__side > * { position: relative; }
.modal__side h3 { color: var(--white); font-size: 28px; margin: 10px 0 14px; }
.modal__side ul { display: grid; gap: 12px; font-size: 14px; }
.modal__side li { display: flex; gap: 10px; }
.modal__side li svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.modal__main { padding: 34px; }
.modal__main h4 { font-size: 24px; margin-bottom: 4px; }
.modal__main > p { color: var(--text-soft); font-size: 14px; margin-bottom: 18px; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cream); font-size: 20px; z-index: 3; display: grid; place-items: center; }
.modal__close:hover { background: var(--ink); color: var(--gold); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: var(--white); padding: 90px 0 80px; overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 23, 56,.95), rgba(20, 23, 56,.4)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); margin: 14px 0 12px; }
.page-hero p { color: var(--silver); max-width: 620px; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--silver); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

/* ---------- Listing page ---------- */
.listing { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.container.listing { max-width: 1440px; }
.filters {
  position: sticky; top: calc(var(--header-h) + 20px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  /* The sidebar scrolls on its own, so every filter is reachable without scrolling the whole listing */
  max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--sand) transparent;
}
.filters::-webkit-scrollbar { width: 6px; }
.filters::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 6px; }
.filters h4 { position: sticky; top: -24px; z-index: 2; background: var(--white); margin: -24px -24px 16px; padding: 20px 24px 14px; border-bottom: 1px solid var(--line); }
.listing { min-height: calc(100vh - var(--header-h)); }
.filters h4 { font-family: var(--f-body); font-weight: 600; font-size: 16px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.filters h4 button { background: none; border: 0; color: var(--gold-deep); font-size: 13px; font-weight: 500; }
.fgroup { padding: 16px 0; border-top: 1px solid var(--line); }
.fgroup > label, .fgroup > span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 10px; color: var(--text-soft); }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchips .chip { cursor: pointer; }
.listing__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.listing__bar .count { color: var(--text-soft); }
.listing__bar .count b { color: var(--ink); }
.listing__bar .field { min-width: 220px; }
.listing .grid-props { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
/* 3-up cards are narrower — tighten them slightly */
.listing .pcard__body { padding: 18px 18px 14px; }
.listing .pcard__title { font-size: 20px; }
.listing .pcard__actions { padding: 0 18px 18px; gap: 6px; }
.listing .pcard__actions .btn { padding: 10px 8px; font-size: 13px; }
@media (max-width: 1199px) { .listing .grid-props { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.filter-toggle { display: none; }

/* ---------- Project detail ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 12px; border-radius: var(--radius-lg); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: .5s var(--ease); }
.gallery img:hover { filter: brightness(1.08); }
.gallery img:first-child { grid-row: span 2; }
.gallery img:nth-child(4) { grid-column: span 2; }
.pd-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 28px; }
.pd-head h1 { font-size: clamp(32px, 4vw, 50px); margin: 10px 0 8px; }
.pd-head .loc { display: flex; gap: 6px; align-items: center; color: var(--text-soft); }
.pd-head .loc svg { width: 16px; height: 16px; color: var(--gold-deep); }
.pd-price { text-align: right; }
.pd-price small { color: var(--text-soft); display: block; }
.pd-price b { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); color: var(--gold-deep); }
.pd { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; margin-top: 40px; }
.pd-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 24px; }
.pd-box h3 { font-size: 26px; margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fact { display: flex; gap: 12px; align-items: center; }
.fact .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--cream); color: var(--gold-deep); display: grid; place-items: center; flex: none; }
.fact svg { width: 22px; height: 22px; }
.fact small { display: block; color: var(--text-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.fact b { font-weight: 600; font-size: 15px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.ptable th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-soft); font-weight: 600; background: var(--paper); }
.ptable td:last-child { text-align: right; }
.amen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amen li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--paper); font-size: 14px; }
.amen svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius); filter: grayscale(.4); }
.pd-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-aside .callback { padding: 28px; }
.pd-aside .callback h3 { font-size: 24px; }
.pd-aside .agent { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.pd-aside .agent b { display: block; }
.pd-aside .agent small { color: var(--text-soft); }
.pd-aside .agent .btn { margin-left: auto; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 160; background: rgba(20, 23, 56,.95); display: none; place-items: center; padding: 30px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 86vh; border-radius: 12px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 22px; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; }
.lightbox .lb-next { right: 20px; top: 50%; }

/* ---------- Values / process (about/services pages) ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vcard { padding: 30px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.vcard .n { font-family: var(--f-display); font-size: 40px; color: var(--gold-deep); line-height: 1; margin-bottom: 14px; }
.vcard h4 { font-size: 21px; margin-bottom: 8px; }
.vcard p { font-size: 14.5px; color: var(--text-soft); margin: 0; }
.section--dark .vcard { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .vcard h4 { color: var(--white); }
.section--dark .vcard p { color: var(--silver); }
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 50px 0; border-bottom: 1px solid var(--line); }
.svc-detail:nth-child(even) .svc-detail__media { order: 2; }
.svc-detail__media img { border-radius: var(--radius-lg); aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
.svc-detail h3 { font-size: clamp(28px, 3vw, 38px); margin: 12px 0 14px; }
.svc-detail p { color: var(--text-soft); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 50px; }
.ccard { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); text-align: center; background: var(--white); transition: .35s var(--ease); display: block; }
.ccard:hover { border-color: var(--gold-deep); transform: translateY(-4px); box-shadow: var(--shadow); }
.ccard .ico { width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; margin: 0 auto 16px; }
.ccard svg { width: 24px; height: 24px; }
.ccard h4 { font-size: 22px; margin-bottom: 6px; }
.ccard p { color: var(--text-soft); margin: 0; }

/* ---------- Reveal defaults (GSAP sets final state) ---------- */
.js [data-reveal]:not(.is-revealed) { opacity: 0; }
.js [data-reveal].is-revealed { animation: reveal-up .9s var(--ease) var(--rd, 0ms) backwards; }
@keyframes reveal-up { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav > li > a { padding: 10px 10px; font-size: 14px; }
  .mega__inner { gap: 26px; }
  .mega__inner--projects { grid-template-columns: 1fr 1fr 1fr; }
  .mega__inner--projects .mega__feature { display: none; }
  .mega__inner--services { grid-template-columns: minmax(0, 1fr) 250px; }
  .mega__svc { grid-template-columns: repeat(2, 1fr); }
  .header__phone div { display: none; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .search__grid { grid-template-columns: 1fr 1fr 1fr; }
  .search__grid .field:first-child { grid-column: span 3; }
  .search__grid .btn { grid-column: span 3; padding: 15px; }
}
@media (max-width: 1024px) {
  body::after { display: none; }
  .nav, .header__cta .btn, .topbar__right .topbar__social { display: none; }
  .burger { display: block; }
  .hero .container { grid-template-columns: 1fr; }
  .grid-props, .services, .testis { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; min-height: auto; gap: 40px; }
  .steps__visual { max-width: 560px; width: 100%; }
  .locs { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .loc:nth-child(6) { grid-column: span 1; }
  .tools, .split, .faq-wrap, .appoint, .pd, .listing { grid-template-columns: 1fr; }
  .faq-aside, .pd-aside, .filters { position: static; }
  .filters { max-height: none; overflow: visible; }
  .filters h4 { position: static; margin: 0 0 16px; padding: 0 0 14px; }
  .split__media { max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-trio .container, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .svc-detail { grid-template-columns: 1fr; gap: 30px; }
  .svc-detail:nth-child(even) .svc-detail__media { order: 0; }
  .filters { display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .listing .grid-props { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .hero { min-height: auto; padding: 40px 0 140px; }
  .hero__kicker { letter-spacing: 2.5px; font-size: 11px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .search { padding: 6px 16px 18px; }
  .search__grid { grid-template-columns: 1fr 1fr; }
  .search__grid .field:first-child, .search__grid .btn { grid-column: span 2; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .grid-props, .services, .testis, .listing .grid-props, .contact-cards { grid-template-columns: 1fr; }
  .fslide { flex-basis: 88%; aspect-ratio: 4 / 5; }
  .fslide__info { left: 20px; right: 20px; bottom: 20px; }
  .locs { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 12px; }
  .loc:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .loc h4, .loc:nth-child(1) h4 { font-size: 20px; }
  .loc__info { left: 14px; right: 14px; bottom: 12px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stat:nth-child(3) { border-left: 0; }
  .emi, .callback { padding: 24px; }
  .emi__result { grid-template-columns: 1fr; justify-items: center; }
  .emi__nums { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .form-row .field + .field { margin-top: 12px; }
  .checks { grid-template-columns: 1fr; }
  .footer__grid, .cta-trio .container, .cards-4 { grid-template-columns: 1fr; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__side { display: none; }
  .modal__main { padding: 28px 22px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px 120px; }
  .gallery img:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery img:nth-child(4) { grid-column: span 1; }
  .facts, .amen { grid-template-columns: 1fr 1fr; }
  .pd-price { text-align: left; }
  .pd-box { padding: 22px; }
  .float-enquire { display: none; }
  .float-wa { bottom: 84px; right: 16px; width: 52px; height: 52px; }
  .to-top { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
    background: var(--ink); border-top: 1px solid var(--line-dark); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mbar a, .mbar button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 6px; border-radius: 10px; font-size: 14px; font-weight: 500; border: 0; }
  .mbar svg { width: 18px; height: 18px; }
  .mbar .call { background: var(--ink-3); color: var(--white); }
  .mbar .wa { background: #25d366; color: #fff; }
  .mbar .enq { background: var(--gold-grad); color: var(--ink); }
  body { padding-bottom: 72px; }
  .footer__bottom { flex-direction: column; }
  .pcard__actions { grid-template-columns: 1fr 1fr auto; }
  .appoint__media { min-height: 300px; }
  .prefoot .container { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* When the WebGL skyline is running on desktop, it replaces the photo layer */
@media (min-width: 1025px) { .hero.has-3d .hero__bg { display: none; } }
.steps-sec .steps { min-height: calc(100vh - var(--header-h)); }
.mega__promo .btn { white-space: normal; }

/* Short laptop screens: compact the hero so the search panel still shows in the first screen */
@media (min-width: 1025px) and (max-height: 860px) {
  .hero { padding: 22px 0 128px; min-height: max(480px, calc(100vh - 215px)); min-height: max(480px, calc(100svh - 215px)); }
  .search-wrap { margin-top: -108px; }
  .hero h1 { margin-bottom: 14px; }
  .hero__lead { margin-bottom: 20px; }
}
@media (min-width: 1025px) and (max-height: 800px) {
  .hero__kicker { margin-bottom: 10px; }
  .search { padding-bottom: 18px; }
  .search__tab { padding: 13px 16px; }
  .search__tabs { margin-bottom: 14px; }
}

/* ---------- Offer pop-up ---------- */
.offer .offer__box { max-width: 880px; grid-template-columns: 1fr 1.1fr; overflow: hidden; }
.offer__media { position: relative; display: block; min-height: 520px; background: var(--ink); color: var(--white); overflow: hidden; }
.offer__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 23, 56,.92) 0%, rgba(20, 23, 56,.1) 55%); }
.offer__tag { position: absolute; top: 18px; left: 18px; z-index: 2; }
.offer__proj { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; display: grid; gap: 4px; }
.offer__proj small { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--silver); }
.offer__proj small svg { width: 14px; height: 14px; color: var(--gold); }
.offer__proj b { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.2; }
.offer__proj span { font-size: 14px; color: var(--gold); }
.offer__main { padding: 34px 34px 26px; display: flex; flex-direction: column; }
.offer__main h3 { font-size: clamp(26px, 3vw, 32px); margin: 10px 0 14px; }
.offer__perks { display: grid; gap: 8px; margin-bottom: 18px; font-size: 14px; }
.offer__perks li { display: flex; gap: 10px; align-items: center; }
.offer__perks svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; }
.offer__skip { margin-top: 10px; background: none; border: 0; color: var(--text-soft); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; align-self: center; }
.offer__skip:hover { color: var(--ink); }
.offer form.is-sent ~ .offer__skip { display: none; }
.offer .form-note { margin-top: 8px; }
@media (max-width: 720px) {
  .offer .offer__box { grid-template-columns: 1fr; }
  .offer__media { min-height: 170px; }
  .offer__proj b { font-size: 21px; }
  .offer__main { padding: 22px 20px 18px; }
  .offer__perks { font-size: 13px; gap: 6px; margin-bottom: 14px; }
}

/* ---------- Interest tiles (replace the service dropdown) ---------- */
.tiles { border: 0; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.tiles legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 12.5px; font-weight: 500; color: var(--text-soft); }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile span {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 99px;
  border: 1px solid rgba(34, 37, 74,.16); background: var(--white); font-size: 13px; font-weight: 500; line-height: 1.2;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.tile:hover span { border-color: var(--gold-deep); }
.tile input:checked + span { background: var(--gold-grad); border-color: transparent; color: var(--ink); }
.tile input:checked + span::before { content: "✓"; font-size: 12px; }
.tile input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.tile:active span { transform: scale(.96); }
.form-dark .tiles legend { color: var(--silver); }
.form-dark .tile span { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: var(--white); }
.form-dark .tile:hover span { border-color: var(--gold); }
.form-dark .tile input:checked + span { background: var(--gold-grad); color: var(--ink); border-color: transparent; }

/* ---------- Search autocomplete ---------- */
.ac { position: relative; }
.ac__list {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; width: max(100%, 380px); max-height: 420px; overflow-y: auto;
  background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.ac__list.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ac__group { font-family: var(--f-label); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-deep); padding: 10px 10px 6px; }
.ac__item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.ac__item:hover, .ac__item.active { background: var(--paper); }
.ac__ico { width: 34px; height: 34px; border-radius: 9px; background: var(--cream); color: var(--gold-deep); display: grid; place-items: center; flex: none; }
.ac__item.active .ac__ico { background: var(--ink); color: var(--gold); }
.ac__ico svg { width: 16px; height: 16px; }
.ac__txt { flex: 1; min-width: 0; }
.ac__txt b { display: block; font-weight: 500; font-size: 14.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac__txt b mark { background: none; color: var(--gold-deep); font-weight: 700; }
.ac__txt small { display: block; font-size: 12px; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac__type { font-size: 10.5px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--text-soft); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; flex: none; }
.ac__empty, .ac__loading { padding: 12px 10px; font-size: 13px; color: var(--text-soft); }
.ac__loading::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; border: 2px solid var(--cream); border-top-color: var(--gold-deep); border-radius: 50%; animation: acspin .7s linear infinite; }
@keyframes acspin { to { transform: rotate(360deg); } }
.field.ac input { padding-left: 42px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23D29135' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5.5'/%3E%3Cpath d='m11.5 11.5 3 3'/%3E%3C/svg%3E") no-repeat 16px center; }
@media (max-width: 720px) { .ac__list { width: 100%; } }
.ac__list.up { top: auto; bottom: calc(100% + 8px); transform: translateY(-6px); max-height: min(420px, 60vh); }
.ac__list.up.open { transform: none; }

/* ---------- Instagram reels ---------- */
.reels-sec { background: var(--ink); color: var(--silver); overflow: hidden; }
.reels-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.reels-head h2 { color: var(--white); font-size: clamp(30px, 4vw, 46px); margin: 14px 0 10px; }
.reels-head p { margin: 0; max-width: 520px; }
.ig-handle { display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; border-radius: 99px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); transition: border-color .3s; }
.ig-handle:hover { border-color: var(--gold); }
.ig-handle b { display: block; color: var(--white); font-size: 15px; }
.ig-handle small { font-size: 12px; color: var(--muted); }
.ig-ring { width: 50px; height: 50px; border-radius: 50%; padding: 2.5px; background: conic-gradient(from 200deg, #edca64, #d29135, #9e0c0c, #d29135, #edca64); display: grid; place-items: center; flex: none; }
.ig-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; background: var(--ink); border: 2px solid var(--ink); padding: 6px; }
.ig-ring svg { width: 26px; height: 26px; color: var(--white); }
.ig-follow svg { width: 16px; height: 16px; }
.reels { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px; }
.reels::-webkit-scrollbar { display: none; }
.reel {
  position: relative; flex: 0 0 clamp(210px, 21vw, 270px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  scroll-snap-align: start; background: var(--ink-3); color: var(--white); isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -1; }
.reel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 23, 56,.92) 0%, rgba(20, 23, 56,.05) 50%, rgba(20, 23, 56,.35) 100%); }
.reel:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(237,202,100,.4); }
.reel:hover img { transform: scale(1.08); }
.reel__tag { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: rgba(20, 23, 56,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.reel__ig { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center; }
.reel__ig svg { width: 20px; height: 20px; }
.reel__play {
  position: absolute; left: 50%; top: 45%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; transition: transform .4s var(--ease), background .3s;
}
.reel__play svg { width: 22px; height: 22px; margin-left: 3px; }
.reel:hover .reel__play { transform: scale(1.12); background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.reel__cap { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 6px; }
.reel__cap b { font-weight: 500; font-size: 15px; line-height: 1.35; }
.reel__cap small { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--silver); }
.reel__cap small svg { width: 13px; height: 13px; }
.reel--more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; background: var(--ink-2); border: 1px dashed rgba(237,202,100,.35); }
.reel--more::after { display: none; }
.reel--more b { font-family: var(--f-display); font-weight: 400; font-size: 22px; margin-top: 8px; }
.reel--more small { color: var(--muted); margin-bottom: 10px; }
.ig-ring--lg { width: 70px; height: 70px; }
.ig-ring--lg svg { width: 30px; height: 30px; }
.reels-sec .slider__progress { background: var(--line-dark); }
.reels-sec .arrow { background: transparent; color: var(--white); border-color: var(--line-dark); }
.reels-sec .arrow:hover { background: var(--gold-deep); color: var(--ink); border-color: var(--gold-deep); }
.reel-modal__box { position: relative; width: min(400px, 92vw); height: min(720px, 88vh); border-radius: 18px; overflow: hidden; background: var(--white); transform: translateY(30px) scale(.97); transition: transform .45s var(--ease); }
.reel-modal.open .reel-modal__box { transform: none; }
.reel-modal__box iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 720px) {
  .reel { flex-basis: 62%; }
  .ig-handle { width: 100%; }
  .ig-handle .ig-follow { margin-left: auto; }
}

/* ---------- Google-style reviews ---------- */
.glogo { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 8px rgba(20, 23, 56,.1); flex: none; }
.glogo svg { width: 60%; height: 60%; }
.glogo--sm { width: 24px; height: 24px; box-shadow: none; background: transparent; }
.glogo--sm svg { width: 100%; height: 100%; }
.gstars { display: inline-flex; gap: 2px; }
.gstars svg { width: 20px; height: 20px; fill: rgba(34, 37, 74,.15); }
.gstars svg.on { fill: #FBBC04; }
.gstars--sm svg { width: 16px; height: 16px; }
.gsum {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px;
  padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-bottom: 24px;
}
.gsum__brand { display: flex; align-items: center; gap: 14px; }
.gsum__brand b { display: block; font-size: 18px; font-weight: 600; }
.gsum__brand small { color: var(--text-soft); font-size: 13px; }
.gsum__score { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gsum__num { font-family: var(--f-body); font-weight: 600; font-size: 34px; line-height: 1; color: var(--ink); }
.gsum__score small { width: 100%; color: var(--text-soft); font-size: 13px; }
.gsum__score small:empty { display: none; }
.gsum__cta { gap: 10px; }
.gsum__cta .glogo--sm { width: 20px; height: 20px; background: var(--white); border-radius: 50%; padding: 2px; }
.grev-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.grev-track::-webkit-scrollbar { display: none; }
.grev {
  flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.grev:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.grev header { display: flex; align-items: center; gap: 12px; }
.grev__av { width: 42px; height: 42px; border-radius: 50%; color: var(--white); display: grid; place-items: center; font-weight: 600; font-size: 17px; overflow: hidden; flex: none; }
.grev__av img { width: 100%; height: 100%; object-fit: cover; }
.grev__who { flex: 1; min-width: 0; }
.grev__who b { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grev__who small { color: var(--text-soft); font-size: 12.5px; }
.grev__rating { display: flex; align-items: center; gap: 6px; }
.grev__ok svg { width: 16px; height: 16px; color: #1a73e8; }
.grev__text { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.grev.open .grev__text { -webkit-line-clamp: unset; display: block; }
.grev__more { align-self: flex-start; background: none; border: 0; padding: 0; font-size: 13px; font-weight: 500; color: var(--text-soft); }
.grev__more:hover { color: var(--ink); text-decoration: underline; }
.grev--ph .grev__text { color: var(--text-soft); font-style: italic; }
@media (max-width: 1024px) {
  .gsum { grid-template-columns: 1fr auto; }
  .gsum__cta { grid-column: 1 / -1; justify-self: start; }
  .grev { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 720px) {
  .gsum { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .grev { flex-basis: 86%; }
}

/* =========================================================
   WOW LAYER — intro, 3D map, cursor
   ========================================================= */

/* ---------- Cinematic intro ---------- */
.preloader { display: none; }
.intro .preloader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 400; color: var(--white);
  animation: pl-failsafe 0s linear 6s forwards; /* never block the site, even if scripts fail */
}
@keyframes pl-failsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }
.pl__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); }
.pl__panel--top { top: 0; }
.pl__panel--bot { bottom: 0; background: linear-gradient(0deg, #0e1030, var(--ink)); }
.pl__panel--top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(237,202,100,.5), transparent); }
.pl__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pl__mark { position: relative; width: 150px; isolation: isolate; }
.pl__mark img { width: 100%; display: block; }
.pl__mark::before { content: ""; position: absolute; inset: -30%; background: radial-gradient(closest-side, rgba(237,202,100,.22), transparent); z-index: -1; }
/* shine sweeps across the icon only (masked to its shape) */
.pl__shine {
  position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255,248,225,.85) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0; animation: pl-shine 1.6s .5s ease-in-out infinite;
  -webkit-mask: url(../assets/brand/logo-mark.png) center / contain no-repeat; mask: url(../assets/brand/logo-mark.png) center / contain no-repeat;
}
@keyframes pl-shine { to { background-position: -50% 0; } }
.pl__word { font-family: var(--f-display); font-size: clamp(40px, 7vw, 68px); line-height: 1; overflow: hidden; padding-bottom: .1em; }
.pl__word span { display: inline-block; background: linear-gradient(180deg, #f3d77f 0%, #edca64 45%, #d29135 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl__sub { font-family: var(--f-label); letter-spacing: 6px; text-transform: uppercase; font-size: 11px; color: var(--silver); }
.pl__bar { width: 220px; height: 1px; background: rgba(255,255,255,.12); margin-top: 18px; overflow: hidden; }
.pl__bar i { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
.pl__count { font-family: var(--f-display); font-size: 14px; color: var(--gold); letter-spacing: 2px; min-width: 3ch; text-align: center; }
.pl__count::after { content: "%"; opacity: .6; }

/* ---------- 3D locality map ---------- */
.m3d-sec { background: radial-gradient(120% 80% at 50% 0%, #1a1d4a 0%, var(--ink) 60%); color: var(--silver); overflow: hidden; }
.m3d { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: stretch; }
.m3d__stage { position: relative; height: 600px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); background: radial-gradient(90% 70% at 50% 45%, rgba(210,145,53,.08), transparent 70%), #10133a; }
.m3d__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.m3d__stage canvas:active { cursor: grabbing; }
.m3d__labels { position: absolute; inset: 0; pointer-events: none; }
.m3d__label {
  position: absolute; left: 0; top: 0; pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 6px 10px; border-radius: 99px; border: 1px solid rgba(237,202,100,.35); background: rgba(20, 23, 56,.72); color: var(--white);
  font-size: 12px; font-weight: 500; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .25s, border-color .25s, color .25s; will-change: transform;
}
.m3d__label em { font-style: normal; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 99px; background: var(--gold-grad); color: var(--ink); display: grid; place-items: center; }
.m3d__label.on, .m3d__label:hover { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.m3d__label.on em, .m3d__label:hover em { background: var(--ink); color: var(--gold); }
.m3d__lm { position: absolute; left: 0; top: 0; font-family: var(--f-label); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--sand); white-space: nowrap; will-change: transform; }
.m3d__hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); pointer-events: none; }
.m3d__hint svg { width: 14px; height: 14px; }
.m3d__legend { position: absolute; left: 16px; top: 16px; display: grid; gap: 6px; font-size: 11.5px; color: var(--silver); pointer-events: none; }
.m3d__legend span { display: flex; align-items: center; gap: 8px; }
.m3d__legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.lg-beam { background: var(--gold-grad); }
.lg-orr { height: 3px !important; width: 14px !important; background: var(--gold-deep); }
.lg-lm { border: 1px solid var(--sand); transform: rotate(45deg); width: 8px !important; height: 8px !important; }
.m3d__side { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.m3d__list { display: grid; gap: 4px; padding: 10px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); }
.m3d__item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: none; border: 0; color: var(--silver); text-align: left; font-size: 14px; transition: background .2s, color .2s; }
.m3d__item:hover { background: rgba(255,255,255,.05); color: var(--white); }
.m3d__item.active { background: rgba(237,202,100,.12); color: var(--white); }
.m3d__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-4); flex: none; transition: .25s; }
.m3d__item.active .m3d__dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(237,202,100,.2); }
.m3d__name { flex: 1; }
.m3d__n { font-size: 12px; color: var(--muted); }
.m3d__item.active .m3d__n { color: var(--gold); }
.m3d__card { border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-dark); flex: 1; display: flex; flex-direction: column; }
.m3d__card.swap { animation: m3d-swap .5s var(--ease); }
@keyframes m3d-swap { from { opacity: 0; transform: translateY(12px); } }
.m3d__img { aspect-ratio: 16 / 9; overflow: hidden; }
.m3d__img img { width: 100%; height: 100%; object-fit: cover; }
.m3d__body { padding: 18px 20px 20px; }
.m3d__body h4 { color: var(--white); font-size: 24px; margin: 8px 0 4px; }
.m3d__body p { font-size: 14px; margin-bottom: 14px; }
.m3d__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.m3d--static .m3d__stage { display: none; }
.m3d--static { grid-template-columns: 1fr; }
@media (max-width: 1024px) {
  .m3d { grid-template-columns: 1fr; }
  .m3d__stage { height: 480px; }
  .m3d__side { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .m3d__stage { height: 400px; }
  .m3d__side { grid-template-columns: 1fr; }
  .m3d__list { display: flex; overflow-x: auto; scrollbar-width: none; }
  .m3d__list::-webkit-scrollbar { display: none; }
  .m3d__item { flex: none; }
  .m3d__legend { display: none; }
  .m3d__lm { display: none; }
}

/* ---------- Gold cursor ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; }
.cur__ring, .cur__dot { position: fixed; left: 0; top: 0; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cur-on .cur__ring, .cur-on .cur__dot { opacity: 1; }
.cur__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(210,145,53,.75);
  display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s, opacity .3s;
}
.cur__ring em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cur__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-deep); }
.cur__ring[data-state="link"] { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(237,202,100,.14); border-color: rgba(237,202,100,.5); }
.cur__ring[data-state="view"], .cur__ring[data-state="drag"] { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--gold-grad); border-color: transparent; }
.cur__ring[data-state="view"] em, .cur__ring[data-state="drag"] em { opacity: 1; }
.cur__ring[data-state="view"] ~ .cur__dot, .cur__ring[data-state="drag"] ~ .cur__dot { opacity: 0; }
.cur__ring.press { scale: .85; }
.is-magnetic { transition-property: background, color, box-shadow, border-color !important; }
.m3d__label.hide { opacity: 0 !important; pointer-events: none; }
.m3d__reset { position: absolute; right: 14px; top: 14px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-dark); background: rgba(20, 23, 56,.7); color: var(--silver); font-size: 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.m3d__reset:hover { color: var(--ink); background: var(--gold-grad); border-color: transparent; }

/* ---------- Pinned card deck ---------- */
.is-pinned-deck { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.is-pinned-deck > .container { width: 100%; }
.is-pinned-deck .cards-4 { position: relative; }
.is-pinned-deck .vcard {
  position: relative; will-change: transform; box-shadow: 0 20px 40px -24px rgba(20, 23, 56, .35);
  transition: background .5s var(--ease), border-color .5s var(--ease), translate .5s var(--ease), box-shadow .5s var(--ease);
}
.is-pinned-deck .vcard .n { transition: color .5s, -webkit-text-stroke-color .5s; color: transparent; -webkit-text-stroke: 1.2px var(--gold-deep); }
.is-pinned-deck .vcard h4, .is-pinned-deck .vcard p { transition: color .5s; }
.is-pinned-deck .vcard.is-done .n { color: var(--gold-deep); }
.is-pinned-deck .vcard.is-active { background: var(--ink); border-color: transparent; translate: 0 -14px; box-shadow: 0 40px 60px -28px rgba(20, 23, 56, .7), 0 0 0 1px rgba(237, 202, 100, .35); }
.is-pinned-deck .vcard.is-active .n { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.is-pinned-deck .vcard.is-active h4 { color: var(--white); }
.is-pinned-deck .vcard.is-active p { color: var(--silver); }
/* dark variant (Services "How it works") */
.section--dark.is-pinned-deck .vcard.is-active { background: var(--gold-grad); }
.section--dark.is-pinned-deck .vcard.is-active .n, .section--dark.is-pinned-deck .vcard.is-active h4 { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.section--dark.is-pinned-deck .vcard.is-active p { color: rgba(20, 23, 56, .8); }
.pin-progress { display: none; height: 2px; margin: 40px auto 0; max-width: 420px; background: var(--line); border-radius: 2px; overflow: hidden; }
.section--dark .pin-progress { background: var(--line-dark); }
.is-pinned-deck .pin-progress { display: block; }
.pin-progress span { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }

/* ---------- Projects mega menu: property-type rail + panes (SquareYards-style) ---------- */
.mega__tabs { display: grid; grid-template-columns: 290px minmax(0, 1fr); padding-top: 0; padding-bottom: 0; }
.mega__rail { background: var(--paper); border-right: 1px solid var(--line); padding: 18px 12px 18px 0; margin-left: calc(-1 * var(--gutter)); padding-left: var(--gutter); display: flex; flex-direction: column; gap: 2px; }
.mega__tab {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text);
  transition: background .2s, color .2s;
}
.mega__tab .mega__ico { width: 34px; height: 34px; border-radius: 9px; }
.mega__tab .mega__ico svg { width: 17px; height: 17px; }
.mega__tab-l { flex: 1; }
.mega__tab em { font-style: normal; font-size: 12px; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--cream); color: var(--gold-deep); display: grid; place-items: center; font-weight: 600; }
.mega__tab small { font-size: 11px; color: var(--muted); }
.mega__tab > svg { width: 14px; height: 14px; transform: rotate(-90deg); opacity: 0; transition: opacity .2s, transform .2s; }
.mega__tab:hover, .mega__tab.active { background: var(--white); color: var(--ink); box-shadow: 0 6px 18px -10px rgba(20, 23, 56, .25); }
.mega__tab.active .mega__ico { background: var(--ink); color: var(--gold); }
.mega__tab.active > svg { opacity: 1; transform: rotate(-90deg) translateY(2px); }
.mega__rail-sep { margin: 14px 12px 6px; font-family: var(--f-label); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-deep); }
.mega__tool { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; font-size: 13.5px; color: var(--text-soft); }
.mega__tool svg { width: 15px; height: 15px; color: var(--gold-deep); }
.mega__tool:hover { color: var(--ink); background: var(--white); }
.mega__panes { position: relative; padding: 28px 0 28px 34px; min-height: 440px; }
.mega__pane { display: none; grid-template-columns: 1fr 1fr 1.25fr; gap: 34px; }
.mega__pane.active { display: grid; animation: pane-in .35s var(--ease); }
@keyframes pane-in { from { opacity: 0; transform: translateX(8px); } }
.mega__pane .mega__col { opacity: 1; transform: none; } /* panes animate as a whole */
.mega__soon { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--silver); align-self: start; }
.mega__soon-img { min-height: 260px; }
.mega__soon-img img { width: 100%; height: 100%; object-fit: cover; }
.mega__soon-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mega__soon-body h4 { color: var(--white); font-size: 24px; }
.mega__soon-body p { font-size: 13.5px; margin: 0 0 6px; }
.chip small { font-size: 11px; opacity: .65; margin-left: 2px; }
@media (max-width: 1180px) {
  .mega__tabs { grid-template-columns: 250px minmax(0, 1fr); }
  .mega__pane { grid-template-columns: 1fr 1fr; }
  .mega__pane .mega__feature { display: none; }
  .mega__soon { grid-column: span 1; grid-template-columns: 1fr; }
  .mega__soon-img { min-height: 140px; }
}
.mega__soon .eyebrow::before { display: none; }

/* Autocomplete rendered at page level */
.ac__list--fixed { position: fixed; top: auto; left: auto; z-index: 300; }
.ac__list--fixed.up { top: auto; }
.ac__item { align-items: center; }
.ac__txt b { white-space: normal; overflow: visible; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
