/*
Theme Name: Agile Pro Work Force
Theme URI: https://wp016.proweaver.co
Author: Proweaver
Description: Custom theme for Agile Pro Work Force, a healthcare staffing company.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: agile-pro
*/

@font-face{font-family:"Lexend";font-style:normal;font-weight:300;font-display:swap;src:url(assets/fonts/lexend-300.woff2) format("woff2")}
@font-face{font-family:"Lexend";font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/lexend-400.woff2) format("woff2")}
@font-face{font-family:"Lexend";font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/lexend-600.woff2) format("woff2")}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/plus-jakarta-sans-400.woff2) format("woff2")}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/plus-jakarta-sans-700.woff2) format("woff2")}
@font-face{font-family:"Plus Jakarta Sans";font-style:italic;font-weight:700;font-display:swap;src:url(assets/fonts/plus-jakarta-sans-700-italic.woff2) format("woff2")}
/* =========================================================
   Agile Pro Work Force — site styles
   Design reference: 1920px canvas, 1376px content column
   ========================================================= */

:root {
  --teal: #0A5952;
  --teal-deep: #08463F;
  --teal-line: #1D6E67;
  --teal-num: #247070;
  --ink: #3B5452;
  --body: #4C4C4C;
  --muted: #6B6B6B;
  --orange: #CC7B00;
  --orange-hover: #B56D00;
  --sky: #7FC0D5;
  --sky-soft: #E8F4F8;
  --bg: #F9F9F9;
  --cream: #FFF9F6;
  --line: #E8E8E8;
  --white: #fff;

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Lexend", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --container: 1376px;
  --gutter: 24px;
  --radius: 16px;
  --header-h: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 28px;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; /*! list-style: none; */ }
strong { font-weight: 600; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--orange); color: #fff; padding: 10px 18px; border-radius: 999px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Type ---------- */
.eyebrow { font-size: 17px; line-height: 1.4; font-weight: 300; color: var(--body); display: block; margin-bottom: 10px; }
.h-display {
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
  font-size: clamp(36px, 3.15vw, 60px); line-height: 1.15; letter-spacing: -0.01em;
}
.h-section { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: clamp(28px, 2.2vw, 42px); line-height: 1.2; }
.h-card { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: clamp(20px, 1.25vw, 24px); line-height: 1.3; }
.lead { font-size: 16px; line-height: 28px; }
.on-dark, .on-dark .eyebrow, .on-dark .h-display, .on-dark .h-section, .on-dark .h-card { color: #fff; }
.center { text-align: center; }
.measure { max-width: 906px; margin-inline: auto; }

/* ---------- Buttons ---------- */
body .uwy.userway_p2 .userway_buttons_wrapper {top: unset !important; right: unset !important; bottom: 310px !important; transform: none !important; left: 13px !important; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 150px; height: 45px; padding: 0 28px; border-radius: 999px;
  background: var(--orange); color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 300;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal-deep);
  clip-path: inset(0 100% 0 0 round 999px); transition: clip-path 300ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .arrow { transition: transform 200ms var(--ease-out); }
.btn--lg { height: 54px; min-width: 209px; font-size: 16px; }
.btn--ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.btn--ghost::before { background: var(--teal); }
.btn--light::before { background: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { clip-path: inset(0 0 0 0 round 999px); }
  .btn--ghost:hover { color: #fff; }
  .btn--light:hover { color: var(--teal); }
  .btn:hover .arrow { transform: translateX(4px); }
}

/* =========================================================
   Header (replica of the original two-row header)
   ========================================================= */
.site-header {
  position: relative; z-index: 60; background: #fff; height: var(--header-h);
}
.header-inner { height: 100%; display: flex; align-items: stretch; }
.brand { flex: 0 0 auto; display: flex; align-items: center; width: 349px; }
.brand img { width: 97px; height: auto; margin-top: -10px; }
.header-main { flex: 1; display: flex; flex-direction: column; }
.topbar { height: 58px; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; }
.assist { display: flex; align-items: center; gap: 14px; font-size: 16px; color: #3a3a3a; font-weight: 300; }
.assist img { width: 26px; }
.assist a { transition: color 200ms ease; }
.topbar-right { display: flex; align-items: center; gap: 4px; z-index: 99; }
.social { display: flex; gap: 4px; margin-right: 22px; }
.social a { display: block; width: 36px; height: 36px; transition: transform 160ms var(--ease-out); }
.social a:active { transform: scale(0.94); }
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 8px 0 4px;
  border: 1px solid var(--line); border-radius: 4px; font-size: 16px; color: #222; font-weight: 400;
}
.lang-btn img { width: 40px; }
.lang-btn svg { transition: transform 200ms var(--ease-out); }
.lang[data-open] .lang-btn svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 140px; background: #fff; border-radius: 8px;
  box-shadow: 0 12px 30px rgba(10, 89, 82, .14); padding: 6px; transform-origin: top right;
  opacity: 0; transform: scale(0.95); pointer-events: none;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.lang[data-open] .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button { display: block; width: 100%; text-align: left; padding: 6px 10px; border-radius: 6px; font-size: 14px; }

.main-nav { position: relative; height: 70px; }
.main-nav ul { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.main-nav a { font-size: 18px; color: #3a3a3a; font-weight: 300; padding: 6px 0; position: relative; transition: color 200ms ease; }
.main-nav a[aria-current="page"] { color: #222; }
.nav-pill {
  position: absolute; left: 0; bottom: -5px; width: 37px; height: 10px; border-radius: 5px; background: var(--orange);
  transform: translateX(var(--pill-x, 0px)); transition: transform 320ms var(--ease-in-out); z-index: 2;
}
.burger { display: none; }

@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover, .assist a:hover { color: var(--orange); }
  .social a:hover { transform: translateY(-2px); }
  .lang-menu button:hover { background: var(--sky-soft); }
}

/* Smart sticky header used on inner pages */
.header-sticky {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80; background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(10, 89, 82, .08);
  transform: translateY(-110%); transition: transform 400ms var(--ease-drawer);
}
.header-sticky[data-show] { transform: none; }
.header-sticky .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.header-sticky .brand { width: auto; }
.header-sticky .brand img { width: 62px; margin: 0; }
.header-sticky nav ul { display: flex; gap: 38px; }
.header-sticky nav a { font-size: 16px; color: #3a3a3a; transition: color 200ms ease; }
.header-sticky nav a[aria-current="page"] { color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .header-sticky nav a:hover { color: var(--orange); } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 120; background: var(--teal); color: #fff; padding: 28px var(--gutter);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform 500ms var(--ease-drawer);
  visibility: hidden;
}
.drawer[data-open] { transform: none; visibility: visible; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer-top img { width: 70px; }
.drawer nav { margin-top: 40px; }
.drawer nav a { display: block; font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1.2; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer nav a[aria-current="page"] { color: var(--sky); }
.drawer-foot { margin-top: auto; font-size: 15px; line-height: 1.8; opacity: .85; }
.drawer-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; }

/* =========================================================
   Side accessibility rail (fixed, left — as on the original)
   ========================================================= */
.a11y-rail { position: fixed; left: 12px; top: 67.5vh; z-index: 90; display: flex; flex-direction: column; gap: 6px; }
.a11y-rail button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; position: relative; transition: transform 160ms var(--ease-out); }
.a11y-rail button:active { transform: scale(0.94); }
.a11y-rail img { width: 32px; }
.a11y-rail .tip {
  position: absolute; left: calc(100% + 10px); top: 50%; white-space: nowrap; background: var(--teal); color: #fff;
  font-size: 12px; line-height: 1; padding: 7px 10px; border-radius: 6px; pointer-events: none;
  opacity: 0; transform: translateY(-50%) scale(0.97); transform-origin: left center;
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out);
}
.a11y-rail button:focus-visible .tip { opacity: 1; transform: translateY(-50%); }
@media (hover: hover) and (pointer: fine) {
  .a11y-rail button:hover .tip { opacity: 1; transform: translateY(-50%); }
}
html.hc { filter: contrast(1.18) saturate(1.1); }
html.big-text body { font-size: 17px; line-height: 31px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200; background: var(--teal-deep); color: #fff;
  padding: 14px 22px; border-radius: 12px; font-size: 14px; line-height: 1.5; box-shadow: 0 14px 40px rgba(0,0,0,.2);
  translate: -50% 0; opacity: 0; transform: translateY(100%); transition: opacity 400ms ease, transform 400ms ease;
  max-width: calc(100% - 32px);
}
.toast[data-show] { opacity: 1; transform: none; }

/* =========================================================
   Page transition curtain
   ========================================================= */
.pt { position: fixed; inset: 0; z-index: 500; pointer-events: none; }
.pt-panel { position: absolute; inset: 0; transform: translateY(101%); visibility: hidden; }
.pt-a { background: var(--orange); }
.pt-b { background: var(--teal); display: grid; place-items: center; }
.pt-b img { width: 92px; opacity: 0; transform: translateY(14px); }
html.pt-cover .pt-panel { transform: none; visibility: visible; }
html.pt-cover .pt-b img { opacity: 1; transform: none; }
html.pt-cover .pt { pointer-events: auto; }

/* =========================================================
   HOME — replica sections
   ========================================================= */
.hero { position: relative; height: clamp(560px, 42.3vw, 812px); overflow: hidden; background: #0d2b2a; }
.hero-slides { position: absolute; inset: -47px 0 -60px; will-change: transform; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1000ms ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,30,30,0) 17%, rgba(2,31,30,.84) 100%);
}
.hero-content { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: 82px; }
.hero-content .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero h2 { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: clamp(30px, 3.45vw, 66px); line-height: 1.17; letter-spacing: -0.005em; }
.hero p { color: #fff; font-size: 17px; line-height: 28px; max-width: 830px; margin-top: 30px; }
.hero .btn { flex: 0 0 auto; margin-bottom: 10px; }

/* Intro */
.intro { background: var(--bg); padding-top: 93px; position: relative; z-index: 2; }
.intro-grid { display: grid; grid-template-columns: 681px 637px; column-gap: 139px; position: relative; left: -121px; align-items: start; }
.intro-photo { margin-bottom: -173px; position: relative; z-index: 3; }
.intro-photo img { width: 681px; height: auto; }
.intro-copy { padding-top: 44px; padding-bottom: 90px; }
.intro-copy .h-display { margin-bottom: 26px; }
.intro-copy p + p { margin-top: 28px; }
.intro-copy strong { font-weight: 600; color: #333; }

/* Teal needs / services */
.needs { background: var(--teal); color: #fff; position: relative; z-index: 1; padding-bottom: 89px; }
.stats { display: flex; margin-left: 699px; padding-top: 66px; min-height: 200px; }
.stat { padding: 0 52px; border-left: 1px solid rgba(255,255,255,.25); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: 42px; line-height: 1.1; font-weight: 700; }
.stat span { display: block; font-size: 15px; margin-top: 10px; white-space: nowrap; }
.needs-head { text-align: center; padding-top: 59px; }
.needs-head .h-display { margin-bottom: 26px; }
.needs-head p { max-width: 906px; margin-inline: auto; }

.svc-stack { margin-top: 37px; display: flex; flex-direction: column; gap: 25px; }
.svc-sticky { position: sticky; top: 90px; }
.svc-card {
  display: grid; grid-template-columns: 1fr 540px; height: 273px; background: var(--teal);
  border: 1px solid var(--teal-line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 -18px 40px rgba(0, 40, 36, .25);
}
.svc-body { display: grid; grid-template-columns: 156px 1fr; align-items: start; padding: 40px 0 0 32px; }
.svc-num { font-size: 72px; line-height: 1; color: var(--teal-num); font-weight: 400; padding-top: 14px; border-right: 1px solid var(--teal-line); height: 96px; }
.svc-copy { padding-left: 52px; }
.svc-copy h3 { font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1.2; color: #fff; }
.svc-copy p { margin-top: 18px; max-width: 600px; }
.svc-copy .btn { margin-top: 25px; }
.svc-photo { overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .svc-card:hover .svc-photo img { transform: scale(1.04); } }

/* Mission */
.mission { background: #fff; padding: 96px 0 90px; position: relative; z-index: 3; }
.mission-head .h-display { margin-bottom: 30px; }
.mission-grid { display: grid; grid-template-columns: 748px 1fr; gap: 26px; margin-top: 68px; }
.mission-photo { border-radius: var(--radius); overflow: hidden; height: 420px; }
.mission-photo img { width: 100%; height: 100%; object-fit: cover; }
.mission-side { position: relative; height: 420px; }
.mission-side > p { position: absolute; left: 46px; top: -8px; width: 470px; }
.about-badge { position: absolute; left: 34px; top: 113px; width: 163px; height: 163px; z-index: 2; display: block; }
.about-badge .ring { width: 163px; animation: spin 30s linear infinite; }
.about-badge .arrow-c { position: absolute; left: 52px; top: 52px; width: 59px; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .about-badge:hover .arrow-c { transform: rotate(-45deg); } }
.ref-photo { position: absolute; left: 0; top: 232px; width: 232px; height: 188px; border-radius: var(--radius); overflow: hidden; }
.ref-photo img { width: 100%; height: 100%; object-fit: cover; }
.ref-copy { position: absolute; left: 298px; top: 232px; width: 304px; }
.ref-copy h3 { font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--ink); margin-top: -2px; }
.ref-copy p { margin-top: 12px; }
.ref-copy .btn { margin-top: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Values marquee */
.values { background: var(--bg); height: 92px; overflow: hidden; display: flex; align-items: center; position: relative; z-index: 3; }
.values-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.values-track span {
  display: flex; align-items: center; gap: 0; font-family: var(--font-head); font-style: italic; font-weight: 700;
  font-size: 40px; line-height: 1; color: var(--ink); white-space: nowrap; padding-right: 0;
}
.values-track span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--sky); margin: 0 65px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Contact band */
.connect { position: relative; color: #fff; overflow: hidden; z-index: 2; }
.connect-bg { position: absolute; inset: 0; }
.connect-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.connect::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,28,28,0) 16%, rgba(3,33,30,.66) 62%, rgba(3,33,30,.92) 100%);
}
.connect .container { position: relative; z-index: 2; min-height: 806px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 88px; }
.connect .h-display { margin-bottom: 22px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 46px; }
.field input, .field textarea, .field select {
  width: 100%; height: 55px; border: 0; border-radius: 999px; background: #fff; padding: 0 27px; font: inherit; font-size: 15px; color: #333;
  transition: box-shadow 200ms ease;
}
.field textarea { border-radius: 24px; padding: 16px 27px; height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #777; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: 0 0 0 3px rgba(204, 123, 0, .55); }
.form-foot { display: grid; grid-template-columns: 1fr 223px 165px; gap: 30px; align-items: center; margin-top: 30px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 26px; max-width: 850px; }
.consent input { appearance: none; flex: 0 0 auto; width: 20px; height: 20px; background: #fff; margin-top: 4px; border-radius: 2px; display: grid; place-items: center; cursor: pointer; }
.consent input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--teal); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0.6); opacity: 0; transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out); margin-top: -3px; }
.consent input:checked::after { opacity: 1; transform: rotate(-45deg) scale(1); }
.consent b { font-weight: 600; }
.consent.err input { box-shadow: 0 0 0 2px #d0533f; }
.consent > .msg,
.captcha-box > .msg { display: block; flex: 1 0 100%; margin-top: 6px; font-size: 13px; line-height: 1.35; color: #c0412d; }
.consent > .msg:empty,
.captcha-box > .msg:empty { display: none; }
.captcha-box.err { flex-wrap: wrap; }
.captcha-box.err .g-recaptcha { outline: 2px solid #d0533f; outline-offset: 3px; border-radius: 4px; }
.connect .consent > .msg,
.connect .captcha-box > .msg { color: #ffd2c8; }
.connect .consent.err input { box-shadow: 0 0 0 2px #ffb4a8; }
.connect .captcha-box.err .g-recaptcha { outline-color: #ffb4a8; }
.captcha { white-space: nowrap; line-height: 1.2; height: 55px; background: #f9f9f9; border: 1px solid #d3d3d3; border-radius: 3px; display: flex; align-items: center; gap: 12px; padding: 0 12px; color: #555; font-size: 13px; }
.captcha i { width: 22px; height: 22px; border: 2px solid #c1c1c1; border-radius: 2px; background: #fff; }
.captcha small { margin-left: auto; font-size: 8px; line-height: 1.2; text-align: center; color: #999; }
.form-foot .btn { width: 100%; height: 55px; }

/* Home form: consent | reCAPTCHA | submit on one row (stacks at the 1200px breakpoint below) */
.form-foot--captcha { grid-template-columns: 1fr 304px 165px; margin-top: 34px; }
.form-foot--captcha .captcha-box { display: flex; justify-content: center; min-height: 78px; }

/* CTA */
.cta { background: #fff; padding: 97px 0 90px; position: relative; z-index: 3; }
.cta-head .h-display { margin-bottom: 26px; }
.cta-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; }
.cta-grid::before { content: ""; position: absolute; left: 0; right: 0; top: 49px; height: 1px; background: var(--line); }
.cta-item { text-align: center; position: relative; padding: 0 20px; }
.cta-item .icon { width: 99px; height: 99px; margin: 0 auto; }
.cta-item h3 { margin-top: 36px; font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--ink); }
.cta-item p { margin: 16px auto 0; max-width: 340px; }
.cta-item .btn { margin-top: 26px; }
.cta figure {   width: 100%;   max-width: 500px;   margin: 50px auto 0;   border: 1px solid #c7c7c7;   border-radius: 20px;   overflow: hidden; }

/* Footer */

.site-footer { background: var(--teal); color: #fff; padding-top: 80px; position: relative; z-index: 3; }
.site-footer .h-display { color: #fff; text-align: center; }
.footer-grid {
  display: grid; grid-template-columns: 361px 1fr 1fr 297px; margin-top: 50px; padding: 60px 0 58px;
  border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14);
}
.f-brand { text-align: center; border-right: 1px solid rgba(255,255,255,.14); padding-right: 90px; }
.f-brand img { width: 131px; margin: 0 auto 26px; }
.f-col { padding-left: 91px; }
.f-col:nth-child(3) { padding-left: 0; }
.f-col:last-child { border-left: 1px solid rgba(255,255,255,.14); padding-left: 91px; }
.f-col h4 { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 12px; }
.f-col li { line-height: 40px; }
.f-col p { line-height: 26px; margin-bottom: 18px; }
.f-col a { transition: color 200ms ease; }
.f-col:last-child li { line-height: 32px; font-size: 17px; }
.footer-bottom { display: flex; justify-content: space-between; padding: 40px 0 48px; font-size: 15px; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .f-col a:hover, .footer-bottom a:hover { color: var(--sky); } }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-hero { position: relative; height: clamp(420px, 30vw, 560px); overflow: hidden; color: #fff; background: #0d2b2a; }
.page-hero .ph-media { position: absolute; inset: -12% 0; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,33,30,.86) 0%, rgba(3,33,30,.55) 45%, rgba(3,33,30,.1) 100%); }
.page-hero .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.crumbs { display: flex; gap: 10px; font-size: 14px; opacity: .9; margin-bottom: 18px; }
.crumbs a { color: var(--sky); }
.page-hero h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 3.6vw, 68px); line-height: 1.1; max-width: 900px; }
.page-hero p { max-width: 620px; margin-top: 20px; font-size: 17px; }
.ph-scroll { position: absolute; z-index: 2; right: max(var(--gutter), calc((100% - var(--container)) / 2)); bottom: 40px; display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.ph-scroll i { width: 1px; height: 54px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.ph-scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: translateY(-100%); animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { 50% { transform: none; } 100% { transform: translateY(100%); } }

.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--white { background: #fff; }
.section--teal { background: var(--teal); color: #fff; }
.section--cream { background: var(--cream); }
.sec-head { margin-bottom: 56px; }
.sec-head.center p { max-width: 760px; margin: 18px auto 0; }
.sec-head p { margin-top: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.split > *, .card-grid > *, .info-grid > *, .form-grid > *, .svc-panel > * { min-width: 0; }
.split--wide { grid-template-columns: 1.1fr .9fr; }
.media-frame { border-radius: var(--radius); overflow: hidden; position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-tall { height: 560px; }
.media-mid { height: 420px; }
.float-card {
  position: absolute; background: #fff; border-radius: 14px; padding: 20px 24px; box-shadow: 0 24px 50px rgba(10,89,82,.16);
  display: flex; align-items: center; gap: 16px; color: var(--ink);
}
.float-card b { font-family: var(--font-head); font-size: 34px; line-height: 1; color: var(--teal); }
.float-card span { font-size: 14px; line-height: 1.4; max-width: 150px; }

.check-list li { position: relative; padding-left: 34px; margin-top: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%230A5952' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.on-dark .check-list li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%237FC0D5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-band > div { padding: 10px 40px; border-left: 1px solid rgba(255,255,255,.2); }
.stat-band > div:first-child { border-left: 0; padding-left: 0; }
.stat-band b { display: block; font-family: var(--font-head); font-size: clamp(36px, 2.6vw, 50px); line-height: 1.1; font-weight: 700; color: #fff; }
.stat-band span { display: block; margin-top: 8px; }

.card-grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); padding: 36px 32px; border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms ease;
}
.card .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; margin-bottom: 24px; color: var(--teal); border: 1px solid #f3e6df; }
.card .ic svg { width: 28px; height: 28px; }
.card .h-card { margin-bottom: 10px; }
.card .num { position: absolute; right: 26px; top: 18px; font-size: 54px; line-height: 1; color: #F0F0F0; font-weight: 400; transition: color 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(10,89,82,.12); border-color: transparent; }
  .card:hover .num { color: #E3F1F5; }
}
.section--teal .card { background: rgba(255,255,255,.04); border-color: var(--teal-line); color: #fff; }
.section--teal .card .h-card { color: #fff; }
.section--teal .card .ic { background: rgba(255,255,255,.08); border-color: transparent; color: var(--sky); }
.section--teal .card .num { color: rgba(255,255,255,.06); }

.value-card { text-align: center; padding: 44px 26px; }
.value-card .ic { margin-inline: auto; }

/* Tabs (clip-path active copy) */
.tabs-nav { position: relative; display: inline-flex; padding: 6px; background: #fff; border-radius: 999px; border: 1px solid var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tabs-list { display: flex; gap: 0; position: relative; }
.tabs-list button { white-space: nowrap; height: 48px; padding: 0 26px; border-radius: 999px; font-size: 15px; color: var(--ink); font-weight: 400; transition: color 200ms ease; }
.tabs-list--active { position: absolute; inset: 0; pointer-events: none; transition: clip-path 300ms var(--ease-in-out); }
.tabs-list--active button { background: var(--teal); color: #fff; border-radius: 0; }
.tabs-list--active button:first-child { border-radius: 999px 0 0 999px; }
.tabs-list--active button:last-child { border-radius: 0 999px 999px 0; }
.section--teal .tabs-nav { background: rgba(255,255,255,.06); border-color: var(--teal-line); }
.section--teal .tabs-list button { color: #fff; }
.section--teal .tabs-list--active button { background: var(--orange); }
.tab-panel[hidden] { display: none; }
.tabs-wrap.center { text-align: center; }

.svc-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-top: 56px; text-align: left; }
.svc-panel .media-frame { height: 470px; }
.svc-panel .h-display { font-size: clamp(30px, 2.4vw, 46px); margin-bottom: 18px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill-list li { font-size: 13px; line-height: 1; padding: 10px 14px; border-radius: 999px; background: var(--sky-soft); color: var(--teal); font-weight: 400; }
.svc-panel .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 26px 0 30px; }
.svc-panel .meta h4 { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 17px; }

/* Horizontal process */
.hscroll { overflow: hidden; }
.hscroll-track { display: flex; gap: 28px; width: max-content; }
.step-card {
  width: 500px; flex: 0 0 auto; background: rgba(255,255,255,.04); border: 1px solid var(--teal-line); border-radius: var(--radius); padding: 40px 36px 44px;
}
.step-card .no { font-size: 72px; line-height: 1; color: var(--teal-num); }
.step-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 26px; margin: 28px 0 12px; color: #fff; }
.hscroll-progress { height: 2px; background: rgba(255,255,255,.15); margin-top: 50px; border-radius: 2px; overflow: hidden; }
.hscroll-progress i { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }

/* Timeline */
.timeline { position: relative; max-width: 980px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); translate: -1px 0; }
.timeline-fill { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--orange); translate: -1px 0; transform-origin: top; transform: scaleY(0); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 26px 0; }
.tl-item::before { content: ""; position: absolute; left: 50%; top: 44px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--sky); translate: -9px 0; z-index: 1; }
.tl-item > div { grid-column: 1; text-align: right; }
.tl-item:nth-child(odd of .tl-item) > div { grid-column: 2; text-align: left; }
.tl-item .when { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-weight: 400; }
.tl-item h3 { font-family: var(--font-head); font-size: 24px; color: var(--ink); margin: 6px 0 8px; }

/* Accordion */
.faq { max-width: 980px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); }
.faq-q .pm { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background-color 200ms ease, border-color 200ms ease; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--teal); translate: -50% -50%; transition: transform 250ms var(--ease-out), background-color 200ms ease; }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-item[data-open] .pm { background: var(--orange); border-color: var(--orange); }
.faq-item[data-open] .pm::before, .faq-item[data-open] .pm::after { background: #fff; }
.faq-item[data-open] .pm::after { transform: rotate(0deg); }
.faq-a { height: 0; overflow: hidden; }
.faq-a > div { padding: 0 60px 26px 0; }

.faq-list { font-size: 25px; line-height: 100%; text-align: center; padding: 10px 0 10px 0; color: #fff !important; background: var(--teal); border: 1px solid var(--teal-line); border-radius: var(--radius); }

/* Jobs */
.job-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.chip { height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--ink); font-weight: 400; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.job {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  transition: box-shadow 300ms var(--ease-out), border-color 300ms ease;
}
.job .tag { display: inline-block; font-size: 12px; line-height: 1; padding: 7px 11px; border-radius: 999px; background: var(--sky-soft); color: var(--teal); font-weight: 400; margin-bottom: 12px; }
.job h3 { font-family: var(--font-head); font-size: 21px; color: var(--ink); }
.job ul { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); margin-top: 6px; }
.job .btn { min-width: 0; height: 42px; padding: 0 20px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .job:hover { box-shadow: 0 18px 40px rgba(10,89,82,.1); border-color: transparent; } }

/* Forms (inner) */
.form-card { background: #fff; border-radius: 22px; padding: 48px; box-shadow: 0 30px 70px rgba(10,89,82,.10); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.lbl { display: block; font-size: 14px; color: var(--ink); font-weight: 400; margin: 0 0 8px 6px; }
.form-card .field input, .form-card .field select, .form-card .field textarea { background: var(--bg); border: 1px solid var(--line); height: 52px; }
.form-card .field textarea { height: 140px; }
.form-card .field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233B5452' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 22px center; }
.field.err input, .field.err select, .field.err textarea { border-color: #d0533f; box-shadow: 0 0 0 3px rgba(208,83,63,.15); }
.field .msg { display: block; font-size: 12px; color: #c0412d; margin: 6px 0 0 8px; min-height: 0; line-height: 1.2; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { position: relative; }
.radio-row input { position: absolute; opacity: 0; }
.radio-row span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.radio-row input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.radio-row input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.form-card .consent { color: var(--body); font-size: 14px; }
.form-card .consent input { background: var(--bg); border: 1px solid #cfcfcf; }

/* Multi-step application */
.steps-head { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 40px; }
.step-dot { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.step-dot i { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; border: 1px solid var(--line); background: #fff; font-weight: 400; transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease; }
.step-dot[data-state="active"] { color: var(--ink); }
.step-dot[data-state="active"] i { background: var(--orange); border-color: var(--orange); color: #fff; }
.step-dot[data-state="done"] i { background: var(--teal); border-color: var(--teal); color: #fff; }
.steps-bar { height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 44px; overflow: hidden; }
.steps-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--sky)); transform-origin: left; transform: scaleX(.25); transition: transform 500ms var(--ease-in-out); }
.steps-viewport { overflow: hidden; }
.steps-track { display: flex; transition: transform 550ms var(--ease-in-out); align-items: flex-start; }
.step { flex: 0 0 100%; padding: 4px; }
.step h3 { font-family: var(--font-head); font-size: 26px; color: var(--ink); margin-bottom: 6px; }
.step > p { margin-bottom: 26px; }
.steps-actions { display: flex; justify-content: space-between; margin-top: 34px; gap: 12px; }
.review dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; font-size: 15px; }
.review dt { color: var(--muted); }
.review dd { margin: 0; color: var(--ink); font-weight: 400; }
.success { text-align: center; padding: 30px 0 10px; }
.success svg { width: 96px; height: 96px; margin: 0 auto 20px; }
.success circle, .success path { stroke-dasharray: 300; stroke-dashoffset: 300; }
.success.play circle { animation: draw 900ms var(--ease-out) forwards; }
.success.play path { animation: draw 600ms var(--ease-out) 450ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.aside-card { background: var(--teal); color: #fff; border-radius: 22px; padding: 40px 36px; position: sticky; top: 110px; }
.aside-card h3 { font-family: var(--font-head); font-size: 24px; margin-bottom: 14px; }

/* Contact page */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -90px; position: relative; z-index: 3; }
.info-card { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: 0 24px 60px rgba(10,89,82,.10); transition: transform 300ms var(--ease-out); }
.info-card .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h3 { font-family: var(--font-head); font-size: 19px; color: var(--ink); margin-bottom: 4px; }
@media (hover: hover) and (pointer: fine) { .info-card:hover { transform: translateY(-6px); } }
.map-card { position: relative; border-radius: 22px; overflow: hidden; min-height: 100%; background: var(--teal-deep); color: #fff; }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; }
.map-roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: absolute; left: 52%; top: 44%; translate: -50% -100%; }
.map-pin .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--orange); border: 4px solid #fff; position: relative; }
.map-pin .dot::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--orange); animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.map-label { position: absolute; left: 28px; bottom: 28px; right: 28px; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px; padding: 20px 22px; }
.map-label h4 { font-family: var(--font-head); font-size: 18px; }

/* CTA strip used on inner pages */
.cta-strip { position: relative; border-radius: 26px; overflow: hidden; color: #fff; padding: 80px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-strip .bg { position: absolute; inset: -20% 0; }
.cta-strip .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-strip::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,70,63,.95), rgba(8,70,63,.72) 60%, rgba(8,70,63,.4)); }
.cta-strip > *:not(.bg) { position: relative; z-index: 2; }
.cta-strip .h-display { color: #fff; font-size: clamp(30px, 2.6vw, 50px); }
.cta-strip .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Split-text helper */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wi { display: inline-block; will-change: transform; }

/* Reveal pre-states (only when JS is on) */
.js [data-reveal] { opacity: 0; }
.js [data-reveal="mask"] { opacity: 1; clip-path: inset(0 0 100% 0); }
.js .home [data-x] { opacity: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1700px) {
  .intro-grid { left: 0; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); column-gap: 90px; }
  .intro-photo img { width: 100%; }
  .stats { margin-left: calc(560px + 90px); }
}
@media (max-width: 1480px) {
  .mission-grid { grid-template-columns: 1fr 1fr; }
  .mission-side { height: auto; display: grid; grid-template-columns: 232px 1fr; gap: 24px 40px; align-content: start; }
  .mission-side > p { position: static; width: auto; grid-column: 1 / -1; }
  .about-badge { position: absolute; left: 150px; top: 60px; }
  .ref-photo, .ref-copy { position: static; width: auto; }
  .ref-photo { margin-top: 100px; }
  .ref-copy { margin-top: 100px; }
  .ref-copy h3{margin-top: 40px;}
  .svc-card { grid-template-columns: 1fr 420px; }
  .footer-grid { grid-template-columns: 1.1fr 1fr 1fr .9fr; }
  .f-brand { padding-right: 40px; }
  .f-col, .f-col:last-child { padding-left: 40px; }
  
}
@media (max-width: 1200px) {
  :root { --header-h: 84px; }
  .br-d { display: none; }
  .topbar, .main-nav { display: none; }
  .header-main { flex-direction: row; justify-content: flex-end; align-items: center; }
  .brand { width: auto; }
  .brand img { width: 64px; margin: 0; }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; border-radius: 50%; background: var(--teal); align-items: center; }
  .burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; }
  .header-sticky { display: none; }

  .intro-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .intro-photo { margin-bottom: 0; max-width: 560px; }
  .intro-copy { padding: 0 0 70px; }
  .stats { margin-left: 0; padding-top: 70px; min-height: 0; flex-wrap: wrap; gap: 24px 0; }
  .svc-card { grid-template-columns: 1fr; height: auto; }
  .svc-photo { height: 240px; order: -1; }
  .svc-body { padding: 30px; grid-template-columns: 90px 1fr; }
  .svc-num { font-size: 48px; height: 64px; padding-top: 6px; }
  .svc-copy { padding-left: 26px; }
  .svc-copy h3 { font-size: 24px; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-photo { height: 360px; }
  .form-row-3 { grid-template-columns: 1fr; gap: 14px; }
  .form-foot { grid-template-columns: 1fr; }
  .connect .container { padding-top: 260px; }
  .cta-grid { grid-template-columns: 1fr; gap: 50px; }
  .cta-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .f-brand { grid-column: 1 / -1; border-right: 0; padding: 0; }
  .f-col, .f-col:last-child { padding-left: 0; border-left: 0; }

  .split, .split--wide, .svc-panel { grid-template-columns: 1fr; gap: 50px; }
  .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .stat-band > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .jobs { grid-template-columns: 1fr; }
  .cta-strip { grid-template-columns: 1fr; padding: 56px 40px; }
  .aside-card { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .section { padding: 80px 0; }
  
  .hero { height: 640px; }
  .hero-content .container { flex-direction: column; align-items: flex-start; }
  .hero p { font-size: 15px; margin-top: 18px; }
  .stat { padding: 0 22px; }
  .stat b { font-size: 32px; }
  .svc-body { grid-template-columns: 1fr; }
  .svc-num { border: 0; height: auto; }
  .svc-copy { padding-left: 0; margin-top: 10px; }
  .mission-side { grid-template-columns: 1fr; }
  .about-badge { position: relative; left: auto; top: auto; margin: 6px 0 0; }
  .float-card { right: 12px !important; bottom: 16px !important; }
  .ref-photo { margin-top: 30px; width: 100%; height: 220px; }
  .ref-copy { margin-top: 0; }
  .values-track span { font-size: 28px; }
  .values-track span::after { margin: 0 34px; width: 10px; height: 10px; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center;
  ; }
  .cols-2, .cols-3, .cols-4, .cols-5, .info-grid, .form-grid { grid-template-columns: 1fr; }
  .timeline::before, .timeline-fill { left: 9px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 40px; gap: 0; }
  .tl-item::before { left: 9px; }
  .tl-item > div, .tl-item:nth-child(odd of .tl-item) > div { grid-column: 1; text-align: left; }
  .form-card { padding: 28px 22px; }
  .steps-head span { display: none; }
  .review dl { grid-template-columns: 1fr; }
  .step-card { width: 82vw; }
  .media-tall { height: 420px; }
  .a11y-rail { top: auto; bottom: 16px; left: 10px; flex-direction: row; background: #fff; padding: 4px; border-radius: 999px; box-shadow: 0 8px 24px rgba(10,89,82,.18); }
  .a11y-rail .tip { display: none; }
  .ph-scroll { display: none; }
  .footer-bottom{justify-content: center;}

  .h1_hdng{font-size: 18px!important;}
  .h1_nonhome{font-size: 18px!important;}
}

/* Reduced motion: keep fades, drop movement */
@media (prefers-reduced-motion: reduce) {
  .values-track, .about-badge .ring, .ph-scroll i::after, .map-pin .dot::before { animation: none; }
  .hero-slide { transition-duration: 400ms; }
  .steps-track, .header-sticky, .drawer, .nav-pill { transition-duration: 1ms; }
}

/* Application layout */
.app-grid { grid-template-columns: minmax(0, 1fr) 380px; }
@media (max-width: 1200px) { .app-grid { grid-template-columns: 1fr; } }

body.home .header-sticky { display: none; }
.view[hidden] { display: none !important; }


/* WordPress additions */
.entry > * + * { margin-top: 1.1em; }
.entry h2, .entry h3 { font-family: var(--font-head); color: var(--teal); }
.entry a { color: var(--teal); text-decoration: underline; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ------------------------------------------------------------------
   Wrap the pasted HTML in <div class="privacy"> ... </div>
   ------------------------------------------------------------------ */
 
.privacy {
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) var(--gutter);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  padding: 0 !important;
}
 
.privacy p {
  margin: 0 0 1em;
  max-width: var(--measure);
}
 
.privacy b {
  font-weight: 500;
  color: var(--ink);
}
 
/* Last updated line */
.privacy > p:first-child {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
 
.privacy .privacy_span {
  color: var(--teal);
  font-weight: 500;
}
 
/* Intro paragraphs read a touch larger than the rest */
.privacy > p:nth-child(2),
.privacy > p:nth-child(3) {
  font-size: 1.0625rem;
  color: var(--ink);
}
 
/* ---------- Sections ---------- */
 
.privacy .privacy_list {
  list-style: none;
  counter-reset: section;
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 0;
}
 
.privacy .privacy_list > li {
  counter-increment: section;
  position: relative;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}
 
.privacy .privacy_list > li:last-child {
  border-bottom: 1px solid var(--line);
}
 
/* Section titles */
.privacy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--teal);
}
 
/* The numbering is a true sequence (ordered list), so it earns a number */
.privacy .privacy_list > li > h2:first-child::before {
  content: counter(section) ".";
  display: inline-block;
  min-width: 2ch;
  margin-right: 0.5em;
  font-weight: 500;
  color: var(--teal-num);
}
 
/* Stray h2 inside a section (e.g. "Service Providers and Partners")
   behaves like a subheading */
.privacy .privacy_list > li > h2:not(:first-child) {
  margin-top: 1.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}
 
/* Subheadings */
.privacy h3 {
  margin: 1.75rem 0 0.5rem;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
 
/* ---------- Bullets ---------- */
 
.privacy ul.bullet {
  list-style: none;
  margin: 0 0 1.25em;
  padding: 0;
  max-width: var(--measure);
}
 
.privacy ul.bullet li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}
 
.privacy ul.bullet li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 0.75rem;
  height: 1px;
  background: var(--teal-line);
}
 
/* ---------- Links ---------- */
 
.privacy a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.18s var(--ease-out);
}
 
.privacy a:hover {
  color: var(--orange-hover);
}
 
.privacy a:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 2px;
}
 
/* ---------- The one callout: security and breach notes ---------- */
 
.privacy p:has(> b:first-child:only-child),
.privacy p:has(> b:first-child + :not(b)) {
  /* no-op fallback so unsupported browsers ignore this block */
}
 
.privacy p > b:first-child:where(:only-child) {
  display: inline;
}
 
.privacy .privacy_list p:has(> b:first-child):not(:has(+ ul)) {
  padding: 1rem 1.25rem;
  background: var(--sky-soft);
  border-left: 2px solid var(--sky);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
}
 
/* ---------- Small screens ---------- */
 
@media (max-width: 600px) {
  .privacy {
    font-size: 0.9375rem;
    line-height: 1.7;
  }
  .privacy .privacy_list > li > h2:first-child::before {
    display: block;
    margin: 0 0 0.25rem;
  }
}
 
/* ---------- Print ---------- */
 
@media print {
  .privacy {
    max-width: none;
    padding: 0;
    color: #000;
  }
  .privacy a {
    color: inherit;
    text-decoration: none;
  }
  .privacy .privacy_list > li {
    break-inside: avoid;
  }
}



.privacy p {
  margin: 0 0 1em;
  max-width: var(--measure);
}

.privacy b {
  font-weight: 500;
  color: var(--ink);
}

/* Last updated line */
.privacy > p:first-child {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.privacy .privacy_span {
  color: var(--teal);
  font-weight: 500;
}

/* Intro paragraphs read a touch larger than the rest */
.privacy > p:nth-child(2),
.privacy > p:nth-child(3) {
  font-size: 1.0625rem;
  color: var(--ink);
}

/* ---------- Sections ---------- */

.privacy .privacy_list {
  list-style: none;
  counter-reset: section;
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 0;
}

.privacy .privacy_list > li {
  counter-increment: section;
  position: relative;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}

.privacy .privacy_list > li:last-child {
  border-bottom: 1px solid var(--line);
}

/* Section titles */
.privacy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--teal);
}

/* The numbering is a true sequence (ordered list), so it earns a number */
.privacy .privacy_list > li > h2:first-child::before {
  content: counter(section) ".";
  display: inline-block;
  min-width: 2ch;
  margin-right: 0.5em;
  font-weight: 500;
  color: var(--teal-num);
}

/* Stray h2 inside a section (e.g. "Service Providers and Partners")
   behaves like a subheading */
.privacy .privacy_list > li > h2:not(:first-child) {
  margin-top: 1.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}

/* Subheadings */
.privacy h3 {
  margin: 1.75rem 0 0.5rem;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

/* ---------- Bullets ---------- */

.privacy ul.bullet {
  list-style: none;
  margin: 0 0 1.25em;
  padding: 0;
  max-width: var(--measure);
}

.privacy ul.bullet li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.privacy ul.bullet li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 0.75rem;
  height: 1px;
  background: var(--teal-line);
}

/* ---------- Links ---------- */

.privacy a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.18s var(--ease-out);
}

.privacy a:hover {
  color: var(--orange-hover);
}

.privacy a:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- The one callout: security and breach notes ---------- */

.privacy p:has(> b:first-child:only-child),
.privacy p:has(> b:first-child + :not(b)) {
  /* no-op fallback so unsupported browsers ignore this block */
}

.privacy p > b:first-child:where(:only-child) {
  display: inline;
}

.privacy .privacy_list p:has(> b:first-child):not(:has(+ ul)) {
  padding: 1rem 1.25rem;
  background: var(--sky-soft);
  border-left: 2px solid var(--sky);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
}

/* ---------- Small screens ---------- */

@media (max-width: 600px) {
  .privacy {
    font-size: 0.9375rem;
    line-height: 1.7;
  }
  .privacy .privacy_list > li > h2:first-child::before {
    display: block;
    margin: 0 0 0.25rem;
  }
}

/* ---------- Print ---------- */

@media print {
  .privacy {
    max-width: none;
    padding: 0;
    color: #000;
  }
  .privacy a {
    color: inherit;
    text-decoration: none;
  }
  .privacy .privacy_list > li {
    break-inside: avoid;
  }
}


/* ==================================================================
   Variant: CPRA / opt-out page
   Markup: <div class="privacy"><div class="privacy_list"> h2, p, ul.bullet ... </div></div>
   Sections are headings in a <div> (not an ordered list), so no numbers.
   ================================================================== */

.privacy div.privacy_list {
  margin: 0;
}

/* Opening paragraph reads as the lead */
.privacy div.privacy_list > p:first-child {
  font-size: 1.0625rem;
  color: var(--ink);
  margin-bottom: 0;
  padding-bottom: clamp(28px, 4vw, 44px);
}

/* Each h2 starts a new section, marked by the same hairline as the main notice */
.privacy div.privacy_list > h2 {
  margin: 0 0 1rem;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

/* Close the last section */
.privacy div.privacy_list > p:last-child {
  padding-bottom: clamp(28px, 4vw, 44px);
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}

/* Contact details: keep phone numbers on one line */
.privacy a.tel,
.privacy a[href^="mailto:"] {
  white-space: nowrap;
  font-weight: 400;
}

/* Skip the callout treatment in this variant */
.privacy div.privacy_list p:has(> b:first-child):not(:has(+ ul)) {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
/* ---------- Form result popups (success / error) ---------- */
#success,
#error-msg {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 70, 63, 0.55);
  backdrop-filter: blur(3px);
}
#success .message,
#error-msg .message {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0;
  padding: 48px 36px 40px;
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  font-family: var(--font-body);
}
.fail-check span { font-size: 18px; font-weight: 600; color: var(--orange); }
#success .close,
#error-msg .error-close {
  position: absolute;
  top: 12px;
  right: 18px;
  margin: 0;
  font-size: 30px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
#success .close:hover,
#error-msg .error-close:hover { color: var(--orange); }

/* Success popup with GIF */
.message.animated-success img { display: block; width: 140px; max-width: 60%; height: auto; margin: 0 auto 8px; }
.message.animated-success br { display: none; }
.message.animated-success span { display: block; }
.message.animated-success span:nth-of-type(1) { font-family: var(--font-head); font-size: 34px; font-weight: 800; letter-spacing: .04em; color: var(--teal); }
.message.animated-success span:nth-of-type(2) { margin-top: 6px; font-size: 20px; color: var(--ink); }
.message.animated-success span:nth-of-type(3) { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* =========================================================
   H1 SEO REVISION
   ========================================================= */
   .h1_hdng { font-size: 22px; line-height: 100%; text-transform: capitalize; margin-bottom: 8px; color:var(--body); font-weight: 300; }
   .h1_nonhome { font-size: 22px; line-height: 100%; text-transform: capitalize; margin: 8px 0; }