/* BreakEven Life: site styles
   Design tokens first; everything else uses them. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --soft: #f1f2ef;
  --ink: #00395f;
  --text: #22313f;
  --muted: #536171;
  --line: rgba(11, 31, 51, 0.12);
  --line-strong: rgba(11, 31, 51, 0.22);
  --accent: #005792;
  --accent-hover: #00395f;
  --accent-soft: #e6eef4;
  --navy: #00395f;
  --navy-2: #0a4670;
  --on-navy: #f4f6f8;
  --on-navy-muted: #c9d6df;

  /* Brand palette (brand/colour-palette.txt) */
  --steel: #7b98aa;
  --mist: #9ab0be;
  --azure: #0075c5;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 10px;
  --radius-sm: 8px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }
strong { color: var(--ink); font-weight: 600; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: 1.125rem; letter-spacing: -0.01em; }

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

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

.skip {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: 600 1rem/1 var(--font-body);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent-soft); color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.text-link:hover { color: var(--accent-hover); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: transparent;
}
/* Frosted-glass layer that fades in once the page scrolls. It lives on a
   pseudo-element so the header itself never gets backdrop-filter, which
   would trap the position:fixed mobile menu inside the header box. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 250, 248, 0.45);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11, 31, 51, 0.25);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.site-header.is-scrolled::before { opacity: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header::before { background: rgba(250, 250, 248, 0.97); }
}
body.menu-open .site-header::before { opacity: 1; background: var(--bg); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand img { width: 40px; height: auto; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu li { margin: 0; }
.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.975rem;
  border-radius: 6px;
}
.nav-menu a:hover { color: var(--ink); background: rgba(11, 31, 51, 0.05); }
.nav-menu a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-menu .nav-cta-mobile { display: none; }
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  border-radius: 8px;
}
.bars, .bars::before, .bars::after {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.25s var(--ease), opacity 0.2s;
  content: "";
}
.bars { position: relative; }
.bars::before { position: absolute; top: -7px; }
.bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px var(--gutter) 40px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }
  .nav-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .nav-menu a {
    min-height: 60px;
    padding: 0 4px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-menu .nav-cta-mobile { display: block; margin-top: 28px; }
  .nav-menu .nav-cta-mobile a {
    justify-content: center;
    min-height: 52px;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
  }
  body.menu-open { overflow: hidden; }
}

/* ---------- Generic sections ---------- */
.section { padding: var(--section) 0; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy); color: var(--on-navy-muted); }
.section-navy h2, .section-navy h3, .section-navy strong { color: #fff; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.rule-top { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0 50%, var(--steel) 50% 100%);
}
.section-navy .eyebrow::before { background: linear-gradient(90deg, #fff 0 50%, var(--mist) 50% 100%); }
.section-navy .eyebrow { color: var(--mist); }

.lede {
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-head .eyebrow { font-size: 0.875rem; color: var(--accent); }
.section-navy .section-head .eyebrow { color: var(--mist); }
.section-navy .section-head p { color: var(--on-navy-muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split-even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) {
  .split, .split-even { grid-template-columns: 1fr; }
}

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose li::marker { color: var(--accent); }

/* ---------- Home hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.hero h1 { max-width: 14ch; margin-bottom: 28px; }
.hero .lede { margin-bottom: 36px; }
.hero-portrait { margin: 0; position: relative; }
.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--radius);
  background: var(--soft);
}
.hero-portrait figcaption {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.hero-portrait figcaption strong { display: block; color: var(--ink); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-portrait { max-width: 420px; }
}

.credentials {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.credentials ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.credentials li {
  margin: 0;
  padding: 22px 24px 22px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--ink);
}
.credentials li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.credentials .dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
@media (max-width: 760px) {
  .credentials ul { grid-template-columns: 1fr; }
  .credentials li { padding: 16px 0; }
  .credentials li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Service rows ---------- */
.service-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-rows li { margin: 0; border-bottom: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1.3fr) 40px;
  gap: 24px;
  align-items: start;
  padding: 36px 16px;
  margin: 0 -16px;
  border-radius: var(--radius-sm);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.25s var(--ease);
}
.service-row:hover { background: rgba(4, 86, 144, 0.05); color: inherit; }
.service-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
}
.service-row h3 { margin-bottom: 8px; }
.service-row .audience { margin: 0; color: var(--muted); font-size: 0.975rem; }
.service-row .desc { margin: 0 0 14px; }
.service-meta { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.service-meta span { display: block; }
.service-arrow {
  justify-self: end;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-row:hover .service-arrow { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateX(4px); }
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr 40px; gap: 8px 16px; padding: 28px 12px; margin: 0 -12px; }
  .service-num { grid-column: 1 / -1; padding-top: 0; }
  .service-row > div:nth-of-type(1) { grid-column: 1; }
  .service-row > div:nth-of-type(2) { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; }
  .service-arrow { grid-column: 2; grid-row: 2; align-self: start; }
}

/* ---------- Credentials block ---------- */
.cred-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.cert-button {
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: zoom-in;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}
.cert-button:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.cert-button img { width: 100%; height: auto; }
.cert-caption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
.cert-logo { width: 88px; margin-bottom: 20px; }
@media (max-width: 760px) {
  .cred-grid { grid-template-columns: 1fr; }
  .cred-grid .cert { max-width: 180px; }
}
dialog.lightbox {
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  max-width: min(92vw, 720px);
  max-height: 92vh;
  background: #fff;
}
dialog.lightbox::backdrop { background: rgba(11, 31, 51, 0.72); }
dialog.lightbox img { width: 100%; height: auto; max-height: calc(92vh - 64px); object-fit: contain; }
.lightbox-bar { display: flex; justify-content: flex-end; padding: 8px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.steps li {
  margin: 0;
  position: relative;
  padding-top: 72px;
  counter-increment: step;
}
.steps li::before {
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--mist);
}
.steps li::after {
  content: "";
  position: absolute;
  top: 58px; left: 0; right: -32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}
.steps li:last-child::after { right: 0; }
.steps h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 1rem; }
.section-light-steps .steps li::before { color: var(--accent); }
.section-light-steps .steps li::after { background: var(--line); }
.section-light-steps .steps h3 { color: var(--ink); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .steps li::after { right: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Testimonials ---------- */
.quotes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.quotes li { margin: 0; border-bottom: 1px solid var(--line); }
.quote {
  margin: 0;
  padding: clamp(28px, 4vw, 44px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 32px;
  align-items: start;
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 500;
}
.quote figcaption { font-size: 0.9375rem; color: var(--muted); padding-top: 6px; }
.quote figcaption strong { display: block; color: var(--ink); }
.quote-single { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  .quote { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent);
  color: #e6eef4;
  padding: clamp(56px, 8vw, 104px) 0;
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; max-width: 18ch; }
.cta-band p { margin: 0; max-width: 52ch; font-size: 1.125rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.9rem); max-width: 20ch; }
.page-hero .lede { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 32px; }
.breadcrumbs { margin-bottom: 20px; font-size: 0.9375rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current] { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); }

/* Service detail */
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.facts li {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  font-size: 1rem;
}
.facts .label { font-weight: 600; color: var(--ink); }
.situations { list-style: none; padding: 0; margin: 0; }
.situations li {
  position: relative;
  padding: 16px 0 16px 32px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.situations li:first-child { border-top: 1px solid var(--line); }
.situations li::before {
  content: "";
  position: absolute;
  left: 4px; top: 27px;
  width: 12px; height: 1px;
  background: var(--accent);
}
.notice {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 24px 28px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.notice h2 { font-size: 1.375rem; margin-bottom: 10px; }
.notice p:last-child { margin-bottom: 0; }
.notice .crisis { font-weight: 600; color: var(--ink); }

.related { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.related a {
  display: block;
  padding: 32px 32px 32px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.25s var(--ease);
}
.related a + a { padding-left: 32px; border-left: 1px solid var(--line); }
.related a:hover { background: rgba(4, 86, 144, 0.04); }
.related h3 { display: flex; justify-content: space-between; gap: 16px; }
.related p { margin: 0; color: var(--muted); }
.related-single { grid-template-columns: 1fr; }
.related-more { margin: 24px 0 0; }
@media (max-width: 760px) {
  .related { grid-template-columns: 1fr; }
  .related a, .related a + a { padding: 24px 0; border-left: 0; }
}

/* Services overview */
.service-card-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-card-list > li { margin: 0; border-bottom: 1px solid var(--line); }
.service-block {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 40px;
  padding: clamp(32px, 4vw, 48px) 0;
}
.service-block h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.service-block .audience { color: var(--muted); }
.service-block h3 { font-family: var(--font-body); font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 0 24px; max-width: 68ch; }
.faq-list .answer p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .label { display: block; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list a { display: inline-flex; min-height: 44px; align-items: center; font-size: 1.125rem; font-weight: 500; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: 0.975rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(4, 86, 144, 0.18);
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.9375rem; color: var(--muted); margin: 0; }
.form .btn { width: 100%; }
@media (min-width: 561px) { .form .btn { width: auto; justify-self: start; } }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }

/* ---------- Blog ---------- */
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list li { margin: 0; border-bottom: 1px solid var(--line); }
.post-link {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 40px;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  text-decoration: none;
  color: inherit;
}
.post-link:hover h2 { color: var(--accent); }
.post-link time { color: var(--muted); font-size: 0.9375rem; padding-top: 6px; display: block; }
.post-link h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-bottom: 10px; transition: color 0.2s var(--ease); }
.post-link p { margin: 0; color: var(--muted); }
.post-link:hover .service-arrow { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 760px) {
  .post-link { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .post-link .service-arrow { display: none; }
}

.article-head { padding: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 48px); }
.article-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); max-width: 22ch; }
.article-meta { color: var(--muted); font-size: 0.975rem; margin: 0; }
.article-figure { margin: 0 0 clamp(32px, 5vw, 56px); }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius); }
.article-body { max-width: 680px; margin: 0 auto; font-size: 1.125rem; line-height: 1.75; }
.article-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.8em; }
.article-body h3 { font-size: 1.3rem; margin-top: 1.6em; }
.article-body blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--ink); }
.author-box {
  max-width: 680px;
  margin: clamp(40px, 6vw, 72px) auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
}
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.author-box p { margin: 0 0 4px; font-size: 1rem; }
.author-box .name { font-weight: 600; color: var(--ink); }

/* Legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal p, .legal li { font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--on-navy-muted);
  padding: clamp(56px, 8vw, 96px) 0 calc(32px + env(safe-area-inset-bottom));
  font-size: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-logo img { width: 52px; height: auto; flex: none; }
.footer-brand .brand-name { color: #fff; font-size: 1.375rem; display: block; line-height: 1.2; }
.brand-tagline { display: block; margin-top: 4px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mist); }
.footer-brand p { max-width: 34ch; }
.footer-col .col-title {
  display: block;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0; }
.site-footer a { color: var(--on-navy); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-col svg { width: 18px; height: 18px; flex: none; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  font-size: 0.9375rem;
}
.footer-bottom p { margin: 0; display: flex; align-items: center; min-height: 44px; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.footer-bottom li { margin: 0; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 40;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #128c4b;
  color: #fff;
  box-shadow: 0 6px 20px rgba(11, 31, 51, 0.22);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); background: #0e7a40; color: #fff; }
.wa-float svg { width: 26px; height: 26px; }
.page-contact .wa-float { display: none; }

/* ---------- Motion (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* 404 */
.notfound { min-height: 56vh; display: flex; align-items: center; }

@media print {
  .site-header, .site-footer, .wa-float, .cta-band { display: none; }
}
