/* ============================================================
   SMGK Group - Design System
   Palette from brand logo: gold C79A3C, olive grey 8B8878
   Display: Marcellus  |  Body: Jost
   Dark-first luxury with light theme
   ============================================================ */

:root {
  --gold: #C79A3C;
  --gold-bright: #E3BC66;
  --gold-deep: #9E7728;
  --grey: #8B8878;
  --ink: #131108;
  --font-display: 'Marcellus', 'Times New Roman', serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --wrap: 1200px;
  --ease: cubic-bezier(.22,.9,.28,1);
}

html[data-theme="dark"] {
  --bg: #14110A;
  --bg-alt: #1B1810;
  --surface: #211D13;
  --surface-2: #292417;
  --text: #EFE9DA;
  --text-soft: #B7B0A0;
  --line: rgba(199,154,60,.18);
  --line-soft: rgba(239,233,218,.09);
  --scrim: rgba(10,8,4,.55);
  --card-shadow: 0 14px 40px rgba(0,0,0,.4);
}

html[data-theme="light"] {
  --bg: #FBF8F1;
  --bg-alt: #F3EEE1;
  --surface: #FFFFFF;
  --surface-2: #F8F4E9;
  --text: #221E12;
  --text-soft: #6E6858;
  --line: rgba(158,119,40,.25);
  --line-soft: rgba(34,30,18,.1);
  --scrim: rgba(15,12,6,.5);
  --card-shadow: 0 12px 34px rgba(90,70,20,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .35s var(--ease), color .35s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, .hero-title, .section-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .28em;
  font-size: .74rem; font-weight: 500; color: var(--gold);
  margin-bottom: 14px;
}
.sq {
  width: 9px; height: 9px; background: var(--gold);
  display: inline-block; flex: none;
  box-shadow: 3px 3px 0 rgba(199,154,60,.35);
}

.section-title { margin-bottom: 18px; }
.section-lede { color: var(--text-soft); max-width: 640px; margin-bottom: 26px; }

.prose p { margin-bottom: 1.1em; color: var(--text); }
.prose h2 { margin: 1.6em 0 .6em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem;
  letter-spacing: .04em; padding: 13px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #1A1506; box-shadow: 0 10px 26px rgba(199,154,60,.35);
}
.btn-gold:hover { box-shadow: 0 14px 34px rgba(199,154,60,.5); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-ink { background: var(--ink); color: var(--gold-bright); }
.btn-ghost-ink { background: transparent; border-color: rgba(19,17,8,.4); color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-text {
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .12em; color: var(--text);
}
.brand-text em { font-style: normal; color: var(--gold); font-size: .72em; letter-spacing: .3em; display: block; line-height: 1; }

.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav > a, .nav-drop-btn {
  font-size: .92rem; font-weight: 400; letter-spacing: .05em; color: var(--text);
  background: none; border: 0; cursor: pointer; font-family: var(--font-body);
  padding: 6px 0; position: relative;
}
.main-nav > a::after, .nav-drop-btn::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.main-nav > a:hover::after, .main-nav > a[aria-current]::after, .nav-drop:hover .nav-drop-btn::after { width: 100%; }

.nav-drop { position: relative; }
.chev { display: inline-block; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 210px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--card-shadow); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s var(--ease);
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a { display: block; padding: 9px 14px; border-radius: 6px; font-size: .9rem; }
.nav-drop-menu a:hover { background: var(--surface-2); color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; cursor: pointer; position: relative; color: var(--text);
}
.tt-sun, .tt-moon { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .3s, transform .3s; }
.tt-sun::before { content: "\2600"; font-size: 16px; }
.tt-moon::before { content: "\263E"; font-size: 16px; }
html[data-theme="dark"] .tt-sun { opacity: 1; }
html[data-theme="dark"] .tt-moon { opacity: 0; transform: rotate(60deg); }
html[data-theme="light"] .tt-sun { opacity: 0; transform: rotate(-60deg); }
html[data-theme="light"] .tt-moon { opacity: 1; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--text); transition: .3s var(--ease); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #F5EFE0; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 700px at 70% 20%, #2A2414, #14110A 65%);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,8,4,.82) 20%, rgba(10,8,4,.45) 60%, rgba(10,8,4,.25));
}
.hero-scrim-soft { background: linear-gradient(180deg, rgba(20,17,10,.15), rgba(20,17,10,.55) 80%); }
.hero-canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }

.aurora { position: absolute; inset: 0; z-index: -3; overflow: hidden; filter: blur(70px); opacity: .6; }
.aurora i {
  position: absolute; border-radius: 50%;
  animation: drift 16s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 55vw; height: 55vw; left: -12%; top: -18%; background: radial-gradient(circle, rgba(199,154,60,.55), transparent 65%); }
.aurora i:nth-child(2) { width: 45vw; height: 45vw; right: -10%; top: 10%; background: radial-gradient(circle, rgba(139,136,120,.5), transparent 65%); animation-delay: -5s; }
.aurora i:nth-child(3) { width: 40vw; height: 40vw; left: 25%; bottom: -22%; background: radial-gradient(circle, rgba(227,188,102,.4), transparent 65%); animation-delay: -9s; }
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(6vw, 4vh) scale(1.15); }
}

.hero-inner { position: relative; padding: 140px 24px 90px; max-width: var(--wrap); width: 100%; }
.hero .eyebrow { color: var(--gold-bright); }
.hero-title { font-size: clamp(2.6rem, 6.2vw, 4.6rem); max-width: 15ch; margin-bottom: 20px; text-wrap: balance; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.18rem); color: #D9D2C0; max-width: 560px; margin-bottom: 32px; font-weight: 300; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-strip {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid rgba(227,188,102,.25);
  max-width: 780px;
}
.hs-item { padding: 20px 34px 0 0; margin-right: 34px; }
.hs-item strong { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--gold-bright); display: block; line-height: 1.1; }
.hs-item span { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: #B7B0A0; }

.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); }
.hero-scroll span {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(var(--gold-bright), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint { 0%,100% { transform: scaleY(.4); transform-origin: top; opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }

/* ---------- Verticals ---------- */
.vertical-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 36px; }
.vertical-card {
  position: relative; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 34px 28px 30px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  overflow: hidden;
}
.vertical-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--card-shadow); }
.vc-mark {
  display: block; width: 30px; height: 30px; margin-bottom: 22px; position: relative;
  background: var(--gold);
}
.vc-mark::after {
  content: ""; position: absolute; right: -10px; bottom: -10px;
  width: 16px; height: 16px; background: var(--grey);
  transition: transform .35s var(--ease);
}
.vertical-card:hover .vc-mark::after { transform: translate(4px, 4px); }
.vertical-card h3 { margin-bottom: 10px; }
.vertical-card p { color: var(--text-soft); font-size: .93rem; margin-bottom: 20px; }
.vc-more { font-size: .85rem; letter-spacing: .08em; color: var(--gold); font-weight: 500; }

/* ---------- Project cards ---------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; margin-top: 36px; }
.project-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  transform-style: preserve-3d;
}
.project-card:hover { box-shadow: var(--card-shadow); border-color: var(--line); }
.pc-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .pc-media img { transform: scale(1.06); }
.pc-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    linear-gradient(135deg, rgba(199,154,60,.22), transparent 55%),
    repeating-linear-gradient(45deg, var(--surface-2) 0 26px, var(--surface) 26px 52px);
}
.pc-placeholder span { font-family: var(--font-display); font-size: 4.4rem; color: var(--gold); opacity: .6; }
.pc-placeholder-lg { aspect-ratio: 16/8; border-radius: var(--radius); }
.pc-status {
  position: absolute; top: 14px; left: 14px;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.pc-status-ongoing { background: rgba(199,154,60,.92); color: #1A1506; }
.pc-status-completed { background: rgba(30,27,18,.75); color: #E7DFC9; border: 1px solid rgba(231,223,201,.3); }
.pc-status-upcoming { background: rgba(139,136,120,.9); color: #14110A; }
.project-hero .pc-status { position: static; display: inline-block; margin-bottom: 12px; }
.pc-body { padding: 22px 22px 8px; }
.pc-body h3, .pc-h { font-size: 1.2rem; margin-bottom: 4px; font-family: var(--font-display); font-weight: 400; }
.pc-loc { color: var(--text-soft); font-size: .88rem; margin-bottom: 12px; }
.pc-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.pc-meta span {
  font-size: .76rem; letter-spacing: .06em; padding: 5px 12px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft);
}
.pc-actions { display: flex; gap: 10px; padding: 14px 22px 22px; }

/* ---------- About home ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.about-points { display: grid; gap: 14px; margin: 26px 0 30px; }
.ap { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.ap strong { font-family: var(--font-display); font-weight: 400; color: var(--gold); letter-spacing: .04em; }
.ap span { color: var(--text-soft); font-size: .92rem; }
.mosaic { position: relative; aspect-ratio: 1; max-width: 420px; margin-left: auto; }
.mosaic i { position: absolute; display: block; }
.mosaic .m1 { width: 42%; height: 42%; top: 0; left: 8%; background: var(--gold); animation: mosaicFloat 7s ease-in-out infinite; }
.mosaic .m2 { width: 30%; height: 30%; top: 12%; right: 0; background: var(--grey); animation: mosaicFloat 8s ease-in-out infinite reverse; }
.mosaic .m3 { width: 34%; height: 34%; bottom: 6%; left: 0; background: var(--grey); opacity: .8; animation: mosaicFloat 9s ease-in-out infinite; }
.mosaic .m4 { width: 26%; height: 26%; bottom: 0; right: 14%; background: var(--gold-deep); animation: mosaicFloat 7.5s ease-in-out infinite reverse; }
.mosaic .m5 { width: 14%; height: 14%; top: 46%; right: 26%; background: var(--gold-bright); animation: mosaicFloat 6s ease-in-out infinite; }
.mosaic img { position: absolute; width: 44%; left: 50%; top: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); }
@keyframes mosaicFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 36px; }
.testi-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 30px 26px; position: relative;
}
.testi-card::before {
  content: "\201C"; font-family: var(--font-display); font-size: 4rem; color: var(--gold);
  position: absolute; top: 6px; left: 20px; opacity: .35; line-height: 1;
}
.testi-card p { font-size: .96rem; margin-bottom: 18px; position: relative; }
.testi-card footer strong { display: block; font-family: var(--font-display); font-weight: 400; }
.testi-card footer span { font-size: .8rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  padding: 11px 22px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .9rem; transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.chip-gold { background: var(--gold); color: #1A1506; border-color: var(--gold); font-weight: 500; }
.chip-gold:hover { color: #1A1506; box-shadow: 0 10px 24px rgba(199,154,60,.35); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; margin-top: 26px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 0 22px; transition: border-color .25s;
}
.faq-item[open] { border-color: var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none; padding: 18px 0;
  font-weight: 400; font-size: 1.02rem; font-family: var(--font-display);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; width: 14px; height: 14px; flex: none; }
.faq-x::before, .faq-x::after {
  content: ""; position: absolute; background: var(--gold); transition: transform .3s var(--ease);
}
.faq-x::before { width: 14px; height: 2px; top: 6px; }
.faq-x::after { width: 2px; height: 14px; left: 6px; }
.faq-item[open] .faq-x::after { transform: rotate(90deg); }
.faq-item p { padding: 0 0 20px; color: var(--text-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 45%, var(--gold-deep));
  color: var(--ink);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: rgba(19,17,8,.75); margin-top: 8px; max-width: 46ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero ---------- */
.page-hero {
  padding: 160px 0 64px;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(199,154,60,.14), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line-soft);
}
.crumbs { display: flex; gap: 10px; font-size: .82rem; color: var(--text-soft); margin-bottom: 18px; letter-spacing: .05em; }
.crumbs a:hover { color: var(--gold); }
.page-lede { color: var(--text-soft); max-width: 640px; margin-top: 12px; font-size: 1.05rem; }
.ph-flex { display: flex; justify-content: space-between; align-items: flex-end; gap: 26px; flex-wrap: wrap; }
.ph-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Filters ---------- */
.filter-bar { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 10px; }
.filter-tabs { display: flex; gap: 8px; }
.ftab {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .9rem; transition: all .25s;
}
.ftab.active, .ftab:hover { background: var(--gold); color: #1A1506; border-color: var(--gold); }
.filter-search { display: flex; gap: 10px; flex: 1; max-width: 460px; }
.filter-search input {
  flex: 1; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-family: var(--font-body); font-size: .92rem;
}
.filter-search input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state p { color: var(--text-soft); margin: 12px 0 22px; }

/* ---------- Project detail ---------- */
.project-layout { display: grid; grid-template-columns: 1fr 340px; gap: 46px; align-items: start; }
.project-media img { border-radius: var(--radius); width: 100%; }
.gallery-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.gallery-row img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; }
.project-desc { margin-top: 40px; }
.project-desc h2, .amenities h2, .project-map h2 { margin-bottom: 16px; }
.amenities { margin-top: 40px; }
.amenity-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.amenity-grid li { display: flex; align-items: center; gap: 12px; font-size: .94rem; padding: 8px 0; }
.project-map { margin-top: 40px; }
.map-box {
  height: 340px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface-2); overflow: hidden;
}
.map-note { color: var(--text-soft); font-size: .85rem; margin-top: 10px; }

.project-side { position: sticky; top: 100px; display: grid; gap: 20px; }
.fact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--card-shadow);
}
.fact-card h3 { margin-bottom: 16px; }
.fc-p { color: var(--text-soft); font-size: .92rem; margin-bottom: 18px; }
.fact-card dl { margin-bottom: 20px; }
.fact-card dl div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.fact-card dt { color: var(--text-soft); font-size: .86rem; }
.fact-card dd { font-weight: 500; font-size: .9rem; text-align: right; }
.side-help {
  background: var(--surface-2); border-radius: var(--radius); padding: 22px 24px;
}
.side-help h4 { font-family: var(--font-display); font-weight: 400; margin-bottom: 12px; letter-spacing: .04em; }
.side-help a { display: block; padding: 7px 0; font-size: .92rem; color: var(--text-soft); }
.side-help a:hover { color: var(--gold); }

/* ---------- SEO pages ---------- */
.seopage-layout { display: grid; grid-template-columns: 1fr 320px; gap: 46px; align-items: start; margin-bottom: 60px; }

/* ---------- Stats band ---------- */
.stat-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px;
  margin-top: 44px; border-top: 1px solid var(--line); padding-top: 30px;
}
.sb-item strong { font-family: var(--font-display); font-size: 2rem; color: var(--gold); display: block; }
.sb-item span { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 26px; }
.ci-block h3 { margin-bottom: 8px; }
.ci-block a { color: var(--gold); }
.ci-block p { color: var(--text-soft); margin-bottom: 10px; }
.contact-form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--card-shadow);
}
.contact-form-card h2 { margin-bottom: 20px; }

/* ---------- Forms ---------- */
form label { display: block; margin-bottom: 16px; font-size: .86rem; letter-spacing: .04em; color: var(--text-soft); }
form input:not([type="range"]):not(.hp), form textarea, form select {
  width: 100%; margin-top: 7px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: .96rem;
  transition: border-color .25s;
}
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--gold); }
.opt { opacity: .6; text-transform: none; letter-spacing: 0; }
.hp { position: absolute !important; left: -5000px !important; height: 1px; width: 1px; opacity: 0; }
.lead-note { font-size: .76rem; color: var(--text-soft); margin-top: 12px; text-align: center; }
.lead-msg { margin-top: 12px; font-size: .9rem; text-align: center; min-height: 1.2em; }
.lead-msg.err { color: #E06A5A; }
.lead-msg.ok { color: var(--gold); }

/* ---------- Lead modal ---------- */
.lead-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.lead-modal[hidden] { display: none; }
.lead-backdrop { position: absolute; inset: 0; background: var(--scrim); backdrop-filter: blur(6px); }
.lead-card {
  position: relative; width: min(480px, 100%); max-height: 92svh; overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 34px; box-shadow: var(--shadow);
  animation: modalIn .4s var(--ease);
}
@keyframes modalIn { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
.lead-close {
  position: absolute; top: 14px; right: 16px; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--text);
  font-size: 1.3rem; cursor: pointer; line-height: 1;
}
.lead-close:hover { border-color: var(--gold); color: var(--gold); }
.lead-card-head { margin-bottom: 22px; }
.lead-card-head h3 { font-size: 1.5rem; margin: 6px 0; }
.lead-card-head p { color: var(--text-soft); font-size: .92rem; }
.lead-success { text-align: center; padding: 30px 0; }
.ls-mark {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-size: 1.8rem;
  background: var(--gold); color: #1A1506;
  animation: pop .5s var(--ease);
}
@keyframes pop { from { transform: scale(.5); } to { transform: scale(1); } }
.lead-success p { color: var(--text-soft); margin-top: 10px; }
.lead-success a { color: var(--gold); }

/* ---------- Floating WhatsApp + mobile CTA ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 250;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .3s var(--ease);
  animation: waPulse 2.6s ease-out infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse {
  0% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4); }
  70% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 240;
  display: none; grid-template-columns: 1fr 1fr;
  background: var(--surface); border-top: 1px solid var(--line);
}
.mc-call, .mc-enquire {
  padding: 15px; text-align: center; font-weight: 500; font-size: .95rem;
  border: 0; cursor: pointer; font-family: var(--font-body);
}
.mc-call { background: var(--surface); color: var(--text); }
.mc-enquire { background: var(--gold); color: #1A1506; }

/* ---------- Tools ---------- */
.tool-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.tool-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px; box-shadow: var(--card-shadow);
}
.tool-controls label { margin-bottom: 26px; }
.tool-controls output { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); margin-top: 6px; }
input[type="range"] {
  width: 100%; margin-top: 12px; accent-color: var(--gold); height: 4px; cursor: pointer;
}
.tool-result { border-left: 1px solid var(--line-soft); padding-left: 40px; }
.tr-big { margin-bottom: 22px; }
.tr-big span { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--text-soft); display: block; }
.tr-big strong { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--gold); }
.tr-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line-soft); }
.tr-row span { color: var(--text-soft); font-size: .9rem; }
.emi-bar { height: 10px; border-radius: 999px; background: var(--grey); overflow: hidden; margin-top: 22px; }
.emi-bar i { display: block; height: 100%; background: var(--gold); width: 60%; transition: width .4s var(--ease); }
.tr-legend { display: flex; gap: 18px; font-size: .78rem; color: var(--text-soft); margin-top: 10px; }
.tr-legend span { display: flex; align-items: center; gap: 7px; }
.tr-legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.lg-p::before { background: var(--gold); }
.lg-i::before { background: var(--grey); }
.tool-note { font-size: .8rem; color: var(--text-soft); margin-top: 20px; line-height: 1.6; }
.tool-seo { margin-top: 70px; }

/* ---------- Footer ---------- */
.site-footer { background: #100E08; color: #C9C2B0; padding: 76px 0 30px; }
html[data-theme="light"] .site-footer { background: #1A160C; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px; }
.footer-col h4 {
  font-family: var(--font-display); font-weight: 400; color: #F0E9D8;
  letter-spacing: .08em; margin-bottom: 16px; font-size: 1rem;
}
.footer-col a { display: block; padding: 5px 0; font-size: .9rem; color: #A8A190; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-col p { font-size: .9rem; color: #A8A190; margin-bottom: 10px; }
.footer-brand img { margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(199,154,60,.35);
  display: grid; place-items: center; font-size: .72rem; letter-spacing: .05em; padding: 0;
}
.footer-social a:hover { background: var(--gold); color: #1A1506; }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(199,154,60,.16); }
.footer-legal p { font-size: .78rem; color: #8B8474; margin-bottom: 6px; }
.footer-legal a { color: var(--gold); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .mosaic { margin: 0 auto; }
  .project-layout, .seopage-layout, .tool-layout { grid-template-columns: 1fr; }
  .project-side { position: static; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 78px 0 0 0; z-index: 90;
    background: var(--bg); flex-direction: column; align-items: flex-start;
    padding: 34px 28px; gap: 6px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    overflow-y: auto;
  }
  .main-nav.open { transform: none; }
  .main-nav > a, .nav-drop-btn { font-size: 1.2rem; padding: 12px 0; font-family: var(--font-display); }
  .nav-drop-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; background: none; padding: 0 0 0 18px;
  }
  .nav-burger { display: flex; }
  .header-actions .btn { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .tool-card { grid-template-columns: 1fr; }
  .tool-result { border-left: 0; border-top: 1px solid var(--line-soft); padding: 30px 0 0; }
  .mobile-cta { display: grid; }
  .wa-float { bottom: 78px; }
  body { padding-bottom: 52px; }
  .section { padding: 64px 0; }
  .hero-inner { padding-top: 120px; }
  .hs-item { padding-right: 22px; margin-right: 22px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .pc-actions { flex-wrap: wrap; }
  .hero-ctas .btn { width: 100%; }
  .filter-search { max-width: none; }
}
