/* Prowerk Europe GmbH — site styles
   Palette taken from the logo: deep navy, with black / red / gold accents. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-var-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #06183f;
  --navy-900: #040f2b;
  --navy-700: #12306b;
  --ink: #17233f;
  --muted: #56617c;
  --tint: #f3f5fa;
  --line: #e1e6f0;
  --white: #fff;
  --gold: #f5b400;
  --gold-text: #8a6200;
  --red: #d8120f;
  --black: #0b0b0b;

  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --shadow: 0 18px 50px -22px rgba(6, 24, 63, 0.35);
  --header-h: 76px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 700; line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

/* ------------------------------------------------------------ brand motifs */
.tri {
  display: inline-block; width: 34px; height: 12px; flex: none; border-radius: 2px; transform: skewX(-22deg);
  background: linear-gradient(to bottom, var(--black) 0 33.3%, var(--red) 33.3% 66.6%, var(--gold) 66.6% 100%);
}
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font: 600 0.78rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text);
}
.eyebrow--light { color: var(--gold); }
.arc { color: #fff; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 26px -12px rgba(245, 180, 0, 0.8); }
.btn--gold:hover { background: #ffc61f; color: var(--navy-900); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 10px 26px -14px rgba(6, 24, 63, 0.9); }
.btn--primary:hover { background: var(--navy-700); color: #fff; }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--navy); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }
.icon { width: 22px; height: 22px; flex: none; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); flex-wrap: wrap; }
.brand { display: block; flex: none; }
.brand img { height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; flex-basis: 100%; padding-bottom: 12px; flex-wrap: wrap; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; }
.site-nav li a {
  position: relative; display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink);
  font-size: 0.97rem; font-weight: 500; transition: background-color 0.15s ease, color 0.15s ease;
}
.site-nav li a:hover { background: var(--tint); color: var(--navy); }
.site-nav li a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.site-nav li a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--gold);
}
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 0.82rem; letter-spacing: 0.06em; }
.lang-switch a { padding: 6px 12px; border-radius: 999px; font-weight: 700; color: var(--muted); }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a.is-active { background: var(--navy); color: #fff; }
.lang-switch span { color: #a9b3cb; font-weight: 400; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1060px) {
  .site-nav { flex-basis: auto; padding-bottom: 0; flex-wrap: nowrap; gap: 26px; }
}
@media (max-width: 1059px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  /* Open menu floats over the page (anchored to the sticky header) instead of pushing the content down */
  .js .site-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 14px;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    padding: 8px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 40px -22px rgba(6, 24, 63, 0.4);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav li a { padding: 14px 12px; font-size: 1.05rem; }
  .js .site-nav li a[aria-current="page"]::after { left: 12px; right: auto; width: 28px; bottom: 8px; }
  .js .lang-switch { align-self: flex-start; }
  .js .header__bar { padding-block: 0; }
}

/* ------------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(560px, 84vh, 800px); background: var(--navy-900); color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 60%; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 15, 43, 0.94) 0%, rgba(4, 15, 43, 0.8) 38%, rgba(4, 15, 43, 0.28) 72%, rgba(4, 15, 43, 0.05) 100%),
    linear-gradient(0deg, rgba(4, 15, 43, 0.55) 0%, transparent 35%);
}
.hero__inner { padding-block: 96px 88px; }
.hero__title { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.5rem); line-height: 1.04; max-width: 19ch; margin-bottom: 0.45em; }
.hero__title span { display: block; }
.hero__title .accent { color: var(--gold); }
.hero .lead { max-width: 56ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #dbe2f3; line-height: 1.65; margin: 0; }
@media (max-width: 760px) {
  .hero__shade { background: linear-gradient(180deg, rgba(4, 15, 43, 0.9) 0%, rgba(4, 15, 43, 0.82) 55%, rgba(4, 15, 43, 0.7) 100%); }
  .hero__img { object-position: 65% 50%; }
  .hero__inner { padding-block: 72px 64px; }

  /* Centre-aligned heroes on phones */
  .hero__inner, .page-hero__inner { text-align: center; }
  .hero .eyebrow, .page-hero .eyebrow { flex-direction: column; align-items: center; gap: 12px; line-height: 1.5; }
  .hero__title { font-size: clamp(1.7rem, 7.3vw, 2.4rem); line-height: 1.14; max-width: none; }
  .hero__title, .hero .lead, .page-hero h1, .page-hero .lead { margin-inline: auto; }
  .hero .btn-row { flex-direction: column; align-items: center; gap: 12px; margin-top: 30px; }
  .hero .btn-row .btn { width: min(100%, 320px); }
}

.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 85% 0%, #17398a 0%, var(--navy) 55%, var(--navy-900) 100%);
  padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 7vw, 88px);
}
.page-hero h1 { color: #fff; max-width: 22ch; margin-bottom: 0.4em; }
.page-hero .lead { max-width: 64ch; margin: 0; font-size: 1.2rem; color: #d3dbef; }
.page-hero__arc { position: absolute; z-index: -1; right: -60px; bottom: -48px; width: min(560px, 70vw); opacity: 0.32; }

/* --------------------------------------------------------------- sections */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tint { background: var(--tint); }
.section--navy { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%); color: #dbe2f3; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--compact { padding-block: clamp(48px, 6vw, 80px); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head h2 { margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split__text > :last-child { margin-bottom: 0; }
.split__text p { color: #2a3654; }
.subtitle { font: 600 1.3rem/1.35 var(--serif); color: var(--navy-700) !important; margin-bottom: 1.2em; }
.list-h { font: 700 0.9rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin: 1.6em 0 0.9em; }
@media (min-width: 900px) { .split--reverse .photo { order: 2; } }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } }

/* Image column stretches to the exact height of the text column */
.split--match { align-items: stretch; }
.split--match .split__text { display: flex; flex-direction: column; justify-content: center; }
.split--match .photo, .split--match .connect { display: flex; }
@media (min-width: 900px) {
  .split--match .photo img, .split--match .connect svg { height: 100%; aspect-ratio: auto; min-height: 280px; }
}

.photo { margin: 0; position: relative; }
.photo img, .connect svg { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) {
  .photo::before {
    content: ""; position: absolute; inset: 18px -16px -18px 16px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1;
  }
  .split--reverse .photo::before { inset: 18px 16px -18px -16px; }
}
.connect { margin: 0; }
.connect svg { height: auto; aspect-ratio: 640 / 440; }

/* "Trust / People / Our Aim" bento block (home) */
.icon-box { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border: 1.5px solid var(--line); border-radius: 15px; background: var(--tint); color: var(--navy); }
.icon-box .icon { width: 26px; height: 26px; }
.icon-box--gold { border-color: var(--gold); background: rgba(245, 180, 0, 0.12); color: var(--gold); }
.icon-box--navy { border-color: rgba(4, 15, 43, 0.55); background: rgba(4, 15, 43, 0.08); color: var(--navy-900); }

.bento { display: grid; grid-template-columns: 1.08fr 1fr; grid-template-areas: "lead card" "lead aim"; gap: 24px; }
.bento__lead, .bento__card, .bento__aim { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(28px, 4vw, 44px); }
.bento__lead { grid-area: lead; display: flex; flex-direction: column; justify-content: center; color: #fff; isolation: isolate;
  background: radial-gradient(120% 120% at 0% 0%, #1d4094 0%, var(--navy) 55%, var(--navy-900) 100%); box-shadow: var(--shadow); }
.bento__lead::before { content: "\201C"; position: absolute; z-index: -1; top: -34px; right: 28px; font: 700 15rem/1 var(--serif); color: rgba(245, 180, 0, 0.16); }
.bento__lead blockquote { margin: 0; }
.bento__lead blockquote p { margin: 0; max-width: 24ch; font: 600 clamp(1.6rem, 2.7vw, 2.25rem)/1.32 var(--serif); color: #fff; text-wrap: balance; }
.bento__arc { position: absolute; z-index: -1; right: -40px; bottom: -34px; width: 300px; opacity: 0.35; }
.bento__card { grid-area: card; background: #fff; border: 1px solid var(--line); }
.bento__card > p:last-child { margin: 0; color: var(--muted); }
.bento__card strong { color: var(--navy); font-weight: 600; }
.bento__aim { grid-area: aim; background: linear-gradient(135deg, #f5b400 0%, #ffc933 100%); color: var(--navy-900); box-shadow: 0 22px 46px -26px rgba(245, 180, 0, 0.9); }
.bento__aim::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 190px; height: 190px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, 0.28); }
.bento__aim .eyebrow { color: var(--navy-900); opacity: 0.75; }
.bento__aim > p:last-child { position: relative; z-index: 1; margin: 0; max-width: 34ch; font: 600 1.25rem/1.5 var(--sans); color: var(--navy-900); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "lead" "card" "aim"; }
  .bento__lead blockquote p { max-width: none; }
}

.ticks { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.28em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306183f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.ticks--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px 22px; margin-bottom: 0; }
.ticks--cols li { padding: 16px 20px 16px 56px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 500; }
.ticks--cols li::before { left: 20px; top: 18px; }
.service-more .list-h { margin-top: 0; }
.callout {
  margin: 32px 0 0; padding: 22px 28px; border-left: 4px solid var(--gold); border-radius: 0 16px 16px 0;
  background: #fff; font: 600 clamp(1.1rem, 1.7vw, 1.3rem)/1.55 var(--serif); color: var(--navy);
}

/* ------------------------------------------------------------------ cards */
.cards { display: grid; gap: 28px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.card__body h3 { margin-bottom: 0.5em; }
.card__body p { color: var(--muted); flex: 1; }

.cards--diff { grid-template-columns: repeat(6, 1fr); }
.cards--diff .tile { grid-column: span 2; }
.cards--diff .tile:nth-child(n + 4) { grid-column: span 3; }
.tile { position: relative; background: #fff; border-radius: var(--radius); padding: 32px 30px 30px; border: 1px solid var(--line); }
.tile h3 { margin-bottom: 0.45em; }
.tile p { margin: 0; color: var(--muted); }
.tile__n { display: block; font: 700 2.1rem/1 var(--serif); color: var(--gold); margin-bottom: 18px; }
.tile--plain { border-left: 4px solid var(--gold); padding: 28px; }
@media (max-width: 1000px) {
  .cards--3 { grid-template-columns: 1fr; max-width: 640px; }
  .cards--diff { grid-template-columns: repeat(2, 1fr); }
  .cards--diff .tile, .cards--diff .tile:nth-child(n + 4) { grid-column: auto; }
  .cards--diff .tile:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .cards--diff { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ steps / flow */
.section__head--light p { color: #dbe2f3; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li {
  position: relative; padding: 28px 26px 32px; border: 1.5px solid rgba(255, 255, 255, 0.24); border-radius: 20px;
  background: rgba(255, 255, 255, 0.04); transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}
.steps li:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.08); transform: translateY(-3px); }
.steps__n {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px;
  border: 2px solid var(--gold); border-radius: 14px; background: rgba(245, 180, 0, 0.1);
  font: 700 1.5rem/1 var(--serif); color: var(--gold);
}
.steps p { margin: 0; font-size: 1.15rem; color: #fff; line-height: 1.5; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; gap: 18px; } }

.flow { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 8px; align-items: center; }
.flow li { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 12px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, 0.05); }
.flow li:not(:last-child)::after { content: "→"; margin-left: 8px; margin-right: -8px; color: var(--gold); }
.flow__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-size: 0.85rem; font-weight: 700; }
.flow__text { max-width: 70ch; font-size: 1.15rem; color: #dbe2f3; }
.purpose { position: relative; margin: 48px 0 0; padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); overflow: hidden; }
.purpose p { position: relative; margin: 0; max-width: 40ch; font: 600 clamp(1.35rem, 2.4vw, 1.9rem)/1.4 var(--serif); color: #fff; }
.purpose__arc { position: absolute; right: -20px; bottom: -20px; width: 280px; opacity: 0.35; }

.prose { max-width: 820px; }
.prose p { font-size: 1.12rem; }
.statement { margin: 1.4em 0; padding-left: 22px; border-left: 4px solid var(--gold); font: 700 clamp(1.4rem, 2.4vw, 1.8rem)/1.35 var(--serif); color: var(--navy); }

/* ---------------------------------------------------------------- CTA band */
.cta-band { padding: 0 0 clamp(64px, 8vw, 112px); }
.cta-band__inner {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px); border-radius: 26px; color: #fff;
  background: radial-gradient(100% 160% at 100% 0%, #1c3f93 0%, var(--navy) 60%, var(--navy-900) 100%);
}
.cta-band__inner::after {
  content: ""; position: absolute; z-index: -1; right: -60px; bottom: -70px; width: 320px; height: 320px; border-radius: 50%;
  border: 36px solid rgba(245, 180, 0, 0.16);
}
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.2rem); max-width: 28ch; }
.cta-band p { margin: 10px 0 0; color: #d3dbef; }
.section + .cta-band { padding-top: clamp(64px, 8vw, 112px); }
.section--tint + .cta-band, .section--navy + .cta-band { padding-top: clamp(64px, 8vw, 112px); }

/* ------------------------------------------------------------------- forms */
.form-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.form-intro { position: sticky; top: calc(var(--header-h) + 28px); }
.form-intro__mail { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-top: 28px; }
.form-intro__mail .icon { color: var(--gold-text); }
.form-card { background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.form[hidden] { display: none; }
.form__note { grid-column: 1 / -1; margin: 0; font-size: 0.9rem; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.req { color: var(--red); }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #c9d1e3; border-radius: 12px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306183f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9aa7c6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(245, 180, 0, 0.35); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__err { margin: 0; font-size: 0.87rem; color: var(--red); }
.field--check { flex-direction: row; align-items: flex-start; gap: 14px; }
.field--check input { flex: none; width: 22px; height: 22px; margin-top: 3px; accent-color: var(--navy); }
.field--check label { font-weight: 400; font-size: 0.95rem; color: var(--ink); line-height: 1.55; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: #fdeeee; border: 1px solid #f1bcbc; color: #8c1010; font-size: 0.95rem; }
.form-status { padding: 22px 24px; border-radius: 16px; margin-bottom: 22px; }
.form-status[hidden] { display: none; }
.form-status p { margin: 6px 0 0; }
.form-status--ok { background: #ecf8f0; border: 1px solid #b6e0c4; color: #124d28; }
.form-status--ok strong { font-size: 1.15rem; }
.form-status--err { background: #fdeeee; border: 1px solid #f1bcbc; color: #8c1010; }
@media (max-width: 960px) {
  .form-wrap { grid-template-columns: 1fr; }
  .form-intro { position: static; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
}

/* ----------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.lead-dark { font: 600 clamp(1.3rem, 2.2vw, 1.65rem)/1.45 var(--serif); color: var(--navy); }
.contact__text p { font-size: 1.1rem; color: #2a3654; }
.contact__form-note { display: flex; gap: 20px; align-items: flex-start; margin-top: 36px; padding: 28px; border-radius: 20px; background: var(--tint); border: 1px solid var(--line); }
.contact__form-note > .icon { width: 40px; height: 40px; color: var(--navy); margin-top: 4px; }
.contact__form-note h3 { margin-bottom: 0.3em; }
.contact__form-note p { margin-bottom: 1.2em; }
.contact__card { padding: clamp(28px, 4vw, 44px); border-radius: 24px; color: #dbe2f3; background: radial-gradient(120% 120% at 100% 0%, #17398a 0%, var(--navy) 55%, var(--navy-900) 100%); box-shadow: var(--shadow); }
.contact__card h2 { color: #fff; font-size: 1.7rem; margin-bottom: 1em; }
.contact__card dl { margin: 0; }
.contact__card dl > div { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.contact__card dt { display: flex; align-items: center; gap: 12px; font: 600 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.contact__card dd { margin: 10px 0 0 34px; font-size: 1.08rem; line-height: 1.6; color: #fff; }
.contact__card a { color: #fff; text-decoration-color: var(--gold); }
.contact__card a:hover { color: var(--gold); }
.small-link { display: inline-block; margin-top: 8px; font-size: 0.9rem; color: #c3cee9 !important; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.closing__inner { max-width: 760px; text-align: center; }
.closing h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.closing p { font-size: 1.15rem; }
.closing__sign { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 1rem !important; color: #fff; }
.closing__sign strong { font: 700 1.2rem var(--serif); }

/* ------------------------------------------------------------------- legal */
.legal h2 { font-size: 1.4rem; margin: 2.2em 0 0.5em; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 1.02rem; }
.legal-note { color: var(--muted); font-size: 0.92rem !important; }
.ph { color: inherit; }

/* ------------------------------------------------------------------ footer */
.site-footer { position: relative; background: var(--navy-900); color: #b9c4de; padding-top: 72px; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(to bottom, var(--black) 0 33.3%, var(--red) 33.3% 66.6%, var(--gold) 66.6% 100%);
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); padding-bottom: 56px; }
.footer__brand img { width: 88px; height: 88px; border-radius: 50%; margin-bottom: 22px; }
.footer__tag { font: 600 1.15rem/1.4 var(--serif); color: #fff; max-width: 26ch; margin-bottom: 0.8em; }
.footer__muted { font-size: 0.92rem; color: #93a1c4; max-width: 44ch; }
.footer__h { font: 600 0.78rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0 0 20px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__list a, .footer__address a, .footer__bar a { color: #fff; text-decoration: none; }
.footer__list a:hover, .footer__address a:hover, .footer__bar a:hover { color: var(--gold); text-decoration: underline; }
.footer__address { font-style: normal; line-height: 1.65; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 16px; }
.footer__icon {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.22); border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: var(--gold);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.footer__icon .icon { width: 20px; height: 20px; }
.footer__contact li:hover .footer__icon { border-color: var(--gold); background: rgba(245, 180, 0, 0.1); }
.footer__label { font: 600 0.72rem/1.9 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #93a1c4; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 22px; font-size: 0.9rem; }
.footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer__bar p { margin: 0; }
.footer__bar ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ motion */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease var(--d, 0ms), transform 0.7s ease var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------- phones: refinements (≤760px) */
@media (max-width: 760px) {
  /* Inner-page hero titles: slightly smaller than the home hero headline's surrounding scale */
  .page-hero h1 { font-size: clamp(1.55rem, 7.4vw, 1.9rem); line-height: 1.2; }

  /* Call-to-action band: centred */
  .cta-band__inner { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 24px; width: calc(100% - 2 * var(--gutter)); }
  .cta-band h2 { margin-inline: auto; font-size: 1.32rem; line-height: 1.28; }
  .cta-band .btn { width: min(100%, 320px); }

  /* Home "Trust" card: slightly smaller quote */
  .bento__lead blockquote p { font-size: 1.38rem; line-height: 1.4; }

  /* Why Prowerk "Our Working Approach": equal-width steps */
  .flow { flex-direction: column; align-items: stretch; gap: 10px; }
  .flow li { width: 100%; padding-right: 20px; }
  .flow li:not(:last-child)::after { display: none; }

  /* Copyright bar: centred */
  .footer__bar-inner { flex-direction: column; justify-content: center; text-align: center; gap: 10px; }
  .footer__bar ul { justify-content: center; }
}
