/* ==========================================================================
   Society Redevelopment Mumbai — design system
   Theme: light + royal blue. Frameless, airy, animated, professional.
   White base · #1D4ED8 bright accent · #1E40AF CTA/eyebrow ·
   blue-gradient highlights · #F3F5FA tint · Space Grotesk + Inter.
   ========================================================================== */

:root {
  --paper: #FFFFFF;
  --surface: #F4F7FC;
  --surface-soft: #EAEFF8;
  --ink: #101418;
  --ink-soft: #4B5563;
  --muted: #6B7280;
  --line: #E4E9F2;
  --line-strong: #CDD6E6;

  --brand: #1E40AF;
  --brand-deep: #1E3A8A;
  --brand-tint: #E8EEFB;
  --accent: #1E40AF;
  --accent-bright: #1D4ED8;
  --accent-tint: #E8EEFB;
  --gold: #1D4ED8;
  --danger: #B3261E;
  --success: #1E6B4A;
  --whatsapp: #1FAF57;

  --sky: #38BDF8;
  --sky-deep: #0EA5E9;
  --sky-ink: #0369A1;
  --sky-tint: #E0F2FE;
  --navy: #0E1B33;
  --navy-deep: #0A1526;

  --grad-blue: linear-gradient(130deg, #1E40AF 0%, #1D4ED8 52%, #2563EB 100%);
  --grad-soft: linear-gradient(130deg, #EAF4FE 0%, #E6EEFC 100%);
  --grad-sky: linear-gradient(130deg, #0EA5E9 0%, #38BDF8 100%);

  --font-display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --container: none;
  --gutter: clamp(1.25rem, 3.5vw, 4.5rem);
  --gap: clamp(1.75rem, 3vw, 2rem);

  --shadow-card: 0 1px 2px rgba(16, 20, 24, 0.05), 0 8px 30px -20px rgba(16, 20, 24, 0.28);
  --shadow-blue: 0 18px 40px -20px rgba(29, 78, 216, 0.5);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 0.8em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }

ul, ol { padding-left: 1.35rem; margin: 0 0 1.1rem; }
li { margin-bottom: 0.4rem; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: calc(var(--gap) / 2); }
.section-tight { padding-block: calc(var(--gap) / 2); }

.section-head { max-width: none; margin-bottom: var(--gap); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-ink);
  margin-bottom: 0.75rem;
}

.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--ink-soft); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 200;
}
.skip-link:focus { left: 0.5rem; color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Header (light, frameless)
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px -24px rgba(16, 20, 24, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
  animation: navIn 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  min-height: 44px;
}

.brand-mark { flex: 0 0 auto; width: 38px; height: 38px; transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }

.brand-logo { flex: 0 0 auto; height: 44px; width: auto; transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand:hover .brand-logo { transform: rotate(-3deg) scale(1.05); }

@media (max-width: 480px) {
  .brand-logo { height: 38px; }
  .brand-name { font-size: 0.95rem; }
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
}
.brand-name em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.2vw, 1.2rem);
}

.site-nav > a {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 0.6rem 0.55rem;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 200ms ease;
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.6rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav > a:hover { color: var(--ink); }
.site-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); }

.site-nav > a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav > a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  color: var(--ink);
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter) 1.25rem;
    gap: 0.25rem;
    box-shadow: 0 22px 40px -26px rgba(16, 20, 24, 0.45);
  }
  .site-nav.open { display: flex; animation: navIn 300ms ease-out both; }
  .site-nav > a { padding: 0.8rem 0.6rem; font-size: 1.05rem; color: var(--ink-soft); }
  .site-nav > a:hover { color: var(--ink); background: var(--surface-soft); }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .site-nav > a[aria-current="page"] { color: var(--brand-deep); box-shadow: inset 3px 0 0 var(--accent-bright); padding-left: 0.9rem; border-radius: 0; }
  .nav-cta { margin-top: 0.6rem; justify-content: center; }
}

.site-nav > a.nav-cta,
.site-nav > a.nav-cta[aria-current="page"] {
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  box-shadow: none;
  background: var(--accent-bright);
  transition: background-color 180ms ease, transform 150ms ease, box-shadow 180ms ease;
}

.site-nav > a.nav-cta:hover { color: #fff; background: var(--brand); transform: translateY(-1px); box-shadow: var(--shadow-blue); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-body);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  min-height: 48px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 150ms ease, box-shadow 180ms ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--accent-bright); color: #fff; }
.btn-primary:hover { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-blue); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-deep); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: #F1F5FF; color: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(16, 20, 24, 0.5); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #178A44; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(24, 128, 66, 0.7); }

.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.06rem; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.5rem, 3.5vw, 2.75rem) calc(var(--gap) / 2);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -10%;
  width: 54rem;
  height: 54rem;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.28), rgba(37, 99, 235, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: floatBlob 14s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -34%;
  left: -12%;
  width: 46rem;
  height: 46rem;
  background: radial-gradient(closest-side, rgba(14, 165, 233, 0.24), rgba(14, 165, 233, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: floatBlob 18s ease-in-out -5s infinite alternate;
}

@keyframes floatBlob {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6rem, 4rem, 0) scale(1.2); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { justify-self: stretch; max-width: none; }
}

.hero h1 { max-width: 20ch; }
.hero .lead { max-width: 48rem; margin-bottom: 1.75rem; }

/* Raise the hero text so it sits a touch above centre against the taller form */
@media (min-width: 941px) {
  .hero-copy { transform: translateY(-1.25cm); }
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.6rem; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-points li { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; }
.hero-points svg { color: var(--success); flex: 0 0 auto; }

.hero-panel {
  width: 100%;
  max-width: 36rem;
  justify-self: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
}

.hero-panel h2 {
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-panel ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.hero-panel ol li {
  counter-increment: step;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.hero-panel ol li::before {
  content: counter(step);
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}

.hero-panel ol li strong { display: block; font-weight: 600; }
.hero-panel ol li span { color: var(--ink-soft); font-size: 0.92rem; display: block; }

/* --------------------------------------------------------------------------
   Hero redevelopment animation (G+3 demolished → G+20 built)
   -------------------------------------------------------------------------- */

.hero-scene {
  width: 100%;
  max-width: 36rem;
  justify-self: end;
  align-self: center;
  background: linear-gradient(180deg, #E9F1FF 0%, #F4F9FF 55%, #FFFFFF 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0.9rem 0.9rem 0.65rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  animation: slideInRight 900ms cubic-bezier(0.22, 1, 0.36, 1) 250ms both;
}

@media (max-width: 940px) {
  .hero-scene { justify-self: stretch; max-width: none; margin-top: 0.5rem; }
}

.hero-scene .redev-svg { display: block; width: 100%; height: auto; }
.hero-scene .scene-cap { text-align: center; font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); margin: 0.55rem 0 0.2rem; }

/* Hero "Ask an expert" lead form */
.hero-form {
  width: 100%;
  max-width: 30rem;
  justify-self: end;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent-bright);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
  animation: slideInRight 900ms cubic-bezier(0.22, 1, 0.36, 1) 250ms both;
}

@media (max-width: 940px) {
  .hero-form { justify-self: stretch; max-width: none; }
}

.hero-form-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky-ink);
  background: var(--sky-tint);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.hero-form h2 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.hero-form > p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.15rem; }
.hero-form .field { margin-bottom: 0.8rem; }
.hero-form-submit { width: 100%; margin-top: 0.3rem; }
.hero-form-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 0.75rem; }

.redev-svg .old-building,
.redev-svg .new-building,
.redev-svg .dust { transform-box: fill-box; transform-origin: center bottom; }
.redev-svg .wrecker { transform-box: view-box; transform-origin: 150px 26px; }

.redev-svg .old-building,
.redev-svg .wrecker,
.redev-svg .dust,
.redev-svg .crane,
.redev-svg .label-old { opacity: 0; }
.redev-svg .new-building,
.redev-svg .label-new,
.redev-svg .people { opacity: 1; }

.redev-svg .old-building { animation: rdOld 15s linear infinite; }
.redev-svg .wrecker { animation: rdWreck 15s linear infinite; }
.redev-svg .dust { animation: rdDust 15s linear infinite; }
.redev-svg .new-building { animation: rdNew 15s linear infinite; }
.redev-svg .crane { animation: rdCrane 15s linear infinite; }
.redev-svg .crane-load { animation: rdHook 2.6s ease-in-out infinite; }
.redev-svg .people { animation: rdPeople 15s ease-in-out infinite; }
.redev-svg .label-old { animation: rdLabelOld 15s linear infinite; }
.redev-svg .label-new { animation: rdLabelNew 15s linear infinite; }

@keyframes rdOld {
  0% { opacity: 0; transform: scaleY(1); }
  3% { opacity: 1; transform: scaleY(1); }
  20% { opacity: 1; transform: scaleY(1); }
  24% { opacity: 1; transform: scaleY(0.93) skewX(2deg); }
  30% { opacity: 0.5; transform: scaleY(0.18) skewX(1deg); }
  34% { opacity: 0; transform: scaleY(0.03); }
  100% { opacity: 0; transform: scaleY(0.03); }
}
@keyframes rdWreck {
  0%, 10% { opacity: 0; transform: rotate(-12deg); }
  12% { opacity: 1; transform: rotate(-46deg); }
  17% { opacity: 1; transform: rotate(28deg); }
  20% { opacity: 1; transform: rotate(-18deg); }
  24% { opacity: 1; transform: rotate(22deg); }
  27% { opacity: 1; transform: rotate(-8deg); }
  32% { opacity: 0; transform: rotate(6deg); }
  100% { opacity: 0; transform: rotate(6deg); }
}
@keyframes rdDust {
  0%, 22% { opacity: 0; transform: scale(0.4); }
  28% { opacity: 0.85; transform: scale(1); }
  40% { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(1.5); }
}
@keyframes rdNew {
  0%, 34% { opacity: 0; transform: scaleY(0); }
  37% { opacity: 1; transform: scaleY(0.03); }
  80% { opacity: 1; transform: scaleY(1); }
  95% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); }
}
@keyframes rdCrane {
  0%, 34% { opacity: 0; }
  38% { opacity: 1; }
  90% { opacity: 1; }
  96% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes rdHook {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(13px); }
}
@keyframes rdPeople {
  0%, 82% { transform: translateY(0); }
  86% { transform: translateY(-9px); }
  90% { transform: translateY(0); }
  94% { transform: translateY(-6px); }
  98% { transform: translateY(0); }
}
@keyframes rdLabelOld {
  0% { opacity: 0; }
  4% { opacity: 1; }
  20% { opacity: 1; }
  26% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes rdLabelNew {
  0%, 44% { opacity: 0; }
  50% { opacity: 1; }
  95% { opacity: 1; }
  100% { opacity: 0; }
}

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.1rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.3rem;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.card:hover {
  border-color: var(--sky-deep);
  box-shadow: 0 24px 50px -24px rgba(16, 20, 24, 0.4);
  transform: translateY(-10px) scale(1.02);
}

.card h3 { margin: 0.35rem 0 0; font-size: 1.08rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.card a.card-link { text-decoration: none; color: inherit; }
.card a.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 200ms ease, color 200ms ease;
}

.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); background: var(--accent-bright); color: #fff; }

.card-meta { margin-top: auto; padding-top: 0.7rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

.badge-soon { background: var(--sky-tint); color: var(--sky-ink); }
.badge-free { background: var(--brand-tint); color: var(--brand-deep); }

/* --------------------------------------------------------------------------
   Definition / callout blocks
   -------------------------------------------------------------------------- */

.definition {
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-bright);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  max-width: 72rem;
}

.definition h2, .definition h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.definition p { color: var(--ink-soft); }

.callout {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--accent-tint);
  border: 1px solid #C3D2F2;
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  color: #1E3A8A;
  font-size: 0.98rem;
}

.callout svg { flex: 0 0 auto; margin-top: 0.2rem; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.1rem;
  counter-reset: bigstep;
}

.steps li {
  counter-increment: bigstep;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  margin: 0;
  position: relative;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.steps li:hover { border-color: var(--accent-bright); box-shadow: var(--shadow-card); transform: translateY(-4px); }

.step-link { text-decoration: none; color: inherit; display: block; }
.step-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.steps li:hover strong { color: var(--brand-deep); }

.steps li::before {
  content: "0" counter(bigstep);
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 0.5rem;
}

.steps li strong { display: block; font-size: 1.05rem; margin-bottom: 0.3rem; }
.steps li span { color: var(--ink-soft); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Split audience cards
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1.25rem;
}

.split-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.split-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.split-card.alt {
  position: relative;
  overflow: hidden;
  background: var(--grad-blue);
  background-size: 200% 200%;
  border-color: transparent;
  color: #E1E9FC;
  animation: gradientShift 12s ease-in-out infinite alternate;
}
.split-card.alt:hover { box-shadow: var(--shadow-blue); }
.split-card.alt h2, .split-card.alt h3 { color: #fff; }
.split-card.alt p { color: #DDE7FC; }
.split-card.alt li { color: #E1E9FC; }
.split-card.alt .eyebrow { color: #BFD3F9 !important; }
.split-card ul { margin: 0 0 0.75rem; }
.split-card .btn { align-self: flex-start; margin-top: auto; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list { max-width: none; }

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 0.75rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.faq-list details:last-child { margin-bottom: 0; }
.container > :last-child { margin-bottom: 0; }

.faq-list details[open] { border-color: var(--accent-bright); box-shadow: var(--shadow-card); }

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 1.05rem 1.3rem;
  min-height: 44px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-bright);
  flex: 0 0 auto;
  line-height: 1;
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-list details[open] summary::after { transform: rotate(135deg); }

.faq-list details > div {
  padding: 0 1.3rem 1.2rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Contact band (bright blue, animated — not dark)
   -------------------------------------------------------------------------- */

.band {
  position: relative;
  overflow: hidden;
  background: var(--grad-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.band h2 { color: var(--ink); }
.band p { color: var(--ink-soft); }
.band .btn-light { background: var(--accent-bright); color: #fff; }
.band .btn-light:hover { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-blue); }

.band-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }

@media (max-width: 800px) {
  .band { grid-template-columns: 1fr; }
  .band-actions { justify-content: flex-start; }
}

@keyframes gradientShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* --------------------------------------------------------------------------
   Breadcrumbs & page headers
   -------------------------------------------------------------------------- */

.breadcrumbs {
  padding-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 0.35rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-deep); text-decoration: underline; }

.page-head { padding-block: calc(var(--gap) / 2) var(--gap); }
.page-head h1 { max-width: none; }
.page-head .lead { max-width: none; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 60rem;
  box-shadow: var(--shadow-card);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }

.field label { font-weight: 600; font-size: 0.95rem; }
.field label .req { color: var(--danger); }

.field .hint { font-size: 0.85rem; color: var(--muted); }

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  min-height: 48px;
  width: 100%;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea { min-height: 7.5rem; resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(29, 78, 216, 0.22);
  outline-offset: 0;
  border-color: var(--brand);
}

.form-foot { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-foot .note { font-size: 0.85rem; color: var(--muted); max-width: 24rem; }

.form-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.form-tabs a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, transform 150ms ease;
}

.form-tabs a:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-1px); }
.form-tabs a[aria-current="page"] { background: var(--accent-bright); border-color: var(--accent-bright); color: #fff; }

/* --------------------------------------------------------------------------
   Prose (guide/tool inner content)
   -------------------------------------------------------------------------- */

.prose { max-width: none; }
.prose h2 { font-size: 1.55rem; margin-top: 1.6rem; }
.prose h3 { margin-top: 1.15rem; }
.prose ul li, .prose ol li { margin-bottom: 0.35rem; }
.prose p { margin-bottom: 0.75em; }

/* --------------------------------------------------------------------------
   Footer (light)
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: clamp(3rem, 8vw, 5rem);
  background: var(--navy);
  border-top: 3px solid var(--sky-deep);
  color: #AAB6CC;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.9fr 1.1fr;
  gap: 2rem;
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.site-footer h4 {
  color: #FFFFFF;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { position: relative; color: #AAB6CC; text-decoration: none; transition: color 160ms ease; }
.site-footer a::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1); }
.site-footer a:hover { color: #FFFFFF; }
.site-footer a:hover::after { transform: scaleX(1); }

.footer-brand .brand-name { color: #FFFFFF; font-family: var(--font-display); font-size: 1.05rem; }
.footer-brand .brand-name em { display: block; font-style: normal; font-size: 0.72rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.footer-brand p { margin-top: 0.9rem; max-width: 26rem; color: #8A99B4; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  color: #7E8DA8;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   WhatsApp floating button
   -------------------------------------------------------------------------- */

.whatsapp-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(24, 128, 66, 0.6);
  transition: transform 150ms ease, background-color 150ms ease;
  animation: fabPulse 2.8s ease-out infinite;
}

.whatsapp-fab:hover { background: #178A44; transform: scale(1.08); color: #fff; animation-play-state: paused; }

@keyframes fabPulse {
  0% { box-shadow: 0 10px 24px -8px rgba(24, 128, 66, 0.6), 0 0 0 0 rgba(31, 175, 87, 0.5); }
  70% { box-shadow: 0 10px 24px -8px rgba(24, 128, 66, 0.6), 0 0 0 16px rgba(31, 175, 87, 0); }
  100% { box-shadow: 0 10px 24px -8px rgba(24, 128, 66, 0.6), 0 0 0 0 rgba(31, 175, 87, 0); }
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */

.center { text-align: center; }
.mt-2 { margin-top: var(--gap); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Motion — entrances & scroll reveals
   -------------------------------------------------------------------------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .eyebrow, .hero h1, .hero .lead, .hero-ctas, .hero-points {
  animation: fadeUp 550ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero .eyebrow { animation-delay: 60ms; }
.hero h1 { animation-delay: 120ms; }
.hero .lead { animation-delay: 200ms; }
.hero-ctas { animation-delay: 280ms; }
.hero-points { animation-delay: 360ms; }
.hero-panel { animation: slideInRight 900ms cubic-bezier(0.22, 1, 0.36, 1) 250ms both; }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(70px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.hero-panel ol li { animation: fadeUp 600ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-panel ol li:nth-child(1) { animation-delay: 650ms; }
.hero-panel ol li:nth-child(2) { animation-delay: 800ms; }
.hero-panel ol li:nth-child(3) { animation-delay: 950ms; }

.page-head .eyebrow, .page-head h1, .page-head .lead {
  animation: fadeUp 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.page-head h1 { animation-delay: 90ms; }
.page-head .lead { animation-delay: 170ms; }

.will-reveal { opacity: 0; transform: translateY(54px) scale(0.94); will-change: opacity, transform; }
.will-reveal.revealed {
  opacity: 1;
  transform: none;
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.will-reveal.rv-left { transform: translateX(-70px); }
.will-reveal.rv-right { transform: translateX(70px); }
.will-reveal.rv-zoom { transform: scale(0.82); }
.will-reveal.rv-left.revealed, .will-reveal.rv-right.revealed, .will-reveal.rv-zoom.revealed { transform: none; }

/* --------------------------------------------------------------------------
   Extended animations & interactions — animate as much as possible
   -------------------------------------------------------------------------- */

@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Scroll progress bar (element injected by main.js) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad-sky);
  background-size: 200% 100%;
  z-index: 200;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 10px rgba(29, 78, 216, 0.5);
  transition: width 90ms linear;
  pointer-events: none;
}

/* Shine sweep across buttons on hover */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 65%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-18deg);
  transition: left 650ms ease;
  pointer-events: none;
}
.btn:hover::before { left: 140%; }

/* Staggered nav entrance on desktop */
@media (min-width: 961px) {
  .site-nav > a { animation: fadeDown 500ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .site-nav > a:nth-child(1) { animation-delay: 130ms; }
  .site-nav > a:nth-child(2) { animation-delay: 185ms; }
  .site-nav > a:nth-child(3) { animation-delay: 240ms; }
  .site-nav > a:nth-child(4) { animation-delay: 295ms; }
  .site-nav > a:nth-child(5) { animation-delay: 350ms; }
  .site-nav > a:nth-child(6) { animation-delay: 405ms; }
}

/* Breadcrumbs entrance */
.breadcrumbs { animation: fadeUp 500ms ease both; animation-delay: 60ms; }

/* Hero points hover pop */
.hero-points li { transition: transform 180ms ease; }
.hero-points li:hover { transform: translateY(-2px); }
.hero-points svg { transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.hero-points li:hover svg { transform: scale(1.25); }

/* Hero panel steps hover */
.hero-panel ol li { transition: transform 160ms ease; }
.hero-panel ol li:hover { transform: translateX(3px); }
.hero-panel ol li:hover::before { background: var(--accent-bright); color: #fff; }
.hero-panel ol li::before { transition: background-color 180ms ease, color 180ms ease; }

/* FAQ summary hover */
.faq-list summary { transition: background-color 160ms ease, color 160ms ease; }
.faq-list summary:hover { background: var(--surface); color: var(--brand-deep); }
.faq-list details { transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease; }
.faq-list details:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

/* Breadcrumb link hover */
.breadcrumbs a { transition: color 160ms ease; }

/* Form label highlight on focus */
.field label { transition: color 160ms ease; }
.field:focus-within label { color: var(--brand); }

/* Badge pop when its card is hovered */
.card .badge { transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.card:hover .badge { transform: scale(1.07); }

/* Definition / callout hover lift */
.definition, .callout { transition: transform 200ms ease, box-shadow 200ms ease; }
.definition:hover, .callout:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

/* Eyebrow subtle slide-in */
.eyebrow { animation: fadeDown 500ms ease both; }

/* Continuous locality marquee */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.marquee-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky-deep); flex: 0 0 auto; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .will-reveal { opacity: 1; transform: none; }
  .redev-svg * { animation: none !important; }
  .redev-svg .new-building,
  .redev-svg .label-new,
  .redev-svg .people { opacity: 1 !important; transform: none !important; }
  .redev-svg .old-building,
  .redev-svg .wrecker,
  .redev-svg .dust,
  .redev-svg .crane,
  .redev-svg .label-old { opacity: 0 !important; }
}
