/* =========================================================================
   Proxicare / Proxisave — shared stylesheet
   - Base + layout + components are shared.
   - Brand look is driven by tokens on body.brand-proxicare / body.brand-proxisave.
   - No inline styles or scripts anywhere, so a strict CSP can be used.
   ========================================================================= */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font-body);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Proxicare — light, calm, clinical. Colours sampled from the logo. */
.brand-proxicare {
  --bg: #ffffff;
  --surface: #f2f7fa;
  --surface-2: #e7f1f6;
  --ink: #0d2b3e;
  --text: #33495a;
  --muted: #5f7686;
  --line: #d8e5ec;
  --primary: #2a7db1;
  --primary-ink: #ffffff;
  --primary-hover: #1f6a99;
  --accent: #19ad9c;
  --gradient: linear-gradient(135deg, #2a7db1 0%, #19ad9c 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(13, 43, 62, .04), 0 12px 32px -12px rgba(13, 43, 62, .14);
  --header-bg: rgba(255, 255, 255, .85);
  --focus: #19ad9c;
}

/* Proxisave — dark, high-contrast, motorsport/emergency energy. */
.brand-proxisave {
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --bg: #0a0b0d;
  --surface: #131519;
  --surface-2: #1b1e23;
  --ink: #f5f6f8;
  --text: #c9ced6;
  --muted: #8d949f;
  --line: #2a2e35;
  --primary: #e5322b;
  --primary-ink: #ffffff;
  --primary-hover: #ff4a3f;
  --accent: #2f6bff; /* the blue beacon on the vehicles */
  --chrome: linear-gradient(180deg, #ffffff 0%, #c9ccd1 45%, #8a8f97 55%, #e6e8eb 100%);
  --radius: 4px;
  --radius-sm: 2px;
  --shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
  --header-bg: rgba(10, 11, 13, .82);
  --focus: #ff4a3f;
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--primary); color: var(--primary-ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tint { background: var(--surface); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--bg); border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: 1rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary); --btn-fg: var(--primary-ink); --btn-bd: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em;
  border: 2px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 .9375rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --btn-bg: var(--primary-hover); --btn-bd: var(--primary-hover); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--ink); --btn-fg: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: #0d2b3e; --btn-bd: #fff; }
.btn--light:hover { --btn-bg: rgba(255,255,255,.9); --btn-bd: rgba(255,255,255,.9); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; gap: .4em; color: var(--primary); font-weight: 700; text-decoration: none; }
.text-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.brand-proxisave .brand img { height: 38px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--text); font-weight: 600; font-size: .9375rem; text-decoration: none;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--ink); background: var(--surface); }
.nav__link[aria-current="page"] { color: var(--primary); }
.nav__link--proxisave { display: inline-flex; align-items: center; gap: 8px; }
.nav__link--proxisave::before {
  content: ""; width: 14px; height: 14px; border-radius: 3px;
  background: conic-gradient(#111 25%, #fff 0 50%, #111 0 75%, #fff 0) 0 0 / 7px 7px;
  box-shadow: 0 0 0 1px #111;
}
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 40px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink);
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-decoration: none;
}
.lang-switch:hover { border-color: var(--ink); }
.nav__cta { min-height: 42px; padding-inline: 1.1em; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 24px;
    margin: 0; padding: 24px var(--gutter) 40px;
    background: var(--bg); border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; }
  .nav__link:hover { background: none; }
  .nav__actions { margin: 0; justify-content: space-between; }
  .nav__cta { flex: 1; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}
/* Without JS the menu stays reachable: show it inline under the header. */
@media (max-width: 960px) {
  .no-js .nav-toggle { display: none; }
  .no-js .nav { position: static; visibility: visible; opacity: 1; transform: none; padding: 0 0 16px; border: 0; }
  .no-js .site-header__inner { flex-wrap: wrap; height: auto; padding-block: 14px; }
}

/* ---------- Hero (Proxicare) ---------- */
.hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; right: -300px; top: -380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25, 173, 156, .16), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); letter-spacing: -.035em; }
.hero h1 .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 2rem; }
.hero__media { position: relative; }
.hero__img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #f4f5f6;
  border-radius: 32px 32px 32px 120px;
  box-shadow: var(--shadow);
}
.hero__chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; max-width: 280px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  font-size: .875rem; font-weight: 600; color: var(--ink); line-height: 1.35;
}
.hero__chip .ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--primary); }
.hero__chip .ico svg { width: 22px; height: 22px; }
.hero__chip--a { left: -32px; bottom: 56px; }
.hero__chip--b { right: -16px; top: 32px; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__img { aspect-ratio: 16 / 11; border-radius: 24px 24px 24px 72px; }
  .hero__chip--a { left: 12px; bottom: -24px; }
  .hero__chip--b { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); background: var(--surface); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  background: var(--gradient); opacity: .09; pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); max-width: 18ch; }
.breadcrumb { display: flex; gap: 8px; list-style: none; padding: 0; margin-bottom: 20px; font-size: .875rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Audience strip ---------- */
.audience { padding-block: 28px; border-block: 1px solid var(--line); }
.audience__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.audience__label { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.audience__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.audience__list li { padding: 8px 16px; border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9375rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.section--tint .card { border-color: transparent; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.375rem; margin-bottom: .4em; }
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; padding-top: 8px; }
.card__icon {
  width: 56px; height: 56px; margin-bottom: 24px;
  display: grid; place-items: center; border-radius: 16px;
  background: var(--gradient); color: #fff;
}
.card__icon svg { width: 28px; height: 28px; }

/* Proxisave teaser card inside Proxicare pages: deliberately looks like the other brand */
.card--proxisave {
  background: #0a0b0d url("../img/hero-proxisave-960.webp") center 70% / 160% auto no-repeat;
  border-color: #0a0b0d; color: #c9ced6;
  isolation: isolate; overflow: hidden;
}
.card--proxisave::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,11,13,.92) 35%, rgba(10,11,13,.55)); }
.card--proxisave h3 { color: #fff; font-family: "Barlow Condensed", sans-serif; font-size: 1.75rem; letter-spacing: .02em; text-transform: uppercase; }
.card--proxisave p { color: #b9bec6; }
.card--proxisave .card__icon { background: #e5322b; border-radius: 4px; }
.card--proxisave .text-link { color: #ff6a61; }

.feature { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); }
.feature__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--primary); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.0625rem; margin: 0; font-family: var(--font-body); letter-spacing: -.01em; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.check-list { list-style: none; display: grid; gap: 14px; margin: 24px 0 32px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--accent); }
.prose { max-width: 68ch; }
.prose strong { color: var(--ink); font-weight: 700; }

/* ---------- Values ---------- */
.values { counter-reset: v; }
.value { padding-top: 28px; border-top: 2px solid var(--line); }
.value__kicker { display: block; margin-bottom: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.value h3 { font-size: 1.625rem; }
.value p { color: var(--muted); margin: 0; }

/* ---------- Stat/pillar panel ---------- */
.panel { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--gradient); color: #fff; box-shadow: var(--shadow); }
.panel h3, .panel h2 { color: #fff; }
.panel p { color: rgba(255,255,255,.88); }
.pillars { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.pillars li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.12); font-weight: 600; }
.pillars svg { width: 22px; height: 22px; flex: none; }

/* ---------- Service detail blocks ---------- */
.subnav { position: sticky; top: 76px; z-index: 20; background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; list-style: none; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav a { display: block; padding: 8px 16px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.subnav a:hover { background: var(--surface); color: var(--ink); }
.service-block + .service-block { border-top: 1px solid var(--line); }
.service-block__num { font-size: .875rem; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.service-block h2 { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 8px 0 0; }
.tags li { padding: 8px 14px; border-radius: 10px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9375rem; }

/* ---------- Proxisave band (inside Proxicare pages) ---------- */
.ps-band { position: relative; isolation: isolate; overflow: hidden; background: #0a0b0d; color: #c9ced6; }
.ps-band__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; opacity: .9; }
.ps-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a0b0d 30%, rgba(10,11,13,.6) 60%, rgba(10,11,13,.2)); }
.ps-band__inner { padding-block: clamp(72px, 10vw, 140px); max-width: 560px; }
.ps-band__logo { height: 48px; width: auto; margin-bottom: 28px; }
.ps-band h2 { color: #fff; font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); line-height: 1; }
.ps-band p { color: #b9bec6; font-size: 1.0625rem; margin-bottom: 28px; }
.ps-band .btn { --btn-bg: #e5322b; --btn-bd: #e5322b; border-radius: 4px; text-transform: uppercase; letter-spacing: .06em; }
.ps-band .btn:hover { --btn-bg: #ff4a3f; --btn-bd: #ff4a3f; }
.ps-band__flag { position: absolute; right: 0; bottom: 0; width: 220px; height: 14px; background: conic-gradient(#fff 25%, #0a0b0d 0 50%, #fff 0 75%, #0a0b0d 0) 0 0 / 14px 14px; opacity: .85; }
@media (max-width: 760px) { .ps-band::before { background: linear-gradient(180deg, rgba(10,11,13,.55), #0a0b0d 60%); } .ps-band__img { height: 55%; } .ps-band__inner { padding-top: 240px; } }

/* ---------- CTA band ---------- */
.cta { padding-block: var(--section); }
.cta__box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: calc(var(--radius) + 8px);
  background: var(--ink); color: rgba(255,255,255,.8);
}
.cta__box::after { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -200px; border-radius: 50%; background: var(--gradient); opacity: .55; filter: blur(10px); }
.cta__box > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); }
.cta p { margin: 0; }
.cta .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta__box { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card__icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 14px; background: var(--gradient); color: #fff; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__label { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { font-size: 1.25rem; font-weight: 700; color: var(--ink); line-height: 1.35; word-break: break-word; }
.contact-card__note { font-size: .8125rem; color: var(--muted); }
.contact-card__action { margin-top: auto; padding-top: 14px; color: var(--primary); font-weight: 700; font-size: .9375rem; }
.note-box { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: #0a0b0d; color: #c9ced6; }
.note-box img { width: 44px; height: auto; flex: none; }
.note-box strong { color: #fff; }
.note-box a { color: #ff6a61; font-weight: 700; }

/* ---------- Legal / prose page ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.375rem; margin-top: 2.2em; font-family: var(--font-body); letter-spacing: -.01em; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--primary); }
.legal .updated { color: var(--muted); font-size: .9375rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: clamp(56px, 7vw, 88px) 28px; font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo { height: 40px; width: auto; margin-bottom: 18px; }
.footer__about { max-width: 34ch; }
.site-footer h2 { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer__list { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__small { font-size: .75rem; color: rgba(255,255,255,.55); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8125rem; color: rgba(255,255,255,.55); }
.footer__bottom ul { display: flex; gap: 20px; list-style: none; }

/* =========================================================================
   PROXISAVE
   ========================================================================= */
.brand-proxisave .site-header.is-scrolled { border-color: var(--line); }
.brand-proxisave .nav__link { text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; font-weight: 700; border-radius: var(--radius-sm); }
.brand-proxisave .nav__link:hover { background: var(--surface-2); }
.brand-proxisave .btn { border-radius: var(--radius); text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; }
.brand-proxisave .btn--ghost { --btn-fg: #fff; --btn-bd: #3a3f47; }
.brand-proxisave .btn--ghost:hover { --btn-bg: #1b1e23; --btn-bd: #fff; }
.brand-proxisave .lang-switch, .brand-proxisave .nav-toggle { border-radius: var(--radius); border-color: #3a3f47; }
.brand-proxisave .eyebrow { color: var(--primary); letter-spacing: .2em; }
.brand-proxisave .eyebrow::before { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(229, 50, 43, .25); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(229, 50, 43, 0); } }
.brand-proxisave h1, .brand-proxisave h2, .brand-proxisave h3 { text-transform: uppercase; letter-spacing: .005em; font-weight: 700; }
.brand-proxisave .section-head h2 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); line-height: 1; }
.brand-proxisave .lead { color: var(--text); }

.ps-parent {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid #2a2e35; border-radius: var(--radius);
  color: var(--muted); font-size: .75rem; font-weight: 600; text-decoration: none;
}
.ps-parent:hover { color: #fff; border-color: #fff; }
.ps-parent img { height: 16px; width: auto; }

.ps-hero { position: relative; isolation: isolate; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; margin-top: -76px; padding-top: 76px; background: #000; }
/* The photo has a pure black studio background, so it is shown whole and faded into the page. */
.ps-hero__img {
  position: absolute; z-index: -2; right: -10%; top: 50%; transform: translateY(-40%);
  width: min(74vw, 1300px); height: auto;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 55% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 55% 50%, #000 55%, transparent 100%);
}
.ps-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 30%, rgba(0,0,0,0) 55%), linear-gradient(180deg, rgba(0,0,0,0) 65%, #0a0b0d 100%); }
.ps-hero__content { padding-block: 96px clamp(56px, 8vw, 104px); }
.ps-hero h1 {
  font-size: clamp(3rem, 1.5rem + 7vw, 7rem); line-height: .9; letter-spacing: -.005em; max-width: 11ch; margin-bottom: 24px;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ps-hero h1 em { font-style: normal; color: var(--primary); -webkit-text-fill-color: var(--primary); }
.ps-hero .lead { max-width: 40ch; margin-bottom: 32px; color: #d5d9df; }
.ps-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); list-style: none; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.ps-hero__meta li { display: flex; align-items: center; gap: 10px; }
.ps-hero__meta svg { width: 20px; height: 20px; color: var(--primary); }
@media (max-width: 860px) {
  .ps-hero { display: block; min-height: 0; }
  .ps-hero__img { position: relative; right: auto; top: auto; transform: none; width: 150%; max-width: none; margin: 16px 0 -24px -18%; }
  .ps-hero::before { background: linear-gradient(180deg, rgba(0,0,0,0) 40%, #0a0b0d 100%); }
  .ps-hero__content { padding-top: 0; }
}

.flag-strip { height: 12px; background: conic-gradient(#e8eaed 25%, #0a0b0d 0 50%, #e8eaed 0 75%, #0a0b0d 0) 0 0 / 12px 12px; opacity: .9; }

.ps-events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 860px) { .ps-events { grid-template-columns: 1fr; } }
.ps-event { padding: clamp(28px, 3.5vw, 44px); background: var(--surface); transition: background .25s; }
.ps-event:hover { background: var(--surface-2); }
.ps-event__icon { width: 52px; height: 52px; margin-bottom: 28px; display: grid; place-items: center; border: 1px solid #3a3f47; border-radius: var(--radius); color: var(--primary); }
.ps-event__icon svg { width: 26px; height: 26px; }
.ps-event h3 { font-size: 1.75rem; margin-bottom: 10px; }
.ps-event p { color: var(--muted); margin: 0; }

.ps-certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
@media (max-width: 860px) { .ps-certs { grid-template-columns: 1fr; } }
.ps-cert { display: flex; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--line); border-left: 3px solid var(--primary); background: var(--surface); }
.ps-cert__abbr { flex: none; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #0a0b0d; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: .02em; }
.ps-cert strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; text-transform: uppercase; line-height: 1.1; letter-spacing: .02em; }
.ps-cert div span { color: var(--muted); font-size: .875rem; }

/* Timeline: before / during / after */
.ps-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); counter-reset: phase; }
@media (max-width: 960px) { .ps-timeline { grid-template-columns: 1fr; } }
.ps-phase { position: relative; padding: 32px 28px 28px; background: var(--surface); border: 1px solid var(--line); }
.ps-phase::before {
  counter-increment: phase; content: "0" counter(phase);
  position: absolute; right: 20px; top: 8px;
  font-family: var(--font-display); font-size: 5rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px #3a3f47;
}
.ps-phase__tag { display: inline-block; margin-bottom: 14px; padding: 4px 10px; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .875rem; }
.ps-phase h3 { font-size: 2rem; margin-bottom: 20px; }
.ps-phase ul { list-style: none; display: grid; gap: 12px; }
.ps-phase li { display: flex; gap: 12px; align-items: flex-start; color: #e3e6ea; }
.ps-phase li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--primary); }
.ps-phase li small { display: inline-block; margin-left: 6px; padding: 1px 8px; border: 1px solid #3a3f47; color: var(--muted); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 12px; }
.gallery__item { display: block; margin: 0 0 12px; break-inside: avoid; position: relative; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.gallery__item img { width: 100%; transition: transform .5s var(--ease), filter .3s; filter: saturate(.9); }
.gallery__item:hover img { transform: scale(1.04); filter: saturate(1.05); }
.gallery__item.is-extra { display: none; }
.gallery.is-expanded .gallery__item.is-extra { display: block; }
.no-js .gallery__item.is-extra { display: block; }
.gallery-more { display: flex; justify-content: center; margin-top: 28px; }
.no-js .gallery-more { display: none; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(5, 6, 8, .94); }
.lightbox__stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 72px; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid #3a3f47; border-radius: 4px; background: rgba(10,11,13,.7); color: #fff; cursor: pointer; }
.lightbox__btn:hover { border-color: #fff; }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); color: #8d949f; font-family: "Barlow Condensed", sans-serif; letter-spacing: .14em; font-size: 1rem; }
@media (max-width: 640px) { .lightbox__stage { padding: 72px 8px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; } }

/* Proxisave contact */
.ps-contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .ps-contact { grid-template-columns: 1fr; } }
.ps-contact h2 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); line-height: .95; }
.ps-contact h2 span { color: var(--primary); }
.ps-lines { display: grid; gap: 12px; }
.ps-line { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; transition: border-color .2s, background .2s; }
a.ps-line:hover { border-color: var(--primary); background: var(--surface-2); }
.ps-line__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; background: var(--primary); color: #fff; border-radius: var(--radius); }
.ps-line__icon svg { width: 22px; height: 22px; }
.ps-line__label { display: block; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ps-line__value { display: block; color: #fff; font-family: var(--font-display); font-size: 1.625rem; font-weight: 600; letter-spacing: .02em; line-height: 1.15; word-break: break-word; }
.ps-line__note { display: block; color: var(--muted); font-size: .75rem; }

.brand-proxisave .site-footer { background: #050607; border-top: 1px solid var(--line); }
.brand-proxisave .site-footer h2 { font-family: var(--font-display); font-size: 1rem; letter-spacing: .16em; }
.footer__parent { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px 16px; border: 1px solid #2a2e35; border-radius: var(--radius); }
.footer__parent img { height: 26px; width: auto; }
.footer__parent span { font-size: .75rem; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.notfound__code { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .btn-row { justify-content: center; }

/* ---------- Reveal on scroll (only when JS adds .js to <html>) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Small helpers used by several pages ---------- */
.feature p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.card .mt { margin-top: 28px; }
.note-box { margin-top: 24px; }
.note-box p { margin: 0; }
.ps-certs--stack { grid-template-columns: 1fr; }
.ps-phase__note { margin: 16px 0 0; color: var(--muted); font-size: .9375rem; }
