/* =============================================================
   MILLION MANSIONS — Real Estate Website (v2)
   Design system: structure inspired by maanestate.com,
   brand palette & content style from millionmansions.com
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #071A2B;
  --navy-2: #0C2740;
  --navy-3: #133754;
  --navy-deep: #04101C;
  --navy-soft: rgba(7, 26, 43, .06);
  --gold: #C9A961;
  --gold-2: #DFC489;
  --gold-dark: #A9873F;
  --gold-soft: rgba(201, 169, 97, .14);
  --ink: #101C29;
  --muted: #64748B;
  --line: #E6E9EF;
  --bg: #F7F8FA;
  --white: #fff;
  --green: #1F9D68;
  --red: #D43F3F;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(7, 26, 43, .08);
  --shadow-lg: 0 22px 55px rgba(7, 26, 43, .18);
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --header-h: 74px;
}

/* ---------- 2. Fonts ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
}

/* ---------- 3. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--navy); line-height: 1.22; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; color: var(--muted); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--ink); }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 500; }
::selection { background: var(--gold); color: var(--navy); }

/* clip (not hidden — keeps position:sticky working): the closed mobile
   drawer parks 424px off-screen and would allow horizontal scrolling. */
html { overflow-x: clip; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: 84px 0; }
.section.bg { background: var(--bg); }
.section.dark { background: var(--navy); color: rgba(255,255,255,.75); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-sm { padding: 56px 0; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 4. Section heads ---------- */
.sec-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.sec-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 15px;
}
.dark .eyebrow, .section.dark .eyebrow { color: var(--gold-2); background: rgba(201,169,97,.16); }
.sec-head h2 { margin-bottom: 13px; }
.sec-head p { font-size: 16.5px; margin-bottom: 0; }
.sec-head .accent, .accent { color: var(--gold-dark); font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; }
.dark .accent { color: var(--gold-2); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 27px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: .25s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #1A1406; }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201,169,97,.36); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(7,26,43,.3); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- 6. Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.badge-sale { background: var(--navy); color: #fff; }
.badge-rent { background: var(--green); color: #fff; }
.badge-new { background: var(--gold); color: #1A1406; }
.badge-hot { background: #D4572F; color: #fff; }
.badge-soft { background: rgba(255,255,255,.94); color: var(--navy); box-shadow: 0 4px 12px rgba(0,0,0,.16); }

/* ---------- 7. Top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.78);
  font-size: 13.5px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar a { color: rgba(255,255,255,.78); transition: .2s; }
.topbar a:hover { color: var(--gold-2); }
.topbar i { color: var(--gold); margin-right: 6px; }
.topbar .tb-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .tb-rates {
  background: var(--gold);
  color: #1A1406;
  font-weight: 800;
  padding: 3px 13px;
  border-radius: 999px;
}
.topbar .tb-rates:hover { background: var(--gold-2); color: #1A1406; }
.topbar .tb-rates i { color: #1A1406; }

/* ---------- 8. Header / Nav ---------- */
/* NOTE: no backdrop-filter here — it would turn .header into the
   containing block for the fixed mobile drawer and collapse it. */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  /* royal navy header — a shade richer than the deep topbar so both tiers read separately */
  background: linear-gradient(180deg, var(--navy-3) 0%, var(--navy-2) 55%, #0A2136 100%);
  border-top: 1px solid rgba(201,169,97,.52);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s;
}
/* premium gold hairline (fades at edges) */
.header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,97,.6) 30%, rgba(201,169,97,.6) 70%, transparent);
}
.header.scrolled { box-shadow: 0 14px 34px rgba(2,10,18,.42); }
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 11px; flex: none; position: relative; z-index: 1001; }
.brand img {
  height: 56px;
  width: auto;
  border-radius: 7px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
  transition: transform .3s;
}
.brand:hover img { transform: scale(1.03); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; margin-right: auto; list-style: none; }
.nav > li { position: relative; list-style: none; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,.88);
  transition: .2s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover { color: var(--gold-2); background: rgba(201,169,97,.14); }
.nav-link.active { color: var(--gold-2); background: rgba(201,169,97,.17); }
.nav-link .fa-chevron-down { font-size: 10px; color: var(--gold); transition: .25s; }
.nav-link.active .fa-chevron-down { color: var(--gold-2); }
.nav > li:hover .nav-link .fa-chevron-down, .nav > li:focus-within .nav-link .fa-chevron-down { transform: rotate(180deg); }
.nav-cta { display: none; }

.drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.97);
  transform-origin: top left;
  transition: .25s;
  z-index: 50;
}
.nav > li:hover > .drop, .nav > li:focus-within > .drop { opacity: 1; visibility: visible; transform: none; }
.drop.wide { min-width: 480px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop-title {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 8px 12px 9px;
  margin-bottom: 2px;
  border-bottom: 1px dashed var(--line);
}
.drop a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: .18s;
}
.drop a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  background: var(--gold-soft);
  border-radius: 9px;
  color: var(--gold-dark);
  font-size: 13.5px;
  transition: .2s;
}
.drop a:hover { background: var(--bg); color: var(--navy); }
.drop a:hover i { background: var(--gold); color: #1A1406; }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; position: relative; z-index: 1001; }
/* menu open: hide the topbar so the sticky header sits at the very top and
   the drawer's top edge (var(--header-h)) lines up exactly below it */
.mm-nav-open .topbar { display: none; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid rgba(201,169,97,.4);
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  color: rgba(255,255,255,.92);
  transition: .22s;
}
.header-phone i { color: var(--gold); transition: .22s; }
.header-phone:hover { color: var(--gold-2); border-color: var(--gold); background: rgba(201,169,97,.14); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  width: 44px; height: 44px;
  padding: 11px 10px;
  background: rgba(201,169,97,.17);
  border: 1px solid rgba(201,169,97,.4);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(2,10,18,.32);
  transition: .25s;
}
.nav-toggle span { display: block; height: 2.4px; background: #fff; border-radius: 3px; transition: .3s; }
.nav-toggle:hover { transform: translateY(-1px); background: rgba(201,169,97,.28); box-shadow: 0 10px 22px rgba(2,10,18,.4); }
.nav-toggle:active { transform: none; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.9px) rotate(-45deg); }

/* drawer backdrop (JS toggles .show) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,14,24,.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility 0s .4s;
  z-index: 850;
}
.nav-overlay.show { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s; }

/* ---------- 9. HERO SLIDER (autoplay) ---------- */
.hero {
  position: relative;
  height: min(86vh, 720px);
  min-height: 560px;
  background: var(--navy);
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
}
.slide.active { opacity: 1; visibility: visible; z-index: 2; }
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 7.5s ease-out;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5,18,31,.94) 6%, rgba(7,26,43,.78) 46%, rgba(7,26,43,.34) 100%);
}
.slide .container { position: relative; height: 100%; }
.slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 60px;
  max-width: 780px;
}
.slide-tags { display: flex; gap: 9px; margin-bottom: 18px; opacity: 0; transform: translateY(22px); }
.slide-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(22px);
}
.slide h1, .slide h2 {
  color: #fff;
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.08;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(26px);
}
.slide h1 em, .slide h2 em { color: var(--gold-2); font-weight: 500; }
.slide-desc {
  color: rgba(255,255,255,.82);
  font-size: 17.5px;
  max-width: 590px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(22px);
}
.slide-cta { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; transform: translateY(22px); }
.slide.active .slide-tags { animation: slideUp .7s .15s ease forwards; }
.slide.active .slide-eyebrow { animation: slideUp .7s .25s ease forwards; }
.slide.active h1, .slide.active h2 { animation: slideUp .8s .35s ease forwards; }
.slide.active .slide-desc { animation: slideUp .8s .5s ease forwards; }
.slide.active .slide-cta { animation: slideUp .8s .65s ease forwards; }
@keyframes slideUp { to { opacity: 1; transform: none; } }

/* slider UI */
.hero-ui { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.hero-ui .container { position: relative; height: 100%; }
.hero-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
  background: rgba(7,26,43,.35);
  color: #fff;
  font-size: 15px;
  display: grid;
  place-items: center;
  pointer-events: auto;
  transition: .25s;
  backdrop-filter: blur(4px);
  flex: none;
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: #1A1406; }
.hero-right { display: flex; align-items: center; gap: 13px; }

.hero-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 64px;
  pointer-events: auto;
}
.hero-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-dots { display: flex; gap: 10px; }
.hero-dot {
  width: 34px; height: 5px;
  border: none;
  border-radius: 99px;
  background: rgba(255,255,255,.32);
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: .25s;
}
.hero-dot.active { background: rgba(255,255,255,.5); }
.hero-dot .bar {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dot.active .bar { animation: dotFill var(--slide-dur, 6.5s) linear forwards; }
.hero.paused .hero-dot.active .bar { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }

.hero-count {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: .18em;
}
.hero-count b { color: var(--gold-2); font-size: 20px; font-family: var(--serif); font-style: italic; }
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 67px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.65);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.hero-scroll i { color: var(--gold-2); animation: scrollBounce 1.8s infinite; }
@keyframes scrollBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- 11. Forms ---------- */
.field label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  outline: none;
  transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.field textarea { resize: vertical; min-height: 128px; }
.field .err { display: none; color: var(--red); font-size: 13px; margin-top: 5px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field.invalid .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  display: none;
  padding: 13px 17px;
  background: rgba(31,157,104,.1);
  border: 1px solid rgba(31,157,104,.35);
  color: #14734b;
  border-radius: var(--radius-sm);
  font-size: 15px;
  margin-bottom: 16px;
}
.form-success.show { display: block; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.form-actions .btn { flex: 1 1 170px; }

/* ---------- 12. Quick access cards ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quick-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: .3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.quick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.quick-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-dark);
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.quick-card h3 { font-size: 21px; margin-bottom: 10px; }
.quick-card p { font-size: 15px; flex: 1; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  transition: .2s;
}
.chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.quick-meta { font-size: 13.5px; color: var(--gold-dark); font-weight: 700; margin-top: 12px; }

/* ---------- 13. Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
  z-index: 4;
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,169,97,.55);
}
.cat-card:hover::before { transform: scaleX(1); }

.cat-media {
  position: relative;
  height: 190px;
  flex: none;
  overflow: hidden;
  background: var(--navy);
}
.cat-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,26,43,.34), transparent 55%);
}
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card:hover .cat-media img { transform: scale(1.07); }

.cat-count {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(7,26,43,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.cat-count b { color: var(--gold-2); font-size: 13px; font-weight: 800; }

.cat-icon {
  position: absolute;
  top: 168px; left: 22px;
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(7,26,43,.14);
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 17px;
  transition: .35s;
}
.cat-card:hover .cat-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
  transform: scale(1.06);
}

.cat-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 38px 22px 22px;
}
.cat-body h3 { font-size: 19px; color: var(--navy); margin: 0 0 7px; letter-spacing: -.01em; }
.cat-body p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.cat-link {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.cat-link i { font-size: 12px; transition: transform .3s ease; }
.cat-card:hover .cat-link i { transform: translateX(6px); }
/* reveal ke baad hover ko crisp rakho */
.cat-card.reveal.visible {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, opacity .7s ease;
}

/* ---------- 14. Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 34px; }
.tab {
  padding: 10px 22px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--muted);
  transition: .22s;
}
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- 16. Promise cards ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promise-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFCFA 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px 32px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  height: 100%;
}
.promise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.promise-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: rgba(201,169,97,.5); }
.promise-card:hover::before { transform: scaleX(1); }
.promise-card.reveal.visible { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.promise-card .p-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.promise-card .p-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #112E4B 0%, #071A2B 100%);
  border: 1px solid rgba(201,169,97,.55);
  box-shadow: 0 12px 26px rgba(7,26,43,.35), inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.promise-card:hover .p-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 32px rgba(7,26,43,.42), 0 0 0 4px rgba(201,169,97,.18);
}
.promise-card .p-icon img { display: block; width: 30px; height: 30px; object-fit: contain; }
.promise-card .p-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 46px;
  line-height: .9;
  color: rgba(201,169,97,.32);
}
.promise-card h3 { font-size: 20px; margin-bottom: 10px; }
.promise-card p { margin-bottom: 0; font-size: 15px; line-height: 1.75; }

/* promise section — premium chrome */
#promise { position: relative; overflow: hidden; }
#promise::before {
  content: '';
  position: absolute;
  top: -140px; right: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(201,169,97,.16), transparent 65%);
  pointer-events: none;
}
#promise::after {
  content: '';
  position: absolute;
  bottom: -160px; left: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(201,169,97,.10), transparent 65%);
  pointer-events: none;
}
#promise > .container { position: relative; z-index: 1; }
#promise .sec-head::after {
  content: '';
  display: block;
  width: 64px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2), transparent);
  margin: 18px auto 0;
}

/* ---------- 17. Stats ---------- */
.stats { position: relative; overflow: hidden; background: var(--navy); padding: 62px 0; }
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(201,169,97,.13) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 78%);
  pointer-events: none;
}
.stats > .container { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 30px 18px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.stat:hover { transform: translateY(-5px); background: rgba(255,255,255,.07); border-color: rgba(201,169,97,.45); }
.stat.reveal.visible { transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 47px;
  color: var(--gold);
  line-height: 1.05;
  background: linear-gradient(180deg, #F3E0B4 0%, #C9A961 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat b::after {
  content: '';
  display: block;
  width: 38px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 35%, var(--gold) 65%, transparent);
  opacity: .8;
  margin: 15px auto 0;
}
.stat > span {
  display: block;
  margin-top: 13px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  letter-spacing: .02em;
  line-height: 1.55;
}

/* ---------- 18. Rates table ---------- */
.rates-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.rates-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.rates-head {
  background: var(--navy);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rates-head h3 { color: #fff; font-size: 19px; margin: 0; }
.rates-head span { font-size: 12px; color: var(--gold-2); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rates-table { width: 100%; border-collapse: collapse; }
.rates-table th, .rates-table td { padding: 13px 24px; text-align: left; font-size: 14.5px; }
.rates-table th {
  background: var(--bg);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.rates-table tr:not(:last-child) td { border-bottom: 1px solid var(--line); }
.rates-table td b { color: var(--navy); font-weight: 800; }
.rates-table td .muted { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.rates-table .price { color: var(--gold-dark); font-weight: 800; white-space: nowrap; }
.rates-foot { padding: 16px 24px; background: var(--bg); border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.rates-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 26px; }

/* ---------- 18b. Society payment plan panel ---------- */
.plan-tabs { justify-content: center; margin-bottom: 28px; }
.plan-tabs .tab { padding: 10px 20px; font-size: 14px; }
.plan-panel { border-radius: 18px; box-shadow: var(--shadow-lg); }
.plan-head {
  background: linear-gradient(135deg, #0E2742 0%, #071A2B 100%);
  color: #fff;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.plan-soc {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 7px;
}
.plan-head h3 { color: #fff; font-size: 22px; margin: 0; line-height: 1.3; }
.plan-sub {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.62);
  letter-spacing: .01em;
  margin-top: 5px;
}
.plan-badge {
  background: var(--gold);
  color: #1A1406;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(201,169,97,.35);
}
.rates-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.plan-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.plan-table th { background: var(--bg); color: var(--muted); }
.plan-table th:not(:first-child), .plan-table td.num, .plan-table td.price { text-align: right; }
.plan-table td { font-variant-numeric: tabular-nums; }
.plan-table td.num { color: var(--navy); font-weight: 700; white-space: nowrap; }
.plan-table td.price {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 15.5px;
  white-space: nowrap;
  background: rgba(201,169,97,.08);
  border-left: 1px solid rgba(201,169,97,.25);
  border-right: 1px solid rgba(201,169,97,.25);
}
.plan-table tbody tr:nth-child(even) td { background: var(--bg); }
.plan-table tbody tr:nth-child(even) td.price { background: rgba(201,169,97,.11); }
.plan-table tbody tr:hover td { background: rgba(201,169,97,.06); }
.plan-table tbody tr:hover td.price { background: rgba(201,169,97,.15); }
.plan-tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 28px 0; }
.plan-tags .chip { display: inline-flex; align-items: center; gap: 7px; }
.plan-terms {
  list-style: none;
  margin: 0;
  padding: 20px 28px 6px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px 26px;
}
.plan-terms li { display: flex; gap: 9px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.plan-terms i { color: var(--green); font-size: 13px; margin-top: 3px; flex-shrink: 0; }
.plan-panel .rates-foot { padding: 16px 28px; }

/* ---------- 19. Society cards ---------- */
.soc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.soc-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  display: block;
  background: var(--navy);
}
.soc-card img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: .55s; }
.soc-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,18,31,.94) 8%, rgba(5,18,31,.05) 66%); }
.soc-card:hover img { transform: scale(1.07); }
.soc-body { position: absolute; left: 18px; right: 18px; bottom: 17px; z-index: 2; }
.soc-tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 3px 10px; border-radius: 999px; margin-bottom: 9px; }
.soc-body h3 { color: #fff; font-size: 19px; margin: 0 0 5px; }
.soc-body p { color: rgba(255,255,255,.72); font-size: 13.5px; margin: 0 0 9px; }
.soc-more { color: var(--gold-2); font-size: 13.5px; font-weight: 800; display: inline-flex; gap: 7px; align-items: center; }
.soc-card:hover .soc-more i { transform: translateX(5px); }
.soc-more i { transition: .25s; }

/* ---------- 20. Leadership / story ---------- */
.leader-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.leader-photo { position: relative; }
.leader-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 520px; object-fit: cover; }
.leader-badge {
  position: absolute;
  right: -16px; bottom: 30px;
  background: var(--gold);
  color: #1A1406;
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.leader-badge b { display: block; font-family: var(--serif); font-style: italic; font-size: 36px; line-height: 1; }
.leader-badge span { font-size: 13px; font-weight: 700; }
.leader-quote {
  border-left: 4px solid var(--gold);
  padding: 6px 0 6px 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2.6vw, 27px);
  color: var(--navy);
  line-height: 1.45;
  margin: 18px 0 22px;
}
.leader-sign b { display: block; color: var(--navy); font-size: 17px; }
.leader-sign span { font-size: 13.5px; color: var(--gold-dark); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.leader-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.leader-facts li {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  font-size: 14.5px;
  color: var(--ink);
  align-items: flex-start;
}
.leader-facts i { color: var(--gold-dark); margin-top: 4px; }

/* ---------- 21. Updates / blog cards ---------- */
.upd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.upd-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .3s;
  height: 100%;
}
.upd-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.upd-media { aspect-ratio: 16 / 9.5; overflow: hidden; background: var(--navy-soft); }
.upd-media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.upd-card:hover .upd-media img { transform: scale(1.06); }
.upd-body { padding: 21px 21px 23px; display: flex; flex-direction: column; flex: 1; }
.upd-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.upd-meta i { color: var(--gold-dark); margin-right: 5px; }
.upd-body h3 { font-size: 19px; margin-bottom: 9px; }
.upd-body h3 a:hover { color: var(--gold-dark); }
.upd-body p { font-size: 14.8px; flex: 1; }
.upd-more { font-size: 13.5px; font-weight: 800; color: var(--navy); display: inline-flex; gap: 7px; align-items: center; }
.upd-more:hover { color: var(--gold-dark); }
.upd-more:hover i { transform: translateX(4px); }
.upd-more i { transition: .25s; }

/* ---------- 22. CTA band ---------- */
.cta {
  background-color: var(--navy-2);
  background-image: linear-gradient(90deg, rgba(7,26,43,.95), rgba(12,39,64,.8)),
    url('../assets/img/cta-architecture.webp');
  background-size: cover;
  background-position: center;
  padding: 72px 0;
  text-align: center;
}
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 23. Inner page hero (premium) ---------- */
.page-hero {
  position: relative;
  background-color: var(--navy);
  background-image: linear-gradient(90deg, rgba(5,18,31,.94), rgba(7,26,43,.66)),
    url('../assets/img/hero-etihad.webp');
  background-size: cover;
  background-position: center;
  padding: 92px 0 84px;
  text-align: center;
  border-bottom: 1px solid rgba(201,169,97,.28);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero .container { position: relative; }
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 17px;
  margin-bottom: 17px;
  border: 1px solid rgba(201,169,97,.45);
  border-radius: 999px;
  background: rgba(201,169,97,.09);
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: .16em;
}
.page-hero h1 { color: #fff; font-size: clamp(31px, 4.6vw, 50px); line-height: 1.16; margin-bottom: 15px; }
.page-hero:not(.hero-contact) h1::after {
  content: '';
  display: block;
  width: 62px;
  height: 3px;
  margin: 17px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.page-hero p { color: rgba(255,255,255,.82); margin: 0 auto; max-width: 720px; font-size: 17px; line-height: 1.78; }
.hero-actions { margin-top: 28px; display: flex; justify-content: center; gap: 13px; flex-wrap: wrap; }
.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: .05em;
  margin-top: 27px;
  padding: 8px 17px;
  color: rgba(255,255,255,.62);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  flex-wrap: wrap;
}
.crumbs a:hover { color: var(--gold-2); }
.crumbs .sep { color: var(--gold); }
.crumbs [aria-current] { color: #fff; font-weight: 700; }

/* ---------- 26. About / team ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.story-media { position: relative; }
.story-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 450px; object-fit: cover; }
.story-flag {
  position: absolute; left: -14px; top: 28px;
  background: var(--navy); color: #fff;
  padding: 18px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); text-align: center;
}
.story-flag b { display: block; font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--gold); line-height: 1; }
.story-flag span { font-size: 12.5px; color: rgba(255,255,255,.75); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 30px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; transition: .3s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-ico {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 23px;
  margin: 0 auto 18px;
}
.value-card h3 { font-size: 19px; }
.value-card p { margin-bottom: 0; font-size: 15px; }

/* ---------- Founder showcase (team page) ---------- */
.founder {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 43%) 1fr;
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(201,169,97,.16), transparent 62%),
    linear-gradient(140deg, #071A2B 0%, #0C2740 55%, #071A2B 100%);
  border: 1px solid rgba(201,169,97,.35);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 34px 70px -34px rgba(7,26,43,.55);
}
.founder::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 4;
  background: linear-gradient(90deg, transparent 4%, var(--gold) 50%, transparent 96%);
}
.founder-media { position: relative; min-height: 560px; }
.founder-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.founder-media::before {
  content: ""; position: absolute; z-index: 2; top: 18px; left: 18px;
  width: 46px; height: 46px;
  border-top: 2px solid var(--gold); border-left: 2px solid var(--gold);
}
.founder-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(7,26,43,.3), transparent 34%, rgba(7,26,43,.18) 70%, rgba(7,26,43,.62));
}
.founder-badge {
  position: absolute; z-index: 3; left: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 17px; border-radius: 999px;
  background: rgba(7,26,43,.85); border: 1px solid rgba(201,169,97,.55);
  color: #fff; font-size: 13px; backdrop-filter: blur(6px);
}
.founder-badge b { color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 17.5px; font-weight: 600; }
.founder-body {
  position: relative; z-index: 2;
  padding: 46px 46px 42px;
  display: flex; flex-direction: column; align-items: flex-start;
  color: rgba(255,255,255,.85);
}
.founder-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(201,169,97,.13); border: 1px solid rgba(201,169,97,.5);
  color: var(--gold); font-size: 11.5px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
}
.founder-name {
  font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3.6vw, 46px);
  color: #fff; line-height: 1.06; margin: 18px 0 5px;
}
.founder-title { color: var(--gold); font-size: 13.5px; font-weight: 700; letter-spacing: .05em; }
.founder-bio { margin: 19px 0 0; font-size: 15.5px; line-height: 1.78; color: rgba(255,255,255,.78); }
.founder-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: 100%; margin: 27px 0 0; padding: 21px 0;
  border-top: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.founder-stats div { text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.founder-stats div:last-child { border-right: none; }
.founder-stats b { display: block; color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 25px; font-weight: 600; }
.founder-stats span { display: block; margin-top: 3px; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.founder-values { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.founder-values span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.17);
  font-size: 12.5px; color: rgba(255,255,255,.86);
}
.founder-values i { color: var(--gold); font-size: 12.5px; }
.founder-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.founder-socials { display: flex; gap: 10px; margin-top: 24px; }
.founder-socials a {
  width: 39px; height: 39px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  color: #fff; border-radius: 50%; font-size: 15px; transition: .25s;
}
.founder-socials a:hover { background: var(--gold); border-color: var(--gold); color: #1A1406; transform: translateY(-3px); }

.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 98px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 98px 1fr; gap: 34px; margin-bottom: 32px; position: relative; }
.tl-year { font-family: var(--serif); font-style: italic; font-size: 27px; color: var(--gold-dark); text-align: right; padding-top: 2px; }
.tl-body { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 19px 23px; }
.tl-body::before {
  content: ''; position: absolute; left: -42px; top: 25px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold);
}
.tl-body h3 { font-size: 18px; margin-bottom: 5px; }
.tl-body p { margin-bottom: 0; font-size: 14.8px; }

/* ---------- 27. FAQ / article (updates page) ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  margin-bottom: 13px;
  transition: .25s;
}
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 800;
  color: var(--navy);
  font-size: 16.5px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 13px; color: var(--gold-dark); transition: .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .faq-body { padding: 0 0 18px; font-size: 15.3px; color: var(--muted); }

.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 34px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.article h2 { font-size: 27px; margin-top: 0; }
.article h3 { font-size: 20px; margin-top: 26px; }
.article p, .article li { font-size: 16px; color: #46536B; }
.article ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; color: #46536B; }
.article .art-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.article .art-meta i { color: var(--gold-dark); margin-right: 5px; }
.article table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 13px; font-size: 14.5px; text-align: left; }
.article th { background: var(--bg); color: var(--navy); }

/* ---------- 28. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
.info-list { display: grid; gap: 15px; margin-bottom: 24px; }
.info-card {
  display: flex; gap: 15px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 19px; transition: .25s;
}
.info-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.info-ico {
  width: 47px; height: 47px;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-dark);
  border-radius: 12px; font-size: 18px; flex: none;
}
.info-card b { display: block; color: var(--navy); font-size: 15.5px; margin-bottom: 2px; }
.info-card span, .info-card a { font-size: 14.5px; color: var(--muted); }
.info-card a:hover { color: var(--gold-dark); }
.hours { background: var(--navy); color: rgba(255,255,255,.8); border-radius: var(--radius); padding: 23px; }
.hours h3 { color: #fff; font-size: 18px; margin-bottom: 13px; }
.hours li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.16); font-size: 14.5px; }
.hours li:last-child { border-bottom: none; }
.hours li span:last-child { color: var(--gold-2); font-weight: 700; }
.form-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-box h2 { font-size: 26px; }

/* ---------- Contact helpers (moved from property detail) ---------- */
.map-frame { border: 0; width: 100%; height: 290px; border-radius: var(--radius); background: var(--bg); }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 23px; box-shadow: var(--shadow); }
.side-box h3 { font-size: 19px; margin-bottom: 15px; }

/* ---------- 29. Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 40px;
  padding: 64px 0 44px;
}
.footer-brand .brand { margin-bottom: 17px; }
.footer-brand p { color: rgba(255,255,255,.64); font-size: 15px; }
.footer-socials { display: flex; gap: 10px; margin-top: 17px; }
.footer-socials a {
  width: 37px; height: 37px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: #fff;
  font-size: 14.5px;
  transition: .25s;
}
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: #1A1406; transform: translateY(-3px); }
.footer h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 19px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2.5px; background: var(--gold); border-radius: 3px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 15px; color: rgba(255,255,255,.68); transition: .2s; display: inline-flex; gap: 9px; align-items: center; }
.footer-links a:hover { color: var(--gold-2); transform: translateX(4px); }
.footer-links i { font-size: 10.5px; color: var(--gold); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 13px; font-size: 15px; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: 5px; width: 16px; }
.footer-contact a:hover { color: var(--gold-2); }
.footer-news p { font-size: 14.5px; color: rgba(255,255,255,.64); }
.news-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  background: var(--gold);
  color: #1A1406;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14.5px;
  transition: .25s;
  text-decoration: none;
}
.news-btn:hover { background: var(--gold-2); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 19px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255,255,255,.52);
}
.footer-bottom a:hover { color: var(--gold-2); }
.footer-bottom .fb-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 30. Floating actions ---------- */
.float-wa {
  position: fixed;
  right: 20px; bottom: 22px;
  z-index: 800;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
  font-size: 27px;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(37,211,102,.42);
  transition: .25s;
}
.float-wa:hover { transform: translateY(-4px) scale(1.05); }
.back-top {
  position: fixed;
  left: 20px; bottom: 26px;
  z-index: 800;
  width: 46px; height: 46px;
  display: none;
  place-items: center;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 17px;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.back-top.show { display: grid; }
.back-top:hover { background: var(--gold); color: #1A1406; }

/* ---------- 31. 404 ---------- */
.nf {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 70px 0;
  background: var(--bg);
}
.nf-code {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(90px, 16vw, 160px);
  color: var(--gold);
  line-height: 1;
}
.nf h1 { font-size: clamp(26px, 4vw, 38px); }
.nf p { max-width: 460px; margin: 0 auto 24px; }

/* ---------- 32. Misc ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 80px);
  background: var(--navy);
  color: #fff;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: .4s;
  z-index: 1500;
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* mobile menu animations */
@keyframes navDrop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Category guide pages (premium pass) ---------- */
.cat-page .section { padding: 98px 0; }
.cat-page .sec-head { margin-bottom: 54px; }
.cat-intro { max-width: 900px; }
.cat-intro p { font-size: 16.5px; line-height: 1.85; color: var(--muted); margin: 0 0 16px; }
.cat-intro p:first-child { font-size: 19px; line-height: 1.8; font-weight: 500; color: var(--navy); }
.cat-intro p:last-child { margin-bottom: 0; }
.cat-page .promise-grid { margin-top: 46px; gap: 26px; }
.cat-page .promise-card { border-radius: 22px; box-shadow: 0 16px 38px rgba(7,26,43,.06); }
.cat-page .promise-card:hover { box-shadow: 0 28px 58px rgba(7,26,43,.13); }
.promise-card .p-icon i { font-size: 25px; color: var(--gold-2); }
.cat-facts { max-width: 820px; margin-top: 50px; }
.cat-facts h3 { display: flex; align-items: center; gap: 9px; font-size: 15px; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 15px; }
.cat-facts h3 i { color: var(--gold-2); }
.cat-facts li { padding: 10px 0; font-size: 14.5px; }
.cat-facts li span:first-child { color: rgba(255,255,255,.6); }

/* ---------- 33. Responsive ---------- */
@media (max-width: 1510px) {
  /* header content is ~1353px wide with the phone pill — above this width it
     fits inside the 1200px wrap; below it, drop the pill (topbar still shows
     the number) and tighten nav padding so nothing gets cut at 1151–1510px. */
  .header-phone { display: none; }
  .nav-link { padding: 10px 9px; }
}
@media (max-width: 1150px) {
  .header-cta .btn { display: none; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: flex; }

  /* ---------- premium menu drawer (slides in from the right) ---------- */
  .nav {
    position: fixed;
    top: var(--header-h); right: 0; bottom: 0;
    left: auto;
    width: min(400px, 92vw);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    background: linear-gradient(165deg, #0E2A45 0%, #071A2B 60%, #04121E 100%);
    border: none;
    border-left: 1px solid rgba(201,169,97,.4);
    border-radius: 0;
    box-shadow: -34px 0 80px rgba(2,10,18,.55);
    padding: 18px 22px 30px;
    display: flex;
    visibility: hidden;
    transform: translateX(106%);
    transition: transform .52s cubic-bezier(.22,.61,.36,1), visibility 0s linear .52s;
    z-index: 1000;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(201,169,97,.55) transparent;
  }
  .nav.open {
    visibility: visible;
    transform: translateX(0);
    transition: transform .52s cubic-bezier(.22,.61,.36,1), visibility 0s;
  }
  .nav::-webkit-scrollbar { width: 6px; }
  .nav::-webkit-scrollbar-thumb { background: rgba(201,169,97,.55); border-radius: 99px; }
  .nav::before {
    content: 'MENU';
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .34em;
    color: var(--gold-2);
    padding: 0 6px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(201,169,97,.3);
  }
  .nav > li { list-style: none; }
  .nav-link {
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 15.5px;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    overflow: hidden;
    color: rgba(255,255,255,.94);
  }
  .nav-link:hover { background: rgba(255,255,255,.07); color: var(--gold-2); }
  .nav-link.active { background: rgba(201,169,97,.16); color: var(--gold-2); }
  .nav-link .fa-chevron-down { transform: rotate(180deg); color: var(--gold-2); }
  .nav-link.active .fa-chevron-down { color: var(--gold-2); }
  .nav > li > .nav-link::after {
    content: '';
    position: absolute;
    left: 0; top: 16%; bottom: 16%;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(--gold);
    transform: scaleY(0);
    transition: transform .25s;
  }
  .nav > li > .nav-link:hover::after, .nav > li > .nav-link.active::after { transform: scaleY(1); }

  /* dropdown links — always visible inside the drawer (kuch chupa nahi) */
  .drop, .drop.wide {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(201,169,97,.24);
    border-left: 3px solid var(--gold);
    border-radius: 0 13px 13px 0;
    min-width: 0;
    margin: 2px 0 10px 10px;
    padding: 7px;
    transition: none;
    animation: none;
  }
  .drop a {
    color: rgba(255,255,255,.88);
    padding: 10px 11px;
    font-size: 14px;
  }
  .drop a:hover { background: rgba(255,255,255,.08); color: var(--gold-2); }
  .drop a i { background: rgba(201,169,97,.16); color: var(--gold-2); }
  .drop a:hover i { background: var(--gold); color: #1A1406; }
  .drop-title { color: var(--gold-2); border-bottom-color: rgba(255,255,255,.16); }
  .nav-cta {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(201,169,97,.4);
  }
  .nav-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.45); }
  .nav-cta .btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
}
@media (max-width: 1020px) {
  .header-inner { gap: 14px; }
  .brand img { height: 44px; }
  .nav-link { padding: 8px 9px; font-size: 14px; gap: 5px; }
}

@media (max-width: 1100px) {
  .soc-grid { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(3) { border-right: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .rates-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  .section { padding: 62px 0; }
  .hero { height: auto; min-height: 600px; margin-top: 12px; }
  .slide-content { padding: 80px 0 130px; }
  .hero-bottom { bottom: 76px; }
  .hero-scroll { display: none; }
  .cat-grid, .quick-grid, .promise-grid, .upd-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .leader-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .leader-photo img { height: 420px; }
  .leader-badge { right: 14px; }
  .story-flag { left: 14px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .topbar .tb-left span:nth-child(2) { display: none; }
}

@media (max-width: 680px) {
  .cat-grid, .quick-grid, .promise-grid, .upd-grid, .value-grid, .soc-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 660px; }
  .slide h1, .slide h2 { font-size: clamp(29px, 8vw, 40px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .spec { border-right: none; }
  .topbar .tb-left span { display: none; }
  .topbar .tb-left .tb-keep { display: inline; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .timeline::before { left: 12px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .tl-year { text-align: left; }
  .tl-body { margin-left: 34px; }
  .tl-body::before { left: -28px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .article { padding: 26px 20px; }
  .hero-bottom .container { justify-content: space-between; }
  .hero-count { display: none; }
  .plan-tabs .tab { padding: 9px 16px; font-size: 13.5px; }
  .plan-head { padding: 20px; }
  .plan-head h3 { font-size: 18px; }
  .plan-terms { grid-template-columns: 1fr; padding: 18px 20px 4px; }
  .plan-tags { padding: 16px 20px 0; }
  .plan-panel .rates-foot { padding: 14px 20px; }
  .rates-table th, .rates-table td { padding: 12px 16px; }
}

/* ---------- Founder showcase (team page) — responsive ---------- */
@media (max-width: 1020px) {
  .founder { grid-template-columns: minmax(280px, 40%) 1fr; }
  .founder-body { padding: 38px 32px 36px; }
}
@media (max-width: 940px) {
  .founder { grid-template-columns: 1fr; }
  .founder-media { min-height: 440px; }
  .founder-body { padding: 34px 28px 36px; }
}
@media (max-width: 680px) {
  .founder-media { min-height: 360px; }
  .founder-body { padding: 28px 20px 30px; }
  .founder-stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; padding: 18px 0; }
  .founder-stats div:nth-child(2) { border-right: none; }
  .founder-actions { width: 100%; }
  .founder-actions .btn { flex: 1 1 100%; justify-content: center; }
  .founder-name { font-size: 33px; }
  .founder-bio { font-size: 14.5px; }
}

/* ---------- Contact Us — premium compact hero + section ---------- */
.hero-contact { padding: 80px 0 76px; position: relative; }
.hero-contact::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,97,.7), transparent);
}
.hero-contact h1 { margin-bottom: 10px; }
.hero-contact h1 .accent { color: var(--gold-2); }
.gold-rule { display: flex; align-items: center; gap: 9px; width: 215px; margin: -6px 0 13px; }
.gold-rule::after { content: ""; flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--gold), transparent); }
.gold-rule i { color: var(--gold); font-size: 9px; line-height: 1; }
.gold-rule.center { width: min(300px, 72%); margin: 0 auto 14px; justify-content: center; }
.gold-rule.center::before { content: ""; flex: 1; height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 17px; }
.hero-contact .chip {
  background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28);
  color: #fff; font-weight: 600; backdrop-filter: blur(4px);
}
.hero-contact .chip:hover { background: var(--gold); border-color: var(--gold); color: #1A1406; transform: translateY(-2px); }
.hero-contact .crumbs { margin-top: 22px; }

.contact-sec { padding: 64px 0 74px; }
.contact-sec .info-card { position: relative; overflow: hidden; border-radius: 12px; }
.contact-sec .info-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--gold), rgba(201,169,97,0));
  opacity: 0; transition: .25s;
}
.contact-sec .info-card:hover::before { opacity: 1; }
.contact-sec .info-ico {
  background: linear-gradient(135deg, rgba(201,169,97,.24), rgba(201,169,97,.08));
  border: 1px solid rgba(201,169,97,.38);
}

/* =========================================================
   SOCIETY / PROJECT GUIDE PAGES — nearby, map, gallery
   ========================================================= */

/* --- Places nearby (dark royal block) --- */
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .sec-head p { color: rgba(255,255,255,.72); }
.nearby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.near-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,169,97,.22);
  border-radius: 16px;
  padding: 22px;
  transition: .25s;
}
.near-card:hover {
  background: rgba(201,169,97,.1);
  border-color: rgba(201,169,97,.5);
  transform: translateY(-3px);
}
.near-ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(201,169,97,.16);
  border: 1px solid rgba(201,169,97,.4);
  color: var(--gold-2);
  font-size: 18px;
}
.near-card h3 { font-size: 17px; margin: 0 0 6px; letter-spacing: -.01em; }
.near-card p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.72); margin: 0; }

/* --- Map & directions --- */
.map-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: stretch; }
.map-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(201,169,97,.4);
  box-shadow: 0 18px 40px rgba(7,26,43,.16);
  background: var(--navy-soft);
  min-height: 380px;
}
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 14px 34px rgba(7,26,43,.08);
  display: flex;
  flex-direction: column;
}
.map-info h3 { display: flex; gap: 10px; align-items: center; font-size: 20px; margin: 0 0 16px; }
.map-info h3 i { color: var(--gold-dark); }
.map-info ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 13px; }
.map-info li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.map-info li i { color: var(--gold-dark); margin-top: 3px; width: 18px; text-align: center; }
.map-info li span { display: flex; flex-direction: column; gap: 2px; }
.map-info li b { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); font-weight: 800; }
.map-info li a { color: var(--navy); font-weight: 700; }
.map-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }

/* --- Gallery + lightbox --- */
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.g-grid a {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(7,26,43,.1);
  cursor: zoom-in;
}
.g-grid a img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.g-grid a:hover img { transform: scale(1.06); }
.g-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 16px 13px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(transparent, rgba(4,12,20,.88));
  transform: translateY(6px);
  opacity: 0;
  transition: .3s;
}
.g-grid a:hover .g-cap { transform: none; opacity: 1; }

.lb { position: fixed; inset: 0; z-index: 2000; background: rgba(4,12,20,.94); display: none; align-items: center; justify-content: center; padding: 26px; }
.lb.open { display: flex; }
.lb figure { margin: 0; max-width: min(1080px, 94vw); text-align: center; }
.lb img { max-width: 100%; max-height: 78vh; border-radius: 14px; border: 1px solid rgba(201,169,97,.45); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb figcaption { margin-top: 13px; color: var(--gold-2); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.lb-x {
  position: absolute;
  top: 18px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(201,169,97,.5);
  background: rgba(201,169,97,.14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: .2s;
}
.lb-x:hover { background: var(--gold); color: #1A1406; }

@media (max-width: 980px) {
  .nearby-grid { grid-template-columns: repeat(2, 1fr); }
  .map-grid { grid-template-columns: 1fr; }
  .g-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .nearby-grid, .g-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .brand img { height: 38px; }
}
