/* ND Advisory — public site. Loaded only by app/Views/public/layout.php; the admin uses assets/admin/admin.css. */

:root {
  --navy: #132332;
  --navy-deep: #0c1824;
  --ivory: #f5f2eb;
  --paper: #fffdfc;
  --text: #1a2835;
  --muted: #4e5a66;
  --brass: #b49a73;
  --brass-ink: #735e3d; /* brass for text on light surfaces (5.5:1 on ivory) */
  --sand: #e9e4d8;
  --line: rgba(19, 35, 50, 0.12);
  --line-strong: rgba(19, 35, 50, 0.24);
  --line-light: rgba(245, 242, 235, 0.16);
  --field-border: #8a949e;
  --on-navy: #f5f2eb;
  --on-navy-muted: rgba(245, 242, 235, 0.74);
  --danger: #b3261e;
  --success: #1e6b45;

  --font: "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.8125rem;
  --fs-lead: 1.0625rem;
  --fs-hero: clamp(2.25rem, 1.2rem + 4.2vw, 4.5rem);
  --fs-h1: clamp(1.875rem, 1.35rem + 2vw, 3rem);
  --fs-h2: clamp(1.625rem, 1.25rem + 1.5vw, 2.5rem);
  --fs-h3: 1.125rem;
  --lh-body: 1.65;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --section-y: clamp(56px, 7vw, 104px);
  --section-y-tight: clamp(40px, 5vw, 72px);

  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(19, 35, 50, 0.05), 0 10px 28px rgba(19, 35, 50, 0.07);

  --maxw: 1280px;
  --gutter: 20px;
  --header-h: 64px;
  --bar-h: 64px;
  --tap: 44px;
  --logo-h: 40px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 200ms;
}

@media (max-width: 359px) { :root { --gutter: 16px; } }
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 72px; --logo-h: 44px; --fs-body: 1.0625rem; --fs-lead: 1.1875rem; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }
@media (min-width: 1200px) { :root { --header-h: 76px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; --logo-h: 50px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--ivory);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.scroll-locked, html.scroll-locked body { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; color: inherit; }
p { margin: 0 0 1em; }
button { font: inherit; }
svg.icon { flex-shrink: 0; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .contact-info :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible, .cookie-banner :focus-visible { outline-color: var(--brass); }
main:focus { outline: none; }

.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-link {
  position: absolute;
  left: 12px; top: -120px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--paper);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(780px + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-tight); }

.kicker {
  margin: 0 0 var(--space-3);
  color: var(--brass-ink);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
}
html[lang="en"] .kicker, .hero__eyebrow { text-transform: uppercase; letter-spacing: 0.1em; }
.kicker--light { color: var(--brass); }

.section-title {
  margin: 0;
  font-size: var(--fs-h2);
  line-height: 1.2;
  text-wrap: balance;
}
.section-title--light { color: var(--on-navy); }

.section-head { margin-bottom: var(--space-6); }
.section-head--split { display: grid; gap: var(--space-4); margin-bottom: var(--space-6); }
.section-intro { margin: 0; color: var(--muted); max-width: 52ch; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--space-7); }
  .section-intro { justify-self: end; }
}

.empty-state {
  margin: 0;
  padding: var(--space-6);
  text-align: center;
  color: var(--muted);
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.btn .icon { transition: transform var(--dur) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: var(--paper); }
.btn--primary:hover { background: var(--navy-deep); }
.btn--light { background: var(--paper); color: var(--navy); }
.btn--light:hover { background: var(--ivory); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--navy); }
.btn--sm { min-height: var(--tap); padding: 10px 18px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.72; cursor: progress; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.link-arrow .icon { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--back:hover .icon { transform: translateX(-3px); }
.link-arrow--light { color: var(--on-navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(245, 242, 235, 0.9);
    -webkit-backdrop-filter: saturate(1.2) blur(8px);
    backdrop-filter: saturate(1.2) blur(8px);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--ivory); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 100%;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; min-height: var(--tap); }
.brand__logo { height: var(--logo-h); width: auto; }

.primary-nav { display: none; }
.primary-nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 12px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 6px;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.primary-nav a.is-active { color: var(--navy); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }

.lang-switch { display: inline-flex; align-items: center; font-size: var(--fs-sm); font-weight: 600; }
.lang-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: var(--tap);
  padding: 0 4px;
  color: var(--muted);
  text-decoration: none;
}
.lang-switch__item.is-current { color: var(--navy); }
a.lang-switch__item:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.lang-switch__sep { color: var(--line-strong); }

.header-cta { display: none; white-space: nowrap; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  margin-right: -8px;
  padding: 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.no-js .menu-toggle { display: none; }

@media (min-width: 768px) {
  .header-actions { gap: var(--space-3); }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1200px) {
  .primary-nav { display: block; margin-inline: auto; }
  .header-actions { margin-left: 0; }
  .menu-toggle { display: none; }
}
@media (min-width: 1200px) and (max-width: 1279.98px) {
  .primary-nav a { padding: 0 8px; }
  .primary-nav a::after { left: 8px; right: 8px; }
}
/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 35, 50, 0.48);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(400px, 100%);
  padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  box-shadow: -12px 0 40px rgba(19, 35, 50, 0.16);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
.drawer__head .lang-switch:empty { display: none; }
.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  margin-left: auto;
  margin-right: -8px;
  padding: 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.drawer__nav ul { margin: 0; padding: 8px 0 0; list-style: none; }
.drawer__nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
}
.drawer__nav a.is-active { color: var(--brass-ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--brass); padding-left: 14px; }
.drawer__footer { display: flex; flex-direction: column; gap: var(--space-2); margin-top: auto; padding-top: var(--space-5); }
.drawer__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  color: var(--muted);
  font-size: var(--fs-sm);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero { display: grid; background: var(--navy); color: var(--on-navy); }
.hero__content { padding: 44px var(--gutter) 40px; }
.hero__eyebrow { margin: 0 0 var(--space-4); color: var(--brass); font-size: var(--fs-xs); font-weight: 600; }
.hero__title { margin: 0 0 var(--space-5); font-size: var(--fs-hero); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
.hero__title span { display: block; }
.hero__accent { color: var(--brass); }
.hero__lead { max-width: 36ch; margin: 0; color: var(--on-navy-muted); font-size: var(--fs-lead); }
.hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-3); margin-top: var(--space-6); }
.hero__actions .link-arrow { align-self: flex-start; }
.hero__media { position: relative; height: clamp(190px, 56vw, 320px); overflow: hidden; background: var(--navy-deep); }
.hero__media img, .hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 250ms var(--ease);
}
.hero__video.is-active { opacity: 1; }
.hero__video-toggle {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  padding: 0;
  color: var(--paper);
  background: rgba(19, 35, 50, 0.6);
  border: 1px solid rgba(255, 253, 252, 0.35);
  border-radius: 50%;
  cursor: pointer;
}
.hero__video-toggle[hidden] { display: none; }
.hero__video-toggle .icon-play, .hero__video-toggle.is-paused .icon-pause { display: none; }
.hero__video-toggle.is-paused .icon-play { display: block; }

@media (min-width: 600px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
  .hero__actions .link-arrow { align-self: center; }
}
@media (min-width: 768px) {
  .hero__content { padding-block: 64px 56px; }
  .hero__media { height: clamp(320px, 46vw, 420px); }
}
@media (min-width: 1024px) {
  .hero {
    grid-template-columns:
      minmax(var(--gutter), 1fr)
      minmax(0, calc((var(--maxw) - 2 * var(--gutter)) * 0.54))
      minmax(0, calc((var(--maxw) - 2 * var(--gutter)) * 0.46))
      minmax(0, 1fr);
    min-height: clamp(540px, 74vh, 680px);
  }
  .hero__content { grid-column: 2; align-self: center; padding: 72px 56px 72px 0; }
  .hero__media { grid-column: 3 / 5; height: auto; }
  .hero__media img { position: absolute; inset: 0; }
}

/* ---------- Practice areas ---------- */
.practice-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.practice-list > li { border-bottom: 1px solid var(--line); }
.practice-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: var(--tap);
  padding: 12px 2px;
  color: inherit;
  text-decoration: none;
}
.practice-icon {
  box-sizing: content-box;
  padding: 10px;
  color: var(--paper);
  background: var(--navy);
  border-radius: var(--radius);
  stroke-width: 1.8;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.practice-row__title { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.practice-row__text {
  display: -webkit-box;
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
.practice-row__arrow { color: var(--brass-ink); transition: transform var(--dur) var(--ease); }
.practice-row:hover .practice-icon, .practice-row:focus-visible .practice-icon { color: var(--navy); background: var(--brass); }
.practice-row:hover .practice-row__title { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.practice-row:hover .practice-row__arrow { transform: translateX(4px); }

@media (min-width: 720px) {
  .practice-list { grid-template-columns: 1fr 1fr; column-gap: var(--space-6); }
  .practice-row__text { -webkit-line-clamp: 2; line-clamp: 2; }
}
@media (min-width: 1100px) {
  .practice-list { grid-template-columns: repeat(3, 1fr); }
  .practice-row { padding: 14px 2px; }
}

/* ---------- About strip ---------- */
.about-strip { display: grid; background: var(--paper); border-block: 1px solid var(--line); }
.about-strip__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.about-strip__media img { width: 100%; height: 100%; object-fit: cover; }
.about-strip__body { padding: 40px var(--gutter) 48px; max-width: 680px; }
.about-strip__body .section-title { margin-bottom: var(--space-4); font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); }
.about-strip__body > p:not(.kicker) { color: var(--muted); }

@media (min-width: 900px) {
  .about-strip { grid-template-columns: 1fr 1fr; }
  .about-strip__media { aspect-ratio: auto; min-height: 440px; position: relative; }
  .about-strip__media img { position: absolute; inset: 0; }
  .about-strip__body { align-self: center; padding: clamp(48px, 6vw, 88px); }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__heading { margin: 0; font-size: inherit; }
.faq-item__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  min-height: 60px;
  padding: 16px 0;
  color: var(--text);
  background: transparent;
  border: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}
.faq-item__icon { color: var(--brass-ink); transition: transform var(--dur) var(--ease); }
.faq-item__button[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }
.no-js .faq-item__icon { display: none; }
.faq-item__panel { max-width: 68ch; padding: 0 0 20px; color: var(--muted); }
.faq-item__panel p { margin: 0; }
.js .faq-item__panel { display: none; }
.js .faq-item__panel.is-open { display: block; }

/* ---------- Contact ---------- */
.contact-band { background: var(--navy); color: var(--on-navy); }
.contact-grid { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; }
}
.contact-list { display: grid; gap: 18px; margin: var(--space-6) 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list .icon { margin-top: 3px; color: var(--brass); }
.contact-list__label { display: block; color: var(--on-navy-muted); font-size: var(--fs-xs); }
.contact-list a { color: var(--on-navy); text-underline-offset: 4px; text-decoration-color: var(--brass); }
.contact-note {
  margin: 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--line-light);
  color: var(--on-navy-muted);
  font-size: var(--fs-sm);
}

.contact-form {
  padding: clamp(20px, 4vw, 40px);
  color: var(--text);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}
.form-grid { display: grid; gap: 18px; }
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; column-gap: var(--space-5); }
  .form-grid > .field { grid-column: 1 / -1; }
  .form-grid > .field--half { grid-column: auto; }
}
.field label { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
.field__req { color: var(--brass-ink); }
.field__optional { color: var(--muted); font-size: var(--fs-xs); font-weight: 400; }
.field input, .field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b7580; }
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid var(--navy); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { outline-color: var(--danger); }
.field__error { margin: 6px 0 0; color: var(--danger); font-size: var(--fs-sm); font-weight: 500; }

.form-footer { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-5); }
.form-hint { margin: 0; color: var(--muted); font-size: var(--fs-xs); }
.form-footer .btn { width: 100%; }
@media (min-width: 600px) {
  .form-footer { flex-direction: row; align-items: center; justify-content: space-between; }
  .form-footer .btn { width: auto; min-width: 200px; }
}
.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: nda-spin 0.8s linear infinite;
}
.is-loading .btn__spinner { display: inline-block; }
.is-loading .btn__icon { display: none; }
@keyframes nda-spin { to { transform: rotate(360deg); } }

.form-alert {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding: 10px 6px 10px 14px;
  border: 1px solid;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form-alert span { padding-top: 2px; }
.form-alert-success { color: var(--success); background: #eaf4ee; border-color: #bfdccb; }
.form-alert-error { color: #9f2219; background: #fbecea; border-color: #f0c5c0; }
.form-alert button {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin: -4px 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Inner page header ---------- */
.page-hero { padding: clamp(20px, 3vw, 40px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 var(--space-3);
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line-strong); }
.breadcrumbs a, .breadcrumbs [aria-current="page"] { display: inline-flex; align-items: center; min-height: var(--tap); }
.breadcrumbs a { color: var(--muted); text-underline-offset: 4px; }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs [aria-current="page"] { color: var(--text); }
.page-hero__title { max-width: 30ch; margin: 0; font-size: var(--fs-h1); line-height: 1.18; text-wrap: balance; }
.page-hero__lead { max-width: 68ch; margin: var(--space-4) 0 0; color: var(--muted); font-size: var(--fs-lead); }

/* ---------- Detail pages ---------- */
.detail-layout { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-8); align-items: start; }
  .detail-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.detail-aside { display: grid; gap: var(--space-4); justify-items: start; }
.aside-card {
  display: grid;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.aside-card__title { margin: 0; font-size: var(--fs-h3); }
.aside-card p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.aside-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.aside-card__link:hover { text-decoration: underline; text-underline-offset: 4px; }

.prose { max-width: 72ch; font-size: var(--fs-lead); line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin: 2em 0 0.6em; font-size: 1.5rem; line-height: 1.3; }
.prose h3 { margin: 1.6em 0 0.5em; font-size: 1.25rem; line-height: 1.35; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--brass-ink); }
.prose a { color: var(--navy); text-decoration-color: var(--brass-ink); text-underline-offset: 3px; }
.prose img { height: auto; border-radius: var(--radius); }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--brass); color: var(--muted); }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose th, .prose td { padding: 8px 12px; border: 1px solid var(--line); text-align: left; }
.prose .lead { font-size: 1.1875rem; }

.two-col { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; } }
.panel { padding: clamp(24px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.panel__title { margin: 0 0 var(--space-3); font-size: 1.25rem; }
.panel p { margin: 0; color: var(--muted); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.card-grid--posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card-grid--partners { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }

.team-card, .post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease);
}
.team-card:hover, .post-card:hover { transform: translateY(-2px); }
.team-card__media { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.team-card__media img, .profile__media img { width: 100%; height: 100%; object-fit: cover; }
.team-card__initial { color: var(--brass-ink); font-size: 3rem; font-weight: 600; }
.team-card__body, .post-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: var(--space-5); }
.team-card__name, .post-card__title { margin: 0; font-size: var(--fs-h3); line-height: 1.35; }
.team-card__name a, .post-card__title a { color: inherit; text-decoration: none; }
.team-card__role { margin: 0; color: var(--brass-ink); font-size: var(--fs-sm); font-weight: 600; }
.team-card__bio, .post-card__text {
  display: -webkit-box;
  margin: 4px 0 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9375rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.team-card .link-arrow, .post-card .link-arrow { margin-top: auto; font-size: 0.9375rem; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__meta { margin: 0; color: var(--muted); font-size: var(--fs-xs); }

.card-link-cover::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-lg); }
.card-link-cover:focus-visible { outline: none; }
.card-link-cover:focus-visible::after { outline: 2px solid var(--navy); outline-offset: -2px; }

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  min-height: 188px;
  padding: var(--space-5);
  color: inherit;
  text-align: center;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
a.partner-card:hover { border-color: var(--line-strong); }
.partner-card__logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 72px; margin-bottom: var(--space-2); }
.partner-card__logo img { width: auto; max-width: 180px; height: auto; max-height: 72px; object-fit: contain; }
.partner-card__initial { color: var(--brass-ink); font-size: 2rem; font-weight: 600; }
.partner-card__name { font-weight: 600; line-height: 1.35; }
.partner-card__type { color: var(--muted); font-size: var(--fs-xs); }

/* ---------- Profile & article ---------- */
.profile { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .profile { grid-template-columns: 320px minmax(0, 1fr); gap: var(--space-8); align-items: start; } }
.profile__media {
  display: grid;
  place-items: center;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
  border-radius: var(--radius-lg);
}
.profile__contact { display: grid; gap: 2px; margin: var(--space-5) 0 0; padding: 0; list-style: none; }
.profile__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); color: var(--navy); font-weight: 500; }
.profile__actions, .article-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-6); }
.article-actions { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.article-meta { margin: 0 0 var(--space-5); color: var(--muted); font-size: var(--fs-sm); }
.article-figure { margin: 0 0 var(--space-6); }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); background: var(--sand); }

.notice-list { display: grid; gap: var(--space-3); margin-top: var(--space-2); }
.notice {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius);
}
.notice strong { color: var(--navy); }
.notice span { color: var(--muted); }
.updated-at { margin: var(--space-6) 0 0; color: var(--muted); font-size: var(--fs-sm); }

/* CodeIgniter pager (default_full) */
.pager-wrap { margin-top: var(--space-7); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination span {
  display: grid;
  place-items: center;
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 12px;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
}
.pagination .active a, .pagination .active span { color: var(--paper); background: var(--navy); border-color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(40px, 5vw, 64px); background: var(--navy); color: var(--on-navy); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); }
.cta-band__title { margin: 0 0 var(--space-2); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.cta-band__text { max-width: 60ch; margin: 0; color: var(--on-navy-muted); }
@media (max-width: 599px) { .cta-band .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); font-size: 0.9375rem; }
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-7) var(--space-6);
  border-bottom: 1px solid var(--line-light);
}
.brand--footer .brand__logo { height: 48px; }
.site-footer__brand p { max-width: 40ch; margin: var(--space-3) 0 0; color: var(--on-navy-muted); }
.site-footer__cta { gap: 10px; }
.site-footer__grid { display: grid; gap: var(--space-6); padding-block: var(--space-6); }
.site-footer__title {
  margin: 0 0 var(--space-3);
  padding-bottom: var(--space-2);
  color: var(--on-navy);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line-light);
}
.site-footer__title::before { content: ""; display: inline-block; width: 16px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--brass); }
.site-footer ul { display: grid; margin: 0; padding: 0; list-style: none; }
.site-footer li > a, .site-footer li > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  color: var(--on-navy-muted);
  text-decoration: none;
}
.site-footer li > a:hover { color: var(--on-navy); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.site-footer li .icon { flex-shrink: 0; color: var(--brass); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-4);
  font-size: var(--fs-xs);
  border-top: 1px solid var(--line-light);
}
.site-footer__bottom p { margin: 0; }
.site-footer .site-footer__legal { display: flex; flex-wrap: wrap; column-gap: var(--space-5); }
@media (max-width: 767px) {
  .site-footer__cta { width: 100%; }
  .site-footer__col:not(.site-footer__col--services):not(.site-footer__contact) ul { grid-template-columns: 1fr 1fr; column-gap: var(--space-5); }
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; column-gap: var(--space-7); }
  .site-footer__col--services { grid-column: 1 / -1; }
  .site-footer__col--services ul { grid-template-columns: 1fr 1fr; column-gap: var(--space-7); }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: 4fr 3fr 4fr; }
  .site-footer__col--services { grid-column: auto; }
  .site-footer__col--services ul { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) and (pointer: fine) {
  .site-footer li > a, .site-footer li > span { min-height: 36px; }
}

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 252, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(19, 35, 50, 0.08);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), visibility 0s;
}
.action-bar .btn { flex: 1 1 0; min-height: var(--tap); padding: 8px 12px; font-size: 0.9375rem; }
.action-bar__cta { flex-grow: 1.5 !important; }
body.drawer-open .action-bar,
body.form-focus .action-bar,
body.cookie-open .action-bar {
  visibility: hidden;
  opacity: 0;
  transform: translateY(110%);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
@media (max-width: 767px) {
  body.has-action-bar { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) { .action-bar { display: none; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: var(--gutter); right: var(--gutter);
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  display: none;
  align-items: center;
  gap: var(--space-4);
  max-width: 560px;
  margin-inline: auto;
  padding: 14px 14px 14px 18px;
  color: var(--on-navy);
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(19, 35, 50, 0.28);
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: var(--fs-sm); line-height: 1.5; }
.cookie-banner .btn { flex-shrink: 0; }

/* ---------- WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: var(--gutter);
  bottom: calc(var(--bar-h) + 16px + env(safe-area-inset-bottom));
  z-index: 45;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: #1e7b4b;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
body.drawer-open .whatsapp-float, body.form-focus .whatsapp-float { visibility: hidden; }
@media (min-width: 768px) { .whatsapp-float { bottom: 24px; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .btn__spinner { animation: none; border-right-color: currentColor; opacity: 0.6; }
}
