/* ─── Design tokens ─── */
/* Blues echo the Pure Education logo (#0655a5 family) — reinterpreted, not copied */
:root {
  --surface: #f4f7fb;
  --surface-muted: #e6edf6;
  --ink: #142033;
  --ink-soft: #3a4f68;
  --ink-muted: #6a8199;
  --blue: #0d5a9e;
  --blue-bright: #1a6fbe;
  --blue-deep: #083d6e;
  --accent: #4a90d9;
  --accent-soft: #a8c4e8;
  --blue-muted: #7ba3c9;
  --highlight: #b8d4f5;

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 72px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(13, 45, 90, 0.08);
  --shadow-lg: 0 20px 60px rgba(13, 45, 90, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--blue);
  color: white;
  border-radius: 4px;
}
.skip-link:focus { top: 1rem; }

/* ─── Typography ─── */
.eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prose p {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 52ch;
}

.section-title--small {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  margin-top: 1rem;
  max-width: 52ch;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-expo), background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: white;
}
.btn-primary:hover { background: var(--blue-bright); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--surface);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
}
.btn-ghost:hover { color: var(--ink); }

.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.site-header.is-scrolled {
  background: rgba(244, 247, 251, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(13, 45, 90, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a,
.nav-link {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  text-decoration: none;
}

.nav a::after,
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out-expo);
}

.nav a:hover,
.nav-link:hover { color: var(--ink); }
.nav a:hover::after,
.nav-link:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 202;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  margin: -0.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 201;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav[hidden] {
  display: none !important;
}

html.nav-open,
html.nav-open body {
  overflow: hidden;
}

.mobile-nav-close {
  margin-top: auto;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.mobile-nav button {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
  padding: 0;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 46%;
}

.hero-bg-blur {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(244, 247, 251, 0.97) 0%,
      rgba(244, 247, 251, 0.92) 34%,
      rgba(244, 247, 251, 0.62) 48%,
      rgba(244, 247, 251, 0.22) 66%,
      rgba(244, 247, 251, 0.08) 100%
    ),
    linear-gradient(to bottom, transparent 70%, rgba(244, 247, 251, 0.85) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 128px;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 4rem 6rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-title em {
  font-style: italic;
  color: var(--blue);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  margin-top: 1.5rem;
  max-width: 44ch;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-aside {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  max-width: 42ch;
  line-height: 1.6;
}

.hero-phone {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-caption {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.hero-visual {
  position: relative;
}

.info-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.info-panel--muted {
  background: var(--surface-muted);
  border-color: transparent;
}

.info-panel-brand {
  display: block;
  width: auto;
  height: 4.75rem;
  max-width: 100%;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  object-fit: contain;
  object-position: center;
}

.info-panel-intro {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.info-panel-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.info-panel-split-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 4rem;
  padding: 0.875rem 0.75rem;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface-muted);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.info-panel-split-label {
  font-size: 0.9375rem;
  font-weight: 600;
}

.info-panel-split-hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.3;
}

.info-panel-split-btn:hover .info-panel-split-hint {
  color: var(--blue);
}

.info-panel-split-btn:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--blue);
}

.info-panel-split-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.info-panel-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.info-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-panel-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.info-panel-list strong {
  font-size: 1rem;
  color: var(--ink);
}

.info-panel-list span {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.info-panel-note {
  margin-top: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--surface-muted);
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.info-panel-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--blue);
}

.info-panel-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Reveal animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Fade-only reveal for form columns (transform breaks Turnstile popovers) */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out-expo);
}

.reveal-fade.is-visible {
  opacity: 1;
}

/* ─── Office bar ─── */
.office-bar {
  background: white;
  border-bottom: 1px solid var(--surface-muted);
  padding: 0.875rem 0;
}

.office-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.office-bar p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin: 0;
}

.office-bar-label {
  font-weight: 600;
  color: var(--ink);
  margin-right: 0.375rem;
}

.office-bar-link {
  font-weight: 600;
  color: var(--blue);
  font-size: 0.9375rem;
  white-space: nowrap;
}

.office-bar-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Trust strip ─── */
.trust-strip {
  background: var(--ink);
  color: white;
  padding: 3rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.trust-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--highlight);
  line-height: 1.1;
}

.trust-label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.375rem;
}

/* ─── Sections ─── */
.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

/* ─── About ─── */
.about {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  max-width: 420px;
}

.about-caption {
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.about-list {
  list-style: none;
  margin-top: 1.5rem;
}

.about-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.625rem;
  color: var(--ink-soft);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ─── About blocks ─── */
.about-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 1rem;
}

.about-block h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--blue);
}

.about-block p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.about-block p:last-child {
  margin-bottom: 0;
}

/* ─── Content pages (schools, teachers, vetting) ─── */
.content-page {
  background: white;
}

.content-page--alt {
  background: var(--surface-muted);
}

.content-page-inner {
  max-width: 720px;
}

.content-page-header {
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .content-page-header {
    margin-bottom: 1.25rem;
  }
}

.content-aside {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--ink-muted);
}

.content-footer {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* ─── Accordion ─── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--surface-muted);
  border-radius: var(--radius);
  overflow: hidden;
}

.content-page--alt .accordion-item {
  background: white;
}

.accordion-summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-summary::-webkit-details-marker {
  display: none;
}

.accordion-summary::after {
  content: '+';
  font-size: 1.125rem;
  color: var(--blue);
  font-weight: 400;
  transition: transform 0.2s;
}

.accordion-item[open] .accordion-summary::after {
  content: '−';
}

.accordion-body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.accordion-body p {
  margin-bottom: 0.75rem;
}

.accordion-body ul {
  margin: 0.5rem 0 0 1.25rem;
}

.accordion-body li {
  margin-bottom: 0.375rem;
}

/* ─── Vetting blocks ─── */
.vetting-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vetting-block {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--surface-muted);
}

.vetting-block h3 {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.vetting-block p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ─── Callout ─── */
.callout {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--blue);
  color: white;
  border-radius: var(--radius-lg);
}

.callout h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.callout p {
  font-size: 0.875rem;
  line-height: 1.55;
  opacity: 0.92;
  margin-bottom: 0.375rem;
}

/* Overseas teachers — nested panel inside Teachers */
.teachers-overseas-panel {
  margin-top: 2.5rem;
  padding: 2rem 1.75rem;
  background: white;
  border: 1px solid #c5d9ed;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-lg);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.teachers-overseas-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.teachers-overseas-lead {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.teachers-overseas-panel .accordion-item {
  background: white;
}

/* ─── Register ─── */
.register {
  background: var(--surface-muted);
}

.register-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
  overflow: visible;
}

.register-steps {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.register-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.register-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
}

.form-fieldset {
  border: 1.5px solid var(--surface-muted);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.form-fieldset legend {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0 0.25rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-bottom: 0.375rem;
  cursor: pointer;
}

.form-row--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── Contact offices ─── */
.contact-section {
  background: white;
}

.office-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.office-cards--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: stretch;
}

.office-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid #c5d9ed;
}

.office-card-info {
  min-width: 0;
}

.office-card-map {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  width: 100%;
  min-height: 5.5rem;
  text-align: left;
  cursor: pointer;
  background: var(--surface);
  transition: background 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.office-card-map:hover,
.office-card-map:focus-visible {
  background: white;
  border-color: color-mix(in srgb, var(--blue) 35%, #c5d9ed);
  outline: none;
}

.office-card-map-label {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.office-card-map-hint {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.office-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.office-card address {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.map-modal {
  border: none;
  padding: 0;
  border-radius: var(--radius-lg);
  width: min(1120px, calc(100vw - 1.25rem));
  max-width: none;
  height: min(92vh, 900px);
  max-height: min(92vh, 900px);
  margin: auto;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.map-modal::backdrop {
  background: rgba(20, 32, 51, 0.62);
}

.map-modal-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: inherit;
  padding: 0;
  position: relative;
}

.map-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem 0.9rem 1.25rem;
  border-bottom: 1px solid var(--surface-muted);
  flex-shrink: 0;
}

.map-modal-title {
  margin: 0;
  padding-right: 0.5rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.map-modal-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  background: var(--surface-muted);
  border: none;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.map-modal-close:hover,
.map-modal-close:focus-visible {
  background: #d9e2ec;
  outline: none;
}

.map-modal-video-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  background: #0b1220;
}

.map-modal-video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: #0b1220;
}

@media (max-width: 640px) {
  .office-cards--pair {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .office-card-map {
    min-height: 4.75rem;
    padding: 1.15rem 1.25rem;
  }

  .map-modal {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    margin: 0;
  }

  .map-modal-toolbar {
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    padding-top: max(0.75rem, env(safe-area-inset-top));
  }

  .map-modal-video-wrap {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

.directions-details {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
}

.directions-details summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 500;
}

.directions-details ul {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.text-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Google reviews ─── */
.google-reviews {
  background: white;
}

.google-reviews-header {
  margin-bottom: 2rem;
  text-align: center;
}

.google-reviews-layout {
  display: flex;
  justify-content: center;
}

.google-reviews-card {
  width: 100%;
  max-width: 26rem;
  padding: 2.75rem 2.25rem 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid #c5d9ed;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.google-reviews-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    #4285f4 0%,
    #ea4335 35%,
    #fbbc04 65%,
    #34a853 100%
  );
}

.google-reviews-card .section-title {
  margin-bottom: 0.5rem;
}

.google-reviews-card .section-lead {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 20rem;
  margin-inline: auto;
}

.google-reviews-summary {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.google-reviews-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 1.35rem 1rem 1.15rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--surface-muted);
  box-shadow: var(--shadow);
}

.google-reviews-scoreline {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
  line-height: 1;
}

.google-reviews-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.google-reviews-out-of {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.google-reviews-stars {
  display: flex;
  gap: 0.15rem;
  justify-content: center;
}

.google-reviews-star {
  position: relative;
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1;
  width: 1.25rem;
  height: 1.25rem;
}

.google-reviews-star-empty {
  color: #d1d5db;
}

.google-reviews-star-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--fill, 0%);
  overflow: hidden;
  color: #fbbc04;
  white-space: nowrap;
}

.google-reviews-count {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0;
}

.google-reviews-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 16rem;
  margin-inline: auto;
  text-align: center;
}

/* ─── Testimonial (legacy) ─── */
.testimonial {
  background: var(--surface-muted);
}

.testimonial-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem 3rem;
  align-items: start;
}

.testimonial-layout .section-lead {
  margin-top: 0.5rem;
}

.quote {
  grid-column: 2;
  grid-row: 1 / span 2;
  animation: fadeQuote 0.4s var(--ease-out-expo);
}

@keyframes fadeQuote {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink);
}

.quote footer {
  margin-top: 1.5rem;
}

.quote footer div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.quote cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9375rem;
}

.quote footer span {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.testimonial-nav {
  grid-column: 1;
  align-self: end;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.testimonial-tab {
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--surface-muted);
  border-radius: 100px;
  background: white;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.testimonial-tab.is-active {
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ─── Vacancies / Jobs ─── */
.vacancies {
  background: var(--surface-muted);
}

.vacancies-header {
  margin-bottom: 2rem;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.jobs-loading,
.jobs-empty {
  color: var(--ink-soft);
  grid-column: 1 / -1;
}

.jobs-grid .job-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: #ffffff;
  border: 1px solid #c5d9ed;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  font-family: inherit;
  width: 100%;
}

.jobs-grid .job-card:hover {
  border-color: var(--blue-bright);
  border-left-color: var(--blue-bright);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.jobs-grid .job-card-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}

.jobs-grid .job-card-role {
  display: inline-block;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: #e3eef8;
}

.jobs-grid .job-card-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.35rem;
}

.jobs-grid .job-card-pin {
  flex-shrink: 0;
  color: var(--blue);
}

.jobs-grid .job-card-description {
  flex: 1;
  margin-top: 0.65rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jobs-grid .job-card-cta {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
}

.jobs-more-wrap {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.jobs-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 22rem;
  min-height: 2.75rem;
  text-align: center;
}

.job-modal {
  border: none;
  padding: 0;
  border-radius: var(--radius-lg);
  width: min(720px, calc(100vw - 2rem));
  max-width: none;
  max-height: min(88vh, 820px);
  margin: auto;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.job-modal::backdrop {
  background: rgba(20, 32, 51, 0.55);
}

.job-modal-inner {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
  max-height: min(88vh, 820px);
  overflow-y: auto;
}

.job-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-muted);
}

.job-modal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem 1.5rem;
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
}

.job-modal-meta dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.job-modal-meta dd {
  font-weight: 600;
  color: var(--ink);
}

.job-modal-description-heading {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.job-modal-description {
  color: var(--ink-soft);
  line-height: 1.7;
  white-space: pre-wrap;
  min-height: 12rem;
  max-height: 22rem;
  overflow-y: auto;
  padding: 1.35rem 1.5rem;
  margin-top: 0.5rem;
  background: var(--surface);
  border: 1px solid #c5d9ed;
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.job-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.form-status {
  font-size: 0.9rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.form-status.is-error {
  color: #b42318;
}

.turnstile-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 65px;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.turnstile-row > div {
  margin-inline: 0;
  max-width: 100%;
}

/* Legacy vacancies panel (unused) */
.vacancies-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'copy actions';
  align-items: center;
  gap: 2rem;
  background: var(--blue);
  color: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
}

.vacancies-inner:has(.job-list) {
  grid-template-columns: 1fr;
  grid-template-areas: 'copy' 'jobs' 'actions';
  align-items: stretch;
}

.vacancies-copy { grid-area: copy; }
.vacancies-actions { grid-area: actions; }

.job-list {
  grid-area: jobs;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  width: 100%;
}

.job-list .job-card {
  display: block;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s, border-color 0.2s;
}

.job-list .job-card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.job-list .job-card-title {
  display: block;
  font-weight: 600;
  color: white;
}

.job-card-excerpt {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.vacancies .section-title { color: var(--ink); }
.vacancies .section-lead { color: var(--ink-soft); }
.vacancies .eyebrow { color: var(--highlight); }

.vacancies .btn-primary {
  background: white;
  color: var(--blue);
}
.vacancies .btn-primary:hover { background: var(--surface); }

.legacy-form-panel-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.legacy-form-panel-desc {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

/* ─── Register / Form ─── */
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item--phone {
  width: fit-content;
}

.contact-item--phone > span:last-child {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.contact-item address,
.contact-item > span:last-child {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

a.contact-item:hover > span:last-child {
  color: var(--blue);
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: visible;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--ink-soft);
}

.form-row label span { color: var(--accent); }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  border: 1.5px solid var(--surface-muted);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13, 90, 158, 0.12);
}

.form-row textarea { resize: vertical; min-height: 100px; }

.form-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.form-row input[type='file'] {
  padding: 0.5rem 0;
  border: none;
  background: transparent;
  font-size: 0.9rem;
}

.form-row input[type='file']::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--surface-muted);
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.form-row input[type='file']::file-selector-button:hover {
  border-color: var(--blue);
  background: #eef5fc;
}

/* ─── FAQ / legal modals ─── */
.faq-section {
  background: var(--surface-muted);
}

.faq-header {
  margin-bottom: 2rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 200px));
  gap: 1.25rem;
  justify-content: center;
}

.faq-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 1;
  width: 100%;
  padding: 1.25rem;
  background: white;
  border: 1px solid #c5d9ed;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.faq-card:hover {
  border-color: var(--blue-bright);
  border-left-color: var(--blue-bright);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.faq-card-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-card-cta {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
}

@media (max-width: 720px) {
  .faq-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 180px));
  }
}

.legal-page .site-header {
  position: sticky;
  top: 0;
}

.legal-page .legal-header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.legal-page .legal-header-nav .nav-link.is-active,
.legal-page .legal-header-nav .nav-link[aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
}

.legal-page .legal-header-nav .nav-link.is-active::after,
.legal-page .legal-header-nav .nav-link[aria-current='page']::after {
  width: 100%;
}

@media (max-width: 900px) {
  .legal-page .legal-header-nav {
    display: none;
  }
}

.legal-page-main {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  background: white;
}

.legal-page-inner {
  max-width: 46rem;
}

.legal-page-back {
  margin-bottom: 1.25rem;
}

.legal-page-body {
  margin-top: 1.5rem;
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 1rem;
}

.legal-page-body p + p {
  margin-top: 1rem;
}

.legal-intro {
  font-size: 1.05rem;
  color: var(--ink);
}

.legal-toc {
  margin: 2rem 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-muted);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-toc-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 1;
}

@media (min-width: 640px) {
  .legal-toc ol {
    columns: 2;
    column-gap: 2rem;
  }
}

.legal-toc li {
  margin: 0.35rem 0;
  break-inside: avoid;
}

.legal-toc a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-doc {
  margin-top: 0.5rem;
}

.legal-section {
  margin-top: 2.5rem;
  padding-top: 0.5rem;
}

.legal-section:first-child {
  margin-top: 0;
}

.legal-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 1rem;
  scroll-margin-top: 6rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--surface-muted);
}

.legal-subsection {
  margin-top: 1.5rem;
}

.legal-h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.75rem;
  scroll-margin-top: 6rem;
}

.legal-section ul,
.legal-subsection ul {
  margin: 0.75rem 0 0;
  padding-left: 1.5rem;
}

.legal-section li,
.legal-subsection li {
  margin: 0.35rem 0;
}

.legal-contact {
  margin-top: 1rem;
  font-style: normal;
  line-height: 1.6;
}

.legal-table {
  width: 100%;
  margin: 1rem 0 0;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.legal-table th,
.legal-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--surface-muted);
}

.legal-table th {
  background: var(--surface-muted);
  font-weight: 600;
  color: var(--ink);
}

.legal-footer-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface-muted);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.legal-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface-muted);
}

.legal-page-nav a {
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.legal-page-nav a:hover {
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.75rem;
}

.footer-legal a:hover {
  color: white;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-img--footer {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 36ch;
  margin-bottom: 1rem;
}

.footer-rec-badge {
  display: block;
  width: auto;
  height: 4.5rem;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-nav a,
.footer-nav button {
  font-size: 0.875rem;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  padding: 0;
  text-align: left;
}

.footer-nav a:hover,
.footer-nav button:hover { color: white; }

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-social a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-social a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-note {
  font-style: italic;
}

[hidden] {
  display: none !important;
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal-fade { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hide-mobile {
    display: none !important;
  }

  .section {
    padding: 2.75rem 0;
  }

  .trust-strip {
    padding: 2rem 0;
  }

  .office-bar-inner p {
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .content-aside {
    display: none;
  }

  .section-lead {
    margin-top: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .hero-lead {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .about-grid {
    gap: 1.5rem;
  }

  .about-copy {
    order: -1;
  }

  .about-visual {
    max-width: 100%;
  }

  .content-footer {
    margin-top: 1.25rem;
  }

  .callout {
    padding: 1rem 1.25rem;
  }

  .callout p {
    font-size: 0.9375rem;
  }

  .register-steps {
    font-size: 0.9375rem;
  }

  .hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(244, 247, 251, 0.94) 0%,
        rgba(244, 247, 251, 0.88) 55%,
        rgba(244, 247, 251, 0.82) 100%
      );
  }

  .hero-bg-image {
    object-position: 70% 40%;
  }

  .nav, .header-actions { display: none; }
  .menu-toggle { display: flex; }

  .hero-grid,
  .about-grid,
  .register-grid,
  .register-layout,
  .testimonial-layout {
    grid-template-columns: 1fr;
  }

  .quote {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-grid { gap: 2.5rem; }
  .hero-visual { max-width: 100%; }

  .trust-grid,
  .trust-grid--three {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: left;
  }

  .vacancies-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: min(1140px, calc(100% - 1.5rem));
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero-lead,
  .section-lead,
  .prose p {
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; min-height: 3rem; }

  .info-panel {
    padding: 1.5rem;
  }

  .info-panel-brand {
    height: 5.25rem;
  }

  .info-panel-split-hint {
    font-size: 0.8125rem;
  }

  .btn,
  .btn-lg {
    min-height: 3rem;
    font-size: 1rem;
  }

  .mobile-nav button,
  .mobile-nav a.btn {
    min-height: 3rem;
    font-size: 1.0625rem;
  }

  .form-row input,
  .form-row select,
  .form-row textarea {
    font-size: 1rem;
    padding: 0.875rem 1rem;
  }

  .contact-form { padding: 1.5rem; }
}
