/* ==========================================================================
   Easy Light Healthcare — core stylesheet (mobile-first)
   Breakpoint overrides live in responsive.css; motion in animations.css.
   Brand colours sampled from the official logo: blue #0672CC, green #3CA80C,
   red #F60000.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font Licence) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-var.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --blue-50: #eef5fc;
  --blue-100: #d8e8f8;
  --blue-200: #b3d2f1;
  --blue-500: #1b84dc;
  --blue-600: #0672cc;   /* logo blue — 5.0:1 on white */
  --blue-700: #0559a3;
  --blue-800: #0a417a;
  --navy-900: #0b2545;
  --navy-950: #071a33;
  --green-50: #eff8ea;
  --green-100: #dcf0d0;
  --green-500: #3ca80c;  /* logo green — decorative use */
  --green-700: #2a7a0a;  /* text-safe green — 5.3:1 on white */
  --red-600: #e01010;    /* logo red, sparing accent */
  --red-50: #fdeeee;
  --cream: #fbf8f3;

  /* Neutrals */
  --ink: #12233b;
  --text: #3a495d;
  --muted: #5c6a7d;
  --line: #e2e9f1;
  --line-strong: #cbd6e2;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;

  /* Feedback */
  --success: #1f7a33;
  --success-bg: #ecf8ef;
  --error: #b42318;
  --error-bg: #fef1f0;

  /* Type */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h4: 1.25rem;
  --fs-h3: 1.5rem;
  --fs-h2: clamp(1.85rem, 1.3rem + 2.2vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);

  /* Space, shape, depth */
  --gutter: 1.25rem;
  --container: 1240px;
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06), 0 2px 8px rgba(11, 37, 69, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(11, 37, 69, 0.18), 0 4px 12px rgba(11, 37, 69, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(11, 37, 69, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Semantic theme tokens (light) — dark values live in the Theme section */
  --bg: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.92);
  --glass: rgba(255, 255, 255, 0.96);
  --glass-border: rgba(255, 255, 255, 0.8);
  --hero-top: #f7fbff;
  --link: var(--blue-700);
  --link-hover: var(--blue-800);
  --accent-text: var(--blue-600);
  --green-text: var(--green-700);
  --green-text-strong: #1d5a06;
  --blue-tag-text: var(--blue-800);
  --input-hover: #a9b8c9;
  --success-border: #b6e0bd;
  --success-text: #14532d;
  --error-border: #f3c4bf;
  --error-text: #7a1a12;
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a7a0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  color-scheme: light;
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.6em; color: var(--ink); line-height: 1.18; font-weight: 700; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-h1); line-height: 1.08; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--blue-100); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
/* Hidden in-page icon sprite (see tools/sync-icons.php) */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon-sm { width: 1em; height: 1em; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }
.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: calc(var(--section-y) * 0.6); }
.section-soft { background: var(--surface-soft); }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy-900); color: #c9d6e6; }
.section-navy h2, .section-navy h3, .section-navy h4, .section-navy strong { color: #fff; }
.grid { display: grid; gap: 1.5rem; }
.split { display: grid; gap: 2.5rem; align-items: center; }
.stack > * + * { margin-top: 1rem; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Section heading */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--link);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-pill);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px var(--green-100);
}
.section-navy .eyebrow { color: #cfe3fa; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 2rem + 1.5vw, 3.5rem); }
.section-head.text-center { margin-inline: auto; }
.section-head p { font-size: var(--fs-lg); color: var(--muted); margin-bottom: 0; }
.section-navy .section-head p { color: #b8c7da; }
.lead { font-size: var(--fs-lg); color: var(--muted); }
.highlight {
  color: var(--accent-text);
  background-image: linear-gradient(transparent 72%, var(--green-100) 72%);
  background-repeat: no-repeat;
  padding-inline: 0.05em;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: #fff;
  --btn-border: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-border);
  border-radius: var(--r-pill);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { --btn-bg: var(--blue-700); --btn-border: var(--blue-700); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(6, 114, 204, 0.55); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--line-strong); }
.btn-outline:hover { --btn-bg: var(--navy-900); --btn-border: var(--navy-900); box-shadow: var(--shadow-md); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-border: #fff; }
.btn-light:hover { --btn-bg: #e6f0fb; --btn-border: #e6f0fb; color: var(--navy-900); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, 0.45); }
.btn-ghost-light:hover { --btn-bg: #fff; --btn-border: #fff; color: var(--navy-900); }
.btn-green { --btn-bg: var(--green-700); --btn-border: var(--green-700); }
.btn-green:hover { --btn-bg: #215f08; --btn-border: #215f08; box-shadow: 0 12px 24px -10px rgba(42, 122, 10, 0.55); }
.btn-sm { min-height: 44px; padding: 0.6rem 1.15rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--link);
  text-decoration: none;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { display: none; background: var(--navy-950); color: #b9c8dc; font-size: var(--fs-xs); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar-info { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.6rem; }
.topbar a { color: #e3ecf7; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar-item .icon { width: 15px; height: 15px; color: var(--green-500); }
.social-list { display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.social-list a {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s var(--ease);
}
.social-list a:hover { background: var(--blue-600); }
.social-list .icon { width: 15px; height: 15px; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
/* Frosted background lives on a pseudo-element: a backdrop-filter on the header
   itself would become the containing block for the fixed mobile menu panel. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}
body.nav-open .site-header::before { background: var(--surface); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(11, 37, 69, 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 150px; height: auto; }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  color: var(--ink);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 12px;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile navigation panel */
.primary-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem var(--gutter) 2rem;
  overflow-y: auto;
  background: var(--surface);
  border-top: 1px solid var(--line);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-link, .nav-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  text-align: left;
}
.nav-link:hover, .nav-dropdown-toggle:hover { color: var(--accent-text); }
.nav-link[aria-current="page"], .nav-item.is-current > .nav-dropdown-toggle { color: var(--accent-text); }
.nav-dropdown-toggle .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.nav-dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown {
  list-style: none;
  margin: 0;
  padding: 0 0 0.75rem 0.75rem;
  display: none;
}
.dropdown.is-open { display: block; }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.5rem;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--r-sm);
  font-weight: 500;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--blue-50); color: var(--link); }
.dropdown-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--accent-text);
  flex: none;
}
.dropdown-icon .icon { width: 20px; height: 20px; }
.dropdown small { display: block; font-size: var(--fs-xs); color: var(--muted); font-weight: 400; line-height: 1.4; }
.dropdown strong { display: block; font-size: var(--fs-sm); line-height: 1.3; }
.nav-cta { display: grid; gap: 0.75rem; }
.nav-contact { display: grid; gap: 0.6rem; font-size: var(--fs-sm); }
.nav-contact a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-contact .icon { color: var(--accent-text); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 2.5rem 4rem;
  background:
    radial-gradient(60rem 30rem at 110% -10%, rgba(6, 114, 204, 0.12), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(60, 168, 12, 0.10), transparent 60%),
    linear-gradient(180deg, var(--hero-top) 0%, var(--bg) 100%);
}
.hero-grid { display: grid; gap: 2.75rem; align-items: center; }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-copy h1 .accent { color: var(--accent-text); font-style: italic; }
.hero-copy .lead { max-width: 560px; margin-bottom: 2rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  list-style: none;
  padding-left: 0;
}
.hero-trust li { display: flex; align-items: center; gap: 0.65rem; font-size: var(--fs-sm); color: var(--ink); font-weight: 600; line-height: 1.35; }
.hero-trust .trust-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-text);
  flex: none;
}
.hero-trust .trust-icon .icon { width: 20px; height: 20px; }
.hero-media { position: relative; }
.hero-photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.3;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 26, 51, 0.35));
}
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-size: var(--fs-sm);
  line-height: 1.35;
}
.float-card strong { display: block; font-size: 1rem; }
.float-card span { color: var(--muted); font-size: var(--fs-xs); }
.float-card .fc-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-600); color: #fff; flex: none; }
.float-card .fc-icon.green { background: var(--green-700); }
.float-card-a { left: -0.5rem; bottom: 1.25rem; }
.float-card-b { right: -0.5rem; top: 1.25rem; display: none; }
.hero-shape {
  position: absolute;
  z-index: -1;
  inset: -1.25rem -1.25rem auto auto;
  width: 70%;
  height: 70%;
  border-radius: var(--r-xl);
  background: repeating-linear-gradient(135deg, var(--blue-100) 0 2px, transparent 2px 12px);
  opacity: 0.8;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 3.5rem 3.75rem;
  color: #d9e5f3;
  background: var(--navy-900);
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(7, 26, 51, 0.96) 0%, rgba(7, 26, 51, 0.86) 45%, rgba(6, 89, 163, 0.55) 100%),
    var(--page-hero-image, none) center / cover no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -6rem; bottom: -6rem;
  z-index: -1;
  width: 22rem; height: 22rem;
  border-radius: 50%;
  border: 40px solid rgba(60, 168, 12, 0.18);
}
.page-hero h1 { color: #fff; max-width: 820px; margin-bottom: 1rem; }
.page-hero p { max-width: 680px; font-size: var(--fs-lg); color: #c7d5e6; margin: 0; }
.page-hero .btn-group { margin-top: 2rem; }
.hero-bg-team { --page-hero-image: url("../images/hero/page-banner-team.webp"); }
.hero-bg-family { --page-hero-image: url("../images/hero/family-support-1400.webp"); }
.hero-bg-services { --page-hero-image: url("../images/services/domiciliary-care-1200.webp"); }
.hero-bg-careers { --page-hero-image: url("../images/team/teamwork.webp"); }
.hero-bg-contact { --page-hero-image: url("../images/about/carer-with-older-woman.webp"); }
.breadcrumb { margin-bottom: 1.25rem; font-size: var(--fs-xs); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.4rem; color: #9fb3cb; }
.breadcrumb li + li::before { content: "/"; color: #6d86a5; }
.breadcrumb a { color: #e0eaf6; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.stat { padding: 1.5rem 1.25rem; background: var(--surface); }
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem); font-weight: 600; line-height: 1; color: var(--accent-text); margin-bottom: 0.5rem; }
.stat-label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); line-height: 1.35; }

/* ---------- Intro / media collage ---------- */
.media-collage { position: relative; padding: 0 2.5rem 2.5rem 0; }
.media-collage .mc-main { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.media-collage .mc-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-collage .mc-small {
  position: absolute;
  right: 0; bottom: 0;
  width: 46%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 6px solid var(--surface);
  box-shadow: var(--shadow-md);
}
.media-collage .mc-small img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.media-collage .mc-badge {
  position: absolute;
  left: 1rem; top: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-xs);
  line-height: 1.3;
  color: var(--muted);
}
.media-collage .mc-badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--accent-text); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.7rem; }
.check-list li { position: relative; padding-left: 2rem; line-height: 1.55; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15em;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: var(--green-50) var(--check-icon) center / 0.75rem no-repeat;
  border: 1px solid var(--green-100);
}
.check-list.cols-2 { grid-template-columns: 1fr; }
.section-navy .check-list li::before { background-color: rgba(60, 168, 12, 0.18); border-color: rgba(60, 168, 12, 0.35); }
.section-navy .check-list li { color: #d6e1ee; }

/* ---------- Service cards ---------- */
.service-cards { display: grid; gap: 1.5rem; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card:hover, .service-card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.service-card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 11; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-num {
  position: absolute;
  left: 1rem; top: 1rem;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--glass);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.5rem 1.75rem; }
.service-card-body h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.service-card-body h3 a { color: inherit; text-decoration: none; }
.service-card-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card-body p { color: var(--muted); font-size: var(--fs-sm); }
.service-card-body .link-arrow { margin-top: auto; position: relative; z-index: 2; }
.service-card .spotlight {
  pointer-events: none;
  position: absolute; inset: 0;
  opacity: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(6, 114, 204, 0.08), transparent 40%);
  transition: opacity 0.3s var(--ease);
}
.service-card:hover .spotlight { opacity: 1; }

/* ---------- Feature / why choose ---------- */
.feature-grid { display: grid; gap: 1.25rem; }
.feature {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.feature-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 16px;
  color: var(--accent-text);
  background: linear-gradient(135deg, var(--blue-50), var(--surface));
  border: 1px solid var(--blue-100);
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature-icon.green { color: var(--green-text); background: linear-gradient(135deg, var(--green-50), var(--surface)); border-color: var(--green-100); }
.feature h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.feature-photo {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: var(--r-lg);
  background: var(--navy-900);
}
.feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7, 26, 51, 0.88)); }
.feature-photo .fp-caption { position: absolute; z-index: 1; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; color: #e2ebf6; }
.feature-photo .fp-caption strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: #fff; margin-bottom: 0.35rem; }
.feature-photo .fp-caption p { margin: 0; font-size: var(--fs-sm); }

/* ---------- About preview / age groups ---------- */
.age-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 1.75rem 0 2rem; }
.age-group {
  padding: 1rem 1.1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.age-group strong { display: block; color: #fff; font-size: 1rem; }
.age-group span { font-size: var(--fs-xs); color: #a9bcd3; }
.section:not(.section-navy) .age-group { background: var(--surface); border-color: var(--line); }
.section:not(.section-navy) .age-group strong { color: var(--ink); }
.section:not(.section-navy) .age-group span { color: var(--muted); }
.rounded-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.rounded-media img { width: 100%; height: 100%; object-fit: cover; }
.quote-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.quote-card .icon { width: 32px; height: 32px; color: var(--green-500); margin-bottom: 0.75rem; }
.quote-card p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; color: #fff; margin-bottom: 0.75rem; }
.quote-card span { font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: #9fb3cb; }

/* ---------- Recruitment banner ---------- */
.recruit-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  border-radius: var(--r-xl);
  background: var(--blue-700);
  color: #dce9f8;
  box-shadow: var(--shadow-lg);
}
.recruit-banner .rb-copy { position: relative; z-index: 1; padding: 2.5rem 1.75rem; }
.recruit-banner h2 { color: #fff; margin-bottom: 1rem; }
.recruit-banner p { font-size: var(--fs-lg); color: #d4e4f6; max-width: 520px; }
.recruit-banner .rb-media { position: relative; min-height: 260px; }
.recruit-banner .rb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.recruit-banner .rb-media::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--blue-700) 0%, transparent 35%);
}
.recruit-banner::after {
  content: "";
  position: absolute;
  left: -5rem; top: -5rem;
  z-index: -1;
  width: 18rem; height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 168, 12, 0.35), transparent 70%);
}
.rb-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.5rem 0 2rem; padding: 0; }
.rb-tags li { padding: 0.4rem 0.85rem; font-size: var(--fs-xs); font-weight: 600; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }

/* ---------- Contact CTA ---------- */
.contact-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 2rem;
  padding: 2.25rem 1.5rem;
  border-radius: var(--r-xl);
  background:
    radial-gradient(30rem 20rem at 100% 0%, rgba(60, 168, 12, 0.12), transparent 60%),
    radial-gradient(30rem 20rem at 0% 100%, rgba(6, 114, 204, 0.12), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.contact-cta h2 { margin-bottom: 0.75rem; }
.contact-methods { display: grid; gap: 0.85rem; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
a.contact-method:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); transform: translateX(4px); color: var(--ink); }
.contact-method .cm-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--accent-text); flex: none; }
.contact-method .cm-icon.green { background: var(--green-50); color: var(--green-text); }
.contact-method small { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.3; }
.contact-method strong { display: block; font-size: 1rem; line-height: 1.35; word-break: break-word; }

/* ---------- Content blocks ---------- */
.card {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.25rem; }
.card-soft { background: var(--surface-soft); box-shadow: none; }
.card-icon-row { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.card-icon-row h3 { margin: 0; }
.mv-grid { display: grid; gap: 1.25rem; }
.mv-card { position: relative; overflow: hidden; padding: 2rem 1.75rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.mv-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--blue-600); }
.mv-card.green::before { background: var(--green-500); }
.mv-card h3 { font-size: 1.35rem; }
.mv-card p { font-size: var(--fs-lg); margin: 0; color: var(--text); }
.values-grid { display: grid; gap: 1rem; counter-reset: value; }
.value-item {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  counter-increment: value;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 600;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value-item:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.value-item::before {
  content: counter(value, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--accent-text);
  flex: none;
  min-width: 2rem;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.tag-list li {
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}
.tag-list.blue li { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-tag-text); }
.tag-list.green li { background: var(--green-50); border-color: var(--green-100); color: var(--green-text-strong); }
.standards-list { columns: 1; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.standards-list li {
  break-inside: avoid;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line-strong);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}
.standards-list .icon { width: 20px; height: 20px; color: var(--accent-text); margin-top: 0.1rem; }

/* ---------- Services detail ---------- */
.service-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.service-nav ul { display: flex; gap: 0.5rem; overflow-x: auto; list-style: none; margin: 0; padding: 0.75rem 0; scrollbar-width: none; }
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  white-space: nowrap;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: all 0.25s var(--ease);
}
.service-nav a:hover, .service-nav a.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.service-nav .icon { width: 18px; height: 18px; }
.service-detail { display: grid; gap: 2.5rem; align-items: start; }
.service-detail + .service-detail { margin-top: var(--section-y); padding-top: var(--section-y); border-top: 1px solid var(--line); }
.service-detail-media { position: relative; }
.service-detail-media .rounded-media img { aspect-ratio: 4 / 3.2; }
.service-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-text);
}
.service-label .num {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0;
}
.service-detail h2 { margin-bottom: 0.4rem; }
.service-audience { font-weight: 600; color: var(--link); margin-bottom: 1.25rem; }
.benefits {
  margin: 1.75rem 0;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.benefits h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.1rem; margin-bottom: 1rem; }
.benefits h3 .icon { color: var(--green-text); }
.benefits .check-list { margin: 0; }
.subhead { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 1.5rem 0 0.85rem; letter-spacing: 0; }
.extra-services { display: grid; gap: 0.85rem; margin-top: 1rem; }
.extra-service { padding: 1rem 1.1rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-sm); line-height: 1.55; }
.extra-service strong { display: block; margin-bottom: 0.15rem; }

.assessment-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.assessment-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.assessment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.assessment-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.assessment-card div { padding: 1rem 1.15rem 1.2rem; }
.assessment-card h3 { font-family: var(--font-sans); font-size: 1rem; margin: 0 0 0.25rem; }
.assessment-card p { margin: 0; font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Careers ---------- */
.benefit-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.benefit .feature-icon { width: 48px; height: 48px; margin: 0; flex: none; border-radius: 14px; }
.benefit .feature-icon .icon { width: 22px; height: 22px; }
.benefit h3 { font-family: var(--font-sans); font-size: 1.02rem; margin: 0.25rem 0 0.2rem; }
.benefit p { margin: 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.job-grid { display: grid; gap: 1.1rem; }
.job-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.job-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.job-card .badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem; font-weight: 700;
  color: var(--green-text);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--r-pill);
}
.job-card h3 { font-family: var(--font-sans); font-size: 1.15rem; margin: 0; }
.job-card p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.job-card .btn { align-self: flex-start; margin-top: auto; }
.requirements { display: grid; gap: 0.85rem; list-style: none; margin: 0; padding: 0; }
.requirements li { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); line-height: 1.5; color: var(--ink); }
.requirements .icon { width: 22px; height: 22px; color: var(--accent-text); margin-top: 0.05rem; }
.notice {
  display: flex;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--ink);
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.notice .icon { width: 22px; height: 22px; color: var(--accent-text); margin-top: 0.1rem; }

/* ---------- Forms ---------- */
.form-shell { display: grid; gap: 2.5rem; align-items: start; }
.form-card {
  position: relative;
  padding: 1.75rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
.form-card h2, .form-card h3 { margin-bottom: 0.4rem; }
.form-intro { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 1.75rem; }
.form-grid { display: grid; gap: 1.15rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.field label, .field .label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.req { color: var(--error); margin-left: 0.15rem; }
.optional { font-weight: 500; color: var(--muted); font-size: var(--fs-xs); margin-left: 0.25rem; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
textarea.input { min-height: 150px; resize: vertical; line-height: 1.6; }
.input::placeholder { color: #8593a5; }
.input:hover { border-color: var(--input-hover); }
.input:focus { outline: none; background: var(--surface); border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(6, 114, 204, 0.15); }
.field.has-error .input { border-color: var(--error); background: var(--surface); }
.field.has-error .input:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.15); }
.field.is-valid .input { border-color: #6fbf73; }
.field-hint { font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; }
.field-error {
  display: none;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--error);
  line-height: 1.4;
}
.field-error .icon { width: 16px; height: 16px; margin-top: 0.05rem; }
.field.has-error .field-error { display: flex; }
.char-count { align-self: flex-end; font-size: 0.75rem; color: var(--muted); }

/* File upload */
.file-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  text-align: center;
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface-soft);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.file-drop:hover, .file-drop.is-dragover { border-color: var(--blue-600); background: var(--blue-50); }
.file-drop:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(6, 114, 204, 0.15); }
.field.has-error .file-drop { border-color: var(--error); background: var(--error-bg); }
.file-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-drop .fd-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--accent-text); box-shadow: var(--shadow-sm); }
.file-drop .fd-title { font-weight: 700; color: var(--ink); font-size: var(--fs-sm); }
.file-drop .fd-title u { color: var(--link); text-decoration-thickness: 1px; }
.file-drop .fd-meta { font-size: var(--fs-xs); color: var(--muted); }
.file-preview {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--success-border);
  border-radius: var(--r-md);
  background: var(--success-bg);
}
.file-preview .fp-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--surface); color: var(--success); flex: none; }
.file-preview .fp-info { flex: 1; min-width: 0; line-height: 1.35; }
.file-preview .fp-name { display: block; font-weight: 700; color: var(--ink); font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-preview .fp-size { font-size: var(--fs-xs); color: var(--muted); }
.file-remove {
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 40px;
  padding: 0.45rem 0.8rem;
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--error);
  background: var(--surface);
  border: 1px solid var(--error-border);
  border-radius: var(--r-pill);
}
.file-remove:hover { background: var(--error-bg); }
.file-remove .icon { width: 16px; height: 16px; }

/* Consent checkbox */
.consent { display: flex; gap: 0.85rem; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.55; color: var(--text); }
.consent input[type="checkbox"] {
  flex: none;
  width: 22px; height: 22px;
  margin: 0.15rem 0 0;
  accent-color: var(--blue-600);
  cursor: pointer;
}
.consent label { font-weight: 500; color: var(--text); }
.privacy-note {
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--muted);
}
.privacy-note strong { color: var(--ink); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Submit + spinner */
.btn-submit { position: relative; }
.btn-submit .spinner { display: none; width: 20px; height: 20px; border: 2.5px solid rgba(255, 255, 255, 0.45); border-top-color: #fff; border-radius: 50%; }
.btn-submit.is-loading .spinner { display: inline-block; }
.btn-submit.is-loading .icon { display: none; }

/* Alerts */
.form-alert {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.form-alert .icon { width: 22px; height: 22px; flex: none; margin-top: 0.05rem; }
.form-alert.is-error { background: var(--error-bg); border: 1px solid var(--error-border); color: var(--error-text); }
.form-alert.is-success { background: var(--success-bg); border: 1px solid var(--success-border); color: var(--success-text); }
.form-alert ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.form-success {
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.form-success .success-icon {
  display: grid; place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  box-shadow: 0 0 0 10px rgba(31, 122, 51, 0.06);
}
.form-success .success-icon .icon { width: 38px; height: 38px; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--text); max-width: 520px; margin-inline: auto; }

/* ---------- Contact page ---------- */
.info-grid { display: grid; gap: 1rem; }
.info-card {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.info-card h2, .info-card h3 { font-family: var(--font-sans); font-size: 1rem; margin: 0 0 0.25rem; }
.info-card p, .info-card address { margin: 0; font-size: var(--fs-sm); line-height: 1.55; }
.info-card a { font-weight: 600; word-break: break-word; }
.info-card .cm-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); color: var(--accent-text); flex: none; }
.hours-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-top: 0.25rem; }
.hours-table th { text-align: left; font-weight: 600; color: var(--ink); padding: 0.2rem 1rem 0.2rem 0; }
.hours-table td { padding: 0.2rem 0; }
.map-frame {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(6, 114, 204, 0.08), rgba(60, 168, 12, 0.08)),
    repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px),
    var(--surface-soft);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.85rem;
  padding: 1.5rem;
  text-align: center;
}
.map-placeholder .map-pin { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue-600); color: #fff; box-shadow: 0 0 0 12px rgba(6, 114, 204, 0.12); }
.map-placeholder .map-pin .icon { width: 30px; height: 30px; }
.map-placeholder p { margin: 0; font-size: var(--fs-sm); max-width: 380px; color: var(--muted); }
.map-placeholder strong { font-size: 1.05rem; }

/* ---------- Prose (privacy policy) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); margin-top: 2.75rem; padding-top: 0.5rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.prose li { margin-bottom: 0.45rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.75rem; border: 1px solid var(--line); }
.prose th { background: var(--surface-soft); color: var(--ink); }
.table-wrap { overflow-x: auto; }
.toc { padding: 1.5rem; border-radius: var(--r-lg); background: var(--surface-soft); border: 1px solid var(--line); }
.toc h2 { font-family: var(--font-sans); font-size: 1rem; margin: 0 0 0.75rem; }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: var(--fs-sm); display: grid; gap: 0.35rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: #a9bad0; font-size: var(--fs-sm); }
.footer-cta { position: relative; z-index: 1; margin-bottom: -4rem; }
.footer-cta-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 1.5rem;
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--blue-600), var(--blue-800));
  color: #dce9f8;
  box-shadow: var(--shadow-lg);
}
.footer-cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin: 0 0 0.35rem; }
.footer-cta-inner p { margin: 0; color: #d4e4f6; }
.footer-main { padding-block: 7rem 3rem; }
.site-footer.no-cta .footer-main { padding-top: 4.5rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand .brand-card { display: inline-block; padding: 0.85rem 1rem; background: #fff; border-radius: var(--r-md); margin-bottom: 1.25rem; }
.footer-brand .brand-card img { width: 170px; }
.footer-brand p { color: #a9bad0; max-width: 360px; }
.footer-badges { margin-top: 1.25rem; }
.footer-badges img { width: 200px; border-radius: 8px; background: #fff; padding: 4px; }
.footer-col h2 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 1.15rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-links a { color: #c3d1e2; text-decoration: none; transition: color 0.2s var(--ease), padding 0.2s var(--ease); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.footer-contact li { display: flex; gap: 0.75rem; align-items: flex-start; line-height: 1.5; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--green-500); margin-top: 0.2rem; }
.footer-contact a { color: #e3ecf7; text-decoration: none; word-break: break-word; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-social { margin-top: 1.5rem; }
.footer-social .social-list a { width: 40px; height: 40px; color: #fff; }
.footer-social .social-list .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 1.5rem; font-size: var(--fs-xs); }
.footer-bottom .container { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: #c3d1e2; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1rem; bottom: 1rem;
  z-index: 90;
  display: grid; place-items: center;
  width: 50px; height: 50px;
  color: #fff;
  background: var(--blue-600);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 24px -8px rgba(6, 114, 204, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s, background 0.2s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.back-to-top:hover { background: var(--blue-700); }
.back-to-top .icon { width: 22px; height: 22px; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-code { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; color: var(--blue-100); font-weight: 700; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.mb-0 { margin-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.lead-light { color: #c9d6e6; }
.h-benefit { font-family: var(--font-sans); font-size: 1.02rem; margin: 0.25rem 0 0.2rem; }
.h-form { font-family: var(--font-display); font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); font-weight: 600; }
.job-card-cta { background: linear-gradient(135deg, var(--blue-50), var(--surface)); border-color: var(--blue-100); }
.info-card .hours-note { display: block; margin-top: 0.35rem; font-size: var(--fs-xs); color: var(--muted); }
.justify-center { justify-content: center; }


/* ==========================================================================
   Theme: light / dark
   assets/js/theme.js sets <html data-theme="light|dark"> before the page is
   painted: the visitor's saved choice, otherwise their device setting.
   Light values are the :root defaults at the top of this file.
   ========================================================================== */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1423;
  --surface: #111d31;
  --surface-soft: #0d192b;
  --cream: #0f1a2c;
  --ink: #eef3fa;
  --text: #c4d0e0;
  --muted: #9aa9bd;
  --line: #22324a;
  --line-strong: #34475f;
  --blue-50: #0f2440;
  --blue-100: #1a3658;
  --blue-200: #2b4f7d;
  --green-50: #10271b;
  --green-100: #1d3f29;
  --header-bg: rgba(10, 20, 35, 0.86);
  --glass: rgba(17, 29, 49, 0.94);
  --glass-border: rgba(255, 255, 255, 0.08);
  --hero-top: #0c1b30;
  --link: #7cb9f2;
  --link-hover: #a9d2f8;
  --accent-text: #62b0f2;
  --green-text: #86d96c;
  --green-text-strong: #a9e693;
  --blue-tag-text: #bcd9f6;
  --input-hover: #4b607d;
  --success: #6fd38a;
  --success-bg: #0f2a1a;
  --success-border: #2c6b40;
  --success-text: #bdf0cb;
  --error: #ff9488;
  --error-bg: #2c1316;
  --error-border: #6e2b27;
  --error-text: #ffcdc7;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386d96c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* The logo is designed for white backgrounds: give it a white tile in dark mode */
:root[data-theme="dark"] .brand { padding: 4px 10px; background: #fff; border-radius: 14px; }
:root[data-theme="dark"] .brand img { width: 124px; }

/* Dark navy hovers would disappear on a dark page: use brand blue instead */
:root[data-theme="dark"] .btn-outline:hover,
:root[data-theme="dark"] .service-nav a:hover,
:root[data-theme="dark"] .service-nav a.is-active { --btn-bg: var(--blue-600); --btn-border: var(--blue-600); background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
:root[data-theme="dark"] .section-navy { background: #0c2142; }

/* Soften bright photographs slightly against the dark background */
:root[data-theme="dark"] :is(.hero-photo, .service-card-media, .rounded-media, .mc-main, .mc-small, .assessment-card, .rb-media, .feature-photo) img { filter: brightness(0.9) saturate(0.95); }

/* ---------- Theme toggle button ---------- */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 46px; height: 46px;
  padding: 0;
  color: var(--ink);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.theme-toggle:hover { background: var(--blue-100); transform: rotate(-12deg); }
.theme-toggle .icon { width: 22px; height: 22px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle[aria-pressed="true"] .icon-moon { display: none; }
.theme-toggle[aria-pressed="true"] .icon-sun { display: block; color: #ffd166; }
.theme-toggle--mobile { margin-left: auto; margin-right: -0.4rem; }
.nav-cta .theme-toggle { display: none; }          /* phones/tablets use the header copy */
html:not(.js) .theme-toggle { display: none; }      /* needs JavaScript */

/* Smooth colour change when the visitor switches theme (skipped for reduced motion) */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, fill 0.35s ease, box-shadow 0.35s ease !important;
}
