/* =========================================================================
   Decisus Partners — Design System
   Light theme only. White background. Sober, institutional, modern.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand:        #13405e;   /* deep navy */
  --brand-700:    #0f3650;
  --brand-800:    #0b2c42;
  --brand-50:     #eef3f7;
  --accent:       #1f6f8b;   /* petrol, used sparingly */

  /* Ink / text */
  --ink:          #0b1a2b;
  --ink-2:        #2a3a4d;
  --muted:        #5b6675;
  --muted-2:      #7a8696;

  /* Surfaces */
  --bg:           #ffffff;
  --surface:      #f7f9fb;
  --surface-2:    #f1f4f8;
  --line:         #e4e8ee;
  --line-2:       #d7dde6;

  /* States */
  --focus:        #1f6f8b;
  --success:      #1f7a4d;
  --danger:       #b42318;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(11,26,43,.05);
  --shadow:     0 4px 16px rgba(11,26,43,.06), 0 1px 3px rgba(11,26,43,.05);
  --shadow-md:  0 14px 40px rgba(11,26,43,.09), 0 3px 10px rgba(11,26,43,.05);

  /* Radius */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* Type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1140px;
  --gutter: clamp(20px, 5vw, 40px);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-700); }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0;
}

/* ---------- A11y ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 820px; }

section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.bg-surface { background: var(--surface); }
.bg-brand {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-800) 100%);
  color: #dce7ef;
}
.bg-brand h1, .bg-brand h2, .bg-brand h3 { color: #fff; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .80rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.bg-brand .eyebrow { color: #8fc6d8; }
.bg-brand .eyebrow::before { background: #8fc6d8; }

h1, .h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2, .h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  color: var(--muted);
  line-height: 1.6;
}
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin: 16px 0 0; }
.text-muted { color: var(--muted); }
.measure { max-width: 64ch; }

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

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); background: var(--brand-700); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--brand); }

.btn-light {
  --btn-bg: #fff;
  --btn-fg: var(--brand-800);
}
.btn-light:hover { background: #eef3f7; color: var(--brand-800); }

.btn-outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.7); }

.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Quiet inline link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.link-arrow .arrow { transition: transform .2s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(11,26,43,.02);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.32rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand:hover { color: var(--ink); }
.brand .brand-mark { width: 30px; height: 30px; flex: none; }
.brand .brand-sub { color: var(--muted-2); font-weight: 400; }
.brand-logo { display: block; height: 28px; width: auto; }
@media (max-width: 480px) { .brand-logo { height: 23px; } }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: .98rem;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  position: relative;
}
.primary-nav a:hover { color: var(--brand); background: var(--surface); }
.primary-nav a[aria-current="page"] { color: var(--brand); }
.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }

/* The in-nav CTA only appears inside the mobile menu (see media query below). */
.primary-nav .btn { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: var(--r-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px var(--gutter) 22px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .primary-nav a { padding: 13px 14px; font-size: 1.05rem; }
  .primary-nav a[aria-current="page"]::after { display: none; }
  .primary-nav .btn {
    display: inline-flex;
    margin-top: 10px;
    justify-content: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 120px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 460px at 88% -8%, rgba(31,111,139,.10), transparent 60%),
    radial-gradient(760px 420px at 6% 8%, rgba(19,64,94,.06), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 56ch; margin-top: 22px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Hero visual panel */
.hero-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: 26px;
  position: relative;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
  pointer-events: none;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.panel-head span { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.panel-dot { display: inline-flex; gap: 6px; }
.panel-dot i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.panel-dot i:first-child { background: #e6c34d; }
.panel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
}
.panel-row + .panel-row { border-top: 1px dashed var(--line); }
.panel-ic {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.panel-ic svg { width: 20px; height: 20px; }
.panel-row strong { display: block; color: var(--ink); font-size: .98rem; font-weight: 600; }
.panel-row small { color: var(--muted); font-size: .85rem; }
.panel-row .panel-state {
  margin-left: auto;
  font-size: .76rem;
  font-weight: 600;
  color: var(--success);
  background: #e9f4ee;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Trust / metrics strip ---------- */
.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.signal-strip > div {
  background: #fff;
  padding: 26px 24px;
}
.signal-strip dt { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.signal-strip dd { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 820px) { .signal-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .signal-strip { grid-template-columns: 1fr; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.card .card-ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.card .card-ic svg { width: 24px; height: 24px; }

/* Card variant: audience */
.card-audience .tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  background: var(--brand-50);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* Feature list inside cards */
.ticks { list-style: none; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
  font-size: .96rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2313405e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Feature rows (alternating) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(48px, 7vw, 88px); }
.feature-row.reverse .feature-media { order: -1; }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse .feature-media { order: 0; }
}

/* ---------- Numbered fronts (the four frentes) ---------- */
.fronts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.front {
  background: #fff;
  padding: clamp(26px, 4vw, 40px);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(18px, 3vw, 32px);
  transition: background .2s var(--ease);
}
.front:hover { background: var(--surface); }
.front .front-no {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand);
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--brand-50);
  display: grid; place-items: center;
}
.front h3 { margin-bottom: 8px; }
.front .front-body > p { color: var(--muted); margin-bottom: 16px; }
.front .examples {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.front .examples li {
  font-size: .85rem;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
}
@media (max-width: 560px) {
  .front { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Scenarios (when it makes sense) ---------- */
.scenario {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px 0;
  align-items: start;
}
.scenario + .scenario { border-top: 1px solid var(--line); }
.scenario .scn-no {
  font-family: var(--serif);
  color: var(--muted-2);
  font-size: 1.1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.scenario p { color: var(--ink-2); margin: 0; }

/* ---------- Modalities ---------- */
.modality-primary {
  background: linear-gradient(155deg, var(--brand) 0%, var(--brand-800) 100%);
  color: #d9e6ef;
  border-radius: var(--r-xl);
  padding: clamp(30px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.modality-primary::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%);
  pointer-events: none;
}
.modality-primary .tag {
  display: inline-block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9fcfe0;
  margin-bottom: 16px;
}
.modality-primary h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 14px; max-width: 22ch; }
.modality-primary p { color: #cad9e4; max-width: 60ch; }

.modality-sub {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  display: flex;
  flex-direction: column;
}
.modality-sub:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.modality-sub .kicker { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.modality-sub h3 { margin-bottom: 12px; }
.modality-sub p { color: var(--muted); }
.modality-sub .meta { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span {
  font-size: .82rem;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}
.modality-sub .link-arrow { margin-top: auto; padding-top: 18px; }

/* ---------- People ---------- */
.person {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
@media (max-width: 640px) { .person { grid-template-columns: 1fr; } }
.person-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 220px;
  border-radius: var(--r-lg);
  object-fit: cover;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.person-photo--placeholder {
  display: grid;
  place-items: center;
  color: var(--muted-2);
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
}
.person h3 { margin-bottom: 4px; }
.person .role { color: var(--accent); font-weight: 600; font-size: .95rem; margin-bottom: 16px; }
.person .placeholder-note {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted-2);
  background: var(--surface-2);
  border: 1px dashed var(--line-2);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.person-reserved {
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 36px);
  background: var(--surface);
  display: flex;
  gap: 20px;
  align-items: center;
}
.person-reserved .res-photo {
  width: 84px; height: 84px;
  flex: none;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--muted-2);
}
.person-reserved h3 { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 4px; }
.person-reserved p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Principles ---------- */
.principles { display: grid; gap: 16px; }
.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--r);
  padding: 22px 26px;
}
.principle .p-no {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--brand);
  font-weight: 600;
}
.principle p { margin: 0; color: var(--ink); font-size: 1.08rem; font-family: var(--serif); }

/* ---------- Steps (diagnóstico) ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 30px;
}
.step .step-no {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  display: grid; place-items: center;
  font-size: 1.05rem;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Callout / aside ---------- */
.callout {
  background: var(--brand-50);
  border: 1px solid #d6e2ec;
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 36px);
}
.callout h3 { color: var(--brand-800); margin-bottom: 10px; }
.callout p { color: var(--brand-700); margin: 0; }

.note-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 36px);
  background: #fff;
}

/* ---------- Final CTA ---------- */
.cta-final {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.cta-final h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); max-width: 18ch; margin-inline: auto; }
.cta-final .btn-row { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.field .opt { color: var(--muted-2); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31,111,139,.15);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235b6675' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.form-status {
  display: none;
  border-radius: var(--r);
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: .95rem;
  font-weight: 500;
}
.form-status.is-success { display: block; background: #e9f4ee; border: 1px solid #bfe0cd; color: #155e3a; }
.form-status.is-error   { display: block; background: #fdecea; border: 1px solid #f3c4bf; color: #8a1d14; }

.form-success-panel { display: none; text-align: center; padding: clamp(20px, 4vw, 40px) 0; }
.form-success-panel .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #e9f4ee;
  color: var(--success);
  display: grid; place-items: center;
  margin: 0 auto 20px;
}
.form-success-panel h3 { margin-bottom: 10px; }
.form-success-panel p { color: var(--muted); }

.contact-info { display: grid; gap: 14px; }
.contact-info .info-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  background: #fff;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-info a.info-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.contact-info .info-ic {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid; place-items: center;
}
.contact-info .info-ic svg { width: 20px; height: 20px; }
.contact-info small { display: block; color: var(--muted-2); font-size: .8rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.contact-info strong { color: var(--ink); font-weight: 600; font-size: 1rem; }
.expectation {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .92rem;
}
.expectation .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: none; box-shadow: 0 0 0 3px rgba(31,122,77,.18); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 56px);
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(760px 360px at 90% -20%, rgba(31,111,139,.08), transparent 60%);
  z-index: 0;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 20px; max-width: 60ch; }
.breadcrumb {
  font-size: .85rem;
  color: var(--muted-2);
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--line-2); }

/* ---------- Prose ---------- */
.prose p { color: var(--ink-2); margin-bottom: 1.2em; }
.prose p.lead { color: var(--muted); }
.prose > * + h3 { margin-top: 2em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-800);
  color: #b9c8d4;
  padding-block: clamp(48px, 6vw, 72px) 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand .brand { color: #fff; }
.footer-brand .brand .brand-sub { color: #8fa6b6; }
.footer-brand p { margin-top: 16px; max-width: 38ch; color: #9fb2c0; font-size: .95rem; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7f97a8;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: #c2d2dd; font-size: .96rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 28px;
  font-size: .86rem;
  color: #8298a8;
}
.footer-bottom a { color: #8298a8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .modality-sub { transition: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.center { text-align: center; }
.stack-lg > * + * { margin-top: clamp(40px, 6vw, 72px); }
