/* ==========================================================================
   Winners India City Developers – main stylesheet
   Structure: 1 Tokens · 2 Base · 3 Buttons & labels · 4 Header · 5 Hero
              6 About · 7 Services · 8 Projects · 9 Why us · 10 Stats
              11 CTA · 12 Contact · 13 Footer · 14 Utilities & motion
   ========================================================================== */

/* 1. TOKENS ------------------------------------------------------------- */
:root {
  --primary: #02365E;
  --primary-dark: #012744;
  --primary-light: #0A4C78;
  --secondary: #EAF2F7;
  --bg-light: #F7FAFC;
  --white: #FFFFFF;
  --heading: #142D40;
  --text: #243746;
  --body: #647482;
  --border: #DFE7ED;
  --accent: #C69A52;
  --cta-hover: #034C7D;

  --font: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --accent-light: #DDB36E;
  --wa: #1FAF5A;
  --wa-dark: #158A45;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(2, 54, 94, .06), 0 2px 8px rgba(2, 54, 94, .05);
  --shadow: 0 12px 32px -12px rgba(2, 54, 94, .22);

  --header-h: 84px;
  --section-y: clamp(72px, 9vw, 120px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. BASE ---------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--heading); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.005em; }
p { margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--cta-hover); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1240px; }
.section { padding: var(--section-y) 0; }
.bg-soft { background: var(--bg-light); }

/* 3. BUTTONS & LABELS --------------------------------------------------- */
.btn-brand {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .75rem 1.6rem;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  color: #fff; background: var(--primary);
  border: 1.5px solid var(--primary); border-radius: var(--radius-sm);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn-brand:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: #fff; transform: translateY(-2px); }
.btn-brand--light { background: #fff; border-color: #fff; color: var(--primary); }
.btn-brand--light:hover { background: var(--secondary); border-color: var(--secondary); color: var(--primary-dark); }
.btn-brand--outline-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-brand--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-brand--gold { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.btn-brand--gold:hover { background: #b78a43; border-color: #b78a43; color: var(--primary-dark); }

.section-label {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .9rem; font-weight: 600; color: var(--primary);
  margin-bottom: 1rem;
}
.section-label::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section-title { font-size: clamp(1.95rem, 1.2rem + 2.4vw, 2.9rem); line-height: 1.15; margin-bottom: 1.25rem; max-width: 22ch; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem); flex-wrap: wrap;
}
.section-head .section-title { margin-bottom: 0; }
.section-intro { max-width: 44ch; margin: 0; }

/* 4. HEADER -------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }
.brand { display: block; flex-shrink: 0; position: relative; }
.brand-logo { height: 52px; width: auto; transition: opacity .3s var(--ease); }
.brand-logo--dark { position: absolute; inset: 0; opacity: 0; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-link-item {
  position: relative; display: block; padding: .5rem .85rem;
  font-size: .93rem; font-weight: 500; color: rgba(255,255,255,.85);
}
.nav-link-item::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-link-item:hover, .nav-link-item.active { color: #fff; }
.nav-link-item.active::after, .nav-link-item:hover::after { transform: scaleX(1); }
.header-cta { min-height: 44px; padding: .6rem 1.25rem; }
.nav-cta-mobile, .nav-toggle { display: none; }

.site-header.is-scrolled { background: #fff; box-shadow: 0 1px 0 var(--border), 0 8px 24px -16px rgba(2,54,94,.35); }
.site-header.is-scrolled .brand-logo--light { opacity: 0; }
.site-header.is-scrolled .brand-logo--dark { opacity: 1; }
.site-header.is-scrolled .nav-link-item { color: var(--heading); }
.site-header.is-scrolled .nav-link-item.active { color: var(--primary); }
.site-header.is-scrolled .header-cta { background: var(--primary); border-color: var(--primary); color: #fff; }
.site-header.is-scrolled .header-cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); }

/* 5. HERO ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% 30%, rgba(10, 76, 120, .55), transparent 60%),
    var(--primary);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  min-height: min(760px, calc(100vh - var(--header-h) - 74px));
}
.hero-kicker { color: var(--accent); font-weight: 600; font-size: .95rem; margin-bottom: 1.25rem; }
.hero-title {
  color: #fff; font-weight: 600;
  font-size: clamp(2.4rem, 1.3rem + 3.8vw, 4.2rem); line-height: 1.06; letter-spacing: -0.02em;
  margin-bottom: 1.5rem; max-width: 15ch;
}
.hero-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: rgba(255,255,255,.88); max-width: 52ch; }
.hero-sub { color: rgba(255,255,255,.65); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* survey-plan illustration */
.hero-visual { position: relative; }
.plan-card { position: relative; margin: 0; }
.plan-svg { width: 100%; height: auto; overflow: visible; }
.plan-svg .plan-boundary { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.55); stroke-width: 1.4; stroke-dasharray: 6 5; }
.plan-svg .plan-road { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 22; stroke-linecap: round; }
.plan-svg .plan-road--minor { stroke-width: 12; }
.plan-svg .plot { fill: transparent; stroke: rgba(255,255,255,.55); stroke-width: 1; }
.plan-svg .plot--soft { fill: rgba(255,255,255,.1); }
.plan-svg .plot--gold { fill: rgba(198,154,82,.9); stroke: var(--accent); }
.plan-svg .plot-no { fill: rgba(255,255,255,.55); font: 600 9px var(--font); text-anchor: middle; }
.plan-svg .plot--gold + .plot-no { fill: var(--primary-dark); }
.plan-svg .plan-compass circle { fill: none; stroke: rgba(255,255,255,.5); }
.plan-svg .plan-compass path { fill: var(--accent); }
.plan-svg .plan-compass text, .plan-svg .plan-scale text { fill: rgba(255,255,255,.6); font: 600 10px var(--font); text-anchor: middle; }
.plan-svg .plan-scale text { text-anchor: start; }
.plan-svg .plan-scale path { stroke: rgba(255,255,255,.55); fill: none; }

.plan-tag {
  position: absolute; left: -8%; bottom: 10%;
  display: flex; align-items: center; gap: 1rem; max-width: 330px;
  background: #fff; color: var(--body); padding: 1rem 1.25rem;
  border-radius: var(--radius); box-shadow: 0 24px 48px -20px rgba(0,0,0,.45);
  border-left: 4px solid var(--accent);
}
.plan-tag-num { font-size: 2rem; font-weight: 600; font-family: var(--font-display); color: var(--primary); line-height: 1; }
.plan-tag-text { font-size: .85rem; line-height: 1.45; }

.hero-verticals { position: relative; border-top: 1px solid rgba(255,255,255,.12); background: rgba(1, 39, 68, .45); }
.verticals-strip {
  list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 1rem;
}
.verticals-strip li {
  display: flex; align-items: center; gap: .6rem; padding: 1.4rem 0;
  font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.85);
}
.verticals-strip i { color: var(--accent); font-size: 1.15rem; }

/* 6. ABOUT --------------------------------------------------------------- */
.about-media { position: relative; padding: 0 8% 14% 0; }
.about-map {
  display: block; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  aspect-ratio: 720 / 680; background: #eef4e2;
}
.about-map img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.about-map:hover img { transform: scale(1.04); }
.about-badge {
  position: absolute; right: 0; top: 12%;
  background: var(--primary); color: #fff; padding: 1.4rem 1.5rem; border-radius: var(--radius);
  width: 170px; box-shadow: var(--shadow);
}
.about-badge-num { display: block; font-size: 2.6rem; font-weight: 600; font-family: var(--font-display); line-height: 1; color: #fff; }
.about-badge-text { display: block; margin-top: .4rem; font-size: .85rem; line-height: 1.4; color: rgba(255,255,255,.8); }
.about-note {
  position: absolute; left: 8%; right: 0; bottom: 0;
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; box-shadow: var(--shadow-sm);
}
.about-note i { font-size: 1.5rem; color: var(--accent); line-height: 1; margin-top: .15rem; }
.about-note p { margin: 0; color: var(--heading); font-weight: 600; font-size: .98rem; line-height: 1.5; }

.about-mission {
  margin: 1.75rem 0; padding: 1.25rem 1.5rem;
  background: var(--secondary); border-left: 3px solid var(--primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.about-mission p { margin: 0; color: var(--primary-dark); font-weight: 600; font-size: 1.08rem; line-height: 1.55; }
.about-points { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .65rem; }
.about-points li { display: flex; gap: .75rem; color: var(--heading); }
.about-points i { color: var(--primary); font-size: 1.15rem; line-height: 1.5; }

/* 7. SERVICES ------------------------------------------------------------ */
.service-card {
  height: 100%; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.85rem;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.service-card:hover { border-color: rgba(2,54,94,.35); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: var(--radius-sm); background: var(--secondary); color: var(--primary);
  font-size: 1.5rem; margin-bottom: 1.5rem;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.service-card:hover .service-icon { background: var(--primary); color: #fff; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.service-card p { flex-grow: 1; font-size: .96rem; }
.service-link { font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .4rem; }
.service-link::after { content: "\F138"; font-family: "bootstrap-icons"; font-size: .9rem; transition: transform .3s var(--ease); }
.service-link:hover::after { transform: translateX(4px); }
.service-card--feature { background: var(--primary); border-color: var(--primary); }
.service-card--feature h3 { color: #fff; }
.service-card--feature p { color: rgba(255,255,255,.78); }
.service-card--feature .service-icon { background: rgba(255,255,255,.1); color: var(--accent); }
.service-card--feature:hover .service-icon { background: var(--accent); color: var(--primary-dark); }
.service-card--feature .service-link { color: var(--accent); }

/* 8. PROJECTS ------------------------------------------------------------ */
.project-tabs { display: inline-flex; padding: 4px; background: var(--secondary); border-radius: 999px; }
.project-tab {
  border: 0; background: transparent; padding: .6rem 1.2rem; border-radius: 999px; min-height: 44px;
  font: 600 .9rem var(--font); color: var(--primary); transition: background-color .3s var(--ease), color .3s var(--ease);
}
.project-tab.is-active { background: var(--primary); color: #fff; }

.project-card {
  height: 100%; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.project-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background-color: var(--primary);
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  background-size: 28px 28px, 28px 28px, 100% 100%;
}
.project-ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 3.5rem; color: rgba(255,255,255,.22);
}
.project-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.project-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(1,39,68,.55), transparent 50%);
  opacity: .7; transition: opacity .4s var(--ease);
}
.project-card:hover .project-img { transform: scale(1.07); }
.project-card:hover .project-media::after { opacity: 1; }
.project-type {
  position: absolute; z-index: 2; left: 1rem; top: 1rem;
  background: #fff; color: var(--primary); font-size: .78rem; font-weight: 700;
  padding: .35rem .75rem; border-radius: 999px;
}
.project-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.project-body h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.project-body p { font-size: .95rem; }
.project-loc { display: flex; gap: .4rem; color: var(--body); font-size: .92rem; margin-bottom: .75rem; }
.project-loc i { color: var(--accent); }
.project-cta {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .45rem; min-height: 40px;
  font-weight: 600; font-size: .92rem; color: var(--primary);
  border-bottom: 1.5px solid var(--border); padding-bottom: 2px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.project-cta::after { content: "\F138"; font-family: "bootstrap-icons"; font-size: .85rem; }
.project-cta:hover { border-color: var(--primary); }

.project-card--wide { flex-direction: row; }
.project-card--wide .project-media { flex: 0 0 58%; aspect-ratio: auto; min-height: 320px; }
.project-card--wide .project-body { justify-content: center; padding: 2rem; }
.project-card--wide h3 { font-size: 1.5rem; }

/* all layouts list */
.layouts-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.layouts-search {
  position: relative; flex: 1 1 320px; max-width: 460px;
}
.layouts-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--body); }
.layouts-search input {
  width: 100%; min-height: 50px; padding: .7rem 1rem .7rem 2.75rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; color: var(--heading);
}
.layouts-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(2,54,94,.12); }
.layouts-count { margin: 0; font-size: .92rem; }
.layouts-list {
  list-style: none; margin: 0; padding: 0; counter-reset: layout;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
.layouts-list li {
  counter-increment: layout; position: relative;
  padding: 1.1rem 1.25rem 1.1rem 3.4rem;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transition: background-color .25s var(--ease);
}
.layouts-list li::before {
  content: counter(layout, decimal-leading-zero);
  position: absolute; left: 1.2rem; top: 1.15rem;
  font-size: .78rem; font-weight: 700; color: var(--accent);
}
.layouts-list li:hover { background: var(--bg-light); }
.layouts-list strong { display: block; color: var(--heading); font-weight: 700; }
.layouts-list span { font-size: .88rem; }
.layouts-list li.is-hidden { display: none; }
.layouts-empty { padding: 2rem 0; }

/* 9. WHY US -------------------------------------------------------------- */
.why-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.edu-panel {
  margin-top: 2rem; padding: 1.75rem; border-radius: var(--radius);
  background: var(--primary); color: rgba(255,255,255,.82);
}
.edu-panel h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.edu-panel ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.edu-panel li { display: flex; gap: .6rem; font-size: .95rem; line-height: 1.5; }
.edu-panel li::before { content: "\F26E"; font-family: "bootstrap-icons"; color: var(--accent); }
.edu-foot { margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); color: #fff; font-weight: 600; }

.why-list { list-style: none; margin: 0; padding: 0; }
.why-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem;
  padding: 2rem 0; border-bottom: 1px solid var(--border);
}
.why-item:first-child { padding-top: 0; }
.why-item:last-child { border-bottom: 0; }
.why-icon {
  width: 64px; height: 64px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 50%; background: #fff;
  color: var(--primary); font-size: 1.45rem;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.why-item:hover .why-icon { background: var(--primary); border-color: var(--primary); color: #fff; }
.why-item h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.why-item p { margin: 0; }

/* 10. STATS -------------------------------------------------------------- */
.stats { background: var(--primary-dark); color: #fff; padding: clamp(64px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.stats .container { position: relative; }
.stats-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.stats-title { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); margin: 0; max-width: 20ch; }
.stats-head p { margin: 0; color: var(--accent); font-weight: 600; }
.stats-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
}
.stat {
  padding: 2.25rem 2rem 2.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.stat:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.14); }
.stat i { font-size: 1.3rem; color: var(--accent); }
.stat-num { display: block; margin: .75rem 0 .5rem; font-size: clamp(2.6rem, 2rem + 2vw, 3.75rem); font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.stat-label { display: block; color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.5; max-width: 30ch; }

/* 11. CTA ---------------------------------------------------------------- */
.cta { padding: var(--section-y) 0 0; }
.cta-box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  padding: clamp(2.25rem, 5vw, 4rem);
  background: var(--primary); border-radius: var(--radius-lg); color: rgba(255,255,255,.8);
}
.cta-box::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  border: 1px solid rgba(198,154,82,.5); border-radius: 50%; pointer-events: none;
}
.cta-copy h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); margin-bottom: 1rem; }
.cta-copy p { margin: 0; max-width: 48ch; }
.cta-audiences { display: grid; gap: .85rem; position: relative; z-index: 1; }
.audience {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  color: rgba(255,255,255,.75); font-size: .93rem;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.audience i { font-size: 1.5rem; color: var(--accent); }
.audience strong { display: block; color: #fff; font-size: 1.02rem; }
.audience::after { content: "\F138"; font-family: "bootstrap-icons"; margin-left: auto; color: #fff; transition: transform .3s var(--ease); }
.audience:hover { background: #fff; border-color: #fff; color: var(--body); transform: translateX(4px); }
.audience:hover strong { color: var(--heading); }
.audience:hover::after { color: var(--primary); transform: translateX(3px); }

/* 12. CONTACT ------------------------------------------------------------ */
.contact-info { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-info li {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius);
}
.contact-icon {
  flex: 0 0 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: var(--secondary); color: var(--primary); font-size: 1.2rem;
}
.contact-k { display: block; font-size: .82rem; color: var(--body); }
.contact-v { display: block; color: var(--heading); font-weight: 600; word-break: break-word; }

.enquiry-form {
  background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.enquiry-form .form-label { font-weight: 600; font-size: .9rem; color: var(--heading); margin-bottom: .4rem; }
.enquiry-form .form-control, .enquiry-form .form-select {
  min-height: 52px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-size: .97rem; color: var(--heading); background-color: #fff;
}
.enquiry-form textarea.form-control { min-height: 130px; }
.enquiry-form .form-control:focus, .enquiry-form .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(2,54,94,.12); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.btn-submit { min-width: 190px; }
.form-status { margin: 0; font-weight: 600; font-size: .95rem; }
.form-status.is-success { color: #1d7a4b; }
.form-status.is-error { color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 13. FOOTER ------------------------------------------------------------- */
.site-footer {
  background: var(--primary-dark); color: rgba(255,255,255,.7);
  padding: clamp(64px, 8vw, 96px) 0 calc(1.5rem + env(safe-area-inset-bottom, 0px));
}
.footer-logo { width: 190px; margin-bottom: 1.5rem; }
.footer-about { font-size: .95rem; max-width: 40ch; }
.footer-h { color: #fff; font-size: 1rem; margin-bottom: 1.25rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.7); font-size: .95rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: .7rem; font-size: .95rem; }
.footer-contact i { color: var(--accent); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer-social a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .87rem;
}
.footer-bottom p { margin: 0; }

/* 14. UTILITIES & MOTION ------------------------------------------------- */
.back-to-top {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 900;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--primary); color: #fff; border-radius: 50%; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .3s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--cta-hover); color: #fff; }

/* hero entrance (the one orchestrated moment) */
.js .reveal-hero { opacity: 0; transform: translateY(18px); }
.js.is-loaded .reveal-hero {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i) * 110ms);
}
.js .plan-svg .plot, .js .plan-svg .plan-road { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .plan-svg .plan-boundary { opacity: 0; }
.js .plan-svg .plot-no, .js .plan-svg .plan-compass, .js .plan-svg .plan-scale, .js .plan-tag { opacity: 0; }
.js .plan-svg .plot--gold, .js .plan-svg .plot--soft { fill-opacity: 0; }
.js.is-loaded .plan-svg .plan-boundary { opacity: 1; transition: opacity 1.2s var(--ease); }
.js.is-loaded .plan-svg .plan-road { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.js.is-loaded .plan-svg .plot { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease) calc(.5s + var(--d)), fill-opacity .6s var(--ease) calc(1.4s + var(--d)); }
.js.is-loaded .plan-svg .plot--gold, .js.is-loaded .plan-svg .plot--soft { fill-opacity: 1; }
.js.is-loaded .plan-svg .plot-no, .js.is-loaded .plan-svg .plan-compass, .js.is-loaded .plan-svg .plan-scale { opacity: 1; transition: opacity .8s var(--ease) 1.6s; }
.js.is-loaded .plan-tag { opacity: 1; transition: opacity .8s var(--ease) 1.9s; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal-hero, .js .plan-tag,
  .js .plan-svg .plot-no, .js .plan-svg .plan-compass, .js .plan-svg .plan-scale { opacity: 1 !important; transform: none !important; }
  .js .plan-svg .plot, .js .plan-svg .plan-road { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
  .js .plan-svg .plan-boundary { opacity: 1 !important; }
  .js .plan-svg .plot--gold, .js .plan-svg .plot--soft { fill-opacity: 1 !important; }
}

/* project grid additions */
.project-card--wide .project-cta { margin-top: 1rem; }
.project-card--reverse { flex-direction: row-reverse; }
.layouts-tile {
  height: 100%; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; gap: .6rem;
  padding: 2rem; border-radius: var(--radius); background: var(--secondary); color: var(--body);
  border: 1px solid var(--border); transition: background-color .35s var(--ease), color .35s var(--ease);
}
.layouts-tile-num { font-size: 4rem; font-weight: 600; font-family: var(--font-display); line-height: 1; color: var(--primary); letter-spacing: -0.04em; }
.layouts-tile-text { max-width: 30ch; }
.layouts-tile-cta { margin-top: .75rem; font-weight: 600; color: var(--primary); display: inline-flex; gap: .4rem; }
.layouts-tile-cta::after { content: "\F138"; font-family: "bootstrap-icons"; }
.layouts-tile:hover { background: var(--primary); color: rgba(255,255,255,.8); }
.layouts-tile:hover .layouts-tile-num, .layouts-tile:hover .layouts-tile-cta { color: #fff; }

/* footer address */
.footer-contact address { font-style: normal; line-height: 1.55; }

/* ==========================================================================
   15. WHATSAPP ENQUIRY – buttons, contact card, popup, floating button
   ========================================================================== */
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 54px; padding: .8rem 1.75rem;
  font: 700 1rem var(--font); color: #fff; background: var(--wa);
  border: 0; border-radius: var(--radius-sm);
  box-shadow: 0 10px 24px -12px rgba(21, 138, 69, .8);
  transition: background-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-wa i { font-size: 1.25rem; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(21, 138, 69, .9); }
.form-hint { margin: .6rem 0 0; font-size: .85rem; color: var(--body); }
.optional { font-weight: 500; color: var(--body); font-size: .82rem; }
.wa-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .8rem; border-radius: 999px;
  background: rgba(31, 175, 90, .1); color: var(--wa-dark);
  font-size: .8rem; font-weight: 700;
}
.wa-pill i { font-size: .95rem; }
.enquiry-form-head { margin-bottom: 1.5rem; }
.enquiry-form-head h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; margin: .75rem 0 0; }

/* contact section WhatsApp card */
.wa-card {
  display: flex; align-items: center; gap: 1rem; margin-top: 2rem;
  padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: rgba(255,255,255,.78); font-size: .88rem; line-height: 1.45;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-card:hover { color: rgba(255,255,255,.9); transform: translateY(-2px); box-shadow: var(--shadow); }
.wa-card-icon {
  flex: 0 0 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50%; background: var(--wa); color: #fff; font-size: 1.5rem;
}
.wa-card-text strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: .1rem; }
.wa-card-arrow { margin-left: auto; color: var(--accent); font-size: 1.1rem; }
.wa-card + .contact-info { margin-top: 1rem; }

/* popup */
.enquiry-modal .modal-dialog { max-width: 920px; padding: 0 12px; }
.enquiry-modal .modal-content {
  border: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(1, 39, 68, .6);
}
.modal-backdrop.show { opacity: .7; background: var(--primary-dark); }
.em-grid { display: grid; grid-template-columns: 5fr 7fr; }
.em-side {
  position: relative; overflow: hidden; padding: 2.5rem 2.25rem;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(160deg, var(--primary-light), var(--primary-dark));
  color: rgba(255,255,255,.75);
}
.em-side::after {
  content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px;
  border: 1px solid rgba(198,154,82,.55); border-radius: 50%;
}
.em-logo { width: 150px; margin-bottom: 2rem; }
.em-title { color: #fff; font-size: 1.9rem; line-height: 1.15; margin-bottom: 1rem; }
.em-text { font-size: .95rem; }
.em-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .8rem; position: relative; z-index: 1; }
.em-points li { display: flex; align-items: center; gap: .7rem; font-size: .92rem; color: #fff; }
.em-points i { color: var(--accent); font-size: 1.1rem; }
.em-points a { color: #fff; font-weight: 600; }
.em-points a:hover { color: var(--accent); }
.em-form { padding: 2.5rem 2.25rem 2rem; background: #fff; }
.em-form .wa-pill { margin-bottom: 1.25rem; }
.em-context {
  margin: -.25rem 0 1.25rem; padding: .7rem 1rem; border-radius: var(--radius-sm);
  background: var(--secondary); color: var(--primary); font-weight: 700; font-size: .92rem;
  border-left: 3px solid var(--accent);
}
.em-form .form-label { font-weight: 600; font-size: .88rem; color: var(--heading); margin-bottom: .35rem; }
.em-form .form-control, .em-form .form-select {
  min-height: 50px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-size: .96rem; color: var(--heading); background-color: var(--bg-light);
}
.em-form textarea.form-control { min-height: 96px; }
.em-form .form-control:focus, .em-form .form-select:focus { background-color: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(2,54,94,.12); }
.modal-close {
  position: absolute; right: 14px; top: 14px; z-index: 5;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--secondary); color: var(--primary);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.modal-close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }


/* ==========================================================================
   16. EQUAL-HEIGHT ABOUT COLUMNS (laptop & desktop)
   ========================================================================== */
@media (min-width: 992px) {
  .about-row { align-items: stretch; }
  .about-row > [class*="col-"] { display: flex; flex-direction: column; justify-content: center; }
  .about-row .about-media { flex: 1; display: flex; flex-direction: column; width: 100%; }
  .about-row .about-map { flex: 1; aspect-ratio: auto; min-height: 460px; }
  .about-row .btn-brand { align-self: flex-start; }
  .about-row .ac-main { flex: 1; min-height: 520px; }
}

/* ==========================================================================
   17. QUICK ACTIONS – Enquiry Now / WhatsApp / Call (always visible)
   ========================================================================== */
.quick-actions { position: fixed; z-index: 950; display: flex; }
.qa {
  position: relative; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; background: var(--qa-bg);
  transition: background-color .3s var(--ease), transform .3s var(--ease), padding .3s var(--ease);
}
.qa:hover { color: #fff; background: var(--qa-bg-h); }
.qa-icon { display: grid; place-items: center; font-size: 1.35rem; line-height: 1; }
.qa--enquire { --qa-bg: var(--accent); --qa-bg-h: #b78a43; color: var(--primary-dark); }
.qa--enquire:hover { color: var(--primary-dark); }
.qa--wa      { --qa-bg: var(--wa); --qa-bg-h: var(--wa-dark); }
.qa--call    { --qa-bg: #1668B5; --qa-bg-h: #11548F; }

/* laptop / desktop: tab stack glued to the right edge, vertically centred */
@media (min-width: 992px) {
  .quick-actions {
    right: 0; top: 50%; transform: translateY(-50%);
    flex-direction: column; align-items: flex-end; gap: 6px;
  }
  .qa {
    width: 52px; border-radius: 10px 0 0 10px;
    border: 1px solid rgba(255,255,255,.22); border-right: 0;
    box-shadow: -6px 8px 20px -10px rgba(1, 39, 68, .55);
  }
  .qa:hover, .qa:focus-visible { transform: translateX(-4px); }
  /* Enquiry Now: tall vertical tab with rotated text */
  .qa--enquire { flex-direction: column; gap: .6rem; padding: 1.1rem 0; }
  .qa--enquire .qa-icon { font-size: 1.05rem; transform: rotate(-90deg); }
  .qa--enquire .qa-label {
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: .95rem; letter-spacing: .04em; white-space: nowrap;
  }
  /* WhatsApp & Call: square icon tabs */
  .qa--wa, .qa--call { height: 52px; }
  .qa--wa .qa-label, .qa--call .qa-label {
    position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%);
    background: var(--primary-dark); color: #fff; font-size: .8rem; font-weight: 600;
    padding: .35rem .7rem; border-radius: 6px; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .qa--wa:hover .qa-label, .qa--call:hover .qa-label,
  .qa--wa:focus-visible .qa-label, .qa--call:focus-visible .qa-label { opacity: 1; transform: translate(0, -50%); }
  .qa--wa:hover .qa-icon i, .qa--call:hover .qa-icon i { animation: qaWiggle .6s var(--ease); }
  .qa--wa::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    animation: qaPulse 2.6s infinite;
  }
}

/* mobile / tablet: full-width bottom bar – Enquiry Now gets half, icons share the rest */
@media (max-width: 991.98px) {
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .quick-actions {
    left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--primary-dark);
    box-shadow: 0 -10px 30px -12px rgba(1, 39, 68, .4);
  }
  .qa { height: 58px; gap: .55rem; }
  .qa--enquire .qa-label { font-size: 1rem; letter-spacing: .01em; }
  .qa--enquire .qa-icon { font-size: 1.1rem; }
  .qa--wa .qa-label, .qa--call .qa-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .qa--wa .qa-icon, .qa--call .qa-icon { font-size: 1.5rem; }
  .qa:active { background: var(--qa-bg-h); }
  .qa + .qa { border-left: 1px solid rgba(255,255,255,.2); }
  .back-to-top { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}
@keyframes qaPulse { 0% { box-shadow: 0 0 0 0 rgba(31,175,90,.55); } 70% { box-shadow: 0 0 0 12px rgba(31,175,90,0); } 100% { box-shadow: 0 0 0 0 rgba(31,175,90,0); } }
@keyframes qaWiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-6deg); } }

/* ==========================================================================
   18. ANIMATIONS – headings, sections, buttons, cards
   ========================================================================== */

/* scroll progress */
.scroll-progress {
  position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), #e2bd7e);
  transform-origin: left; transform: scaleX(0); z-index: 2;
}

/* heading word-by-word rise */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .wi { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--wi) * 55ms); }
.split.is-in .wi { transform: none; }
.js.is-loaded .hero-title.split .wi { transform: none; transition-delay: calc(.2s + var(--wi) * 70ms); }

/* section reveal variants */
.anim { transition: opacity .9s var(--ease), transform .9s cubic-bezier(.2, .8, .2, 1), clip-path 1.2s cubic-bezier(.7, 0, .2, 1); transition-delay: var(--ad, 0s); }
.anim:not(.is-in) { opacity: 0; }
.anim[data-anim="up"]:not(.is-in)    { transform: translateY(46px); }
.anim[data-anim="left"]:not(.is-in)  { transform: translateX(-56px); }
.anim[data-anim="right"]:not(.is-in) { transform: translateX(56px); }
.anim[data-anim="zoom"]:not(.is-in)  { transform: scale(.9); }
.anim[data-anim="flip"]:not(.is-in)  { transform: perspective(900px) rotateX(18deg) translateY(30px); transform-origin: top; }
.anim[data-anim="clip"]:not(.is-in)  { opacity: 1; clip-path: inset(0 100% 0 0 round var(--radius-lg)); }
.anim[data-anim="clip"].is-in        { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.anim[data-anim="label"]:not(.is-in) { transform: translateX(-12px); }
.section-label::before { transform-origin: left; transition: transform .8s var(--ease) .2s; }
.anim[data-anim="label"]:not(.is-in)::before { transform: scaleX(0); }
/* images settle in as their card appears */
.project-card.anim:not(.is-in) .project-img { transform: scale(1.18); }
.about-map.anim:not(.is-in) img { transform: scale(1.15); }

/* hero: floating plan + glowing sold plots */
.js.plan-done .plan-card { animation: planFloat 7s ease-in-out infinite; }
.js.plan-done .plan-svg .plot--gold { animation: plotGlow 3.2s ease-in-out infinite; }
.js.plan-done .plan-svg .plot--gold:nth-of-type(odd) { animation-delay: 1.4s; }
@keyframes planFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes plotGlow { 0%,100% { fill-opacity: 1; } 50% { fill-opacity: .45; } }

/* buttons: light sweep + ripple */
.btn-brand, .btn-wa { position: relative; overflow: hidden; isolation: isolate; }
.btn-brand::before, .btn-wa::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-brand:hover::before, .btn-wa:hover::before { left: 130%; }
.btn-brand:active, .btn-wa:active { transform: translateY(0) scale(.97); }
.btn-wa:hover i { animation: qaWiggle .6s var(--ease); }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
  background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .65s ease-out forwards;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* service cards: gold top line + icon spin */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon i { transition: transform .5s var(--ease); display: inline-block; }
.service-card:hover .service-icon i { transform: rotate(-10deg) scale(1.15); }

/* why list: slide + ring */
.why-item > div { transition: transform .4s var(--ease); }
.why-item:hover > div { transform: translateX(6px); }
.why-item h3 { transition: color .3s var(--ease); }
.why-item:hover h3 { color: var(--primary); }
.why-icon { position: relative; }
.why-icon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; transform: scale(.8); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.why-item:hover .why-icon::after { opacity: 1; transform: none; }

/* stats: number lift on hover */
.stat-num { transition: color .3s var(--ease), transform .4s var(--ease); }
.stat:hover .stat-num { color: var(--accent); transform: translateY(-4px); }
.stat i { display: inline-block; transition: transform .4s var(--ease); }
.stat:hover i { transform: scale(1.25) rotate(-8deg); }

/* project type badge + contact cards */
.project-type { transition: background-color .3s var(--ease), color .3s var(--ease); }
.project-card:hover .project-type { background: var(--accent); color: var(--primary-dark); }
.contact-info li { transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.contact-info li:hover { border-color: rgba(2,54,94,.3); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-icon { transition: background-color .3s var(--ease), color .3s var(--ease); }
.contact-info li:hover .contact-icon { background: var(--primary); color: #fff; }
.footer-links a { display: inline-block; transition: color .25s var(--ease), transform .25s var(--ease); }
.footer-links a:hover { transform: translateX(4px); }
.footer-social a:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .anim, .split .wi { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js.plan-done .plan-card, .js.plan-done .plan-svg .plot--gold, .qa--wa::after { animation: none !important; }
}

/* ==========================================================================
   19. NO SIDEWAYS SCROLL ON PHONES
   Elements waiting to slide in sit slightly off-screen; clip them so mobile
   browsers never widen the page (which caused the left/right "shaking").
   ========================================================================== */
/* "clip" stops sideways scrolling without turning <body> into a second
   scroll box (overflow-x: hidden on both html and body caused a double scrollbar) */
html, body { overflow-x: clip; }
main, .site-footer { overflow-x: clip; }
@supports not (overflow: clip) {
  body, main, .site-footer { overflow-x: hidden; }
}
@media (max-width: 767.98px) {
  .anim[data-anim="left"]:not(.is-in)  { transform: translateX(-24px); }
  .anim[data-anim="right"]:not(.is-in) { transform: translateX(24px); }
  .anim[data-anim="up"]:not(.is-in)    { transform: translateY(28px); }
}

/* ==========================================================================
   20. HERO SLIDER
   Slides sit in one grid cell, so the hero grows with its tallest slide
   instead of cutting text off on short or zoomed screens.
   ========================================================================== */
.hero.hero-slider {
  --hs-min: clamp(600px, 100svh, 900px);
  position: relative; padding: 0; overflow: hidden; color: #fff;
  background: var(--primary-dark);
}
.hs-track { display: grid; }
.hs-slide {
  grid-area: 1 / 1; position: relative; min-height: var(--hs-min);
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s linear 1.1s;
}
.hs-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s; z-index: 1; }
.hs-bg {
  position: absolute; inset: 0;
  background-color: var(--primary);
  background-size: cover; background-position: center;
  transform: scale(1.12);
}
.hs-slide.is-active .hs-bg { animation: kenBurns 9s ease-out forwards; }
@keyframes kenBurns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hs-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(1,39,68,.86) 0%, rgba(1,39,68,.62) 36%, rgba(1,39,68,.12) 72%, rgba(1,39,68,0) 100%),
    linear-gradient(0deg, rgba(1,39,68,.78) 0%, transparent 36%),
    linear-gradient(180deg, rgba(1,39,68,.6) 0%, transparent 22%);
}
.hs-content {
  position: relative; z-index: 2; width: 100%;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2.5rem);
  padding-bottom: 170px;  /* room for the pager + overlapping search bar */
}
.hs-content > * { max-width: 640px; }
.hs-kicker {
  display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem;
  color: var(--accent-light); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
.hs-kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent-light); flex-shrink: 0; }
.hs-title {
  font-family: var(--font-display); font-weight: 600; color: #fff;
  /* scales with width AND height, never larger than 4.1rem */
  font-size: clamp(2.2rem, min(1.1rem + 3.1vw, 7.4vh), 4.1rem);
  line-height: 1.08; letter-spacing: -0.01em;
  margin-bottom: 1.25rem; max-width: 680px;
}
.hs-line { display: block; }
.hs-line--gold { color: var(--accent-light); font-style: italic; font-weight: 500; }
.hs-text { font-size: clamp(.98rem, .92rem + .25vw, 1.1rem); line-height: 1.7; color: rgba(255,255,255,.86); max-width: 52ch; margin-bottom: 0; }
.hs-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.9rem; }
.hs-actions .btn-brand { min-height: 52px; padding: .8rem 1.6rem; border-radius: 999px; }
.hs-actions .btn-brand i { transition: transform .3s var(--ease); }
.hs-actions .btn-brand:hover i { transform: translateX(4px); }

/* text entrance per slide */
.js .hs-slide .hs-kicker, .js .hs-slide .hs-text, .js .hs-slide .hs-actions {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .9s cubic-bezier(.2,.8,.2,1);
}
.js .hs-slide .hs-line {
  clip-path: inset(0 0 100% 0); transform: translateY(40px);
  transition: clip-path 1s cubic-bezier(.7,0,.2,1), transform 1s cubic-bezier(.2,.8,.2,1);
}
.js .hs-slide.is-shown .hs-kicker  { opacity: 1; transform: none; transition-delay: .25s; }
.js .hs-slide.is-shown .hs-line    { clip-path: inset(-5% -5% -15% -5%); transform: none; transition-delay: .4s; }
.js .hs-slide.is-shown .hs-line + .hs-line { transition-delay: .58s; }
.js .hs-slide.is-shown .hs-text    { opacity: 1; transform: none; transition-delay: .8s; }
.js .hs-slide.is-shown .hs-actions { opacity: 1; transform: none; transition-delay: .95s; }

/* pager row: counter + progress dots on the left, arrows on the right */
.hs-pager { position: absolute; z-index: 3; left: 0; right: 0; bottom: 84px; pointer-events: none; }
.hs-pager-inner { display: flex; align-items: center; gap: 1.5rem; }
.hs-dots, .hs-arrows { pointer-events: auto; }
.hs-count { margin: 0; font-family: var(--font-display); color: #fff; display: flex; align-items: baseline; gap: .4rem; }
.hs-current { font-size: 1.7rem; font-weight: 600; line-height: 1; }
.hs-total { font-size: .95rem; color: rgba(255,255,255,.6); }
.hs-dots { display: flex; gap: .5rem; }
.hs-dot { width: 46px; height: 24px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; }
.hs-dot span { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.hs-dot span::after { content: ""; position: absolute; inset: 0; background: var(--accent-light); transform: scaleX(0); transform-origin: left; }
.hs-dot.is-active span::after { animation: dotFill var(--hs-dur, 7s) linear forwards; }
.hero-slider.is-paused .hs-dot.is-active span::after { animation-play-state: paused; }
.hs-dot.is-done span::after { transform: scaleX(1); }
@keyframes dotFill { to { transform: scaleX(1); } }
.hs-arrows { display: flex; gap: .7rem; margin-left: auto; }
.hs-arrow {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55);
  background: rgba(1,39,68,.3); color: #fff; font-size: 1.15rem;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
@media (hover: hover) {
  .hs-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
  .hs-arrow--prev:hover { transform: translateX(-3px); }
  .hs-arrow--next:hover { transform: translateX(3px); }
}
.hs-arrow:active { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }

/* ---- opportunity finder ---- */
.hero-search-wrap { position: relative; z-index: 5; margin-top: -54px; }
.hero-search {
  display: grid; grid-template-columns: 1fr 1fr auto; align-items: center;
  max-width: 900px; margin: 0 auto; padding: .7rem .7rem .7rem 1.25rem;
  background: #fff; border-radius: 18px; border: 1px solid var(--border);
  box-shadow: 0 30px 60px -28px rgba(1,39,68,.45);
}
.hsf-field { display: flex; align-items: center; gap: .9rem; padding: .55rem 1.1rem .55rem 0; cursor: pointer; min-width: 0; }
.hsf-field + .hsf-field { padding-left: 1.25rem; border-left: 1px solid var(--border); }
.hsf-icon {
  flex: 0 0 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: var(--secondary); color: var(--primary); font-size: 1.2rem;
}
.hsf-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hsf-label { font-size: .78rem; color: var(--body); font-weight: 600; }
.hsf-body select {
  border: 0; background: transparent; padding: .1rem 1.4rem .1rem 0; margin-left: -2px;
  font: 700 1rem var(--font); color: var(--heading); cursor: pointer; width: 100%;
  appearance: none; -webkit-appearance: none; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2302365E' d='M1.6 4.6a.75.75 0 0 1 1.06 0L8 9.94l5.34-5.34a.75.75 0 1 1 1.06 1.06l-5.87 5.87a.75.75 0 0 1-1.06 0L1.6 5.66a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center;
}
.hsf-body select:focus { outline: none; }
.hsf-field:focus-within .hsf-icon { background: var(--primary); color: #fff; }
.hsf-btn { min-height: 58px; padding: .8rem 1.6rem; border-radius: 12px; gap: .6rem; white-space: nowrap; }
.about { padding-top: calc(var(--section-y) - 10px); }

/* ---- slider responsive ---- */
@media (min-width: 992px) {
  /* keep the arrows clear of the right-edge quick-action tabs */
  .hs-arrows { margin-right: 40px; }
}
@media (max-width: 1199.98px) {
  .hs-content > * { max-width: 600px; }
}
@media (max-width: 991.98px) {
  .hero.hero-slider { --hs-min: clamp(600px, 92svh, 820px); }
  .hs-slide { align-items: flex-end; }
  .hs-overlay { background: linear-gradient(0deg, rgba(1,39,68,.96) 0%, rgba(1,39,68,.78) 55%, rgba(1,39,68,.5) 100%); }
  .hs-content { padding-bottom: 160px; }
  .hs-pager { bottom: 78px; }
  .hs-arrow { width: 46px; height: 46px; font-size: 1.05rem; }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hsf-btn { grid-column: 1 / -1; margin-top: .4rem; }
}
@media (max-width: 575.98px) {
  .hs-content { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.5rem); padding-bottom: 150px; }
  .hs-kicker { font-size: .72rem; letter-spacing: .1em; }
  .hs-title { font-size: clamp(2rem, 9vw, 2.5rem); }
  .hs-text { font-size: .95rem; }
  .hs-actions { margin-top: 1.4rem; }
  .hs-actions .btn-brand { flex: 1 1 auto; min-height: 48px; padding: .7rem 1rem; }
  .hs-pager-inner { gap: 1rem; }
  .hs-dot { width: 24px; }
  .hs-current { font-size: 1.4rem; }
  .hero-search-wrap { margin-top: -44px; }
  .hero-search { grid-template-columns: 1fr; padding: .6rem; }
  .hsf-field, .hsf-field + .hsf-field { padding: .65rem .5rem; border-left: 0; }
  .hsf-field + .hsf-field { border-top: 1px solid var(--border); }
}
@media (prefers-reduced-motion: reduce) {
  .hs-slide.is-active .hs-bg { animation: none; transform: none; }
  .js .hs-slide .hs-kicker, .js .hs-slide .hs-text, .js .hs-slide .hs-actions, .js .hs-slide .hs-line { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hs-dot.is-active span::after { animation: none; transform: scaleX(1); }
}

/* about photo + layouts map link + CTA background */
.about-photo img { object-position: center; }
.layouts-meta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.layouts-map-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; }
.cta-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(2,54,94,.97) 0%, rgba(2,54,94,.9) 45%, rgba(2,54,94,.72) 100%),
              url('../images/cta-bg.jpg') center / cover no-repeat;
}
.cta-copy, .cta-audiences { position: relative; z-index: 1; }

/* ==========================================================================
   21. ABOUT COLLAGE
   ========================================================================== */
.about-collage { position: relative; padding: 0 20% 13% 0; display: flex; flex-direction: column; }
.about-collage figure { margin: 0; overflow: hidden; }
.ac-main { position: relative; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.ac-main img, .ac-inset img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ac-main:hover img, .ac-inset:hover img { transform: scale(1.05); }
.ac-main::after { /* thin gold frame offset behind the photo */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); pointer-events: none;
}
.about-collage::before {
  content: ""; position: absolute; left: -18px; top: -18px; width: 46%; height: 42%;
  border: 2px solid var(--accent); border-radius: var(--radius-lg); z-index: -1;
}
.about { position: relative; z-index: 0; }
.ac-inset {
  position: absolute; right: 0; bottom: 20%; width: 40%; aspect-ratio: 3 / 4;
  border-radius: var(--radius); border: 6px solid #fff; box-shadow: 0 30px 50px -24px rgba(1,39,68,.5);
  z-index: 2;
}
.about-collage .about-badge { top: 6%; right: 4%; z-index: 3; }
.about-collage .about-note { left: 6%; right: 26%; z-index: 3; }
@media (max-width: 991.98px) {
  .about-collage { padding: 0 18% 12% 0; max-width: 620px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
  .about-collage { padding: 0 14% 0 0; }
  .about-collage::before { left: -10px; top: -10px; }
  .ac-inset { bottom: 26%; width: 38%; border-width: 4px; }
  .about-collage .about-badge { top: 12px; right: 0; width: 132px; }
  .about-collage .about-note { position: relative; left: auto; right: auto; margin: -2.2rem 8px 0; }
}

/* ==========================================================================
   22. PROJECT BENTO GRID (image-overlay cards)
   ========================================================================== */
.bento {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
}
.pcard--xl { grid-column: span 2; grid-row: span 2; }
.pcard--tall { grid-row: span 2; }
.pcard {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); background: var(--primary);
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: 0 18px 40px -26px rgba(1,39,68,.55);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(1,39,68,.65); }
.pcard-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1.2s var(--ease);
}
.pcard::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(1,39,68,0) 35%, rgba(1,39,68,.55) 62%, rgba(1,39,68,.95) 100%);
  transition: opacity .45s var(--ease);
}
.pcard:hover .pcard-img { transform: scale(1.08); }
.pcard .project-type { position: absolute; left: 1.1rem; top: 1.1rem; z-index: 2; }
.pcard-body { padding: 1.5rem 1.5rem 1.4rem; color: rgba(255,255,255,.82); }
.pcard-body h3 { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; margin-bottom: .35rem; }
.pcard--xl .pcard-body { padding: 2rem; }
.pcard--xl .pcard-body h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.pcard-loc { display: flex; gap: .45rem; align-items: flex-start; font-size: .9rem; margin-bottom: .6rem; }
.pcard-loc i { color: var(--accent-light); }
.pcard-desc { font-size: .93rem; line-height: 1.55; margin-bottom: .9rem; max-width: 46ch; }
.pcard-cta {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  padding: .55rem 1.1rem; min-height: 42px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff;
  font-weight: 600; font-size: .88rem;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.pcard-cta i { transition: transform .3s var(--ease); }
.pcard:hover .pcard-cta, .pcard-cta:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.pcard:hover .pcard-cta i { transform: translate(2px, -2px); }
.pcard:hover .project-type { background: var(--accent); color: var(--primary-dark); }
/* the layouts tile sits in the grid as the final cell */
.bento .layouts-tile { min-height: 0; border-radius: var(--radius-lg); background: var(--primary); border-color: var(--primary); color: rgba(255,255,255,.78); }
.bento .layouts-tile .layouts-tile-num, .bento .layouts-tile .layouts-tile-cta { color: #fff; }
.bento .layouts-tile .layouts-tile-num { color: var(--accent-light); font-size: 4.5rem; }
.bento .layouts-tile:hover { background: var(--accent); color: var(--primary-dark); }
.bento .layouts-tile:hover .layouts-tile-num, .bento .layouts-tile:hover .layouts-tile-cta { color: var(--primary-dark); }

@media (max-width: 1199.98px) {
  .bento { grid-auto-rows: 220px; }
}
@media (max-width: 991.98px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
}
@media (max-width: 575.98px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 190px; gap: 1rem; }
  .pcard--xl { grid-column: auto; }
  .pcard-body h3 { font-size: 1.3rem; }
}

/* ==========================================================================
   23. STATS PHOTO BACKGROUND
   ========================================================================== */
.stats-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(1,39,68,.88) 0%, rgba(1,39,68,.8) 50%, rgba(1,39,68,.92) 100%),
    url('../images/stats-bg.jpg') center / cover no-repeat;
}
.stats::before { z-index: 1; }
.stats .container { z-index: 2; }
.stat { backdrop-filter: none; }

/* ---- featured grid: landscape rectangles (overrides the earlier tall bento) ---- */
.bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 290px; }
.bento .pcard--wide { grid-column: span 2; grid-row: span 1; }
.bento .pcard--tall, .bento .pcard--xl { grid-row: span 1; }
.bento .pcard--wide .pcard-body { padding: 1.75rem 2rem; }
.bento .pcard--wide .pcard-body h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); }
.bento .layouts-tile { justify-content: center; padding: 1.75rem 2rem; }
.bento .layouts-tile .layouts-tile-num { font-size: 3.8rem; }
@media (max-width: 1199.98px) { .bento { grid-auto-rows: 260px; } }
@media (max-width: 991.98px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; }
  .bento .pcard--wide { grid-column: span 2; }
}
@media (max-width: 575.98px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento .pcard, .bento .pcard--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .bento .pcard--wide .pcard-body { padding: 1.4rem 1.4rem 1.3rem; }
  .bento .pcard--wide .pcard-body h3 { font-size: 1.35rem; }
  .bento .layouts-tile { aspect-ratio: auto; padding: 1.75rem 1.5rem; }
  .bento .pcard-desc { display: none; }
}

/* ==========================================================================
   24. EXTRA MOTION – preloader, marquee, cursor, tilt, parallax, shimmer
   ========================================================================== */

/* ---- preloader ---- */
.preloader {
  position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center;
  background: radial-gradient(900px 500px at 50% 40%, var(--primary-light), var(--primary-dark));
  transition: transform .9s cubic-bezier(.77,0,.18,1), visibility 0s linear .9s;
}
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.preloader-logo { width: 170px; opacity: 0; transform: scale(.85); animation: preLogo .9s cubic-bezier(.2,.8,.2,1) .1s forwards; }
.preloader-bar { width: 180px; height: 2px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); transform: scaleX(0); transform-origin: left; animation: preBar 1.3s cubic-bezier(.65,0,.35,1) .3s forwards; }
.preloader-text { font-family: var(--font-display); font-style: italic; color: rgba(255,255,255,.7); font-size: 1rem; opacity: 0; animation: preText .8s ease .6s forwards; }
.preloader.is-done { transform: translateY(-100%); visibility: hidden; }
@keyframes preLogo { to { opacity: 1; transform: none; } }
@keyframes preBar { to { transform: scaleX(1); } }
@keyframes preText { to { opacity: 1; } }
html:not(.js) .preloader { display: none; }

/* ---- gold shimmer on the hero's italic line ---- */
.hs-line--gold {
  background: linear-gradient(100deg, #C69A52 0%, #DDB36E 30%, #F7E2B5 50%, #DDB36E 70%, #C69A52 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: goldShimmer 5s linear infinite;
  padding-right: .08em;
}
@keyframes goldShimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* ---- marquee ribbon ---- */
.marquee { background: var(--primary-dark); padding: 1.6rem 0; overflow: hidden; display: grid; gap: .6rem; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--primary-dark), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--primary-dark), transparent); }
.marquee-row { display: flex; overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 2.2rem; flex-shrink: 0; padding-right: 2.2rem; white-space: nowrap; animation: marquee 38s linear infinite; }
.marquee-row--reverse .marquee-track { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.8rem); font-weight: 600; color: #fff; line-height: 1.2; }
.marquee-row:first-child span:nth-of-type(even) { font-style: italic; color: var(--accent-light); }
.marquee-row--reverse span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.45); font-size: clamp(1.3rem, 1rem + 1.4vw, 2.1rem); }
.marquee i { font-style: normal; color: var(--accent); font-size: 1.1rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- curtain reveal on project cards ---- */
.pcard::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  transform: scaleX(0); transform-origin: right;
  transition: transform 1s cubic-bezier(.77,0,.18,1) calc(var(--ad, 0s) + .15s);
}
.pcard.anim:not(.is-in)::after { transform: scaleX(1); transition: none; }

/* ---- 3D tilt + glare (JS sets --rx/--ry/--gx/--gy) ---- */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt.is-tilting { transition: transform .12s linear, box-shadow .4s var(--ease) !important; }
.tilt-glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.28), transparent 45%);
  opacity: 0; transition: opacity .35s var(--ease); }
.tilt.is-tilting .tilt-glare { opacity: 1; }
.service-card .tilt-glare { background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 50%), rgba(198,154,82,.16), transparent 50%); }

/* ---- parallax helpers ---- */
.stats-bg { inset: -18% 0; will-change: transform; }
[data-parallax] { will-change: transform; }

/* ---- back-to-top progress ring ---- */
.back-to-top { overflow: visible; }
.btt-ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); transform: rotate(-90deg); pointer-events: none; }
.btt-ring circle { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0)); stroke-linecap: round; transition: stroke-dashoffset .15s linear; }
.back-to-top i { transition: transform .3s var(--ease); }
.back-to-top:hover i { transform: translateY(-3px); }

/* ---- custom cursor (fine pointers only) ---- */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor-dot, .has-cursor .cursor-ring { display: block; position: fixed; left: 0; top: 0; z-index: 2500; pointer-events: none; border-radius: 50%; }
  .has-cursor .cursor-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--accent); }
  .has-cursor .cursor-ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(198,154,82,.7);
    display: grid; place-items: center;
    transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), opacity .3s;
  }
  .cursor-ring span { font-size: .72rem; font-weight: 700; color: var(--primary-dark); opacity: 0; transition: opacity .2s; letter-spacing: .04em; }
  .has-cursor .cursor-ring.is-link { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(198,154,82,.15); border-color: var(--accent); }
  .has-cursor .cursor-ring.is-view { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--accent); border-color: var(--accent); }
  .has-cursor .cursor-ring.is-view span { opacity: 1; }
  .has-cursor .cursor-ring.is-hidden, .has-cursor .cursor-dot.is-hidden { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  .hs-line--gold, .marquee-track { animation: none !important; }
  .pcard::after { display: none; }
  .has-cursor .cursor-dot, .has-cursor .cursor-ring { display: none !important; }
}
.layouts-tile { position: relative; overflow: hidden; }
.cta-bg { inset: -15% 0; }

/* ==========================================================================
   25. BRIEF ALIGNMENT – typography roles
   ========================================================================== */
h3, h4 { color: var(--text); }
.nav-link-item { font-weight: 600; }
.btn-brand, .btn-wa { font-weight: 600; }
.stat-num { font-family: var(--font); font-weight: 700; letter-spacing: -0.03em; }
.pcard-body h3, .bento .pcard--wide .pcard-body h3 { font-family: var(--font); font-weight: 700; letter-spacing: -0.015em; }
.pcard-body h3 { font-size: 1.3rem; }
.about-badge-num, .layouts-tile-num, .plan-tag-num { font-family: var(--font); font-weight: 700; }
.hs-current { font-family: var(--font); font-weight: 700; }

/* ==========================================================================
   26. SERVICES – six distinct cards in a bento layout
   ========================================================================== */
.svc-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "res com com"
    "res war hos"
    "cor cor exc";
}
.svc--residential { grid-area: res; }
.svc--commercial  { grid-area: com; }
.svc--warehousing { grid-area: war; }
.svc--hospitality { grid-area: hos; }
.svc--corporate   { grid-area: cor; }
.svc--exchange    { grid-area: exc; }

.svc {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: .2rem;
  padding: 2rem 1.85rem; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--border);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
}
.svc:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: rgba(2,54,94,.25); }
.svc h3 { font-size: 1.22rem; font-weight: 700; margin: .2rem 0 .6rem; }
.svc p { font-size: .96rem; margin-bottom: 1.1rem; }
.svc-icon {
  width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1rem;
  border-radius: 14px; background: var(--secondary); color: var(--primary); font-size: 1.45rem;
  transition: transform .5s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.svc:hover .svc-icon { transform: rotate(-8deg) scale(1.08); }
.svc-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .92rem; color: var(--primary); }
.svc-link::after { content: "\F138"; font-family: "bootstrap-icons"; transition: transform .3s var(--ease); }
.svc-link:hover::after, .svc:hover .svc-link::after { transform: translateX(4px); }

/* photo cards */
.svc--photo { justify-content: flex-end; padding: 0; min-height: 300px; border: 0; background: var(--primary-dark); }
.svc--residential { min-height: 560px; }
.svc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.svc--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,39,68,.05) 20%, rgba(1,39,68,.7) 60%, rgba(1,39,68,.96) 100%); }
.svc--photo:hover .svc-img { transform: scale(1.07); }
.svc--photo .svc-body { padding: 2rem 1.85rem; color: rgba(255,255,255,.82); }
.svc--photo h3 { color: #fff; font-size: 1.45rem; }
.svc--photo p { color: rgba(255,255,255,.8); max-width: 50ch; }
.svc--photo .svc-icon { background: rgba(255,255,255,.14); color: var(--accent-light); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.svc--photo .svc-link { color: var(--accent-light); }
.svc--commercial .svc-body { max-width: 560px; }

/* tinted, plain, navy, outline variants */
.svc--tint { background: var(--secondary); border-color: transparent; }
.svc--tint .svc-icon { background: #fff; }
.svc--plain::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); transform: scaleY(.35); transform-origin: top; transition: transform .5s var(--ease); }
.svc--plain:hover::before { transform: scaleY(1); }
.svc--plain .svc-icon { background: rgba(198,154,82,.14); color: #a77b35; }
.svc--navy {
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-color: transparent; color: rgba(255,255,255,.78);
}
.svc--navy h3 { color: #fff; }
.svc--navy p { color: rgba(255,255,255,.76); }
.svc--navy .svc-icon { background: rgba(255,255,255,.1); color: var(--accent-light); }
.svc--navy .svc-link { color: var(--accent-light); }
.svc-stat { padding-right: 2rem; border-right: 1px solid rgba(255,255,255,.15); }
.svc-stat-num { display: block; font-size: clamp(3rem, 2rem + 3vw, 4.6rem); font-weight: 800; line-height: 1; color: #fff; letter-spacing: -0.04em; }
.svc-stat-label { display: block; margin-top: .5rem; font-size: .9rem; color: var(--accent-light); max-width: 14ch; }
.svc--outline { border: 1.5px dashed rgba(198,154,82,.6); background: #fff; }
.svc--outline .svc-icon { background: var(--primary); color: #fff; }
.svc--outline:hover .svc-icon { transform: rotate(180deg); }

@media (max-width: 991.98px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); grid-template-areas: "res com" "res war" "hos exc" "cor cor"; }
  .svc--residential { min-height: 480px; }
}
@media (max-width: 575.98px) {
  .svc-grid { grid-template-columns: 1fr; grid-template-areas: "res" "com" "war" "hos" "cor" "exc"; }
  .svc--residential, .svc--photo { min-height: 380px; }
  .svc--navy { grid-template-columns: 1fr; gap: 1.25rem; }
  .svc-stat { padding: 0 0 1.25rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .svc { padding: 1.6rem 1.4rem; }
  .svc--photo .svc-body { padding: 1.6rem 1.4rem; }
}

/* ==========================================================================
   27. WHY US – photo with overlapping education panel
   ========================================================================== */
.why-photo { margin: 2rem 0 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.why-photo:hover img { transform: scale(1.05); }
.why-photo + .edu-panel { position: relative; z-index: 2; margin: -90px 1.25rem 0; box-shadow: 0 30px 50px -28px rgba(1,39,68,.6); }
.why { background: linear-gradient(180deg, var(--bg-light) 0%, var(--secondary) 100%); }
.why-item { padding: 1.6rem 1.4rem; border: 0; border-radius: var(--radius); margin-bottom: .6rem; transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.why-item:first-child { padding-top: 1.6rem; }
.why-item:hover { background: #fff; box-shadow: var(--shadow-sm); }
@media (max-width: 575.98px) {
  .why-photo + .edu-panel { margin: -60px .75rem 0; }
  .why-item { padding: 1.25rem 1rem; }
}

/* ==========================================================================
   28. RESIDENTIAL LAYOUTS DIRECTORY
   ========================================================================== */
.layouts-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }
.area-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.area-chip {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .4rem .9rem;
  border-radius: 999px; border: 1px solid var(--border); background: #fff;
  font: 600 .88rem var(--font); color: var(--text);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.area-chip:hover { border-color: var(--primary); transform: translateY(-1px); }
.chip-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--secondary); color: var(--primary); font-size: .75rem; display: inline-grid; place-items: center; }
.area-chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.area-chip.is-active .chip-count { background: var(--accent); color: var(--primary-dark); }
.layouts-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.layout-card {
  display: flex; align-items: center; gap: .9rem; padding: .95rem 1rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
  animation: layoutIn .45s var(--ease) both;
}
.layout-card.is-hidden { display: none; }
.layout-card:hover { border-color: rgba(2,54,94,.3); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
@keyframes layoutIn { from { opacity: 0; transform: translateY(8px); } }
.layout-pin { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--secondary); color: var(--primary); transition: background-color .3s var(--ease), color .3s var(--ease); }
.layout-card:hover .layout-pin { background: var(--primary); color: #fff; }
.layout-info { min-width: 0; flex: 1; }
.layout-info strong { display: block; color: var(--text); font-weight: 700; }
.layout-info span { display: block; font-size: .86rem; color: var(--body); line-height: 1.4; }
.layout-enquire {
  flex: 0 0 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: rgba(31,175,90,.1); color: var(--wa-dark); font-size: 1.1rem;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.layout-enquire:hover, .layout-enquire:focus-visible { background: var(--wa); color: #fff; transform: scale(1.08); }
.layouts-empty { padding: 2rem; text-align: center; border: 1px dashed var(--border); border-radius: var(--radius); }
.layouts-map-card { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.lmc-img { position: relative; display: block; aspect-ratio: 720 / 600; overflow: hidden; background: #eef4e2; }
.lmc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.lmc-img:hover img { transform: scale(1.05); }
.lmc-zoom { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: inline-flex; gap: .4rem; align-items: center; white-space: nowrap; padding: .4rem .85rem; border-radius: 999px; background: rgba(1,39,68,.85); color: #fff; font-size: .8rem; font-weight: 600; }
.lmc-body { padding: 1.25rem 1.25rem 1.4rem; }
.lmc-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.lmc-body p { font-size: .9rem; margin-bottom: 1rem; }
@media (max-width: 1199.98px) { .layouts-wrap { grid-template-columns: 1fr 260px; } }
@media (max-width: 991.98px) {
  .layouts-wrap { grid-template-columns: 1fr; }
  .layouts-map-card { position: static; display: grid; grid-template-columns: 220px 1fr; align-items: center; }
  .lmc-img { aspect-ratio: auto; height: 100%; min-height: 200px; }
}
@media (max-width: 575.98px) {
  .area-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; }
  .area-chips::-webkit-scrollbar { display: none; }
  .area-chip { flex-shrink: 0; }
  .layouts-grid { grid-template-columns: 1fr; }
  .layouts-map-card { grid-template-columns: 1fr; }
  .lmc-img { aspect-ratio: 720 / 500; min-height: 0; }
}

/* ==========================================================================
   29. CREDIBILITY SECTION (replaces testimonials – verified facts only)
   ========================================================================== */
.trust { background: #fff; }
.trust-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 4vw, 3.5rem); }
.trust-head .section-label { justify-content: center; }
.trust-head .section-title { margin-left: auto; margin-right: auto; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.trust-card {
  position: relative; overflow: hidden; padding: 2.25rem 2rem; border-radius: var(--radius-lg);
  background: var(--bg-light); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .4s var(--ease);
}
.trust-card::after { content: ""; position: absolute; left: 2rem; right: 2rem; top: 0; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--ease); }
.trust-card:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-5px); }
.trust-card:hover::after { transform: scaleX(1); }
.trust-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.4rem; margin-bottom: 1.4rem; }
.trust-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem; }
.trust-card p { font-size: .96rem; }
.brand-names { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.brand-names li { padding: .45rem .9rem; border-radius: 8px; background: #fff; border: 1px solid var(--border); font-weight: 700; color: var(--primary); font-size: .92rem; }
.brand-names .brand-more { background: transparent; border-style: dashed; color: var(--body); font-weight: 600; }
.trust-card--quote { background: var(--primary); border-color: var(--primary); color: rgba(255,255,255,.8); }
.trust-card--quote:hover { background: var(--primary-dark); }
.trust-card--quote h3 { color: #fff; }
.trust-card--quote .trust-icon { background: var(--accent); color: var(--primary-dark); }
.trust-card--quote blockquote { margin: 0 0 1rem; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.5; color: #fff; }
.trust-cite { margin: auto 0 0; color: var(--accent-light); font-weight: 600; font-size: .9rem; }
.trust-card--land .svc-link { margin-top: auto; }
@media (max-width: 991.98px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-card--land { grid-column: span 2; } }
@media (max-width: 575.98px) { .trust-grid { grid-template-columns: 1fr; } .trust-card--land { grid-column: auto; } .trust-card { padding: 1.8rem 1.5rem; } }

/* stats & CTA now use pure navy (no repeated hero photos) */
.stats { background: radial-gradient(900px 400px at 85% 0%, rgba(10,76,120,.55), transparent 60%), var(--primary-dark); }
.svc .tilt-glare, .trust-card .tilt-glare { background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 50%), rgba(198,154,82,.14), transparent 50%); }
.trust + .cta { padding-top: 0; }

/* ==========================================================================
   30. ADVANCED SEARCH – actions + live results
   ========================================================================== */
.hero-search { grid-template-columns: 1fr 1fr auto; }
.hsf-actions { display: flex; align-items: center; gap: .5rem; }
.hsf-clear {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 46px; padding: 0 .9rem;
  border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--body); font: 600 .88rem var(--font);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.hsf-clear:hover { color: var(--primary); border-color: var(--primary); }
.hsf-clear[hidden] { display: none; }
.search-results {
  max-width: 900px; margin: .75rem auto 0; padding: 1.25rem 1.4rem;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 24px 50px -30px rgba(1,39,68,.4);
  animation: srIn .45s var(--ease);
}
@keyframes srIn { from { opacity: 0; transform: translateY(-8px); } }
.sr-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .9rem; }
.sr-head p { margin: 0; color: var(--text); }
.sr-head strong { color: var(--primary); font-size: 1.15rem; }
.sr-all { border: 0; background: none; color: var(--primary); font: 700 .9rem var(--font); display: inline-flex; align-items: center; gap: .35rem; padding: .3rem 0; }
.sr-all i { transition: transform .3s var(--ease); }
.sr-all:hover i { transform: translateX(4px); }
.sr-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.sr-item {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "type btn" "name btn" "loc btn"; column-gap: .75rem;
  padding: .8rem .9rem; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-light);
  animation: srIn .4s var(--ease) both;
}
.sr-item:nth-child(2) { animation-delay: .04s; } .sr-item:nth-child(3) { animation-delay: .08s; }
.sr-item:nth-child(4) { animation-delay: .12s; } .sr-item:nth-child(5) { animation-delay: .16s; } .sr-item:nth-child(6) { animation-delay: .2s; }
.sr-type { grid-area: type; font-size: .72rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.sr-item strong { grid-area: name; color: var(--text); }
.sr-loc { grid-area: loc; font-size: .84rem; color: var(--body); display: flex; gap: .3rem; }
.sr-enquire {
  grid-area: btn; align-self: center; display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: 0 .85rem;
  border: 0; border-radius: 999px; background: rgba(31,175,90,.12); color: var(--wa-dark); font: 700 .82rem var(--font);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.sr-enquire:hover { background: var(--wa); color: #fff; }
.sr-more { margin: .75rem 0 0; font-size: .88rem; }
.sr-service, .sr-empty { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; }
.sr-service h3, .sr-empty h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.sr-service p, .sr-empty p { margin: 0; font-size: .92rem; }
.sr-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--secondary); color: var(--primary); font-size: 1.25rem; }
.sr-empty-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.btn-outline-navy { background: #fff; color: var(--primary); }
.btn-outline-navy:hover { background: var(--secondary); color: var(--primary); }
.sr-empty .btn-wa, .sr-empty .btn-brand { min-height: 46px; padding: .6rem 1.1rem; font-size: .9rem; }
@media (max-width: 991.98px) {
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hsf-actions { grid-column: 1 / -1; margin-top: .4rem; }
  .hsf-actions .hsf-btn { flex: 1; margin: 0; }
}
@media (max-width: 767.98px) {
  .sr-list { grid-template-columns: 1fr; }
  .sr-service, .sr-empty { grid-template-columns: auto 1fr; }
  .sr-service .btn-brand, .sr-empty-actions { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .hero-search { grid-template-columns: 1fr; }
  .search-results { padding: 1rem; }
}

/* ==========================================================================
   31. LAYOUT DIRECTORY – actions, selection, live map panel
   ========================================================================== */
.layouts-toolbar { gap: .75rem 1rem; }
.layouts-clear { border: 0; background: none; color: var(--primary); font: 700 .88rem var(--font); display: inline-flex; gap: .35rem; align-items: center; padding: .4rem 0; }
.layouts-clear[hidden] { display: none; }
.layout-card { flex-wrap: wrap; align-items: flex-start; }
.layout-card.is-selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(2,54,94,.1); }
.layout-card.is-selected .layout-pin { background: var(--primary); color: #fff; }
.layout-actions { flex-basis: 100%; display: flex; gap: .4rem; padding-top: .7rem; margin-top: .1rem; border-top: 1px dashed var(--border); }
.la-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 38px; padding: 0 .5rem;
  border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--primary); font: 600 .8rem var(--font);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.la-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.la-wa { color: var(--wa-dark); }
.la-wa:hover { background: var(--wa); border-color: var(--wa); color: #fff; }
.layouts-wrap { grid-template-columns: 1fr 340px; }
.map-head { padding: 1.1rem 1.25rem .9rem; }
.map-head-label { font-size: .75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.map-head h3 { font-size: 1.15rem; font-weight: 700; margin: .2rem 0 .15rem; }
.map-head p { margin: 0; font-size: .88rem; }
.map-frame { position: relative; aspect-ratio: 4 / 3.4; background: var(--secondary); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .5rem; color: var(--body); font-size: .88rem; text-align: center; padding: 1rem;
  background-image: linear-gradient(rgba(2,54,94,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(2,54,94,.06) 1px, transparent 1px); background-size: 24px 24px; }
.map-placeholder i { font-size: 2rem; color: var(--primary); animation: pinBob 2s ease-in-out infinite; }
@keyframes pinBob { 50% { transform: translateY(-6px); } }
.map-foot { padding: 1rem 1.25rem 1.25rem; display: grid; gap: .6rem; }
.map-list-link { font-size: .86rem; font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; justify-content: center; }
.map-note { margin: 0; font-size: .78rem; color: var(--body); text-align: center; line-height: 1.45; }
@media (max-width: 1199.98px) { .layouts-wrap { grid-template-columns: 1fr 300px; } .layouts-grid { grid-template-columns: 1fr; } }
@media (max-width: 991.98px) {
  .layouts-wrap { grid-template-columns: 1fr; }
  .layouts-grid { grid-template-columns: repeat(2, 1fr); }
  .layouts-map-card { display: block; position: static; }
}
@media (max-width: 575.98px) { .layouts-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   32. COMPANY JOURNEY TIMELINE
   ========================================================================== */
.journey { background: #fff; }
.timeline-wrap { position: relative; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; position: relative; z-index: 1; }
.tl-line { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--border); }
.tl-line-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(var(--tl, 0)); transform-origin: left; transition: transform .2s linear; }
.tl-item { position: relative; padding-top: 4.5rem; }
.tl-dot {
  position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--border); color: var(--body); font-size: 1.3rem;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tl-item.is-reached .tl-dot { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.05); box-shadow: 0 0 0 6px rgba(2,54,94,.1); }
.tl-item:last-child.is-reached .tl-dot { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); box-shadow: 0 0 0 6px rgba(198,154,82,.18); }
.tl-when { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .45rem; }
.tl-item h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .5rem; }
.tl-item p { font-size: .9rem; line-height: 1.6; margin: 0; }
@media (max-width: 1199.98px) {
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .tl-line { display: none; }
}
@media (max-width: 767.98px) {
  .timeline { grid-template-columns: 1fr; row-gap: 0; padding-left: 0; }
  .tl-line { display: block; left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl-line-fill { background: linear-gradient(180deg, var(--primary), var(--accent)); transform: scaleY(var(--tl, 0)); transform-origin: top; }
  .tl-item { padding: 0 0 2rem 4.5rem; min-height: 56px; }
  .tl-item:last-child { padding-bottom: 0; }
}

/* ==========================================================================
   33. SMART ENQUIRY TABS
   ========================================================================== */
.se-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; padding: .35rem; margin-bottom: 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.se-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; padding: .5rem;
  border: 0; border-radius: 10px; background: transparent; color: var(--body); font: 700 .9rem var(--font);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.se-tab:hover { color: var(--primary); background: var(--secondary); }
.se-tab.is-active { background: var(--primary); color: #fff; }
.se-form { animation: srIn .4s var(--ease); }
.smart-enquiry .form-foot { margin-top: 1.25rem; }
@media (max-width: 575.98px) {
  .se-tab { flex-direction: column; gap: .15rem; font-size: .78rem; min-height: 56px; }
}

/* ==========================================================================
   34. GALLERY LIGHTBOX + card zoom button
   ========================================================================== */
.pcard { cursor: zoom-in; }
.pcard-cta { cursor: pointer; }
.pcard-zoom {
  position: absolute; top: 1rem; right: 1rem; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); background: rgba(1,39,68,.35); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: .85; transition: background-color .3s var(--ease), transform .3s var(--ease), opacity .3s;
}
.pcard:hover .pcard-zoom { opacity: 1; background: var(--accent); color: var(--primary-dark); border-color: var(--accent); transform: scale(1.08); }
.gallery-cta { display: flex; justify-content: center; margin-top: 2rem; }
.lightbox {
  position: fixed; inset: 0; z-index: 2800; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr auto; align-items: center; gap: 1rem;
  padding: calc(1.5rem + env(safe-area-inset-top, 0px)) 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  background: rgba(1,20,36,.94); opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lb-figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: .9rem; min-height: 0; height: 100%; justify-content: center; }
.lb-img {
  max-width: 100%; max-height: calc(100vh - 220px); object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
  opacity: 0; transform: translateX(calc(var(--dir, 0) * 40px)) scale(.97); transition: opacity .45s var(--ease), transform .55s cubic-bezier(.2,.8,.2,1);
}
.lb-img.is-in { opacity: 1; transform: none; }
.lb-caption { display: flex; gap: 1rem; align-items: baseline; justify-content: center; color: rgba(255,255,255,.85); font-size: .95rem; text-align: center; max-width: 760px; }
.lb-count { color: var(--accent-light); font-weight: 700; white-space: nowrap; }
.lb-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font-size: 1.2rem;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.lb-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.lb-close { position: absolute; top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem; z-index: 2; }
.lb-prev { grid-column: 1; grid-row: 1; } .lb-next { grid-column: 3; grid-row: 1; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { visibility: hidden; }
.lb-thumbs { grid-column: 1 / -1; display: flex; justify-content: center; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; }
.lb-thumbs button { flex: 0 0 76px; height: 52px; border-radius: 8px; border: 2px solid transparent; background-size: cover; background-position: center; opacity: .55; transition: opacity .25s, border-color .25s; }
.lb-thumbs button.is-active, .lb-thumbs button:hover { opacity: 1; border-color: var(--accent); }
@media (max-width: 767.98px) {
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto auto; padding: 4.25rem .75rem calc(1rem + env(safe-area-inset-bottom, 0px)); }
  .lb-figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-img { max-height: calc(100vh - 260px); }
  .lb-prev { grid-column: 1; grid-row: 2; justify-self: end; } .lb-next { grid-column: 2; grid-row: 2; justify-self: start; }
  .lb-thumbs { grid-row: 3; justify-content: flex-start; }
  .lb-caption { flex-direction: column; gap: .3rem; font-size: .88rem; }
}

/* trust grid: four cards */
.trust-grid { grid-template-columns: repeat(2, 1fr); }
.trust-card--land { grid-column: auto; }
@media (max-width: 575.98px) { .trust-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .lb-img { transition: none; } .map-placeholder i { animation: none; }
}
