/* ==========================================================================
   Mediation UK Online
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #081326;
  --bg-alt: #0b1a31;
  --bg-deep: #050d1b;
  --surface: #0f1f38;
  --field: #0a172b;
  --line: rgba(148, 170, 210, .14);
  --line-strong: rgba(148, 170, 210, .26);

  --heading: #f4f7fc;
  --text: #c3cde0;
  --muted: #8f9cb5;

  --amber: #f5b324;
  --amber-hover: #ffc53f;
  --amber-line: rgba(245, 179, 36, .35);
  --on-amber: #0b1426;
  --glow: rgba(14, 96, 146, .5);
  --focus: #7ab8ff;

  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 18px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--heading); text-decoration-color: var(--amber-line); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--amber); text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

::selection { background: var(--amber); color: var(--on-amber); }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { color: var(--heading); font-weight: 600; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: calc(800px + 2 * var(--gutter)); }

.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: 16px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--on-amber); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-amber); }

.icon {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 .96rem/1.2 var(--font-head);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-lg { padding: 15px 26px; font-size: 1rem; }

.btn-primary { background: var(--amber); color: var(--on-amber); }
.btn-primary:hover { background: var(--amber-hover); color: var(--on-amber); }

.btn-secondary { background: transparent; color: var(--heading); border-color: var(--line-strong); }
.btn-secondary:hover { color: var(--heading); border-color: rgba(255, 255, 255, .55); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-top: 4px solid var(--amber);
  background: rgba(8, 19, 38, .8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled,
.site-header.nav-open { background: rgba(8, 19, 38, .96); border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; gap: 28px; height: calc(var(--header-h) - 4px); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--heading); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--heading); }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.brand-sub { margin-top: 6px; font-size: .6rem; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--amber); }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #d3dbe8;
  font-family: var(--font-head);
  font-size: .95rem; font-weight: 500;
  text-decoration: none; white-space: nowrap;
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: var(--amber); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.header-actions .btn { gap: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: transparent; color: var(--heading);
  cursor: pointer;
}
.bars, .bars::before, .bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: currentColor; position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    margin: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-header.nav-open .site-nav { display: block; }
  .site-nav ul {
    flex-direction: column; gap: 0;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding: 8px var(--gutter) 20px;
  }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { padding: 14px 0; border-radius: 0; font-size: 1.05rem; }
}

@media (max-width: 520px) {
  :root { --header-h: 72px; }
  .header-inner { gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: .86rem; letter-spacing: .14em; }
  .brand-sub { font-size: .55rem; letter-spacing: .34em; margin-top: 5px; }
  .header-actions .btn { padding: 10px 15px; font-size: .9rem; }
  .cta-extra { display: none; }
}

/* ---------- Page tops ---------- */

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 600px at 100% -10%, var(--glow), transparent 62%),
    linear-gradient(180deg, #0a1730 0%, var(--bg) 100%);
}
.hero::before,
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero h1 span { color: var(--amber); }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.22rem); max-width: 34em; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }


/* Photo beside the home headline */
.hero-photo img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}

.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(44px, 6vw, 72px); }
.page-hero h1 { max-width: 18em; margin-bottom: 18px; }
.page-hero p { font-size: clamp(1.08rem, 1.5vw, 1.18rem); max-width: 42em; margin-bottom: 0; }

/* ---------- Sections ---------- */

.section { padding: clamp(60px, 8vw, 104px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section-flush { padding-top: 0; }
.section + .section-flush { border-top: 0; }

.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head-row .section-head { margin-bottom: 0; }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 880px) { .split, .split-even { grid-template-columns: 1fr; } }

.prose { max-width: 40em; }
.prose > :last-child { margin-bottom: 0; }
.prose h3 { margin-top: 1.6em; }
.prose h3:first-child { margin-top: 0; }

.more-link { display: inline-block; margin-top: 8px; font-weight: 600; }

.photo {
  width: 100%; height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.photo-below { margin-top: 24px; }
.media-split { align-items: center; }

blockquote {
  margin: clamp(32px, 5vw, 48px) 0 0;
  padding-left: 24px;
  border-left: 3px solid var(--amber);
  color: var(--heading);
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 500;
  line-height: 1.5;
  max-width: 36em;
}

/* ---------- Lists ---------- */

.list { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 24px; }
.list li::before { content: ""; position: absolute; left: 0; top: .82em; width: 12px; height: 2px; background: var(--amber); }
.list.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 40px; }
@media (max-width: 640px) { .list.cols { grid-template-columns: 1fr; } }

.terms { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 64px); }
.terms > div { padding: 22px 0; border-top: 1px solid var(--line); }
.terms dt { margin-bottom: 4px; font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--heading); }
.terms dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }
.closing { margin: 32px 0 0; max-width: 44em; }

/* ---------- Home: services ---------- */

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card {
  display: flex; flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease;
}
.service-card:hover { color: inherit; border-color: var(--amber-line); }
.service-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--line); }
.service-card-body { padding: 22px 24px 26px; }
.service-card h3 { margin-bottom: .4em; transition: color .15s ease; }
.service-card:hover h3 { color: var(--amber); }
.service-card p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 48px); }
.steps li { counter-increment: step; padding: 24px 0 28px; border-top: 1px solid var(--line-strong); }
.steps li::before { content: counter(step); display: block; margin-bottom: 12px; font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--amber); }
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .steps { grid-template-columns: 1fr; } }

.process { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process > li {
  counter-increment: step;
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.process > li:last-child { border-bottom: 1px solid var(--line); }
.process > li::before { content: counter(step); font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--amber); }
.process h2 { font-size: 1.35rem; margin-bottom: .45em; }
.process p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .process > li { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; } .process > li::before { font-size: 1.6rem; } }

/* ---------- Services page ---------- */

.service { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 72px); padding: clamp(40px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 0; }
.service-aside .photo { margin-top: 20px; }
.service-body > :last-child { margin-bottom: 0; }
@media (max-width: 880px) { .service { grid-template-columns: 1fr; } }

/* ---------- Membership logos ---------- */

/* Logos keep their original colours, so they sit on white tiles */
.memberships { padding: 36px 0; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.memberships-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.memberships-title { margin: 0; font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.logo-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 24px; }
.logo-row li { width: 184px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.logo-row span { font-size: .84rem; line-height: 1.35; color: var(--muted); }
.logo-tile {
  width: 100%; height: 96px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 20px;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow .15s ease;
}
.logo-tile:hover { box-shadow: 0 0 0 2px var(--amber); }
.logo-tile img { width: auto; height: auto; max-width: 100%; max-height: 64px; }
@media (max-width: 640px) {
  .logo-row { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .logo-row li { width: auto; }
  .logo-tile { height: 76px; padding: 10px 12px; }
  .logo-tile img { max-height: 50px; }
}

/* ---------- About page ---------- */

.org-logo {
  height: 112px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  padding: 16px;
  border-radius: 10px;
  background: #fff;
}
.org-logo img { width: auto; height: auto; max-width: 100%; max-height: 74px; }

.orgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 5vw, 48px); }
.org { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; }
.org h3 { margin-bottom: .5em; }
.org p { color: var(--muted); font-size: .98rem; }
.org a { margin-top: auto; font-size: .92rem; font-weight: 600; }
@media (max-width: 900px) { .orgs { grid-template-columns: 1fr; } }

/* ---------- Small print ---------- */

.smallprint { max-width: 48em; color: var(--muted); font-size: .96rem; }
.smallprint h2 { font-size: 1.15rem; margin-bottom: .6em; }
.smallprint > :last-child { margin-bottom: 0; }

/* ---------- FAQs ---------- */

.faq-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-nav ul { list-style: none; margin: 0; padding: 0; }
.faq-nav li + li { border-top: 1px solid var(--line); }
.faq-nav a { display: block; padding: 10px 0; color: var(--text); text-decoration: none; }
.faq-nav a:hover { color: var(--amber); }

.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); margin-bottom: 8px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  list-style: none;
  color: var(--heading);
  font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 14px; height: 2px; margin-top: -1px;
  background: var(--amber);
  transition: transform .2s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--amber); }
.faq .answer { padding: 0 0 22px; max-width: 44em; }
.faq .answer > :last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { position: static; }
  .faq-nav ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
  .faq-nav li + li { border-top: 0; }
  .faq-nav a { padding: 4px 0; }
}

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-details { margin: 0 0 32px; }
.contact-details > div { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-details > div:last-child { border-bottom: 1px solid var(--line); }
.contact-details dt { color: var(--muted); font-size: .88rem; margin-bottom: 2px; }
.contact-details dd { margin: 0; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-details dd a { text-decoration: none; }

.contact-info h2 { font-size: 1.15rem; margin-top: 32px; }

/* ---------- Form ---------- */

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.form-card > h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: .4em; }
.form-card > p { color: var(--muted); }

.form-group-title { margin: 32px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 1rem; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
fieldset.field { display: block; border: 0; margin: 0; padding: 0; }
.field label, .field legend { padding: 0; font-size: .94rem; font-weight: 600; color: var(--heading); }
.field legend { margin-bottom: 10px; }
.field .hint { margin: -2px 0 2px; font-size: .86rem; color: var(--muted); }
.req { color: var(--amber); }
.optional { font-weight: 400; color: var(--muted); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background-color: var(--field);
  color: var(--heading);
  font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select {
  appearance: none;
  padding-right: 40px;
  background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c3cde0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.field select option { background: var(--surface); color: var(--heading); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 179, 36, .18);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #ff7a6b; }

.radios { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.radios label { display: inline-flex; align-items: center; gap: 9px; font-weight: 400; color: var(--text); cursor: pointer; }
.radios input { width: 18px; height: 18px; margin: 0; accent-color: var(--amber); cursor: pointer; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; }
.form-actions p { margin: 0; flex: 1; min-width: 220px; font-size: .88rem; color: var(--muted); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-sent { padding: 8px 0 0; }
.form-sent:focus { outline: none; }
.form-sent h3 { font-size: 1.4rem; }
.form-sent p { margin: 0; }

.form-result { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-result:focus { outline: none; }
.form-result p { color: var(--text); }
.form-result textarea {
  width: 100%; min-height: 220px; margin: 0 0 14px;
  padding: 14px;
  border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--field); color: var(--heading);
  font: .88rem/1.6 var(--font-sans);
  resize: vertical;
}

@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Closing call to action ---------- */

.cta-band { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.cta-panel {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px 48px; align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(640px 360px at 100% 0%, rgba(14, 96, 146, .55), transparent 65%),
    var(--bg-alt);
}
.cta-panel h2 { margin-bottom: .35em; }
.cta-panel p { margin: 0; max-width: 36em; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-actions a:not(.btn) { font-weight: 500; }
@media (max-width: 820px) { .cta-panel { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); color: var(--muted); padding: clamp(52px, 7vw, 72px) 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { max-width: 26em; margin: 0; }
.footer-title { margin: 0 0 14px; font-family: var(--font-head); font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--heading); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--amber); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
}
.footer-legal p { margin: 0; }
.footer-legal p:first-child { flex: 1; min-width: 260px; max-width: 60em; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #222; }
  h1, h2, h3, strong { color: #111; }
  .site-header, .cta-band, .nav-toggle, .skip-link { display: none !important; }
}
