/* =========================================================
   Northline Advisory — style.css
   Design language: calm, editorial, credible.
   Deep ink navy + slate + restrained emerald accent, serif
   display headings, wide measure, quiet lines. Consulting.
   Themes via CSS variables on [data-theme].
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body { line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; overflow-wrap: break-word; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }

/* ---------- Theme tokens ---------- */
:root {
  --ink: #14213d;
  --ink-2: #1f2f52;
  --emerald: #1c7a5f;
  --emerald-strong: #15654e;
  --emerald-soft: rgba(28, 122, 95, 0.1);
  --gold: #b8894a;

  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --text: #1c2536;
  --text-soft: #576073;
  --border: #dce1e9;
  --heading: #14213d;
  --hero-bg: #14213d;
  --hero-text: #eef2f8;
  --card-shadow: 0 8px 28px rgba(20, 33, 61, 0.07);
  --focus-ring: 3px solid #1c7a5f;
  --success-bg: #e6f4ee;
  --success-text: #15654e;
  --error: #c0392b;
}

[data-theme="dark"] {
  --ink: #0c1526;
  --ink-2: #16233f;
  --emerald: #3bab88;
  --emerald-strong: #4cc79f;
  --emerald-soft: rgba(59, 171, 136, 0.14);
  --gold: #cfa367;

  --bg: #0b1220;
  --surface: #121c30;
  --surface-2: #1a2740;
  --text: #dfe6f2;
  --text-soft: #97a3ba;
  --border: #26344f;
  --heading: #eef2f8;
  --hero-bg: #0a1120;
  --hero-text: #eef2f8;
  --card-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  --success-bg: #10301f;
  --success-text: #7fd9a2;
  --error: #ff8484;
}

/* ---------- Base ---------- */
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  display: flex; flex-direction: column; min-height: 100vh;
}
h1, h2, h3, h4 {
  color: var(--heading); font-weight: 700;
  font-family: Georgia, "Times New Roman", "Segoe UI", serif;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.12rem; }
p { color: var(--text-soft); }
strong { color: var(--text); }

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

.skip-link {
  position: absolute; inset-inline-start: -999px; top: 0; z-index: 200;
  background: var(--emerald); color: #fff; padding: 0.6rem 1rem; font-weight: 700;
  border-radius: 0 0 8px 8px; text-decoration: none;
}
.skip-link:focus { inset-inline-start: 8px; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.section-head { max-width: 660px; margin-bottom: 2.6rem; }
.section-head p { margin-top: 0.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-block; font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--emerald); margin-bottom: 0.8rem;
}
.lead { font-size: 1.12rem; font-family: "Segoe UI", Arial, sans-serif; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.6rem; border-radius: 6px; border: 1.5px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2;
  font-family: "Segoe UI", Arial, sans-serif;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 0.95rem 2rem; font-size: 1.02rem; }

.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-strong); }
[data-theme="dark"] .btn-primary { color: #04160f; }
.btn-ghost { border-color: var(--border); color: var(--heading); background: transparent; }
.btn-ghost:hover { border-color: var(--emerald); color: var(--emerald); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e8eef6; }
.hero .btn-ghost { color: var(--hero-text); border-color: rgba(255,255,255,0.3); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }

.text-link { color: var(--emerald); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; font-family: "Segoe UI", Arial, sans-serif; }
.text-link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.text-link:hover { color: var(--emerald-strong); }
.text-link:hover svg { transform: translateX(3px); }
[dir="rtl"] .text-link:hover svg { transform: translateX(-3px); }
[dir="rtl"] .text-link svg { transform: scaleX(-1); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #b9c4d8; font-size: 0.83rem; padding: 0.45rem 0; }
[data-theme="dark"] .topbar { background: #070d19; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar-note { display: inline-flex; align-items: center; gap: 0.5rem; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; gap: 0.4rem; align-items: center; }
.topbar a svg { width: 14px; height: 14px; color: var(--emerald-strong); }
[data-theme="dark"] .topbar a svg { color: var(--emerald); }
.topbar a:hover { color: var(--emerald); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; margin-inline-end: auto; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 8px; flex: none;
  background: var(--ink); display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}
[data-theme="dark"] .logo-mark { background: var(--emerald); color: #04160f; }
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { color: var(--heading); font-size: 1.15rem; font-family: Georgia, serif; letter-spacing: 0; }
.logo-text span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--emerald); }

.site-nav ul { display: flex; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 0.55rem 0.85rem; border-radius: 6px;
  font-weight: 500; font-size: 0.95rem; text-decoration: none; color: var(--text-soft);
  font-family: "Segoe UI", Arial, sans-serif;
}
.site-nav a:hover { color: var(--heading); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--emerald); font-weight: 600; }
.site-nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--emerald);
  border-radius: 2px; margin-top: 3px;
}

.header-actions { display: flex; align-items: center; gap: 0.55rem; }

.lang-switch {
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  border-radius: 6px; padding: 0.42rem 0.55rem; font-weight: 700; font-size: 0.85rem; cursor: pointer;
}
.theme-toggle {
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  width: 38px; height: 38px; border-radius: 6px; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.theme-toggle:hover { border-color: var(--emerald); color: var(--emerald); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

.menu-toggle {
  display: none; border: 1.5px solid var(--border); background: var(--surface);
  width: 42px; height: 38px; border-radius: 6px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle .bar { width: 18px; height: 2px; background: var(--text); transition: transform 0.2s, opacity 0.2s; }
.nav-open .menu-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle .bar:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--hero-bg); color: var(--hero-text); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 82% 20%, rgba(28, 122, 95, 0.25), transparent 45%),
    linear-gradient(0deg, rgba(0,0,0,0.15), transparent 40%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: 3rem; align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.hero h1 { color: #fff; }
.hero .lead { color: rgba(238, 242, 248, 0.82); margin-top: 1.1rem; max-width: 34rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.22); color: #9fe3cd;
  padding: 0.35rem 0.9rem; border-radius: 999px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1.2rem;
}
.hero-kicker svg { width: 15px; height: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }

/* Hero stat panel */
.hero-panel {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 1.8rem; backdrop-filter: blur(4px);
}
.hero-panel-image {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  border-radius: 10px; margin-bottom: 1.4rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.hero-panel h2 { color: #fff; font-size: 1.05rem; font-family: "Segoe UI", Arial, sans-serif; font-weight: 600; margin-bottom: 1.3rem; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.hero-stat b { display: block; font-family: Georgia, serif; font-size: 2rem; color: #fff; letter-spacing: -0.02em; }
.hero-stat span { font-size: 0.82rem; color: rgba(238,242,248,0.7); }
.hero-stat.accent b { color: #6fd3b3; }

/* ---------- Client logos strip ---------- */
.logos-band { background: var(--surface); border-bottom: 1px solid var(--border); }
.logos-inner { padding-block: 1.8rem; text-align: center; }
.logos-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1.2rem; font-family: "Segoe UI", Arial, sans-serif; }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.4rem 2.4rem; }
.client-logo {
  font-family: Georgia, serif; font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.03em; color: var(--text-soft); opacity: 0.75;
  padding: 0.2rem 0; white-space: nowrap;
}
[data-theme="dark"] .client-logo { opacity: 0.6; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.7rem; box-shadow: var(--card-shadow);
}

/* Service cards */
.service-card { display: flex; flex-direction: column; gap: 0.7rem; transition: transform 0.2s ease, border-color 0.2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: var(--emerald); }
.service-card-icon {
  width: 50px; height: 50px; border-radius: 10px;
  background: var(--emerald-soft); color: var(--emerald); display: grid; place-items: center;
}
.service-card-icon svg { width: 26px; height: 26px; }
.service-card p { flex: 1; font-size: 0.95rem; }
.service-card .text-link { margin-top: 0.3rem; }

/* Why cards */
.why-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.why-card { border-inline-start: 3px solid var(--emerald); }
.why-card h3 { margin-bottom: 0.4rem; }
.why-card p { font-size: 0.93rem; }

/* ---------- Process steps ---------- */
.process-band { background: var(--surface); border-block: 1px solid var(--border); }
.steps { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { display: flex; gap: 1rem; align-items: flex-start; position: relative; }
.step-num {
  flex: none; width: 44px; height: 44px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 1.1rem;
  display: grid; place-items: center; font-family: Georgia, serif;
}
[data-theme="dark"] .step-num { background: var(--emerald); color: #04160f; }
.step h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.step p { font-size: 0.9rem; }
.steps-vertical { grid-template-columns: 1fr; margin-top: 1rem; }

/* ---------- Case studies ---------- */
.case-card { display: flex; flex-direction: column; gap: 0.7rem; }
.case-head { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; }
.case-tag {
  display: inline-block; background: var(--emerald-soft); color: var(--emerald);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.74rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.case-sector { font-size: 0.8rem; color: var(--text-soft); }
.case-card h3 { font-size: 1.15rem; }
.case-block { }
.case-label {
  display: block; font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-soft); margin-bottom: 0.2rem;
}
.case-block p { font-size: 0.92rem; }
.result-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.35rem; }
.result-chip {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px;
  padding: 0.6rem 0.85rem; min-width: 90px; flex: 1 1 auto;
}
.result-chip b { display: block; font-family: Georgia, serif; font-size: 1.35rem; color: var(--emerald); letter-spacing: -0.02em; }
.result-chip span { font-size: 0.78rem; color: var(--text-soft); line-height: 1.3; display: block; }
.case-foot { border-top: 1px solid var(--border); padding-top: 0.9rem; margin-top: 0.2rem; font-size: 0.83rem; color: var(--text-soft); font-family: "Segoe UI", Arial, sans-serif; }

/* Case filter */
.cases-filter { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 2.2rem; }
.filter-btn {
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text-soft);
  border-radius: 999px; padding: 0.5rem 1.1rem; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  font-family: "Segoe UI", Arial, sans-serif;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.filter-btn:hover { border-color: var(--emerald); color: var(--emerald); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-theme="dark"] .filter-btn.active { background: var(--emerald); color: #04160f; border-color: var(--emerald); }

/* Mini case (on detail page) */
.mini-case { margin-top: 1.6rem; border-inline-start: 3px solid var(--emerald); }
.mini-case p { margin: 0.3rem 0 0.7rem; }

/* ---------- Testimonials ---------- */
.testimonial-card { display: flex; flex-direction: column; gap: 1rem; position: relative; }
.quote-mark { color: var(--emerald-soft); }
.quote-mark svg { width: 40px; height: 40px; }
[data-theme="dark"] .quote-mark { color: rgba(59,171,136,0.25); }
.testimonial-card blockquote { color: var(--text); font-size: 1rem; line-height: 1.6; flex: 1; }
.testimonial-meta { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-meta .avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--ink); color: #fff; font-weight: 700; display: grid; place-items: center; font-family: Georgia, serif;
}
[data-theme="dark"] .testimonial-meta .avatar { background: var(--emerald); color: #04160f; }
.testimonial-meta div { display: flex; flex-direction: column; line-height: 1.3; }
.testimonial-meta strong { font-size: 0.94rem; }
.testimonial-meta div span { font-size: 0.82rem; color: var(--text-soft); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--ink); color: #fff; }
[data-theme="dark"] .stats-band { background: #070d19; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; padding-block: 2.6rem; text-align: center; }
.stat b { display: block; font-family: Georgia, serif; font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: #6fd3b3; letter-spacing: -0.02em; }
.stat span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--hero-text); position: relative; overflow: hidden; }
[data-theme="dark"] .cta-band { background: #070d19; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 30%, rgba(28,122,95,0.28), transparent 50%);
}
.cta-band-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 3.2rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(238, 242, 248, 0.82); margin-top: 0.5rem; max-width: 40rem; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--hero-bg); color: var(--hero-text); padding-block: clamp(2.8rem, 6vw, 4.2rem); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 88% 15%, rgba(28,122,95,0.22), transparent 45%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(238, 242, 248, 0.82); margin-top: 0.9rem; max-width: 46rem; }
.page-hero .price-tag { margin-top: 1.1rem; color: #9fe3cd; font-size: 1rem; }
.page-hero .price-tag strong { color: #fff; font-size: 1.3rem; font-family: Georgia, serif; }
.page-hero .hero-actions { margin-top: 1.6rem; }

/* ---------- Detail page ---------- */
.detail-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.2fr 1fr; align-items: start; }
.detail-grid h2 { margin-bottom: 1.1rem; }
.detail-grid h2 + .check-list { margin-bottom: 2.2rem; }
.check-list { display: grid; gap: 0.65rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text); font-weight: 500; }
.check-list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--emerald); }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 0.7rem; }
.acc-item { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.acc-item.open { border-color: var(--emerald); }
.acc-heading { margin: 0; font-size: 1rem; }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; text-align: start; cursor: pointer;
  padding: 1.05rem 1.3rem; font-weight: 600; color: var(--heading); font-size: 1rem;
  font-family: "Segoe UI", Arial, sans-serif;
}
.acc-btn:hover { color: var(--emerald); }
.acc-chevron { flex: none; width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform 0.2s; margin-top: -4px; }
.acc-item.open .acc-chevron { transform: rotate(225deg); margin-top: 4px; }
.acc-panel { padding: 0 1.3rem 1.15rem; }
.acc-panel p { font-size: 0.95rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: clamp(1.5rem, 3.5vw, 2.4rem); box-shadow: var(--card-shadow); }
.form-grid { display: grid; gap: 1.15rem; grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.9rem; color: var(--heading); font-family: "Segoe UI", Arial, sans-serif; }
.form-field input, .form-field select, .form-field textarea {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0.72rem 0.95rem; color: var(--text); width: 100%;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px var(--emerald-soft);
}
.form-field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.82rem; font-weight: 600; }
.form-note { font-size: 0.82rem; margin-top: 1rem; color: var(--text-soft); }
.form-actions { margin-top: 1.5rem; }
.form-actions .btn { width: 100%; }

.form-success { background: var(--success-bg); border: 1.5px solid var(--success-text); border-radius: 14px; padding: 2.2rem; text-align: center; }
.form-success h2 { color: var(--success-text); margin-bottom: 0.6rem; }
.form-success p { color: var(--text); }
.form-success .ref { display: inline-block; margin-top: 0.7rem; background: var(--surface); border: 1px dashed var(--success-text); padding: 0.4rem 1.1rem; border-radius: 8px; font-weight: 800; letter-spacing: 0.06em; color: var(--heading); }
.form-success .btn { margin-top: 1.4rem; }

/* Consultation layout + side steps */
.consult-layout { display: grid; gap: 2rem; grid-template-columns: 1.55fr 1fr; align-items: start; }
.consult-aside { position: sticky; top: 96px; }
.consult-aside h2 { font-size: 1.15rem; margin-bottom: 1.2rem; }
.next-steps { display: grid; gap: 1.1rem; counter-reset: nextstep; }
.next-step { display: flex; gap: 0.8rem; align-items: flex-start; }
.next-step .n {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--emerald-soft); color: var(--emerald); font-weight: 800; font-size: 0.9rem;
  display: grid; place-items: center; font-family: Georgia, serif;
}
.next-step p { font-size: 0.9rem; color: var(--text); }
.consult-aside .note { margin-top: 1.4rem; font-size: 0.85rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }

/* ---------- About ---------- */
.values-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.value-card h3 { margin-bottom: 0.35rem; display: flex; align-items: center; gap: 0.5rem; }
.value-card .vnum { color: var(--emerald); font-family: Georgia, serif; font-size: 1.3rem; }
.value-card p { font-size: 0.92rem; }

.team-card { text-align: center; }
.team-photo {
  /* IMAGE SLOT: replace with <img src="assets/images/team-<name>.jpg" alt="..."> */
  width: 92px; height: 92px; border-radius: 12px; margin: 0 auto 1rem;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 1.4rem;
  display: grid; place-items: center; font-family: Georgia, serif;
}
[data-theme="dark"] .team-photo { background: var(--surface-2); }
.team-card h3 { font-size: 1.05rem; }
.team-card p { font-size: 0.87rem; margin: 0.25rem 0 0.7rem; }
.tag { display: inline-block; background: var(--emerald-soft); color: var(--emerald); font-size: 0.74rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; font-family: "Segoe UI", Arial, sans-serif; }

.promise-card { border-inline-start: 4px solid var(--gold); }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.about-stats .stat b { color: var(--emerald); font-size: 2rem; display: block; font-family: Georgia, serif; }
.about-stats .stat span { color: var(--text-soft); font-size: 0.85rem; }

.story-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.1fr 1fr; align-items: center; }
.story-visual {
  /* IMAGE SLOT: replace with a real office / team photo */
  aspect-ratio: 4 / 3; border-radius: 14px; position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, var(--ink), var(--ink-2)),
    var(--ink);
}
.story-visual::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(28,122,95,0.4), transparent 45%),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,0.03) 38px 39px),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,0.03) 38px 39px);
}
.story-visual.has-image::after { display: none; }
.story-visual.has-image img {
  width: 100%; height: 100%; display: block; object-fit: cover;
}
.story-visual .img-label {
  position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 1;
  color: rgba(255,255,255,0.85); font-size: 0.75rem; font-weight: 600;
  background: rgba(0,0,0,0.3); padding: 0.3rem 0.7rem; border-radius: 6px;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* ---------- Contact / areas ---------- */
.areas-list { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.area-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px;
  padding: 0.5rem 1.1rem; font-weight: 600; color: var(--heading); font-size: 0.92rem;
  font-family: "Segoe UI", Arial, sans-serif;
}
.area-chip svg { width: 16px; height: 16px; color: var(--emerald); }

.contact-layout { display: grid; gap: 2rem; grid-template-columns: 1fr 1.4fr; align-items: start; }
.info-list { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.info-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.info-list .icon { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--emerald-soft); color: var(--emerald); display: grid; place-items: center; }
.info-list .icon svg { width: 20px; height: 20px; }
.info-list b { display: block; color: var(--heading); font-size: 0.9rem; font-family: "Segoe UI", Arial, sans-serif; }
.info-list span, .info-list a { font-size: 0.95rem; color: var(--text-soft); text-decoration: none; }
.info-list a:hover { color: var(--emerald); }
.hours-list { margin-top: 0.7rem; display: grid; gap: 0.3rem; font-size: 0.92rem; color: var(--text-soft); }

.notice { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.3rem; margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b3c0d6; margin-top: auto; }
[data-theme="dark"] .site-footer { background: #070d19; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; padding-block: 3rem; }
.site-footer h3 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; font-family: "Segoe UI", Arial, sans-serif; }
.site-footer p { color: #98a6c0; font-size: 0.92rem; }
.footer-links { display: grid; gap: 0.5rem; }
.footer-links a { color: #b3c0d6; text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--emerald); }
.footer-contact { display: grid; gap: 0.6rem; font-size: 0.92rem; }
.footer-contact li { display: flex; gap: 0.5rem; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--emerald); }
.footer-contact a { color: #b3c0d6; text-decoration: none; }
.footer-contact a:hover { color: var(--emerald); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 1.2rem; font-size: 0.82rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: #7c8aa6; }
.footer-logo { display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1rem; color: #fff; font-weight: 700; font-size: 1.15rem; font-family: Georgia, serif; }
.footer-logo .logo-mark { width: 34px; height: 34px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (min-width: 901px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid, .consult-layout, .contact-layout, .story-grid { grid-template-columns: 1fr; }
  .consult-aside { position: static; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .site-nav {
    position: absolute; top: 100%; inset-inline: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(20, 33, 61, 0.15);
    display: none; padding: 0.8rem 1.2rem 1.2rem;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.15rem; }
  .site-nav a { padding: 0.8rem 0.9rem; font-size: 1.02rem; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- RTL refinements ---------- */
[dir="rtl"] .topbar a[href^="tel"], [dir="rtl"] .footer-contact a[href^="tel"] { direction: ltr; unicode-bidi: isolate; }
