/* Nightingale Nursing Services — brand tokens taken from the logo files */
:root {
  --green-950: #04200e;
  --green-900: #062b14;
  --green-800: #0a3d1c;
  --green-700: #077326;
  --green-600: #0a892e;
  --green-100: #dcf1e2;
  --green-50: #eef8f1;
  --orange-600: #e67600;
  --orange-500: #ff8500;
  --orange-100: #ffe3c2;
  --orange-50: #fff4e6;
  --mist: #f3fbfd;
  --ink: #12241a;
  --muted: #4b5d52;
  --line: #dbe7df;
  --surface: #ffffff;
  --danger: #b3261e;

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(6, 43, 20, .06), 0 2px 8px rgba(6, 43, 20, .05);
  --shadow: 0 10px 30px rgba(6, 43, 20, .10);
  --header-h: 76px;
  --container: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--green-700); }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 600 16px/1.2 var(--font-display); text-decoration: none;
  border: 2px solid transparent; border-radius: 10px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--orange-500); color: var(--green-950); box-shadow: 0 6px 18px rgba(255, 133, 0, .28); }
.btn--primary:hover { background: #ff9a2e; }
.btn--green { background: var(--green-700); color: #fff; }
.btn--green:hover { background: var(--green-800); }
.btn--ghost { border-color: rgba(255, 255, 255, .75); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: #fff; color: var(--green-900); border-color: #fff; }
.btn--outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--outline:hover { background: var(--green-700); color: #fff; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 17px; }
.btn--block { width: 100%; }

/* Rotating word in the Request buttons: both words share one cell so the button never changes width */
.btn__label { white-space: nowrap; }
.rotate { display: inline-grid; text-align: left; vertical-align: bottom; }
.rotate > span { grid-area: 1 / 1; animation: rotate-a 6s var(--ease) infinite; }
.rotate > span + span { opacity: 0; animation-name: rotate-b; }
@keyframes rotate-a {
  0%, 42% { opacity: 1; transform: none; }
  50% { opacity: 0; transform: translateY(-.45em); }
  50.01%, 92% { opacity: 0; transform: translateY(.45em); }
  100% { opacity: 1; transform: none; }
}
@keyframes rotate-b {
  0%, 42% { opacity: 0; transform: translateY(.45em); }
  50%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-.45em); }
}

/* Announcement bar */
.topbar { background: var(--green-950); color: #fff; font-size: 15px; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding: 8px 0; }
.topbar__main { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.topbar .icon { width: 18px; height: 18px; color: var(--orange-500); }
.topbar__social { display: flex; align-items: center; gap: 6px; margin-left: auto; color: rgba(255, 255, 255, .8); }
.topbar__social span { margin-right: 6px; }
.topbar__social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; transition: background-color .2s var(--ease); }
.topbar__social a:hover { background: rgba(255, 255, 255, .16); }
.topbar__social .icon { color: #fff; fill: currentColor; stroke: none; }
.topbar__social .icon--line { fill: none; stroke: currentColor; }
.topbar__pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--green-800); font-weight: 600; font-size: 14px; text-decoration: none; padding: 5px 14px; border-radius: 999px; }
.topbar__pill:hover { background: var(--orange-100); }
.topbar__region { color: var(--green-700); font-weight: 700; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.brand .logo-color { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #fff; text-decoration: none; font: 500 16px var(--font-display); padding: 10px 14px; border-radius: 8px; transition: background-color .2s var(--ease), color .2s var(--ease); }
.nav a:hover { background: rgba(255, 255, 255, .14); }
.nav .nav__mobile { display: none; }
.nav-open .nav .nav__mobile { display: block; }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__actions .btn { min-height: 44px; padding: 10px 18px; }
.nav-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; background: transparent; border: 2px solid rgba(255, 255, 255, .7); border-radius: 10px; color: #fff; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close, .nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

.header.is-solid, .nav-open .header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.header.is-solid .logo-white, .nav-open .logo-white { display: none; }
.header.is-solid .logo-color, .nav-open .logo-color { display: block; }
.header.is-solid .nav a, .nav-open .nav a { color: var(--ink); }
.header.is-solid .nav a:hover, .nav-open .nav a:hover { background: var(--green-50); color: var(--green-700); }
.header.is-solid .btn--ghost, .nav-open .btn--ghost { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.header.is-solid .btn--ghost:hover { background: var(--green-700); color: #fff; }
.header.is-solid .nav-toggle, .nav-open .nav-toggle { color: var(--green-800); border-color: var(--line); }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(72px, 9vw, 120px);
  color: #fff;
  background-color: var(--green-900);
  background-image:
    radial-gradient(50% 60% at 8% 15%, rgba(10, 137, 46, .65), transparent 70%),
    linear-gradient(180deg, rgba(4, 32, 14, .72), rgba(6, 43, 20, .88));
}
/* Team photo (backdrop removed) sits bottom-right on the green */
.hero__photo {
  position: absolute; z-index: -1; bottom: 0;
  right: max(20px, calc((100vw - var(--container)) / 2 - 20px));
  width: min(41vw, 580px); height: auto; max-width: none;
}
.hero__content > * { max-width: 520px; }
.hero__content .hero__badge { max-width: none; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); font: 500 16px var(--font-display); }
.hero__badge .icon { color: var(--orange-500); }
.hero h1 { font-size: clamp(2.35rem, 4.6vw, 3.9rem); font-weight: 500; letter-spacing: -.025em; margin-top: 28px; }
.hero h1 span { display: block; }
.hero__lead { margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__trust { display: flex; align-items: flex-start; gap: 10px; margin-top: 30px; font-size: 16px; color: rgba(255, 255, 255, .92); }
.hero__trust .icon { margin-top: 3px; }
.hero__trust .icon { color: var(--orange-500); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--mist { background: var(--mist); }
.section--green { background: var(--green-900); color: #fff; }
.eyebrow { display: inline-block; font: 600 14px var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); margin-bottom: 14px; }
.section--green .eyebrow { color: var(--orange-500); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 600; }
.section__head p { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }
.section__head p strong { color: var(--ink); font-weight: 600; }
.section--green .section__head p { color: rgba(255, 255, 255, .82); }
.section--green .section__head p strong { color: #fff; }

/* Facts strip */
.facts { border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 20px; text-align: center; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font: 600 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--font-display); color: var(--green-700); }
.fact span { color: var(--muted); font-size: 15px; }

/* Tabs */
.tabs__list { display: flex; gap: 8px 36px; justify-content: center; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; background: none; border: 0; cursor: pointer; padding: 16px 2px; min-height: 48px; font: 500 18px var(--font-display); color: var(--muted); transition: color .2s var(--ease); }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--orange-500); transform: scaleX(0); transition: transform .25s var(--ease); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--green-800); font-weight: 600; }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabpanel { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(32px, 5vw, 56px); animation: fade-up .35s var(--ease); }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 600; }
.tabpanel p { margin-top: 16px; color: var(--muted); }
.tabpanel p strong { color: var(--ink); font-weight: 600; }
.tabpanel .btn { margin-top: 28px; }
.panel-card { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.panel-card h4 { font-size: 1.05rem; font-weight: 600; color: var(--green-800); margin-bottom: 16px; }
.checklist li { display: flex; gap: 12px; padding: 9px 0; }
.checklist .icon { color: var(--green-600); margin-top: 4px; }
.panel-card__rate { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--green-100); }
.panel-card__rate strong { font: 600 1.9rem/1 var(--font-display); color: var(--green-800); font-variant-numeric: tabular-nums; }
.panel-card__rate span { color: var(--muted); font-size: 15px; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-100); }
.card h3 { font-size: 1.15rem; font-weight: 600; }
.card p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--orange-50); color: var(--orange-600); margin-bottom: 18px; }
.card__icon .icon { width: 24px; height: 24px; }
.rate { display: flex; flex-direction: column; }
.rate__prices { margin: 14px 0 4px; padding: 4px 0; border-block: 1px solid var(--line); }
.rate__prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 7px 0; }
.rate__prices div + div { border-top: 1px dashed var(--line); }
.rate__prices dt { color: var(--muted); font-size: 14px; }
.rate__prices dd { margin: 0; font: 600 1.3rem/1 var(--font-display); color: var(--green-700); font-variant-numeric: tabular-nums; }
.rate__tag { align-self: flex-start; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: var(--green-50); color: var(--green-800); font: 600 12px var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.note { margin-top: 24px; color: var(--muted); font-size: 15px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 600 15px var(--font-display); letter-spacing: .1em; color: var(--orange-500); margin-bottom: 14px; }
.step h3 { font-size: 1.2rem; font-weight: 600; }
.step p { margin-top: 10px; color: rgba(255, 255, 255, .82); font-size: 16px; }
.step p strong { color: #fff; font-weight: 600; }

/* About / team */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split p + p { margin-top: 16px; }
.split .lead { font-size: 1.15rem; color: var(--ink); }
.split p { color: var(--muted); }
.split p strong { color: var(--ink); font-weight: 600; }
.mission { background: var(--surface); border-left: 4px solid var(--orange-500); border-radius: 0 var(--radius) var(--radius) 0; padding: 28px; box-shadow: var(--shadow-sm); }
.mission h3 { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); margin-bottom: 10px; }
.mission p { color: var(--ink); font: 400 1.2rem/1.5 var(--font-display); }
.badges { display: grid; gap: 14px; margin-top: 24px; }
.badge-row { display: flex; gap: 14px; align-items: flex-start; }
.badge-row .card__icon { margin: 0; flex: none; background: var(--green-50); color: var(--green-700); }
.badge-row strong { display: block; font-family: var(--font-display); }
.badge-row span { color: var(--muted); font-size: 16px; }
.grid--team { grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin-inline: auto; }
.person { padding: 0; overflow: hidden; text-align: center; }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--green-50); }
.person__body { padding: 18px 16px 22px; }
.person h3 { font-size: 1.05rem; }
.person p { font-size: 15px; margin-top: 6px; color: var(--green-700); font-weight: 500; }

/* Careers */
.req-group { margin: 26px 0 6px; font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); }
.req-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.req-list strong { font-weight: 600; }
.req-list li:last-child { border-bottom: 0; }
.req-list .icon { color: var(--green-600); margin-top: 4px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; min-height: 48px; cursor: pointer; list-style: none; font: 600 1.05rem var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--green-700); transition: transform .25s var(--ease); }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq p, .faq ul { padding-bottom: 18px; color: var(--muted); }
.faq p:not(:last-child) { padding-bottom: 12px; }
.faq p + p { margin-top: 0; }
.faq ul { list-style: disc; padding-left: 22px; }
.subhead { font-size: 1.35rem; font-weight: 600; margin-bottom: 16px; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.2vw, 38px); box-shadow: var(--shadow); color: var(--ink); }
.form-card h3 { font-size: 1.4rem; font-weight: 600; }
.form-card > p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.recruit-lines { margin-top: 8px; padding-left: 20px; list-style: disc; color: var(--muted); font-size: 16px; }
.recruit-lines li { padding: 3px 0; }
.recruit-lines a { font-weight: 600; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 15px var(--font-display); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid #b9c9be; border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(10, 137, 46, .18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 14px; font-weight: 500; }
.form__hint { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.form__status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-800); font-weight: 500; }
.form__status:empty { display: none; }

.contact-list { display: grid; gap: 18px; margin-top: 28px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .card__icon { margin: 0; flex: none; background: rgba(255, 255, 255, .1); color: var(--orange-500); }
.contact-item strong { display: block; font-family: var(--font-display); }
.contact-item a { color: #fff; }
.contact-item span { color: rgba(255, 255, 255, .82); font-size: 16px; }

/* Locations */
.office h3 { font-size: 1.3rem; }
.office dl { margin: 18px 0 0; display: grid; gap: 14px; }
.office dt { font: 600 13px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); }
.office dd { margin: 4px 0 0; color: var(--muted); }
.office dd a { display: inline-block; padding: 3px 0; font-weight: 500; }

/* Footer */
.footer { background: var(--green-950); color: rgba(255, 255, 255, .8); padding: 56px 0 28px; font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer img { height: 28px; width: auto; margin-bottom: 18px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { color: rgba(255, 255, 255, .86); text-decoration: none; display: inline-block; padding: 5px 0; }
.footer a:hover { color: var(--orange-500); text-decoration: underline; }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }

/* Privacy notice dialog */
.privacy { width: min(100% - 32px, 600px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: clamp(24px, 4vw, 40px); border: 0; border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(4, 32, 14, .45); }
.privacy::backdrop { background: rgba(4, 32, 14, .72); }
.privacy h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 600; text-align: center; text-transform: uppercase; letter-spacing: .02em; color: var(--green-700); margin-bottom: 20px; }
.privacy p { margin-top: 12px; }
.privacy__check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; cursor: pointer; }
.privacy__check input { flex: none; width: 20px; height: 20px; margin-top: 4px; accent-color: var(--green-700); }
.privacy .btn { display: flex; width: min(100%, 220px); margin: 26px auto 0; text-transform: uppercase; letter-spacing: .04em; }
.privacy .btn:disabled { opacity: .45; cursor: not-allowed; }
.footer__bottom a { padding: 0; text-decoration: underline; }

/* Privacy notice page */
.legal-header { background: #fff; border-bottom: 1px solid var(--line); }
.legal-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.legal-header .btn { min-height: 44px; padding: 10px 18px; }
.legal { max-width: 760px; padding-block: clamp(40px, 7vw, 80px); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; }
.legal__meta { color: var(--muted); font-size: 15px; margin: 8px 0 28px; }
.legal h2 { font-size: 1.4rem; font-weight: 600; margin: 36px 0 10px; }
.legal h3 { font-size: 1.05rem; font-weight: 600; margin: 20px 0 6px; }
.legal p { color: var(--muted); margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; color: var(--muted); }
.legal li { padding: 3px 0; }

/* Page not found */
.notfound {
  min-height: 100dvh; display: grid; align-items: center; padding: 48px 0; color: #fff; text-align: center;
  background-color: var(--green-900);
  background-image: radial-gradient(50% 60% at 8% 15%, rgba(10, 137, 46, .65), transparent 70%), linear-gradient(180deg, rgba(4, 32, 14, .72), rgba(6, 43, 20, .88));
}
.notfound .brand { justify-content: center; }
.notfound__code { margin-top: 48px; font: 600 clamp(4rem, 14vw, 8rem)/1 var(--font-display); color: var(--orange-500); }
.notfound h1 { margin-top: 12px; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 500; }
.notfound__lead { max-width: 54ch; margin: 18px auto 0; color: rgba(255, 255, 255, .9); }
.notfound__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.notfound__help { margin-top: 36px; color: rgba(255, 255, 255, .85); font-size: 16px; }
.notfound__help a { color: #fff; font-weight: 600; white-space: nowrap; }

/* Mobile call bar */
.callbar { display: none; }

/* Motion */
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .topbar__inner, .topbar__main { justify-content: center; text-align: center; }
  .topbar__social { margin-left: 0; }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .nav, .header__actions .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-open .nav { display: flex; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; background: #fff; box-shadow: var(--shadow); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav-open .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 18px; }
}
@media (max-width: 1080px) {
  /* Stack the hero: centred copy, then the photo across the bottom */
  .hero { display: flex; flex-direction: column; padding-bottom: 0; text-align: center; }
  .hero__content { order: 1; }
  .hero__content > * { max-width: 640px; margin-inline: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__photo {
    position: static; order: 2; display: block; width: min(100% - 24px, 540px); height: auto; margin: 32px auto 0;
  }
}
@media (max-width: 860px) {
  .tabpanel, .split, .footer__grid { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--team { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tabs__list { justify-content: flex-start; gap: 8px 28px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --header-h: 66px; }
  .brand img { height: 24px; }
  .header__actions .btn--primary { display: none; }
  .grid--5, .grid--4 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); box-shadow: 0 -4px 20px rgba(6, 43, 20, .14); }
  .callbar .btn { min-height: 48px; padding: 10px 12px; font-size: 15px; }
  .callbar__menu { position: relative; }
  .callbar__menu summary { width: 100%; list-style: none; }
  .callbar__menu summary::-webkit-details-marker { display: none; }
  .callbar__menu[open] summary { background: var(--green-700); color: #fff; }
  .callbar__options { position: absolute; left: 0; bottom: calc(100% + 12px); width: min(300px, calc(100vw - 28px)); padding: 6px; white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .callbar__options a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
  .callbar__options a + a { border-top: 1px solid var(--line); }
  .callbar__options a:active { background: var(--green-50); }
  .callbar__options strong { font-family: var(--font-display); }
  .callbar__options span { color: var(--green-700); font-weight: 600; font-variant-numeric: tabular-nums; }
  .footer { padding-bottom: 100px; }
}
/* Printing and PDF export */
.print-mode .reveal, .print-mode .tabpanel { opacity: 1; transform: none; transition: none; animation: none; }
.print-mode .tabpanel + .tabpanel { margin-top: 24px; border-top: 1px solid var(--line); }
.print-mode { background: var(--green-950); }
.print-popup main > :not(.hero), .print-popup .footer { display: none; }
.print-popup, .print-popup body { height: 900px; overflow: hidden; }
@page { size: A4; margin: 14mm; }
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .js .reveal { opacity: 1; transform: none; }
  .header { position: static; }
  .callbar, .skip-link { display: none; }
  html:not(.print-popup) .privacy { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* The button wording still alternates, as a plain fade with no movement */
  .rotate > span { animation: fade-a 6s ease-in-out infinite !important; }
  .rotate > span + span { animation-name: fade-b !important; }
}
@keyframes fade-a { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fade-b { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
