/* ==========================================================================
   Pruter-Kältetechnik – Stylesheet
   1. Tokens
   2. Reset & base
   3. Layout helpers
   4. Buttons & links
   5. Header
   6. Hero
   7. Facts
   8. Services
   9. Perks
   10. Certificates
   11. Notice strip
   12. Subpage hero & services list
   13. About
   14. Jobs
   15. Contact
   16. Footer
   17. Lightbox
   18. Map
   19. Legal prose
   20. 404
   21. Responsive & preferences
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #262a2f;
  --body-text: #4d5864;
  --muted: #5a6672;
  --blue: #0a62e0;
  --blue-dark: #0b2f6b;
  --cyan: #12c1ff;
  --soft: #f3f6f9;
  --line: #dde4ea;
  --line-strong: #cfd8e0;
  --field-line: #9fb0bf;
  --navy: #0c2340;
  --navy-line: #24406a;
  --footer-text: #b9c9dc;
  --white: #fff;

  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --container: 1400px;
  --header-height: 88px;

  --gradient-line: linear-gradient(90deg, var(--blue), var(--cyan));
  --shadow-card: 0 20px 40px -28px rgba(20, 40, 70, 0.4);
  --shadow-thumb: 0 10px 24px -14px rgba(20, 40, 70, 0.45);
}

/* 2. Reset & base ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-dark);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* 3. Layout helpers -------------------------------------------------------- */
.section {
  padding-block: clamp(56px, 7vw, 88px);
}

.section--soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-size: clamp(38px, 5vw, 64px);
  margin: 0 0 40px;
}

.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px 72px;
  align-items: center;
}

.section-head h2 {
  font-size: clamp(38px, 4.6vw, 60px);
  margin: 0 0 16px;
}

.section-head p {
  color: var(--body-text);
  max-width: 44ch;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--blue);
  font-weight: 600;
}

.eyebrow::before {
  content: '';
  flex: none;
  width: 44px;
  height: 4px;
  background: var(--gradient-line);
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow-block {
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 600;
}

/* 4. Buttons & links ------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 15px 28px;
  border: 0;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.btn--primary {
  padding: 13px 24px;
  font-size: 20px;
}

.btn--block {
  width: 100%;
  padding-block: 15px;
  font-size: 22px;
  text-align: center;
}

.link-arrow {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.link-arrow::after {
  content: ' →';
}

.link-arrow:hover {
  text-decoration: underline;
}

/* 5. Header ---------------------------------------------------------------- */
.topbar {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--body-text);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: 9px;
}

.topbar p {
  margin: 0;
}

.topbar__emergency a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.topbar__emergency a:hover {
  color: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 36px;
  padding-block: 12px;
}

.brand {
  display: block;
  flex: none;
  width: 210px;
  max-width: 46vw;
}

.brand img {
  display: block;
  width: 100%;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  list-style: none;
  font-weight: 600;
}

.primary-nav ul a {
  display: block;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.primary-nav ul a:hover {
  border-bottom-color: var(--cyan);
  color: var(--blue);
}

.primary-nav ul a[aria-current='page'] {
  border-bottom-color: var(--blue);
}

.primary-nav__cta {
  flex: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 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: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px 72px;
  align-items: center;
  padding-block: clamp(44px, 5vw, 64px) clamp(48px, 6vw, 72px);
}

.hero__title {
  font-size: clamp(38px, 4.6vw, 66px);
  margin: 0 0 22px;
  max-width: 16ch;
}

.hero__lead {
  max-width: 52ch;
  margin-bottom: 32px;
  color: var(--body-text);
  font-size: 19px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

.hero__actions .link-arrow {
  color: var(--ink);
}

.hero__figure {
  position: relative;
  padding: 0 0 22px 22px;
  margin: 0;
}

.hero__figure::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  border-left: 4px solid var(--cyan);
  border-bottom: 4px solid var(--blue);
}

.hero__media {
  position: relative;
  aspect-ratio: 5 / 4;
  background: #eaf0f5;
  overflow: hidden;
}

.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 7. Facts ----------------------------------------------------------------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  max-width: var(--container);
  margin-inline: auto;
}

.fact {
  padding: 28px var(--gutter);
  border-left: 1px solid var(--line);
}

.fact:first-child {
  border-left: 0;
  padding-left: var(--gutter);
}

.fact__value {
  font-family: var(--font-display);
  font-size: clamp(30px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.fact__label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
}

/* 8. Services -------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 2px solid var(--ink);
}

@media (min-width: 620px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 250px;
  padding: 30px 28px 34px 0;
  margin-right: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s ease;
}

.service-card:hover {
  color: var(--blue);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.service-card__text {
  flex: 1;
  color: var(--body-text);
  line-height: 1.5;
}

.service-card__more {
  color: var(--blue);
  font-weight: 700;
}

/* 9. Perks ----------------------------------------------------------------- */
.perks {
  display: grid;
  gap: 26px;
}

.perk {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
}

.perk::before {
  content: '';
  width: 36px;
  height: 4px;
  margin-top: 16px;
  background: var(--gradient-line);
}

.perk h3 {
  margin: 0 0 4px;
  font-size: 28px;
}

.perk p {
  color: var(--body-text);
  line-height: 1.5;
}

/* 10. Certificates -------------------------------------------------------- */
.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.cert-card {
  all: unset;
  display: block;
  width: 200px;
  cursor: zoom-in;
}

.cert-card__frame {
  display: block;
  width: 200px;
  height: 280px;
  padding: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-thumb);
}

.cert-card__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.cert-card__title {
  display: block;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.cert-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

/* 11. Notice strip -------------------------------------------------------- */
.notice {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.notice__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-block: 16px;
  font-size: 15px;
  color: var(--body-text);
}

.notice strong {
  color: var(--blue);
}

/* 12. Subpage hero & services list ---------------------------------------- */
.page-intro {
  padding-block: clamp(44px, 5vw, 64px) clamp(24px, 3vw, 40px);
}

.page-intro h1 {
  font-size: clamp(34px, 3.8vw, 52px);
  margin: 0 0 16px;
}

.page-intro__lead {
  max-width: 64ch;
  color: var(--body-text);
  font-size: 20px;
}

.services-list {
  padding-block: 16px clamp(56px, 7vw, 72px);
}

.service-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px 64px;
  padding-block: 40px;
  border-top: 1px solid var(--line-strong);
}

.service-row h2 {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 38px);
}

.service-row__body p {
  max-width: 56ch;
  font-size: 19px;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.4;
}

.check-list li::before {
  content: '';
  width: 22px;
  height: 3px;
  margin-top: 11px;
  background: var(--cyan);
}

/* 13. About --------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px 80px;
  align-items: start;
  padding-block: 8px clamp(56px, 7vw, 88px);
}

.about-copy {
  display: grid;
  gap: 22px;
  max-width: 56ch;
  font-size: 20px;
}

.about-copy p {
  margin: 0;
  color: var(--body-text);
}

.about-copy p:first-child {
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.45;
}

.feature-list {
  list-style: none;
  border-top: 2px solid var(--ink);
}

.feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  line-height: 1.4;
}

.feature-list li::before {
  content: '';
  width: 22px;
  height: 3px;
  margin-top: 11px;
  background: var(--cyan);
}

.about-grid h2 {
  font-size: 34px;
  margin: 0 0 14px;
}

.about-grid .link-arrow {
  display: inline-block;
  margin-top: 26px;
}

/* 14. Jobs ---------------------------------------------------------------- */
.jobs-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px 64px;
  align-items: center;
  padding-block: clamp(44px, 5vw, 64px) 48px;
}

.jobs-hero h1 {
  font-size: clamp(34px, 3.8vw, 52px);
  margin: 0 0 18px;
  max-width: 24ch;
}

.jobs-hero p {
  max-width: 48ch;
  margin-bottom: 26px;
  color: var(--body-text);
  font-size: 20px;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
  padding-bottom: clamp(56px, 7vw, 88px);
}

.job-card {
  padding: 28px 28px 14px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--blue);
}

.job-card h2 {
  font-size: 28px;
  line-height: 1.05;
  margin: 0 0 14px;
}

.job-card ul {
  list-style: none;
  border-top: 2px solid var(--ink);
}

.job-card li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}

.job-card li::before {
  content: '';
  width: 22px;
  height: 3px;
  margin-top: 11px;
  background: var(--cyan);
}

.jobs-note {
  padding-block: 0 clamp(56px, 7vw, 88px);
  color: var(--body-text);
}

/* 15. Contact ------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px 72px;
  align-items: start;
}

.contact-row {
  padding-block: 20px 24px;
  border-top: 1px solid var(--line);
}

.contact-row:first-child {
  border-top: 2px solid var(--ink);
}

.contact-row__label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-row__value {
  font-size: 21px;
  line-height: 1.35;
}

.contact-row__value a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.contact-row__value a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.contact-row--phone .contact-row__value a {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
}

.callout {
  margin-top: 4px;
  padding: 22px 24px;
  background: var(--soft);
  border-top: 4px solid var(--cyan);
  font-size: 16px;
  line-height: 1.5;
}

.callout__title {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-card {
  display: grid;
  gap: 18px;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  scroll-margin-top: 110px;
}

.form-card h2 {
  margin: 0;
  font-size: 30px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1.5px solid var(--field-line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 400;
}

.field select {
  padding-right: 40px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23262a2f' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 98, 224, 0.14);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.captcha {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--line-strong);
  background: #f6f9fc;
}

.captcha__legend {
  padding: 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.captcha__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.captcha__question {
  min-width: 6.5ch;
  padding: 9px 14px;
  border: 1.5px dashed var(--field-line);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.captcha__input {
  width: 108px;
  padding: 12px 14px;
  border: 1.5px solid var(--field-line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}

.captcha__input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 98, 224, 0.14);
}

.captcha__refresh {
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.captcha__refresh:hover {
  color: var(--blue-dark);
}

.field-hint {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--body-text);
}

.checkbox-field input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.form-status {
  display: none;
  padding: 14px 16px;
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  background: #e3f1e8;
  border: 1px solid #8cc3a1;
}

.form-status--error {
  background: #fbeaea;
  border: 1px solid #d9a2a2;
}

.form-note {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.form-note a {
  color: var(--muted);
}

.map-block {
  margin-top: 64px;
  padding-bottom: clamp(56px, 7vw, 96px);
}

.map-block h2 {
  font-size: 30px;
  margin: 0 0 8px;
}

.map-block__address {
  margin-bottom: 18px;
  color: var(--body-text);
}

/* 18. Map ---------------------------------------------------------------- */
.map-consent {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(280px, 34vw, 440px);
  padding: 32px;
  background:
    repeating-linear-gradient(135deg, rgba(10, 98, 224, 0.05) 0 12px, transparent 12px 24px),
    var(--soft);
  border: 1px solid var(--line-strong);
  text-align: center;
}

.map-consent__inner {
  max-width: 48ch;
}

.map-consent h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.map-consent p {
  margin-bottom: 18px;
  font-size: 16px;
  color: var(--body-text);
}

.map-embed {
  border: 1px solid var(--line-strong);
  height: clamp(300px, 40vw, 460px);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  display: inline-block;
  margin-top: 14px;
}

/* 16. Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: var(--footer-text);
  font-size: 16px;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 40px 48px;
  padding-block: 56px 40px;
}

.footer-brand__plate {
  width: 200px;
  margin-bottom: 16px;
  padding: 8px 8px 6px;
  background: var(--white);
}

.footer-brand p {
  max-width: 30ch;
  font-size: 15px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--navy-line);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-social svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.footer-social:hover {
  border-color: var(--cyan);
  color: var(--white);
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-heading span {
  width: 22px;
  height: 3px;
  background: var(--cyan);
}

.site-footer a {
  color: var(--footer-text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan);
}

.footer-contact-links {
  margin-top: 12px;
}

.footer-emergency {
  margin-top: 12px;
  font-size: 15px;
}

.footer-emergency a {
  color: var(--white);
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 2px;
  list-style: none;
}

.footer-bottom {
  border-top: 1px solid var(--navy-line);
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  padding-block: 20px 26px;
  font-size: 14px;
}

.footer-bottom__inner p {
  margin: 0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  list-style: none;
}

.legal-links a:hover {
  color: var(--white);
}

/* 17. Lightbox ----------------------------------------------------------- */
.lightbox {
  width: min(1100px, 100vw - 32px);
  max-width: none;
  max-height: 100vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
}

.lightbox::backdrop {
  background: rgba(20, 26, 34, 0.94);
}

.lightbox__inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  height: min(94vh, 1000px);
  padding: 20px 0;
}

.lightbox__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.lightbox__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
}

.lightbox__close {
  padding: 10px 18px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 0 0 8px var(--white);
}

.lightbox__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.lightbox__nav button {
  padding: 10px 20px;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.lightbox__nav button:hover {
  background: var(--white);
  color: var(--ink);
}

/* 19. Legal prose -------------------------------------------------------- */
.legal {
  padding-block: clamp(44px, 5vw, 64px) clamp(64px, 8vw, 96px);
}

.legal h1 {
  font-size: clamp(34px, 3.8vw, 52px);
  margin: 0 0 32px;
}

.prose {
  max-width: 78ch;
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 28px;
}

.prose h3 {
  margin: 26px 0 8px;
  font-size: 22px;
}

.prose p,
.prose li {
  color: var(--body-text);
}

.prose ul {
  margin: 0 0 1em;
  padding-left: 22px;
  list-style: disc;
}

.prose li {
  margin-bottom: 6px;
}

.prose address {
  margin-bottom: 1em;
  line-height: 1.7;
}

.prose table {
  width: 100%;
  margin: 0 0 1.4em;
  border-collapse: collapse;
  font-size: 16px;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--soft);
  font-weight: 700;
}

/* 20. 404 ---------------------------------------------------------------- */
.notfound {
  padding-block: clamp(64px, 10vw, 120px);
  text-align: center;
}

.notfound h1 {
  font-size: clamp(38px, 6vw, 72px);
  margin: 0 0 16px;
}

.notfound p {
  max-width: 52ch;
  margin: 0 auto 28px;
  color: var(--body-text);
}

/* 21. Responsive & preferences ------------------------------------------- */
@media (max-width: 1080px) {
  .fact:first-child {
    padding-left: var(--gutter);
    border-left: 1px solid var(--line);
  }

  .fact:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 32px -24px rgba(20, 40, 70, 0.45);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav ul {
    display: grid;
    gap: 0;
  }

  .primary-nav ul a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav ul a[aria-current='page'],
  .primary-nav ul a:hover {
    border-bottom-color: var(--line);
    color: var(--blue);
  }

  .primary-nav ul a[aria-current='page'] {
    color: var(--blue);
    box-shadow: inset 3px 0 0 var(--blue);
    padding-left: 12px;
  }

  .primary-nav__cta {
    margin-top: 18px;
    text-align: center;
  }

  .site-header .header-bar {
    position: relative;
    flex-wrap: nowrap;
  }

  .topbar__inner {
    justify-content: flex-start;
  }

  .section-head {
    gap: 24px;
  }

  .service-card {
    margin-right: 0;
    padding-right: 0;
    min-height: 0;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 17px;
  }

  .brand {
    width: 160px;
  }

  .topbar {
    font-size: 13.5px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero__figure {
    padding: 0 0 16px 16px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 24px 20px;
  }

  .cert-card,
  .cert-card__frame {
    width: 100%;
  }

  .cert-card__frame {
    height: auto;
    aspect-ratio: 5 / 7;
  }

  .lightbox__title {
    font-size: 22px;
  }

  .footer-bottom__inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .topbar,
  .hero__actions,
  .map-block,
  .nav-toggle {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 12pt;
  }
}
