/* ============================================================
   IndiaPolls Political Consulting - front-end stylesheet
   ============================================================ */

:root {
  /* palette */
  --navy-900: #08122b;
  --navy-800: #0d1b3e;
  --navy-700: #142653;
  --navy-600: #1d3670;
  --navy-100: #e8edf8;
  --navy-50:  #f4f7fd;

  --accent:      #e65647;
  --accent-dark: #c53d2f;
  --accent-soft: #fdedeb;

  --green:      #0f8a5f;
  --green-soft: #e6f5ef;

  --ink:      #16203a;
  --ink-soft: #55607a;
  --ink-mute: #7b849b;
  --line:     #e3e7f0;
  --white:    #ffffff;
  --bg:       #ffffff;
  --bg-alt:   #f6f8fc;

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

  --shadow-sm: 0 1px 2px rgba(13, 27, 62, .06), 0 2px 8px rgba(13, 27, 62, .05);
  --shadow:    0 4px 12px rgba(13, 27, 62, .07), 0 12px 32px rgba(13, 27, 62, .07);
  --shadow-lg: 0 18px 50px rgba(13, 27, 62, .14);

  --container: 1200px;
  --header-h:  76px;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;

  --ease: cubic-bezier(.22, .68, .36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--navy-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4, h5 { margin: 0 0 .6em; line-height: 1.18; font-weight: 700; letter-spacing: -.02em; color: var(--navy-800); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; }

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

button { font: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--navy-800); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy-800); color: #dbe3f5; }
.section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* ---------- section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}
.section--navy .eyebrow { color: var(--accent); }

.section-head { max-width: 680px; margin-bottom: 2.8rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 0; }
.section--navy .section-head p { color: #b9c4de; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1;
  cursor: pointer; text-align: center;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(230,86,71, .32); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 10px 24px rgba(230,86,71, .38); }

.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn--ghost:hover { border-color: var(--navy-800); color: var(--navy-800); }

.btn--light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy-800); }

.btn--sm { padding: .62rem 1.15rem; font-size: .86rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .92rem; color: var(--navy-600);
}
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #aab6d4;
  font-size: .84rem;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #c3cde6; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--accent); }
.topbar__contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar__social { display: flex; gap: .35rem; }
.topbar__social a {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07);
}
.topbar__social a:hover { background: var(--accent); color: #fff; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy-800); }

/* logo lockup */
.brand__logo { height: 46px; width: auto; }
.brand--light .brand__logo { height: 48px; }
@media (max-width: 640px) { .brand__logo, .brand--light .brand__logo { height: 36px; } }

.brand__mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  position: relative;
}
.brand__mark::after {
  content: ""; position: absolute; inset: auto 6px 6px auto;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.22rem; font-weight: 800; letter-spacing: -.03em; }
.brand__text small { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.brand--light { color: #fff; }
.brand--light .brand__text small { color: #93a1c4; }

/* ---------- navigation ---------- */
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .85rem; border-radius: 8px;
  font-size: .94rem; font-weight: 600; color: var(--ink);
  white-space: nowrap;
}
.nav__link:hover, .nav__link.active { color: var(--navy-600); background: var(--navy-50); }
.nav__link.active { color: var(--accent-dark); }

.nav__caret {
  width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px); transition: transform .2s var(--ease);
}
.nav__item--has-children { position: relative; }
.nav__item--has-children:hover .nav__caret { transform: rotate(225deg) translate(-2px, -2px); }

.nav__dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 310px; padding: .5rem; margin: 0;
  list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item--has-children:hover .nav__dropdown,
.nav__item--has-children:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__dropdown a {
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem .7rem; border-radius: 9px;
  font-size: .9rem; font-weight: 500; color: var(--ink);
}
.nav__dropdown a:hover { background: var(--navy-50); color: var(--navy-700); }
.nav__dropdown-icon {
  width: 30px; height: 30px; flex: none; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark);
}
@media (min-width: 901px) {
  .nav__dropdown { display: grid; grid-template-columns: repeat(2, minmax(250px, 1fr)); column-gap: .25rem; }
}
.nav__dropdown-all { grid-column: 1 / -1; margin-top: .35rem; padding-top: .35rem; border-top: 1px solid var(--line); }
.nav__dropdown .nav__dropdown-all a { justify-content: center; font-weight: 700; color: var(--accent-dark); }
.nav__dropdown .nav__dropdown-all a:hover { background: var(--accent-soft); color: var(--accent-dark); }

.nav__burger, .nav__close, .nav__toggle { display: none; background: none; border: 0; color: var(--navy-800); padding: .4rem; }
.header__actions { display: flex; align-items: center; gap: .75rem; }
.nav__cta-mobile { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-700) 55%, #24407f 100%);
  color: #dfe6f7;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(230,86,71,.28), transparent 46%),
    radial-gradient(circle at 8% 92%, rgba(15,138,95,.22), transparent 42%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  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: 62px 62px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 78%);
}
.hero > * { position: relative; z-index: 1; }

.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .95rem .4rem .5rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  font-size: .82rem; font-weight: 600; color: #e7edfb; margin-bottom: 1.4rem;
}
.hero__badge span.dot {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff;
}
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--accent); }
.hero__lead { font-size: clamp(1rem, 1.5vw, 1.14rem); color: #c2cde9; max-width: 34rem; margin-bottom: 1.9rem; }

.hero__points { list-style: none; padding: 0; margin: 1.9rem 0 0; display: grid; gap: .6rem; }
.hero__points li { display: flex; align-items: center; gap: .6rem; font-size: .94rem; color: #cfd8ee; }
.hero__points svg { color: var(--accent); flex: none; }

/* hero form card */
.hero__card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { margin-bottom: .3rem; }
.hero__card > p { color: var(--ink-soft); font-size: .9rem; margin-bottom: 1.3rem; }

/* ---------- forms ---------- */
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--navy-800); margin-bottom: .35rem; }
.field label .req { color: #d33; }

.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem;
  font: inherit; font-size: .94rem; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(29,54,112,.12);
}
.field input::placeholder, .field textarea::placeholder { color: #a3abc0; }
.field--error input, .field--error select, .field--error textarea { border-color: #d64545; }
.field__error { display: block; margin-top: .3rem; font-size: .8rem; color: #d64545; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-note { font-size: .8rem; color: var(--ink-mute); margin-top: .9rem; }

/* file input */
.field input[type="file"] { padding: .6rem; background: var(--bg-alt); cursor: pointer; }

/* ---------- alerts ---------- */
.alert {
  padding: .9rem 1.2rem; border-radius: 10px; margin: 1.5rem 0 0;
  font-size: .93rem; font-weight: 500;
  border: 1px solid transparent;
}
.alert--success { background: var(--green-soft); border-color: #b8e2d0; color: #0b6b4a; }
.alert--error   { background: #fdeaea; border-color: #f3c0c0; color: #a92626; }
.alert--info    { background: var(--navy-50); border-color: #cddaf3; color: var(--navy-700); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: clamp(3rem, 6vw, 4.6rem) 0;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 20%, rgba(230,86,71,.3), transparent 45%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero p { color: #bcc8e4; max-width: 44rem; font-size: 1.03rem; margin: 0; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: #9fb0d6; }
.breadcrumb a { color: #cdd8f0; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li + li::before { content: "/"; margin-right: .45rem; color: #6c7ea9; }

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; height: 100%;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd8ec; }

/* service card */
.service-card { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.service-card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--navy-600));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 1.1rem;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.service-card:hover .service-card__icon { background: var(--navy-800); color: #fff; }
.service-card h3 { font-size: 1.16rem; margin-bottom: .5rem; }
.service-card p { color: var(--ink-soft); font-size: .93rem; flex: 1; margin-bottom: 1.1rem; }

/* number card (process) */
.step-card { position: relative; padding-top: 2.4rem; }
.step-card__num {
  position: absolute; top: 1.3rem; right: 1.5rem;
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: var(--navy-100); letter-spacing: -.05em;
}
.step-card h3 { font-size: 1.08rem; }
.step-card p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.stat { text-align: center; padding: 1.6rem 1rem; border-radius: var(--radius); }
.section--navy .stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat__icon { color: var(--accent); margin: 0 auto .7rem; }
.stat__value { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.03em; }
.stat__label { font-size: .88rem; color: #a9b6d6; margin-top: .45rem; }

/* ---------- about / media split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }

.split__media { position: relative; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-50);
}
.media-frame img, .media-frame svg { width: 100%; display: block; }

.media-badge {
  position: absolute; left: -18px; bottom: -18px;
  background: var(--navy-800); color: #fff;
  border-radius: var(--radius); padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .9rem;
}
.media-badge strong { font-size: 1.9rem; font-weight: 800; line-height: 1; display: block; }
.media-badge span { font-size: .8rem; color: #a9b6d6; }
.media-badge svg { color: var(--accent); flex: none; }

/* check list */
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .75rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.check-list li strong { color: var(--navy-800); }
.check-list__mark {
  width: 22px; height: 22px; flex: none; border-radius: 50%; margin-top: 2px;
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green);
}

/* ---------- service detail ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.detail-body { font-size: 1.02rem; color: var(--ink-soft); }
.detail-body h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.detail-body h3 { margin-top: 1.8rem; }
.detail-body p { line-height: 1.8; }

.detail-hero-icon {
  width: 70px; height: 70px; border-radius: 18px; margin-bottom: 1.4rem;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 26px rgba(230,86,71,.35);
}

.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.5rem; }
.sidebar__box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.sidebar__box h4 { margin-bottom: 1rem; font-size: 1rem; }
.sidebar__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.sidebar__list a {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .7rem; border-radius: 9px;
  font-size: .9rem; font-weight: 500; color: var(--ink); background: #fff;
  border: 1px solid var(--line);
}
.sidebar__list a:hover { border-color: var(--navy-600); color: var(--navy-700); transform: translateX(3px); }
.sidebar__list svg { color: var(--accent-dark); flex: none; }

.sidebar__cta { background: var(--navy-800); color: #cdd7ee; border: 0; text-align: center; }
.sidebar__cta h4 { color: #fff; }
.sidebar__cta p { font-size: .9rem; margin-bottom: 1.2rem; }

.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.feature-list li {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .95rem 1.1rem; background: #fff;
  border: 1px solid var(--line); border-radius: 11px;
  font-size: .95rem; color: var(--ink);
}
.feature-list svg { color: var(--green); flex: none; margin-top: 3px; }

/* ---------- impact grid ---------- */
.impact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.impact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.impact-card__photo {
  position: relative; aspect-ratio: 4 / 3; background: var(--navy-50); overflow: hidden;
}
.impact-card__photo img, .impact-card__photo svg { width: 100%; height: 100%; object-fit: cover; }
.impact-card__year {
  position: absolute; top: 12px; left: 12px;
  background: rgba(8,18,43,.85); color: #fff;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  padding: .3rem .7rem; border-radius: 999px;
}
.impact-card__result {
  position: absolute; top: 12px; right: 12px;
  background: var(--green); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .3rem .65rem; border-radius: 999px;
}
.impact-card__body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.impact-card__body h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.impact-card__meta { font-size: .84rem; color: var(--ink-mute); margin-bottom: .8rem; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.impact-card__meta .party {
  font-weight: 700; color: var(--navy-700); background: var(--navy-50);
  padding: .15rem .55rem; border-radius: 6px; font-size: .78rem;
}
.impact-card__body p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.tag {
  font-size: .74rem; font-weight: 600; color: var(--accent-dark);
  background: var(--accent-soft); padding: .25rem .6rem; border-radius: 6px;
}

/* filter chips */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-chip {
  padding: .5rem 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  font-size: .87rem; font-weight: 600; color: var(--ink-soft);
  transition: all .18s var(--ease);
}
.filter-chip:hover { border-color: var(--navy-600); color: var(--navy-700); }
.filter-chip.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* ---------- timeline ---------- */
.timeline { position: relative; max-width: 900px; margin-inline: auto; padding-left: 0; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--accent), var(--navy-600)); transform: translateX(-50%);
}
.timeline__item { position: relative; width: 50%; padding: 0 2.6rem 2.6rem 0; }
.timeline__item:nth-child(even) { margin-left: 50%; padding: 0 0 2.6rem 2.6rem; }
.timeline__item::after {
  content: ""; position: absolute; top: 22px; right: -8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.timeline__item:nth-child(even)::after { right: auto; left: -8px; }
.timeline__year {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em;
  color: #fff; background: var(--navy-800); padding: .3rem .8rem; border-radius: 999px; margin-bottom: .8rem;
}
.timeline__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.timeline__card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.timeline__card p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* ---------- team ---------- */
.team-card { text-align: center; }
.team-card__photo {
  width: 128px; height: 128px; margin: 0 auto 1.2rem; border-radius: 50%;
  overflow: hidden; background: var(--navy-50);
  border: 4px solid #fff; box-shadow: 0 6px 22px rgba(13,27,62,.14);
}
.team-card__photo img, .team-card__photo svg { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: .2rem; font-size: 1.15rem; }
.team-card__role { color: var(--accent-dark); font-weight: 600; font-size: .88rem; margin-bottom: .2rem; }
.team-card__edu { color: var(--ink-mute); font-size: .82rem; margin-bottom: .9rem; }
.team-card p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- testimonials ---------- */
.quote-card { position: relative; padding-top: 2.6rem; }
.quote-card__mark { position: absolute; top: 1.4rem; left: 1.7rem; color: var(--navy-100); }
.quote-card blockquote { margin: 0 0 1.2rem; font-size: 1.02rem; line-height: 1.7; color: var(--ink); font-family: var(--font-serif); }
.quote-card__author { display: flex; align-items: center; gap: .8rem; }
.quote-card__author strong { display: block; font-size: .94rem; color: var(--navy-800); }
.quote-card__author span { font-size: .82rem; color: var(--ink-mute); }
.stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: .8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 92% 12%, rgba(230,86,71,.35), transparent 48%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: #c3cee9; margin: 0; max-width: 40rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__icon {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark);
}
.info-item h4 { margin-bottom: .15rem; font-size: .95rem; }
.info-item p, .info-item a { margin: 0; font-size: .93rem; color: var(--ink-soft); }
.info-item a:hover { color: var(--accent-dark); }

.map-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  height: 380px; background: var(--bg-alt);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }

/* ---------- accordion (FAQ) ---------- */
.accordion { display: grid; gap: .8rem; max-width: 860px; margin-inline: auto; }
.accordion__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.accordion__item.open { border-color: var(--navy-600); box-shadow: var(--shadow-sm); }
.accordion__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; background: none; border: 0; text-align: left;
  font-size: 1rem; font-weight: 600; color: var(--navy-800);
}
.accordion__btn:hover { color: var(--accent-dark); }
.accordion__icon { flex: none; transition: transform .25s var(--ease); color: var(--accent-dark); }
.accordion__item.open .accordion__icon { transform: rotate(45deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.accordion__panel-inner { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: .95rem; }

/* ---------- jobs ---------- */
.job-card { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; justify-content: space-between; }
.job-card__main { flex: 1 1 320px; }
.job-card h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
.job-meta span {
  font-size: .78rem; font-weight: 600; color: var(--navy-700);
  background: var(--navy-50); padding: .25rem .65rem; border-radius: 6px;
}
.job-card p { font-size: .93rem; color: var(--ink-soft); margin-bottom: .8rem; }
.job-req { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.job-req li { display: flex; gap: .55rem; font-size: .89rem; color: var(--ink-soft); }
.job-req svg { color: var(--green); flex: none; margin-top: 3px; }

/* ---------- footer ---------- */
.footer { background: var(--navy-900); color: #96a3c3; padding: clamp(3rem, 6vw, 4.5rem) 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer a { color: #96a3c3; }
.footer a:hover { color: var(--accent); }
.footer__col--about p { margin: 1.2rem 0; line-height: 1.7; }
.footer__social { display: flex; gap: .5rem; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #c3cde6;
}
.footer__social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.55; }
.footer__contact svg { color: var(--accent); flex: none; margin-top: 2px; }

.footer__subscribe { position: relative; margin-top: 1.4rem; }
.footer__subscribe input {
  width: 100%; padding: .8rem 3.2rem .8rem 1rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; color: #fff; font: inherit; font-size: .9rem;
}
.footer__subscribe input::placeholder { color: #7c89ab; }
.footer__subscribe input:focus { outline: none; border-color: var(--accent); }
.footer__subscribe button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; border-radius: 8px;
  background: var(--accent); color: #fff; display: grid; place-items: center;
}
.footer__subscribe button:hover { background: var(--accent-dark); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .86rem;
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 1.4rem; }

/* ---------- floating actions ---------- */
.float-whatsapp {
  position: fixed; right: 20px; bottom: 84px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 8px 22px rgba(37,211,102,.42);
  transition: transform .2s var(--ease);
}
.float-whatsapp:hover { transform: scale(1.08); color: #fff; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--navy-800); color: #fff;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .25s var(--ease);
  box-shadow: var(--shadow);
}
.to-top svg { transform: rotate(-90deg); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- empty state ---------- */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--ink-mute); }
.empty-state svg { margin: 0 auto 1rem; color: var(--navy-100); }

/* ============================================================
   Content carried over from the original site
   ============================================================ */

/* hero form card label */
.hero__card .eyebrow { margin-bottom: .45rem; }

/* service cards with a photo */
.service-card--media { padding: 0; }
.service-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-50); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card--media:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: 0 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card--media .service-card__icon {
  margin-top: -27px; position: relative; z-index: 1;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--accent-dark); }

/* artwork shown in place of a photo (services without an image yet) */
.service-card__media--art,
.detail-media.detail-media--art {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-600));
  color: rgba(255,255,255,.92);
}
.service-card__media--art::before,
.detail-media--art::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(230,86,71,.45), transparent 45%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}
.service-card__media--art svg, .detail-media--art svg { position: relative; transition: transform .5s var(--ease); }
.service-card--media:hover .service-card__media--art svg { transform: scale(1.08); }
.detail-media--art { height: clamp(200px, 30vw, 300px); }
.detail-media__cat {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  padding: .35rem .85rem; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  font-size: .8rem; font-weight: 600; color: #fff;
}

/* ---------- services page: categories ---------- */
.cat-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin: -1rem auto 3rem; }
.cat-nav a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.05rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: .9rem; font-weight: 600; color: var(--navy-800);
}
.cat-nav a:hover { border-color: var(--navy-600); }
.cat-nav svg { color: var(--accent-dark); }
.cat-nav span {
  font-size: .74rem; font-weight: 700; color: #fff; background: var(--navy-800);
  padding: .1rem .5rem; border-radius: 999px;
}
.svc-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.svc-group + .svc-group { margin-top: 3.6rem; }
.svc-group__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.svc-group__head h2 { font-size: 1.55rem; margin: 0; }
.svc-group__head p { margin: .2rem 0 0; color: var(--ink-soft); font-size: .95rem; }
.svc-group__icon {
  width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(230,86,71,.3);
}

/* ---------- homepage: all services by category ---------- */
.svc-cats { margin-top: 3.2rem; }
.svc-cats__title { text-align: center; font-size: 1.3rem; margin-bottom: 1.4rem; }
.svc-cats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.svc-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.svc-cat__head {
  display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; padding-bottom: .9rem;
  border-bottom: 1px solid var(--line); font-weight: 700; color: var(--navy-800);
}
.svc-cat__head:hover { color: var(--accent-dark); }
.svc-cat__icon {
  width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark);
}
.svc-cat ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.svc-cat li a {
  display: flex; align-items: center; gap: .6rem; padding: .45rem .5rem; border-radius: 8px;
  font-size: .9rem; color: var(--ink-soft);
}
.svc-cat li a:hover { background: var(--navy-50); color: var(--navy-800); }
.svc-cat li svg { color: var(--accent-dark); flex: none; }

/* founders strip (home) */
.founders-inline {
  margin-top: 1.6rem; padding: 1.3rem 1.4rem;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
}
.founders-inline__label {
  display: block; margin-bottom: .8rem;
  font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark);
}
.founders-inline__list { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; margin-bottom: .9rem; }
.founders-inline__item { display: flex; align-items: center; gap: .75rem; }
.founders-inline__item img {
  width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none;
  border: 3px solid #fff; box-shadow: 0 4px 12px rgba(13,27,62,.15);
}
.founders-inline__item strong { display: block; font-size: .95rem; color: var(--navy-800); line-height: 1.3; }
.founders-inline__item span { font-size: .8rem; color: var(--ink-mute); }
.founders-inline p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* states list + India map */
.state-chips { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.state-chips li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .95rem .4rem .4rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .88rem; font-weight: 600; color: var(--navy-800);
}
.state-chips li span {
  background: var(--navy-800); color: #fff; border-radius: 999px;
  font-size: .72rem; font-weight: 700; padding: .15rem .55rem;
}
.india-map { display: block; width: 100%; max-width: 470px; height: auto; margin-inline: auto; mix-blend-mode: multiply; }

/* ---------- service detail: image + rich body ---------- */
.detail-media {
  position: relative; margin: 0 0 2.2rem;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-50); box-shadow: var(--shadow);
}
.detail-media img { width: 100%; max-height: 470px; object-fit: cover; display: block; }
.detail-media__icon {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(230,86,71,.4);
}

.detail-body > p:first-child { font-size: 1.1rem; color: var(--ink); }
.detail-body > h2:first-child { margin-top: 0; }
.detail-body a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.detail-body strong { color: var(--navy-800); }

/* numbered cards: "Aspects of …" */
.detail-body ul.points {
  list-style: none; padding: 0; margin: 1.4rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem;
  counter-reset: pt;
}
.detail-body ul.points > li {
  position: relative; counter-increment: pt;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; font-size: .94rem; line-height: 1.7;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.detail-body ul.points > li:hover { border-color: #cfd8ec; box-shadow: var(--shadow-sm); }
.detail-body ul.points > li::before {
  content: counter(pt, decimal-leading-zero);
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: .75rem;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 800; font-size: .8rem;
}
.detail-body ul.points > li strong { display: block; font-size: 1rem; margin-bottom: .3rem; line-height: 1.4; }

/* check-mark rows: "… Features" */
.detail-body ul.points--list { grid-template-columns: 1fr; gap: .8rem; }
.detail-body ul.points--list > li { padding: 1.05rem 1.25rem 1.05rem 3.6rem; }
.detail-body ul.points--list > li::before {
  content: ""; position: absolute; left: 1.15rem; top: 1.1rem; margin: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8a5f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* short tick items */
.detail-body ul.ticks {
  list-style: none; padding: 0; margin: 1.2rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .7rem 1.4rem;
}
.detail-body ul.ticks > li { position: relative; padding-left: 2rem; font-size: .96rem; line-height: 1.6; color: var(--ink); }
.detail-body ul.ticks > li::before {
  content: ""; position: absolute; left: 0; top: .15em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8a5f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* "Why choose Indiapolls …" panel */
.detail-body .why-box {
  margin-top: 2.6rem; padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--navy-50); border: 1px solid #dbe3f3; border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
}
.detail-body .why-box h2 { margin-top: 0; }
.detail-body .why-box p:last-child { margin-bottom: 0; }

/* "Highlighted features …" panel */
.detail-body .highlight-box {
  margin-top: 1.6rem; padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--navy-800); border-radius: var(--radius-lg); color: #c9d3ec;
  position: relative; overflow: hidden;
}
.detail-body .highlight-box::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 95% 0%, rgba(230,86,71,.3), transparent 50%);
}
.detail-body .highlight-box > * { position: relative; z-index: 1; }
.detail-body .highlight-box h2 { color: #fff; margin-top: 0; font-size: 1.35rem; }
.detail-body .highlight-box p { color: #c9d3ec; margin-bottom: 0; }
.detail-body .highlight-box ul.ticks > li { color: #e6ecfa; }
.detail-body .highlight-box ul.ticks > li strong { color: #fff; }
.detail-body .why-box + .highlight-box { margin-top: 1.2rem; }

/* text beside an illustration (corporate services) */
.detail-body .body-split {
  display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 2rem; align-items: center;
  margin-top: 2.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line);
}
.detail-body .body-split h2 { margin-top: 0; }
.detail-body .body-split p:last-child { margin-bottom: 0; }
.detail-body .body-split figure { margin: 0; background: var(--bg-alt); border-radius: var(--radius); padding: 1rem; }
.detail-body .body-split img { width: 100%; height: auto; display: block; }
.detail-body .body-split--reverse { grid-template-columns: 260px minmax(0, 1fr); }
.detail-body .body-split--reverse figure { order: -1; }

/* FAQs on a service page */
.detail-faqs { margin-top: 3.2rem; }
.detail-faqs h2 { font-size: 1.6rem; margin-bottom: 1.3rem; }
.accordion--flush { max-width: none; }

/* ---------- impact cards with portrait photos ---------- */
.impact-card__photo { aspect-ratio: 1 / 1; }
/* shown until the client supplies a photo — names whose photo goes here */
.photo-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .35rem; padding: 1.2rem; text-align: center;
  background: repeating-linear-gradient(135deg, var(--navy-50) 0 14px, #edf1f9 14px 28px);
  border: 2px dashed #c5d0e6; color: var(--navy-600);
}
.impact-card__photo .photo-placeholder svg { width: 34px; height: 34px; object-fit: initial; }
.photo-placeholder strong { font-size: 1.05rem; color: var(--navy-800); }
.photo-placeholder span { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.founders-inline__item img { object-position: center top; }
.journey__media .photo-placeholder { min-height: 200px; border-radius: 10px; }
.journey__media img { height: auto; }
.detail-media.detail-media--placeholder { height: clamp(220px, 30vw, 320px); box-shadow: none; }
.service-card__media .photo-placeholder { border-width: 0 0 2px; }
.impact-card__meta > span { display: inline-flex; align-items: center; gap: .25rem; }
.impact-card__photo img { object-position: center top; }
.impact-card__label {
  display: block; margin: 0 0 .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute);
}

/* ---------- journey (state elections) ---------- */
.journey { list-style: none; padding: 0; margin: 0 auto; max-width: 1040px; position: relative; }
.journey::before {
  content: ""; position: absolute; left: 47px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--accent), var(--navy-600));
}
.journey__item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.6rem; padding-bottom: 2rem; position: relative; }
.journey__item:last-child { padding-bottom: 0; }
.journey__year span {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 96px; height: 40px; margin-top: 1.4rem; border-radius: 999px;
  background: var(--navy-800); color: #fff; font-weight: 800; font-size: .88rem; letter-spacing: .06em;
  box-shadow: 0 0 0 6px #fff;
}
.journey__card {
  display: grid; grid-template-columns: 290px minmax(0, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.journey__card--plain { grid-template-columns: 1fr; border-left: 4px solid var(--accent); }
.journey__media { display: grid; place-items: start center; padding: 1.4rem 1.2rem; background: var(--bg-alt); border-right: 1px solid var(--line); }
.journey__media img { width: 100%; max-height: 230px; object-fit: contain; border-radius: 10px; }
.journey__body { padding: 1.6rem 1.7rem; }
.journey__body h3 { font-size: 1.25rem; margin-bottom: .9rem; }
.journey__body p { margin: 0; color: var(--ink-soft); }
.journey__points { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.journey__points li { display: flex; gap: .6rem; font-size: .93rem; line-height: 1.65; color: var(--ink-soft); }
.journey__points svg { color: var(--green); flex: none; margin-top: 4px; }

/* ---------- founders (about) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; gap: 26px; }
.team-card__photo { width: 160px; height: 160px; }
.team-card__edu { display: inline-flex; align-items: center; gap: .35rem; }
.team-card__link {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-top: 1rem;
  border-radius: 9px; background: var(--navy-50); color: var(--navy-700);
}

/* ---------- founder spotlight (about) ---------- */
.founder { display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.founder__photo {
  position: relative; margin: 0; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-100); box-shadow: var(--shadow);
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.founder__photo figcaption {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  padding: .85rem 1.1rem; border-radius: var(--radius);
  background: rgba(8,18,43,.82); backdrop-filter: blur(4px); color: #fff;
}
.founder__photo figcaption strong { display: block; font-size: 1.05rem; }
.founder__photo figcaption span { font-size: .82rem; font-weight: 600; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.founder__meta { display: inline-flex; align-items: center; gap: .45rem; color: var(--accent-dark); font-weight: 600; font-size: .92rem; }
.founder__text p { color: var(--ink-soft); }
.founder__partner {
  display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; padding: 1rem 1.2rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.founder__partner img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.founder__partner strong { display: block; color: var(--navy-800); }
.founder__partner span { font-size: .85rem; color: var(--ink-mute); }

/* ---------- methodology (about) ---------- */
.method-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; counter-reset: none; }
.method-step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 1.6rem 1.6rem;
}
.method-step__num {
  position: absolute; top: 1.2rem; right: 1.4rem;
  font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--navy-100); letter-spacing: -.05em;
}
.method-step h3 { font-size: 1.1rem; }
.method-step p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
@media (min-width: 901px) {
  .method-step:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -1.15rem; width: .9rem; height: .9rem; z-index: 1;
    border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg);
  }
}
.method-field {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; align-items: center;
  margin-top: 2rem; padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--navy-50); border: 1px solid #dbe3f3; border-radius: var(--radius-lg);
}
.method-field__stat {
  text-align: center; padding: 1.6rem 1rem; border-radius: var(--radius);
  background: var(--navy-800); color: #c9d3ec;
}
.method-field__stat strong { display: block; font-size: 3rem; font-weight: 800; line-height: 1; color: #fff; margin-bottom: .5rem; }
.method-field__stat span { font-size: .88rem; }
.method-field__text h3 { margin-bottom: .6rem; }
.method-field__text p { color: var(--ink-soft); }
.method-field__text p:last-child { margin-bottom: 0; }
.method-field__chips { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.method-field__chips li {
  padding: .3rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .84rem; font-weight: 600; color: var(--navy-800);
}

/* ---------- why choose + nationwide expertise (about) ---------- */
.expertise {
  margin-top: 1.6rem; padding: 1.4rem 1.5rem;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius);
}
.expertise h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; margin-bottom: .6rem; }
.expertise h3 svg { color: var(--accent-dark); }
.expertise p { color: var(--ink-soft); font-size: .95rem; }
.state-chips--plain { margin-top: .4rem; }
.state-chips--plain li { padding: .35rem .85rem; }
.state-chips li.state-chips__more { background: transparent; border-style: dashed; color: var(--ink-mute); }
.map-badge-wrap { position: relative; }
.media-badge--map { left: auto; right: 0; bottom: 8%; }
.highlights-row { margin-top: 3rem; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.highlights-row h3 { text-align: center; font-size: 1.3rem; margin-bottom: .4rem; }
.feature-list--grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 400px; width: 100%; margin-inline: auto; }
  .method-field { grid-template-columns: 1fr; }
  .media-badge--map { right: 12px; bottom: 12px; }
}

/* ---------- FAQ page ---------- */
.faq-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; max-width: 860px; margin: 0 auto 3rem; }
.faq-nav a {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: .88rem; font-weight: 600; color: var(--ink-soft);
}
.faq-nav a:hover { border-color: var(--navy-600); color: var(--navy-700); }
.faq-nav svg { color: var(--accent-dark); }
.faq-group { max-width: 860px; margin: 0 auto 3rem; scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group:last-child { margin-bottom: 0; }
.faq-group__head { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.2rem; }
.faq-group__head h2 { flex: 1; margin: 0; font-size: 1.4rem; }
.faq-group__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark);
}

@media (max-width: 900px) {
  .journey__card { grid-template-columns: 1fr; }
  .journey__media { border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-body .body-split, .detail-body .body-split--reverse { grid-template-columns: 1fr; }
  .detail-body .body-split figure { order: 0; max-width: 320px; }
}

@media (max-width: 640px) {
  .journey::before { left: 9px; }
  .journey__item { grid-template-columns: 1fr; gap: .7rem; padding-left: 2rem; }
  .journey__year span { display: inline-grid; width: auto; height: 32px; padding: 0 1rem; margin-top: 0; }
  .journey__year span::before {
    content: ""; position: absolute; left: calc(-2rem + 2px); top: 9px;
    width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent);
  }
  .journey__body { padding: 1.3rem; }
  .founders-inline__list { flex-direction: column; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .split, .split--reverse .split__media { grid-template-columns: 1fr; order: 0; }
  .media-badge { left: 12px; bottom: 12px; }

  /* mobile nav */
  .header__cta { display: none; }
  .nav__burger { display: grid; place-items: center; }
  .nav__close { display: grid; place-items: center; position: absolute; top: 14px; right: 14px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 200;
    background: #fff; padding: 4.2rem 1.2rem 2rem;
    box-shadow: -12px 0 40px rgba(8,18,43,.18);
    transform: translateX(100%); transition: transform .3s var(--ease), visibility 0s linear .3s;
    overflow-y: auto;
    visibility: hidden; /* closed panel: no edge shadow, links not focusable */
  }
  .nav.open { transform: translateX(0); visibility: visible; transition: transform .3s var(--ease); }
  .nav__list { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav__link { padding: .8rem .9rem; font-size: 1rem; border-radius: 10px; }
  .nav__caret { display: none; }
  .nav__item--has-children { padding-right: 0; }
  .nav__toggle {
    display: grid; place-items: center;
    position: absolute; top: 4px; right: 4px;
    width: 40px; height: 40px; border-radius: 8px; background: var(--navy-50);
  }
  .nav__toggle.open svg { transform: rotate(45deg); }
  .nav__toggle svg { transition: transform .2s var(--ease); }
  .nav__dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: .2rem 0 .4rem .9rem; padding: 0 0 0 .3rem;
    min-width: 0; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .nav__dropdown.open { max-height: 760px; }
  .nav__cta-mobile { display: block; margin-top: 1.4rem; }

  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: ""; position: fixed; inset: 0; z-index: 150;
    background: rgba(8,18,43,.5); backdrop-filter: blur(2px);
  }

  .timeline::before { left: 8px; }
  .timeline__item, .timeline__item:nth-child(even) {
    width: 100%; margin-left: 0; padding: 0 0 2rem 2.2rem;
  }
  .timeline__item::after, .timeline__item:nth-child(even)::after { left: 0; right: auto; }
}

@media (max-width: 640px) {
  .topbar__contact { gap: .9rem; font-size: .78rem; }
  .topbar__contact a span { display: none; }
  .topbar__contact a::after { content: attr(data-label); }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; align-items: center; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero__card { padding: 1.5rem; }
  .grid { gap: 18px; }
}

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

/* ---------- print ---------- */
@media print {
  .topbar, .header, .footer, .float-whatsapp, .to-top, .btn { display: none !important; }
  body { color: #000; }
}
