/* ==========================================================================
   Film & Events Medical Services Ltd
   Core stylesheet
   --------------------------------------------------------------------------
   Palette is derived from the July 2026 logo. Red (--alert) is reserved
   exclusively for emergency / 999 messaging so that it never competes with
   commercial calls to action.
   ========================================================================== */

:root {
  /* Brand */
  --brand:        #2DC0D4;
  --brand-bright: #56E0CE;
  --brand-deep:   #0B6F86;
  --brand-ink:    #06333F;

  /* Emergency — reserved */
  --alert:        #C8102E;
  --alert-dark:   #9E0C24;

  /* Dark chrome */
  --ink-900: #05090C;
  --ink-800: #0A1218;
  --ink-700: #101E26;
  --ink-600: #172A33;
  --line-dk: rgba(255,255,255,.12);
  --line-dk-soft: rgba(255,255,255,.07);

  /* Light paper */
  --paper:    #F6F8F9;
  --paper-2:  #FFFFFF;
  --paper-3:  #ECF1F3;
  --text:     #0D1A21;
  --text-mid: #45585F;
  --text-low: #6C7F87;
  --line:     #DCE4E7;

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Metrics */
  --wrap: 1280px;
  --gutter: 28px;
  --radius: 4px;
}

/* --------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; margin: 0; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .38em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #04222B; padding: .75rem 1.25rem;
  font-family: var(--mono); font-size: .8rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------- Emergency banner */
.emergency {
  background: var(--alert);
  color: #fff;
  text-align: center;
  padding: .7rem var(--gutter);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .005em;
  position: relative;
  z-index: 60;
}
.emergency .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: .7rem; flex-wrap: wrap; padding: 0;
}
.emergency svg { flex: none; }
.emergency strong { font-family: var(--display); font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.emergency a { color: #fff; text-decoration: underline; font-weight: 700; }
.emergency a:hover { color: #fff; }

/* --------------------------------------------------------- Site header */
.site-header {
  background: var(--ink-900);
  border-bottom: 1px solid var(--line-dk-soft);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 88px;
}
.brand-lockup { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: none; }
.brand-lockup img { width: 46px; height: auto; }
.brand-words { display: block; line-height: 1; }
.brand-words .l1 {
  font-family: var(--display); font-weight: 800; font-size: 1.16rem;
  color: #fff; letter-spacing: -.01em; display: block;
}
.brand-words .l2 {
  font-family: var(--display); font-weight: 600; font-size: .78rem;
  color: var(--brand); letter-spacing: .17em; display: block; margin-top: .18rem;
}
.brand-words .l3 {
  font-family: var(--mono); font-size: .545rem; color: rgba(255,255,255,.5);
  letter-spacing: .13em; display: block; margin-top: .3rem;
  border-top: 1px solid rgba(255,255,255,.16); padding-top: .28rem;
}

/* Navigation */
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: flex; align-items: center; gap: .35rem;
  padding: .65rem .7rem; color: rgba(255,255,255,.86);
  font-size: .875rem; font-weight: 500; text-decoration: none;
  border-radius: 3px; white-space: nowrap;
}
.nav > ul > li > a:hover,
.nav > ul > li:focus-within > a { color: #fff; background: rgba(255,255,255,.07); }
.nav > ul > li > a[aria-current="true"] { color: var(--brand); }
.nav .caret { width: 8px; height: 8px; opacity: .55; }

.submenu {
  position: absolute; top: calc(100% + 6px); left: -.4rem;
  min-width: 288px; background: var(--ink-800);
  border: 1px solid var(--line-dk); border-top: 2px solid var(--brand);
  list-style: none; margin: 0; padding: .45rem;
  opacity: 0; visibility: hidden; transform: translateY(-5px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  box-shadow: 0 22px 48px rgba(0,0,0,.55);
  z-index: 40;
}
.nav > ul > li:hover > .submenu,
.nav > ul > li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: .55rem .7rem; color: rgba(255,255,255,.8);
  font-size: .855rem; text-decoration: none; border-radius: 3px;
}
.submenu a:hover { background: rgba(45,192,212,.14); color: #fff; }
.submenu li { margin: 0; }

.header-contact { display: flex; align-items: center; gap: .95rem; flex: none; }
.tel {
  display: flex; align-items: center; gap: .55rem;
  color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em;
  white-space: nowrap;
}
.tel .tel-ring {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--brand); display: grid; place-items: center; flex: none;
}
.tel:hover { color: var(--brand-bright); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-dk);
  color: #fff; padding: .55rem .8rem; border-radius: 3px; cursor: pointer;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  align-items: center; gap: .5rem;
}

/* Mobile drawer */
.mobile-nav {
  display: none; background: var(--ink-800); border-top: 1px solid var(--line-dk);
  max-height: 74vh; overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line-dk-soft); }
.mobile-nav > ul > li > a,
.mobile-nav .m-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: .95rem var(--gutter); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  background: none; border: 0; text-align: left; cursor: pointer;
}
.mobile-nav .m-toggle[aria-expanded="true"] { color: var(--brand); }
.mobile-nav .m-sub { display: none; padding: 0 0 .7rem; background: rgba(0,0,0,.28); }
.mobile-nav .m-sub.open { display: block; }
.mobile-nav .m-sub a {
  display: block; padding: .6rem var(--gutter) .6rem calc(var(--gutter) + 1rem);
  color: rgba(255,255,255,.78); text-decoration: none; font-size: .9rem;
}
.mobile-nav .m-actions { padding: 1.1rem var(--gutter) 1.4rem; display: grid; gap: .6rem; }

/* ------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  padding: .95rem 1.35rem; border-radius: var(--radius);
  font-family: var(--display); font-weight: 700; font-size: .84rem;
  letter-spacing: .09em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #04232C; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-bright); border-color: var(--brand-bright); color: #04232C; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-bright); }
.btn-dark { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.btn-dark:hover { background: var(--ink-700); border-color: var(--ink-700); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn-sm { padding: .68rem 1rem; font-size: .74rem; gap: .9rem; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative; background: var(--ink-900); color: #fff; overflow: hidden;
  border-bottom: 1px solid var(--line-dk-soft);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 88% at 88% 12%, rgba(45,192,212,.30) 0%, rgba(45,192,212,0) 58%),
    radial-gradient(90% 70% at 8% 92%, rgba(11,111,134,.34) 0%, rgba(11,111,134,0) 62%),
    linear-gradient(180deg, rgba(5,9,12,.34) 0%, rgba(5,9,12,.86) 72%, var(--ink-900) 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 5.5rem 0 0; }
.hero-copy { max-width: 700px; }
.eyebrow {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 1.25rem;
  display: flex; align-items: center; gap: .8rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--brand); flex: none; }
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.5rem);
  letter-spacing: -.038em; line-height: 1.02; margin: 0 0 1.5rem;
}
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 4rem; }

/* Hero watermark */
.hero-mark {
  position: absolute; right: 4%; top: 3%; width: 37%; max-width: 460px;
  opacity: .15; z-index: 1; pointer-events: none;
}

/* Hero pulse signature */
.pulse-line { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 1; opacity: .7; pointer-events: none; }
.pulse-line path { fill: none; stroke: var(--brand); stroke-width: 1.4; stroke-linecap: round;
  stroke-dasharray: 1500; stroke-dashoffset: 1500; animation: trace 6s ease-out .4s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }

/* Service strip in hero */
.hero-services {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line-dk);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.hero-services > a {
  padding: 2rem 1.6rem 2.3rem; text-decoration: none; color: #fff;
  border-right: 1px solid var(--line-dk); transition: background .2s;
  display: block;
}
.hero-services > a:last-child { border-right: 0; }
.hero-services > a:hover { background: rgba(45,192,212,.09); }
.hero-services .ico { color: var(--brand); margin-bottom: .95rem; display: block; }
.hero-services h3 {
  font-size: .93rem; text-transform: uppercase; letter-spacing: .04em;
  font-weight: 700; margin-bottom: .55rem; line-height: 1.25;
}
.hero-services p { font-size: .85rem; color: rgba(255,255,255,.62); margin: 0; line-height: 1.5; }

/* Assurance strip */
.assurance { background: var(--ink-800); border-top: 1px solid var(--line-dk-soft); }
.assurance ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.assurance li {
  display: flex; align-items: center; gap: .65rem; margin: 0;
  padding: 1.05rem 1.2rem; color: rgba(255,255,255,.82);
  font-family: var(--mono); font-size: .715rem; letter-spacing: .09em; text-transform: uppercase;
  border-right: 1px solid var(--line-dk-soft); line-height: 1.35;
}
.assurance li:last-child { border-right: 0; }
.assurance svg { color: var(--brand); flex: none; }

/* Regulatory bar */
.reg-bar { background: var(--ink-900); border-top: 1px solid var(--line-dk-soft); padding: 1.9rem 0; }
.reg-bar .wrap { display: grid; grid-template-columns: 1.6fr 1.2fr auto; gap: 2.4rem; align-items: center; }
.reg-note { display: flex; gap: 1.1rem; align-items: flex-start; }
.reg-note .cqc-badge {
  font-family: var(--display); font-weight: 700; color: #fff; line-height: 1.15;
  border: 1.5px solid rgba(255,255,255,.35); padding: .5rem .7rem; border-radius: 3px;
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; text-align: center; flex: none;
}
.reg-note p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.62); line-height: 1.55; }
.reg-cta h4 { color: #fff; font-size: 1rem; margin-bottom: .3rem; }
.reg-cta p { margin: 0; font-size: .84rem; color: rgba(255,255,255,.6); }
.reg-buttons { display: grid; gap: .55rem; }

/* --------------------------------------------------------- Page header */
.page-head {
  background: var(--ink-900); color: #fff; position: relative; overflow: hidden;
  padding: 2.6rem 0 3.2rem;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 130% at 85% 0%, rgba(45,192,212,.22), transparent 62%);
}
.page-head .wrap { position: relative; z-index: 2; }
.breadcrumb { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.6rem; }
.breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: rgba(255,255,255,.3); margin: 0 .5rem; }
.breadcrumb .current { color: var(--brand); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.032em; max-width: 20ch; }
.page-head .purpose {
  margin: 1.3rem 0 0; max-width: 62ch; font-size: 1.08rem; color: rgba(255,255,255,.74);
  border-left: 2px solid var(--brand); padding-left: 1.1rem;
}

/* ------------------------------------------------------------- Content */
main { display: block; }
.section { padding: 4.6rem 0; }
.section-tight { padding: 3rem 0; }
.section-alt { background: var(--paper-3); }
.section-dark { background: var(--ink-900); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.72); }

.section-head { margin-bottom: 2.6rem; max-width: 68ch; }
.section-head .eyebrow { color: var(--brand-deep); }
.section-head .eyebrow::before { background: var(--brand); }
.section-dark .section-head .eyebrow { color: var(--brand); }
.section-head h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.03em; }
.section-head p { margin-top: .9rem; color: var(--text-mid); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(255,255,255,.7); }

.prose { max-width: 74ch; }
.prose h2 { font-size: 1.55rem; margin: 2.6rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 2rem 0 .6rem; }
.prose > ul li::marker { color: var(--brand-deep); }

.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 4rem; align-items: start; }

/* Cards */
.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper-2); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; }
a.card { text-decoration: none; color: inherit; transition: background .18s; }
a.card:hover { background: #fff; }
a.card:hover h3 { color: var(--brand-deep); }
.card .ico { color: var(--brand-deep); margin-bottom: 1.1rem; }
.card h3 { font-size: 1.08rem; margin-bottom: .55rem; }
.card p { font-size: .92rem; color: var(--text-mid); margin: 0; }
.card .card-more {
  margin-top: auto; padding-top: 1.2rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--brand-deep);
  display: flex; align-items: center; gap: .5rem;
}
.card-index {
  font-family: var(--mono); font-size: .72rem; color: var(--text-low);
  letter-spacing: .1em; margin-bottom: .8rem;
}

/* Feature list (Why choose us) */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.6rem; }
.feature-list li {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line); margin: 0;
}
.feature-list svg { color: var(--brand-deep); flex: none; margin-top: .28rem; }
.section-dark .feature-list li { border-bottom-color: var(--line-dk-soft); }
.section-dark .feature-list svg { color: var(--brand); }

/* Checklist / section list */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.checklist.cols-2 { grid-template-columns: repeat(2, 1fr); column-gap: 2.6rem; }
.checklist.cols-3 { grid-template-columns: repeat(3, 1fr); column-gap: 2.2rem; }
.checklist li {
  margin: 0; padding: .78rem 0 .78rem 1.6rem; position: relative;
  border-bottom: 1px solid var(--line); font-size: .96rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1.32rem;
  width: 7px; height: 7px; background: var(--brand); border-radius: 1px;
}
.section-dark .checklist li { border-bottom-color: var(--line-dk-soft); }

/* Numbered steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li {
  counter-increment: s; margin: 0; padding: 1rem 0 1rem 3.4rem;
  border-bottom: 1px solid var(--line); position: relative; font-size: .98rem;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 1.05rem;
  font-family: var(--mono); font-size: .78rem; color: var(--brand-deep);
  letter-spacing: .05em; font-weight: 600;
}

/* Notices */
.notice {
  border-left: 3px solid var(--brand); background: var(--paper-2);
  padding: 1.5rem 1.7rem; margin: 2rem 0; border-radius: 0 var(--radius) var(--radius) 0;
  border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.notice h4 {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-deep); margin-bottom: .7rem; font-weight: 600;
}
.notice p:last-child { margin-bottom: 0; }
.notice-alert { border-left-color: var(--alert); background: #FDF3F4; border-color: #F3D9DD; border-left-color: var(--alert); }
.notice-alert h4 { color: var(--alert-dark); }
.notice-status { background: #FFFBF0; border-color: #F0E4C6; border-left-color: #C98A00; }
.notice-status h4 { color: #8A5D00; }

/* Download blocks */
.download {
  display: flex; align-items: center; gap: 1.2rem; justify-content: space-between;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; margin: 1rem 0; text-decoration: none; color: inherit;
  transition: border-color .18s, background .18s;
}
.download:hover { border-color: var(--brand); background: #fff; }
.download .dl-main { display: flex; align-items: center; gap: 1rem; }
.download .dl-icon { color: var(--brand-deep); flex: none; }
.download strong { display: block; font-family: var(--display); font-size: 1rem; letter-spacing: -.01em; }
.download small { color: var(--text-low); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.download .dl-go { font-family: var(--mono); font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; color: var(--brand-deep); white-space: nowrap; }

/* CTA rows */
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2.4rem 0 0; }

/* Key/value contact panel */
.panel {
  background: var(--paper-2); border: 1px solid var(--line);
  border-top: 3px solid var(--brand); padding: 1.7rem; border-radius: 0 0 var(--radius) var(--radius);
}
.panel h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.panel .kv { display: grid; gap: .8rem; margin: 0 0 1.2rem; }
.panel .kv div { display: grid; gap: .15rem; }
.panel .kv dt, .panel .kv .k {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-low);
}
.panel .kv dd, .panel .kv .v { margin: 0; font-size: .96rem; }
.panel address { font-style: normal; font-size: .96rem; line-height: 1.55; }

.sidebar { display: grid; gap: 1.4rem; position: sticky; top: 116px; }
.sidebar-nav { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sidebar-nav h4 {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 1rem 1.2rem; background: var(--ink-900); color: #fff; margin: 0; font-weight: 500;
}
.sidebar-nav ul { list-style: none; margin: 0; padding: .5rem; }
.sidebar-nav li { margin: 0; }
.sidebar-nav a {
  display: block; padding: .6rem .75rem; font-size: .9rem; color: var(--text-mid);
  text-decoration: none; border-radius: 3px; border-left: 2px solid transparent;
}
.sidebar-nav a:hover { background: var(--paper-3); color: var(--text); }
.sidebar-nav a[aria-current="page"] { color: var(--brand-ink); border-left-color: var(--brand); background: var(--paper-3); font-weight: 600; }

/* Stats / values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dk); border-block: 1px solid var(--line-dk); }
.values > div { background: var(--ink-900); padding: 2.4rem 1.8rem; text-align: center; }
.values .v-word {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem,3vw,2.1rem);
  color: var(--brand); letter-spacing: -.02em; display: block; margin-bottom: .6rem;
}
.values p { font-size: .92rem; color: rgba(255,255,255,.68); margin: 0; }

/* Pre-footer CTA */
.prefooter { background: var(--ink-800); color: #fff; padding: 3.6rem 0; border-top: 1px solid var(--line-dk-soft); }
.prefooter .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; }
.prefooter h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .6rem; }
.prefooter p { color: rgba(255,255,255,.68); margin: 0; max-width: 56ch; }
.prefooter-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* --------------------------------------------------------------- Forms */
.form { display: grid; gap: 1.3rem; max-width: 780px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.field { display: grid; gap: .45rem; }
.field label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mid); }
.field .req { color: var(--alert); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; padding: .8rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2);
  color: var(--text); width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(45,192,212,.2); }
.field .hint { font-size: .82rem; color: var(--text-low); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; }
.check input { width: 18px; height: 18px; margin-top: .2rem; flex: none; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.fieldset legend {
  font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em;
  padding: 0 0 .3rem; margin-bottom: .4rem; width: 100%; border-bottom: 1px solid var(--line);
}
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius); font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #E9F7F6; border: 1px solid #A8DED8; color: #0B5C55; }

/* ---------------------------------------------------------- Vacancies */
.vacancy { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.7rem; margin-bottom: 1rem; }
.vacancy-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
.vacancy h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .55rem; border: 1px solid var(--line); border-radius: 2px; color: var(--text-mid);
  display: inline-block; margin: 0 .35rem .35rem 0;
}
.tag-live { border-color: var(--brand); color: var(--brand-ink); background: rgba(45,192,212,.1); }
.vacancy-meta { display: flex; flex-wrap: wrap; gap: 0 1.8rem; margin: 1rem 0; }
.vacancy-meta div { font-size: .9rem; }
.vacancy-meta .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .11em; text-transform: uppercase; color: var(--text-low); display: block; }

/* --------------------------------------------------------------- Table */
.table-wrap { overflow-x: auto; margin: 1.6rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: .7rem; letter-spacing: .11em; text-transform: uppercase; color: var(--text-mid); background: var(--paper-3); }

/* -------------------------------------------------------------- Footer */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.7); padding-top: 3.6rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 2.4rem; padding-bottom: 3rem; }
.footer-brand img { width: 120px; margin-bottom: 1.3rem; }
.footer-brand p { font-size: .88rem; line-height: 1.6; margin-bottom: 1.2rem; }
.footer-brand address { font-style: normal; font-size: .88rem; line-height: 1.6; color: rgba(255,255,255,.6); }
.footer-col h4 {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1.1rem; font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: rgba(255,255,255,.68); text-decoration: none; font-size: .875rem; }
.footer-col a:hover { color: var(--brand-bright); }

.footer-emergency {
  border-top: 1px solid var(--line-dk); border-bottom: 1px solid var(--line-dk);
  padding: 1.3rem 0; display: flex; align-items: center; gap: .8rem; justify-content: center;
  text-align: center; flex-wrap: wrap;
}
.footer-emergency svg { color: var(--alert); flex: none; }
.footer-emergency p { margin: 0; color: #fff; font-weight: 600; font-size: .95rem; }
.footer-emergency a { color: #fff; }

.footer-legal { padding: 1.6rem 0 2.4rem; display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal p { margin: 0; font-size: .8rem; color: rgba(255,255,255,.45); line-height: 1.6; }
.footer-legal ul { list-style: none; display: flex; gap: 1.3rem; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.55); font-size: .8rem; text-decoration: none; }
.footer-legal a:hover { color: var(--brand); }
.footer-legal button {
  background: none; border: 0; color: rgba(255,255,255,.55); font: inherit; font-size: .8rem;
  cursor: pointer; padding: 0; text-decoration: underline;
}

/* -------------------------------------------------------- Cookie banner */
.cookie {
  position: fixed; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 80;
  background: var(--ink-800); border: 1px solid var(--line-dk); border-top: 2px solid var(--brand);
  padding: 1.4rem 1.6rem; box-shadow: 0 24px 60px rgba(0,0,0,.5);
  display: none; gap: 1.6rem; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; border-radius: var(--radius); flex-wrap: wrap;
}
.cookie.show { display: flex; }
.cookie p { margin: 0; color: rgba(255,255,255,.78); font-size: .9rem; max-width: 62ch; }
.cookie h4 { color: #fff; font-size: 1rem; margin-bottom: .4rem; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ------------------------------------------------------------ Utilities */
.mono-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-low); }
.lede-text { font-size: 1.15rem; color: var(--text-mid); max-width: 68ch; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------- Responsive */
@media (max-width: 1180px) {
  .nav > ul > li > a { padding: .6rem .5rem; font-size: .83rem; }
  .tel { font-size: .95rem; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .nav, .header-contact { display: none; }
  .nav-toggle { display: flex; }
  .hero-mark { display: none; }
  .hero-services { grid-template-columns: repeat(2, 1fr); }
  .hero-services > a { border-bottom: 1px solid var(--line-dk); }
  .assurance ul { grid-template-columns: repeat(2, 1fr); }
  .assurance li { border-bottom: 1px solid var(--line-dk-soft); }
  .reg-bar .wrap { grid-template-columns: 1fr; gap: 1.6rem; }
  .content-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .sidebar { position: static; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .prefooter .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .header-inner { min-height: 72px; }
  .brand-lockup img { width: 38px; }
  .brand-words .l1 { font-size: 1rem; }
  .brand-words .l2 { font-size: .68rem; letter-spacing: .13em; }
  .brand-words .l3 { display: none; }
  .hero-inner { padding-top: 3.4rem; }
  .hero-actions { margin-bottom: 3rem; }
  .hero-services { grid-template-columns: 1fr; }
  .assurance ul { grid-template-columns: 1fr; }
  .section { padding: 3.2rem 0; }
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .feature-list, .checklist.cols-2, .checklist.cols-3 { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .download { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .cookie { left: .8rem; right: .8rem; bottom: .8rem; padding: 1.2rem; }
  .btn { width: 100%; }
  .cta-row .btn, .hero-actions .btn, .prefooter-actions .btn { width: 100%; }
}

/* ------------------------------------------------------------- Print */
@media print {
  .site-header, .prefooter, .cookie, .mobile-nav, .hero-services, .assurance { display: none; }
  body { background: #fff; font-size: 11pt; }
  .page-head, .hero { background: #fff !important; color: #000; }
  .page-head h1, .page-head .purpose { color: #000; }
}
