/* Pèra Bewind · huisstijl
   Inktblauw op briefpapier, met goud uit het logo. Literata (koppen), Atkinson Hyperlegible Next (tekst,
   gemaakt voor maximale leesbaarheid), Caveat voor een enkele handgeschreven notitie. */

@font-face { font-family: "Literata"; src: url("/assets/fonts/literata.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/fonts/atkinson-hyperlegible-next.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/fonts/atkinson-hyperlegible-next-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/assets/fonts/caveat.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --ink: #1F2A44;          /* inktblauw: tekst, knoppen */
  --ink-soft: #46506A;
  --muted: #5B6480;
  --night: #172038;        /* donkere vlakken */
  --paper: #FBFCFE;        /* pagina */
  --letter: #EDF2F8;       /* blauw briefpapier */
  --rule: #CCD7E7;         /* lijntjes van het briefpapier */
  --line: #DCE3EE;
  --gold: #B07F43;         /* uit het logo, decoratief */
  --gold-text: #83591F;    /* goud voor tekst (contrast 6:1) */
  --gold-soft: #F5ECDF;
  --f-display: "Literata", Georgia, "Times New Roman", serif;
  --f-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(23, 32, 56, .06), 0 18px 40px -22px rgba(23, 32, 56, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-variation-settings: "opsz" 72; line-height: 1.06; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-variation-settings: "opsz" 48; }
h3 { font-size: 1.3rem; font-variation-settings: "opsz" 24; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 .9rem; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--ink-soft); max-width: 62ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 700 1rem/1 var(--f-body); padding: .8em 1.2em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--lg { font-size: 1.0625rem; padding: .95em 1.45em; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2C3B5E; color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--quiet { color: var(--ink); padding-left: .4em; padding-right: .4em; }
.btn--quiet:hover { color: var(--gold-text); }
.btn--gold { background: #D9B47C; color: var(--night); }
.btn--gold:hover { background: #E6C796; color: var(--night); }
.btn--onink { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--onink:hover { background: #fff; color: var(--night); }
.btn:active { transform: translateY(1px); }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }
/* klein 'opent extern'-icoon achter tekstlinks */
p a svg, li a svg, td a svg { display: inline-block; width: .85em; height: .85em; vertical-align: -.05em; margin-left: .15em; }
.more { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.more svg { width: 1em; height: 1em; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }

/* ---------- kop ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 252, 254, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 88px; }
.nav__logo { flex: none; display: block; padding: 6px 0; }
.nav__logo-img { height: 64px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__links a:hover { color: var(--ink); border-bottom-color: var(--rule); }
.nav__links a.active { border-bottom-color: var(--gold); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__cta .btn { padding: .7em 1.15em; }
.nav__toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; color: var(--ink); border-radius: 12px; cursor: pointer; }
.nav__toggle svg { width: 28px; height: 28px; margin: auto; }
.nav__toggle .i-close { display: none; }
.nav__toggle[aria-expanded="true"] .i-open { display: none; }
.nav__toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { display: none; }

@media (max-width: 1060px) {
  .nav { min-height: 72px; }
  .nav__logo-img { height: 46px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .mobile-menu { display: block; position: fixed; z-index: 49; inset: 72px 0 0 0; background: var(--paper); padding: 12px var(--gutter) 40px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .mobile-menu.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .mm-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; border-bottom: 1px solid var(--line); font: 600 1.35rem/1.2 var(--f-display); text-decoration: none; }
  .mm-link svg { width: 20px; height: 20px; color: var(--gold); }
  .mm-link.active { color: var(--gold-text); }
  .mm-actions { display: grid; gap: 12px; margin-top: 28px; }
  .mm-actions .btn { white-space: normal; }
  .mm-note { color: var(--muted); font-size: .95rem; margin-top: 18px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- hero met brief ---------- */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2rem; }
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

/* De brief: blauw briefpapier met lijnen en een gouden kantlijn */
.letter { margin: 0; position: relative; }
.letter::before { /* tweede vel eronder */
  content: ""; position: absolute; inset: 14px -10px -12px 14px; background: #E3EAF3; border-radius: 6px; transform: rotate(2.2deg); box-shadow: var(--shadow);
}
.letter__sheet {
  --lh: 2rem;
  position: relative; background-color: var(--letter);
  background-image: linear-gradient(to bottom, transparent calc(var(--lh) - 1px), var(--rule) calc(var(--lh) - 1px));
  background-size: 100% var(--lh); background-position: 0 calc(var(--lh) * 2 - 7px); background-repeat: repeat-y;
  border-radius: 6px; padding: calc(var(--lh) * 1) clamp(22px, 3.5vw, 40px) calc(var(--lh) * 1) clamp(54px, 6vw, 76px);
  line-height: var(--lh); font-size: 1.03rem; color: var(--ink);
  box-shadow: var(--shadow); transform: rotate(-1.4deg); transform-origin: 60% 40%;
}
.letter__sheet::before { /* kantlijn */
  content: ""; position: absolute; top: 0; bottom: 0; left: clamp(38px, 4.4vw, 56px); width: 2px; background: var(--gold); opacity: .55;
}
.letter__sheet p { margin: 0 0 var(--lh); }
.letter__date { text-align: right; color: var(--muted); font-size: .95rem; margin-bottom: 0 !important; }
.letter__hello, .letter__bye { font-family: var(--f-hand); font-weight: 600; font-size: 1.65rem; color: var(--ink); }
.letter__hello { margin-bottom: 0 !important; }
.letter__bye { margin-bottom: 0 !important; }
.letter__sign { height: calc(var(--lh) * 3); display: flex; align-items: center; }
.letter__sign .signature { height: 88px; width: auto; margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .js .letter__sheet { animation: brief-in .9s cubic-bezier(.2, .7, .2, 1) both .1s; }
  .js .letter::before { animation: vel-in .9s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes brief-in { from { opacity: 0; transform: translateY(18px) rotate(-4deg); } to { opacity: 1; transform: rotate(-1.4deg); } }
  @keyframes vel-in { from { opacity: 0; transform: rotate(0deg); } to { opacity: 1; transform: rotate(2.2deg); } }
}

/* ---------- secties ---------- */
.section { padding: clamp(64px, 8vw, 108px) 0; }
.section--paper { background: var(--letter); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head .lead { margin-bottom: 0; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(23,32,56,.04); }
.panel h3 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); }
.panel__kicker { font-family: var(--f-hand); font-size: 1.45rem; font-weight: 600; color: var(--gold-text); margin: 0 0 .2rem; line-height: 1.2; }
.panel .ticks { margin: .4rem 0 1.6rem; }
.panel .more { margin-top: auto; align-self: flex-start; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.ticks svg { width: 20px; height: 20px; color: var(--gold); margin-top: 4px; }

.sister { margin-top: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; background: var(--gold-soft); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 40px); }
.sister__logo { width: 200px; height: auto; }
.sister h3 { font-size: 1.2rem; margin-bottom: .35em; }
.sister p { margin: 0; color: var(--ink-soft); }

.steps { list-style: none; counter-reset: stap; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.steps li { counter-increment: stap; position: relative; padding: 0 22px 0 0; }
.steps li::before {
  content: counter(stap); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold); color: var(--ink);
  font: 600 1.35rem/1 var(--f-display); margin-bottom: 18px; position: relative; z-index: 1;
}
.steps li:not(:last-child)::after { /* gestippelde pennenlijn naar de volgende stap */
  content: ""; position: absolute; top: 25px; left: 60px; right: 6px; border-top: 2px dashed var(--rule);
}
.steps h3 { font-size: 1.2rem; margin-bottom: .35em; }
.steps p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.split__col { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); }
.split__col--you { background: var(--ink); color: #EEF2F8; border-color: var(--ink); }
.split__col--you h3 { color: #fff; }
.split__col--you .ticks svg { color: #D9B47C; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.trio__item { background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); }
.trio__item::before { content: ""; display: block; width: 40px; height: 3px; border-radius: 2px; background: var(--gold); margin-bottom: 18px; }
.trio__item p { margin: 0; color: var(--ink-soft); }


.costs { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.costs .lead { margin-bottom: 0; }
.costs__note { border-left: 3px solid var(--gold); padding: 4px 0 4px 24px; }
.costs__note p { color: var(--ink-soft); }

.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-wrap .section__head { position: sticky; top: 120px; }
.faq details { background: var(--paper); border-radius: 12px; margin-bottom: 10px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 22px 6px; color: var(--ink-soft); }

.cta { background: var(--night); color: #E6EBF4; padding: clamp(56px, 7vw, 88px) 0; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; max-width: 56ch; color: #C9D2E3; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- binnenpagina's ---------- */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); background: var(--letter); position: relative; overflow: hidden; }
.page-head::after { /* briefpapierlijnen, rustig */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(to bottom, transparent 31px, var(--rule) 31px); background-size: 100% 32px;
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 55%); mask-image: linear-gradient(to left, #000 0%, transparent 55%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); max-width: 18ch; }
.page-head .lead { margin-bottom: 0; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--muted); }

.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul:not(.ticks), .prose ol:not(.steps-v) { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose .ticks { margin: 0 0 1.4em; }
.note { background: var(--gold-soft); border-radius: 12px; padding: 18px 22px; margin: 1.6em 0; }
.note p:last-child { margin: 0; }
.note strong { color: var(--ink); }

.aside-card { position: sticky; top: 110px; background: var(--letter); border-radius: var(--radius); padding: 26px; }
.aside-card h2 { font-size: 1.35rem; }
.aside-card p { color: var(--ink-soft); font-size: 1rem; }
.aside-card .btn { width: 100%; margin-top: 8px; }
.aside-card .hand { font-family: var(--f-hand); font-size: 1.45rem; font-weight: 600; color: var(--gold-text); line-height: 1.2; margin: 0 0 .5rem; }

.steps-v { list-style: none; counter-reset: stap; margin: 0 0 1.4em; padding: 0; }
.steps-v li { counter-increment: stap; position: relative; padding: 0 0 22px 64px; margin: 0; }
.steps-v li::before { content: counter(stap); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--gold); background: var(--paper); font: 600 1.15rem/1 var(--f-display); }
.steps-v li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; border-left: 2px dashed var(--rule); }
.steps-v strong { display: block; font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 2px; padding-top: 8px; }

.compare { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: .98rem; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-size: 1.05rem; border-bottom: 2px solid var(--ink); }
.compare tbody th { font-weight: 700; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 1.4em 0 2em; }
.fact { background: var(--letter); border-radius: 12px; padding: 18px 20px; }
.fact strong { display: block; font-family: var(--f-display); font-size: 1.1rem; margin-bottom: 4px; }
.fact span { color: var(--ink-soft); font-size: .97rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid #B9C5D8; border-radius: 10px; padding: 12px 14px; min-height: 50px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(176, 127, 67, .35); }
.field.has-error input { border-color: #A3312A; }
.field-error { color: #A3312A; font-size: .95rem; margin: 6px 0 0; }
.field-hint { color: var(--muted); font-size: .93rem; margin: 6px 0 0; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label { margin: 0; font-weight: 600; border: 1.5px solid #B9C5D8; border-radius: 999px; padding: 9px 16px; cursor: pointer; background: var(--paper); }
.chips input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-msg { margin: 14px 0 0; font-weight: 600; }
.form-msg.err { color: #A3312A; }
.form-msg:empty { display: none; }
.form-small { color: var(--muted); font-size: .93rem; margin: 14px 0 0; }
.form-success { background: var(--letter); border-radius: var(--radius); padding: 28px; }
.form-success h3 { font-size: 1.5rem; }
.hidden-field { display: none; }
.contact-list { list-style: none; display: grid; gap: 14px; margin: 0 0 2rem; }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--letter); display: grid; place-items: center; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list strong { display: block; }
.contact-list span { color: var(--ink-soft); font-size: .97rem; }

/* ---------- juridische pagina's ---------- */
.legal { max-width: 74ch; }
.legal h2 { font-size: 1.45rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.legal li { margin-bottom: .4em; }
.legal li::marker { color: var(--gold); }

/* ---------- voet ---------- */
.site-footer { background: var(--night); color: #C9D2E3; padding: clamp(48px, 6vw, 80px) 0 28px; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(217, 180, 124, .6); }
.site-footer a:hover { color: #E6C796; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-logo { height: 64px; width: auto; margin-bottom: 18px; }
.footer-about p { max-width: 40ch; }
.footer-aegis { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; margin-top: 4px; }
.footer-aegis img { height: 30px; width: auto; }
.footer-col h2 { font: 700 .8rem/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #D9B47C; margin: 8px 0 14px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: .9rem; }
.footer-bottom p { margin: 0; }

.mobile-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .steps li:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sister { grid-template-columns: minmax(0, 1fr); }
  .prose-grid { grid-template-columns: minmax(0, 1fr); }
  .aside-card { position: static; }
}
@media (max-width: 900px) {
  .hero__grid, .costs, .faq-wrap, .contact-grid, .cta__inner { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap .section__head { position: static; }
  .letter { max-width: 560px; }
  .trio, .facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  .duo, .split, .two { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 0; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps h3 { padding-top: 12px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(251, 252, 254, .97); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-bar .btn { padding: .85em .6em; }
  .letter__sheet { font-size: 1rem; }
  .letter__sign .signature { height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
