/* =====================================================================
   S. Misra & Associates — Chartered Accountants
   Corporate system: navy + white, deep green accent, IBM Plex Sans,
   square edges, hairline rules, minimal shadow.
   ===================================================================== */

:root {
  --navy: #0a2b45;
  --navy-900: #061c2e;
  --navy-700: #163f60;
  --green: #0e7a52;
  --green-600: #0b6343;
  --grey: #f4f5f7;
  --text: #1a2530;
  --muted: #5a6672;
  --line: #dde2e7;
  --line-dark: #c5ced6;

  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --r: 2px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 104px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font: 400 1rem/1.7 var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); margin: 0 0 .5em; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.1; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.02em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.bg-ice, .bg-mint, .bg-sand { background: var(--grey); }

.eyebrow { display: flex; align-items: center; gap: 12px; font: 600 .76rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.head-center .eyebrow { justify-content: center; }
.lead { font-size: 1.06rem; color: var(--muted); }
.head-center { text-align: center; max-width: 700px; margin: 0 auto clamp(36px, 5vw, 56px); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(32px, 4vw, 48px); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.head-row > div { max-width: 660px; }
.head-row h2, .head-center h2 { margin-bottom: 10px; }
.head-row .lead, .head-center .lead { margin: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--r); font: 600 .92rem/1 var(--font); letter-spacing: .01em; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-600); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--grey); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 6px; font: 600 .88rem var(--font); color: var(--green); }
.more .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.more:hover .icon { transform: translateX(4px); }
.round-arrow { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--navy); flex: none; transition: background-color .2s, border-color .2s, color .2s; }
.round-arrow .icon { width: 16px; height: 16px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy-900); color: #aebdca; font-size: .83rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #9fd9bf; }
.topbar .icon { width: 14px; height: 14px; color: #9fd9bf; }
.topbar__r { display: flex; gap: 24px; }
.topbar__msg strong { color: #fff; font-weight: 600; }
@media (max-width: 860px) { .topbar__msg { display: none; } .topbar .container { justify-content: center; } }
@media (max-width: 480px) { .topbar__mail { display: none !important; } }

.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 16px -12px rgba(10,43,69,.3); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 44px; height: 44px; flex: none; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.1; padding-left: 12px; border-left: 1px solid var(--line); }
.logo__txt strong { font: 600 1.14rem var(--font); color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }
.logo__txt span { font: 500 .68rem var(--font); color: var(--muted); letter-spacing: .2em; text-transform: uppercase; margin-top: 5px; white-space: nowrap; }
.nav { display: none; align-items: stretch; height: 100%; gap: 4px; }
.nav a { display: flex; align-items: center; font: 500 .93rem var(--font); color: var(--text); padding: 0 14px; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--green); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.header__cta { display: none !important; white-space: nowrap; }
.menu-btn { width: 44px; height: 44px; border: 1px solid var(--line-dark); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; border-radius: var(--r); }
@media (min-width: 1140px) { .nav { display: flex; } .header__cta { display: inline-flex !important; } .menu-btn { display: none; } }

.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6,28,46,.55); opacity: 0; transition: opacity .25s; }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 88vw); background: #fff; padding: 18px 22px 26px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; }
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 2px; border-bottom: 1px solid var(--line); font: 500 1.05rem var(--font); color: var(--navy); }
.drawer nav a[aria-current="page"] { color: var(--green); font-weight: 600; }
.drawer nav .icon { width: 16px; height: 16px; color: var(--muted); }
.drawer__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 6vw, 80px) 0 clamp(120px, 11vw, 150px); background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 38%; background: var(--grey); }
@media (max-width: 979px) { .hero::before { display: none; } }
.hero .container { position: relative; display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .hero .container { grid-template-columns: 1.1fr .9fr; } }
.hero__kicker { font: 600 .8rem var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.hero__kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.hero h1 { color: var(--navy); }
.hero h1 span { color: var(--green); }
.hero__lead { font-size: 1.08rem; color: var(--muted); max-width: 54ch; margin: 20px 0 24px; }
.ticks { display: grid; gap: 0; margin-bottom: 32px; border-top: 1px solid var(--line); max-width: 520px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.ticks .icon { width: 18px; height: 18px; color: var(--green); stroke-width: 2.2; margin-top: 4px; }

.hero__media { position: relative; max-width: 480px; width: 100%; margin: 0 auto; }
.hero__photo { margin: 0; aspect-ratio: 4 / 4.6; overflow: hidden; background: #dde3e8; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.hero__name { position: absolute; left: -24px; bottom: 96px; background: var(--navy); color: #fff; padding: 16px 20px; border-left: 3px solid var(--green); }
.hero__name strong { display: block; font-size: 1rem; }
.hero__name span { font-size: .8rem; color: #aebdca; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-top: 0; }
.hero__facts div { padding: 16px 14px; border-right: 1px solid var(--line); }
.hero__facts div:last-child { border-right: 0; }
.hero__facts strong { display: block; font: 600 1.45rem/1 var(--font); color: var(--navy); letter-spacing: -.02em; }
.hero__facts span { display: block; margin-top: 6px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .hero__name { left: 0; bottom: 84px; padding: 12px 14px; } .hero__facts strong { font-size: 1.2rem; } }

/* ---------- Feature strip ---------- */
.strip { position: relative; z-index: 2; margin-top: -72px; }
.strip__grid { display: grid; border: 1px solid var(--line); background: #fff; }
@media (min-width: 860px) { .strip__grid { grid-template-columns: repeat(3, 1fr); } }
.strip__item { padding: 28px 28px 30px; display: grid; grid-template-columns: 40px 1fr; gap: 16px; background: #fff; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .strip__item { border-bottom: 0; border-right: 1px solid var(--line); } .strip__item:last-child { border-right: 0; } }
.strip__item:nth-child(2) { background: var(--navy); color: #c3d0db; }
.strip__item:nth-child(3) { background: var(--green); color: #e2f3eb; }
.strip__item h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.strip__item:nth-child(n+2) h3 { color: #fff; }
.strip__item p { margin: 0; font-size: .94rem; }
.strip__item:first-child p { color: var(--muted); }
.strip__ic { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--green); }
.strip__item:nth-child(n+2) .strip__ic { border-color: rgba(255,255,255,.35); color: #fff; }

/* ---------- Forums strip ---------- */
.forums { padding: clamp(40px, 5vw, 56px) 0 0; }
.forums .container { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; justify-content: center; }
.forums p { margin: 0; font: 600 .74rem var(--font); color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }
.forums ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; }
.forums li { font: 600 1.05rem var(--font); color: #8a97a3; letter-spacing: .02em; }

/* ---------- About block ---------- */
.about { display: grid; gap: clamp(48px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1fr; } }
.about__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; }
.about__pics img { width: 100%; height: 100%; object-fit: cover; }
.about__pics .p1 { grid-row: span 2; aspect-ratio: 3 / 4.2; object-position: 50% 25%; }
.about__pics .p2, .about__pics .p3 { aspect-ratio: 4 / 3.4; }
.since { position: absolute; right: -16px; bottom: -20px; background: var(--navy); color: #fff; padding: 18px 22px; max-width: 250px; border-left: 3px solid var(--green); }
.since strong { display: block; font: 600 1rem/1.4 var(--font); color: #fff; }
@media (max-width: 560px) { .since { right: 0; bottom: -16px; padding: 12px 16px; } }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 30px; border: 1px solid var(--line); }
.mini-stats div { padding: 16px 12px; border-right: 1px solid var(--line); }
.mini-stats div:last-child { border-right: 0; }
.mini-stats strong { display: block; font: 600 1.6rem/1.1 var(--font); color: var(--navy); }
.mini-stats span { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Stats band ---------- */
.stats { background: var(--navy); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .stats .container { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: clamp(32px, 4.5vw, 52px) 20px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; }
@media (max-width: 859px) { .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); } }
.stat strong { display: block; font: 600 clamp(2.2rem, 4.4vw, 3.2rem)/1 var(--font); letter-spacing: -.03em; }
.stat strong sup { font-size: .5em; color: #7fd1ad; vertical-align: top; position: relative; top: .15em; margin-left: 2px; }
.stat > span { display: block; margin-top: 10px; font: 500 .76rem var(--font); letter-spacing: .14em; text-transform: uppercase; color: #9fb2c2; }

/* ---------- Service cards ---------- */
.core { display: grid; gap: 0; border: 1px solid var(--line); background: #fff; }
@media (min-width: 760px) { .core { grid-template-columns: repeat(3, 1fr); } }
.core-card { position: relative; background: #fff; padding: 32px 28px 26px; display: flex; flex-direction: column; gap: 12px; color: var(--text); border-bottom: 1px solid var(--line); transition: background-color .2s; }
@media (min-width: 760px) { .core > .core-card { border-bottom: 0; border-right: 1px solid var(--line); } .core > .core-card:last-child { border-right: 0; } }
.core-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
a.core-card:hover { color: var(--text); background: #fbfcfd; }
a.core-card:hover::before { transform: scaleX(1); }
a.core-card:hover .round-arrow { background: var(--navy); border-color: var(--navy); color: #fff; }
.core-card__ic { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--green); margin-bottom: 8px; }
.core-card__ic .icon { width: 24px; height: 24px; }
.core-card h3 { font-size: 1.22rem; margin: 0; }
.core-card p { color: var(--muted); margin: 0; font-size: .96rem; }
.core-card ul { display: grid; gap: 6px; margin: 6px 0 10px; }
.core-card li { display: flex; gap: 8px; font-size: .92rem; }
.core-card li .icon { width: 16px; height: 16px; color: var(--green); stroke-width: 2.2; margin-top: 4px; }
.core-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font: 600 .88rem var(--font); color: var(--navy); }

/* advisory grid on services page reuses .core-card inside a .core with inline columns */
.core[style] { gap: 0; }
.core[style] > .core-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.svc-grid { display: grid; grid-template-columns: 1fr; margin-top: 32px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc-item { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .2s; }
.svc-item:hover { background: #fbfcfd; }
.svc-item > .icon { width: 28px; height: 28px; color: var(--green); margin-bottom: 14px; }
.svc-item h3 { font-size: 1rem; margin-bottom: 6px; }
.svc-item p { font-size: .9rem; color: var(--muted); margin: 0 0 12px; }

/* ---------- Why us ---------- */
.why { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
@media (min-width: 700px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why-card { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.why-card__ic { display: block; color: var(--green); margin-bottom: 18px; }
.why-card__ic .icon { width: 28px; height: 28px; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.why-card--cta { background: var(--navy); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; border-color: var(--navy); }
.why-card--cta h3 { color: #fff; font-size: 1.35rem; }
.why-card--cta p { color: #c3d0db; }
.values { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Founder ---------- */
.founder { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 380px 1fr; } }
.founder__img { position: relative; overflow: hidden; aspect-ratio: 4 / 4.8; max-width: 380px; }
.founder__img img { width: 100%; height: 100%; object-fit: cover; }
.founder__tag { position: absolute; left: 0; right: 0; bottom: 0; background: var(--navy); padding: 14px 18px; border-top: 3px solid var(--green); }
.founder__tag strong { display: block; font-size: 1rem; color: #fff; }
.founder__tag span { font-size: .84rem; color: #aebdca; }
.founder blockquote { margin: 0 0 22px; padding-left: 22px; border-left: 3px solid var(--green); font: 500 clamp(1.2rem, 2.1vw, 1.5rem)/1.5 var(--font); color: var(--navy); letter-spacing: -.01em; }
.founder blockquote .icon { display: none; }
.founder p { color: var(--muted); }

/* ---------- Team cards ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.member { background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text); display: flex; flex-direction: column; transition: background-color .2s; }
.member:hover { color: var(--text); background: #fbfcfd; }
.member__img { aspect-ratio: 1 / .86; overflow: hidden; background: #e6eaee; display: grid; place-items: center; }
.member__img img { width: 74%; aspect-ratio: 1; object-fit: cover; clip-path: circle(44% at 50% 50%); transform: scale(1.12); filter: saturate(.9); }
.member__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.member h3 { font-size: 1.02rem; margin-bottom: 2px; }
.member .role { color: var(--green); font: 500 .86rem var(--font); margin: 0; }
.member .quals { color: var(--muted); font-size: .82rem; margin: 6px 0 0; }
.member__foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font: 600 .84rem var(--font); color: var(--navy); }
.member:hover .round-arrow { background: var(--navy); border-color: var(--navy); color: #fff; }

.profile { display: grid; gap: 24px; padding: clamp(28px, 3.5vw, 40px) 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.profile:last-of-type { border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .profile { grid-template-columns: 180px 1fr; gap: 40px; } }
.profile__img { width: 150px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #e6eaee; }
.profile__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.profile h2 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); margin-bottom: 4px; }
.profile .role { font: 600 .92rem var(--font); color: var(--green); margin: 0 0 4px; }
.profile .quals { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.profile p { color: #3a4752; max-width: 78ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 8px; }
.tags span { font: 500 .76rem var(--font); padding: 5px 10px; border: 1px solid var(--line-dark); color: var(--navy); }

/* ---------- Industries ---------- */
.ind { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 640px) { .ind { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .ind { grid-template-columns: repeat(6, 1fr); } }
.ind div { display: flex; align-items: center; gap: 10px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 500 .9rem var(--font); color: var(--navy); }
.ind .icon { width: 22px; height: 22px; color: var(--green); }

/* ---------- Process ---------- */
.steps { display: grid; border-top: 2px solid var(--navy); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .step { border-bottom: 0; } .step + .step { padding-left: 24px; border-left: 1px solid var(--line); } }
.step b { display: block; font: 600 .82rem var(--font); letter-spacing: .14em; color: var(--green); margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta { background: var(--navy); padding: clamp(32px, 5vw, 52px); display: grid; gap: 24px; align-items: center; border-left: 4px solid var(--green); }
@media (min-width: 900px) { .cta { grid-template-columns: 1.5fr 1fr; } .cta .btn-row { justify-content: flex-end; } }
.cta h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.45rem, 2.6vw, 2rem); }
.cta p { color: #c3d0db; margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0 32px; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; align-items: start; } }
.faq > div { display: grid; border-top: 1px solid var(--line-dark); gap: 0 !important; }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; padding: 18px 0; font: 600 .98rem/1.45 var(--font); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--green); transition: transform .25s var(--ease); margin-top: 2px; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; margin: 0; color: var(--muted); font-size: .95rem; max-width: 60ch; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 0; border: 1px solid var(--line); }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.35fr; } }
.info-card { background: var(--navy); color: #c3d0db; padding: clamp(26px, 3vw, 40px); }
.info-card h3 { color: #fff; font-size: 1.25rem; }
.info { display: grid; margin-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.info__row { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info__ic { color: #7fd1ad; padding-top: 2px; }
.info__ic .icon { width: 20px; height: 20px; }
.info__row strong { display: block; color: #fff; font-size: .9rem; margin-bottom: 2px; }
.info__row a, .info__row address { color: #c3d0db; font-style: normal; font-size: .94rem; display: block; }
.info__row a:hover { color: #fff; }

.form-card { background: #fff; padding: clamp(24px, 3vw, 40px); }
.form-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: .94rem; margin: 0; }
.form-grid { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .f--full { grid-column: 1 / -1; } }
.f label { display: block; font: 500 .82rem var(--font); color: var(--navy); margin-bottom: 6px; letter-spacing: .02em; }
.f input, .f select, .f textarea { width: 100%; font: inherit; font-size: .97rem; color: var(--text); background: #fff; border: 1px solid var(--line-dark); border-radius: var(--r); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.f textarea { min-height: 120px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.f .err { display: none; color: #b42318; font-size: .8rem; margin-top: 4px; }
.f.has-error input, .f.has-error select, .f.has-error textarea { border-color: #b42318; }
.f.has-error .err { display: block; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-foot small { color: var(--muted); }
.form-status { display: none; margin: 16px 0 0; padding: 14px 16px; border-left: 3px solid var(--green); background: var(--grey); color: var(--navy); font-weight: 500; }
.form-status.is-visible { display: block; }

.offices { display: grid; border: 1px solid var(--line); }
@media (min-width: 800px) { .offices { grid-template-columns: 1fr 1fr; } .office + .office { border-left: 1px solid var(--line); } }
.office { background: #fff; }
.office + .office { border-top: 1px solid var(--line); }
@media (min-width: 800px) { .office + .office { border-top: 0; } }
.office__head { padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.office__head h3 { margin: 0; font-size: 1.3rem; }
.office__head span { font: 600 .7rem var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--green); }
.office__body { padding: 22px 26px 26px; }
.office address { font-style: normal; color: var(--muted); margin-bottom: 14px; }
.office .lines { display: grid; gap: 8px; margin-bottom: 18px; }
.office .lines a { display: flex; gap: 10px; align-items: center; color: var(--text); font-weight: 500; }
.office .lines a:hover { color: var(--green); }
.office .lines .icon { width: 16px; height: 16px; color: var(--green); }

/* ---------- Page banner ---------- */
.banner { background: var(--navy); color: #c3d0db; padding: clamp(52px, 6.5vw, 88px) 0; border-bottom: 4px solid var(--green); }
.banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); max-width: 22ch; margin-bottom: 12px; }
.banner p { max-width: 60ch; font-size: 1.04rem; margin: 0; }
.crumbs { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; color: #8ea3b5; }
.crumbs a { color: #fff; }

/* Services page */
.tabs { position: sticky; top: 80px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.tabs .container { display: flex; overflow-x: auto; scrollbar-width: none; }
.tabs .container::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 16px 18px 14px; color: var(--muted); font: 500 .9rem var(--font); border-bottom: 2px solid transparent; }
.tabs a:first-child { padding-left: 0; }
.tabs a:hover, .tabs a.is-active { color: var(--navy); border-bottom-color: var(--green); }
.practice { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .practice { grid-template-columns: 340px 1fr; } .practice__intro { position: sticky; top: 160px; align-self: start; } }
.practice__intro .core-card__ic { margin-bottom: 20px; }
.practice__intro p { color: var(--muted); }
.list-cards { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
@media (min-width: 640px) { .list-cards { grid-template-columns: 1fr 1fr; } }
.lc { padding: 18px 20px; display: grid; grid-template-columns: 22px 1fr; gap: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lc .icon { width: 18px; height: 18px; color: var(--green); stroke-width: 2.2; margin-top: 3px; }
.lc strong { display: block; font-size: .97rem; color: var(--navy); margin-bottom: 2px; }
.lc span { color: var(--muted); font-size: .9rem; }
.group-title { font: 600 .76rem var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 32px 0 12px; }
.group-title:first-child { margin-top: 0; }

/* About page */
.vm { display: grid; border: 1px solid var(--line); }
@media (min-width: 800px) { .vm { grid-template-columns: 1fr 1fr; } .vm-card + .vm-card { border-left: 1px solid var(--line); } }
.vm-card { padding: clamp(28px, 3.5vw, 44px); background: #fff; }
.vm-card:last-child { background: var(--navy); color: #c3d0db; }
.vm-card:last-child h3 { color: #fff; }
.vm-card .core-card__ic { margin-bottom: 20px; }
.vm-card:last-child .core-card__ic { border-color: rgba(255,255,255,.35); color: #fff; }
.vm-card h3 { font-size: 1.3rem; }
.vm-card p { font-size: 1.06rem; margin: 0; }
.timeline { display: grid; border-top: 2px solid var(--navy); }
@media (min-width: 860px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.tl { padding: 22px 24px 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .tl { border-bottom: 0; } .tl + .tl { padding-left: 24px; border-left: 1px solid var(--line); } }
.tl b { display: block; font: 600 1.5rem var(--font); color: var(--navy); margin-bottom: 6px; letter-spacing: -.02em; }
.tl p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9fb2c2; font-size: .93rem; }
.footer__cta { background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__cta .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.footer__cta p { margin: 0; color: #fff; font: 500 1.05rem var(--font); }
.footer__main { padding: clamp(48px, 6vw, 72px) 0 32px; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1020px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer .logo__txt { border-color: rgba(255,255,255,.15); }
.footer .logo__txt strong { color: #fff; }
.footer .logo__txt span { color: #9fb2c2; }
.footer p { margin: 18px 0 0; max-width: 36ch; }
.footer h4 { color: #fff; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer li { margin-bottom: 10px; }
.footer li a { color: #c3d0db; display: inline-flex; gap: 8px; align-items: flex-start; }
.footer li a:hover { color: #fff; }
.footer li .icon { width: 15px; height: 15px; color: #7fd1ad; margin-top: 5px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .82rem; }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Mobile quick bar ---------- */
.qbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-top: 1px solid var(--line-dark); transform: translateY(100%); transition: transform .3s var(--ease); }
.qbar.is-visible { transform: none; }
.qbar a { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 .92rem var(--font); }
.qbar a:first-child { color: var(--navy); }
.qbar a:last-child { background: var(--green); color: #fff; }
.qbar .icon { width: 17px; height: 17px; }
@media (min-width: 1140px) { .qbar { display: none; } }
@media (max-width: 1139px) { .footer__bottom { padding-bottom: 74px; } }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
