/* Waymark Care Services: site styles */
:root {
  --navy: #0F2535;
  --navy-2: #163349;
  --teal: #1D9E75;
  --teal-dark: #168a62;
  --light-teal: #5DCAA5;
  --teal-tint: #E1F5EE;
  --soft-white: #F4F6F5;
  --white: #ffffff;
  --gray: #5B6472;
  --gray-light: #8A93A0;
  --amber: #9A5B0B;
  --amber-tint: #FDF1DE;
  --border: rgba(15,37,53,0.1);
  --shadow: 0 4px 40px rgba(15,37,53,0.08);
  --radius: 16px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--navy);
  background: var(--soft-white);
  line-height: 1.7;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--light-teal); outline-offset: 2px; border-radius: 4px; }
.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; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 1000; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .container { padding: 0 32px; } }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,0.72); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,0.85); text-decoration: none; }
.topbar a:hover { color: var(--light-teal); }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 14px; height: 14px; color: var(--light-teal); }
.topbar-status { display: inline-flex; align-items: center; gap: 8px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--light-teal); box-shadow: 0 0 0 0 rgba(93,202,165,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(93,202,165,0); } 100% { box-shadow: 0 0 0 0 rgba(93,202,165,0); } }
@media (max-width: 760px) { .topbar-hide-sm { display: none; } .topbar .container { justify-content: center; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,37,53,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo svg { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.logo-sub { font-size: 10px; font-weight: 500; color: var(--teal); letter-spacing: .15em; text-transform: uppercase; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav a, .main-nav button.nav-drop-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; font-size: 14.5px; font-weight: 500; color: var(--navy); text-decoration: none; border-radius: 8px; background: none; border: 0; }
.main-nav a:hover, .main-nav button.nav-drop-toggle:hover, .main-nav a[aria-current="page"] { color: var(--teal); background: var(--teal-tint); }
.nav-drop { position: relative; }
.nav-drop-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-drop.open .nav-drop-toggle svg { transform: rotate(180deg); }
.drop-panel { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px); width: 560px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 20px 60px rgba(15,37,53,0.15); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transition: all .18s; }
.nav-drop.open .drop-panel, .nav-drop:hover .drop-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop-panel a { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 10px; }
.drop-panel a:hover { background: var(--soft-white); }
.drop-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.drop-icon svg { width: 18px; height: 18px; color: var(--teal); }
.drop-text strong { display: block; font-size: 14px; color: var(--navy); }
.drop-text span { font-size: 12px; color: var(--gray); font-weight: 400; line-height: 1.4; display: block; }
.drop-footer { grid-column: 1 / -1; border-top: 1px solid var(--border); margin-top: 6px; padding: 12px 12px 4px; display: flex; justify-content: space-between; font-size: 13px; }
.drop-footer a { padding: 0; display: inline; color: var(--teal); }
.drop-footer a:hover { background: none; text-decoration: underline; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: #fff; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1100px) {
  .main-nav, .header-actions .btn-cta-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(15,37,53,0.5); z-index: 200; opacity: 0; visibility: hidden; transition: .2s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; z-index: 201; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; overflow-y: auto; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
body.drawer-open, body.modal-open { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.drawer nav ul { list-style: none; padding: 12px; }
.drawer nav a { display: block; padding: 12px 14px; color: var(--navy); text-decoration: none; font-weight: 500; border-radius: 8px; }
.drawer nav a:hover, .drawer nav a[aria-current="page"] { background: var(--teal-tint); color: var(--teal); }
.drawer details summary { padding: 12px 14px; font-weight: 500; list-style: none; cursor: pointer; display: flex; justify-content: space-between; border-radius: 8px; }
.drawer details summary::-webkit-details-marker { display: none; }
.drawer details summary::after { content: '+'; color: var(--teal); font-size: 20px; line-height: 1; }
.drawer details[open] summary::after { content: '−'; }
.drawer details ul { padding: 0 0 0 12px; }
.drawer details a { font-size: 14px; font-weight: 400; }
.drawer-foot { margin-top: auto; padding: 20px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 8px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1.5px solid transparent; transition: all .2s; line-height: 1.2; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(15,37,53,0.2); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-white { background: #fff; color: var(--teal); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14.5px; text-decoration: none; color: var(--teal); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-white { background: #fff; }
.bg-soft { background: var(--soft-white); }
.bg-navy { background: var(--navy); color: rgba(255,255,255,0.75); }
.bg-tint { background: var(--teal-tint); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.bg-navy .eyebrow { color: var(--light-teal); }
h1, h2, h3, h4 { line-height: 1.15; color: var(--navy); }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.h-display { font-family: var(--serif); font-weight: 800; font-size: clamp(40px, 5.4vw, 70px); line-height: 1.08; }
.h-section { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 16px; }
.h-card { font-family: var(--serif); font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.lead { font-size: 18px; font-weight: 300; color: var(--gray); line-height: 1.8; }
.bg-navy .lead { color: rgba(255,255,255,0.65); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.split-head .section-head { margin-bottom: 0; }
.text-teal { color: var(--teal); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 96px; background: linear-gradient(180deg, #fff 0%, var(--soft-white) 100%); }
.hero::before { content: ''; position: absolute; top: -30%; right: -15%; width: 70%; height: 140%; background: radial-gradient(ellipse at center, rgba(29,158,117,0.10) 0%, transparent 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { margin: 24px 0 36px; max-width: 520px; color: var(--navy); opacity: .78; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-proof-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray); }
.hero-proof-item svg { width: 20px; height: 20px; color: var(--teal); }
.path-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid rgba(15,37,53,0.06); padding: 28px; position: relative; }
.path-card::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; background: var(--teal-tint); border-radius: 20px; z-index: -1; }
.path-card h2 { font-family: var(--serif); font-size: 22px; margin-bottom: 4px; }
.path-card > p { font-size: 14px; color: var(--gray); margin-bottom: 18px; }
.path-option { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--navy); margin-bottom: 10px; transition: all .2s; }
.path-option:hover { border-color: var(--teal); background: var(--soft-white); transform: translateX(4px); }
.path-option .drop-icon { width: 44px; height: 44px; border-radius: 11px; }
.path-option strong { display: block; font-size: 15px; }
.path-option span { font-size: 13px; color: var(--gray); }
.path-option .chev { margin-left: auto; width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }
.path-card-foot { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray); padding-top: 12px; border-top: 1px dashed var(--border); margin-top: 6px; }
.path-card-foot a { font-weight: 500; text-decoration: none; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .path-card::after { display: none; } }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #12384B 60%, #145A55 100%); color: rgba(255,255,255,0.75); padding: 72px 0 80px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(93,202,165,0.08); }
.page-hero h1 { color: #fff; font-family: var(--serif); font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; margin-bottom: 16px; max-width: 820px; }
.page-hero .lead { color: rgba(255,255,255,0.72); max-width: 680px; }
.page-hero .eyebrow { color: var(--light-teal); }
.breadcrumb { display: flex; gap: 8px; list-style: none; font-size: 13px; margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: rgba(255,255,255,0.35); }
.breadcrumb [aria-current] { color: var(--light-teal); }
.page-hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy); padding: 18px 0; }
.trust-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.75); font-size: 13.5px; }
.trust-item svg { width: 20px; height: 20px; color: var(--light-teal); flex-shrink: 0; }
@media (max-width: 760px) { .trust-bar .container { justify-content: flex-start; } .trust-item { width: calc(50% - 12px); } }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; padding: 5px 11px; border-radius: 99px; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-live { background: var(--teal-tint); color: #12795A; }
.badge-soon { background: var(--amber-tint); color: var(--amber); }
.badge-plain::before { display: none; }
.badge-plain { background: var(--soft-white); color: var(--gray); border: 1px solid var(--border); }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: var(--soft-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; text-decoration: none; color: var(--navy); transition: all .25s; position: relative; }
.bg-soft .service-card { background: #fff; }
.service-card:hover { border-color: var(--light-teal); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(29,158,117,0.12); }
.service-card .svc-icon { width: 52px; height: 52px; border-radius: 13px; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-card .svc-icon svg { width: 26px; height: 26px; color: var(--teal); }
.service-card.featured { background: var(--navy); color: rgba(255,255,255,0.75); border-color: var(--navy); }
.service-card.featured h3 { color: #fff; }
.service-card.featured .svc-icon { background: rgba(93,202,165,0.15); }
.service-card.featured .svc-icon svg { color: var(--light-teal); }
.service-card.featured p { color: rgba(255,255,255,0.7); }
.service-card.featured .link-arrow { color: var(--light-teal); }
.service-card h3 { font-family: var(--serif); font-size: 21px; margin: 10px 0 8px; }
.service-card p { font-size: 14.5px; color: var(--gray); margin-bottom: 20px; flex-grow: 1; }
.service-card .badge { align-self: flex-start; }
.services-note { margin-top: 32px; display: flex; gap: 14px; align-items: flex-start; background: var(--amber-tint); border-radius: 12px; padding: 18px 20px; font-size: 14px; color: #5f3d0b; }
.services-note svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--amber); margin-top: 2px; }
@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- About + gallery ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-grid .lead { margin-bottom: 20px; }
.about-points { list-style: none; display: grid; gap: 14px; margin: 28px 0 32px; }
.about-points li { display: flex; gap: 12px; font-size: 15px; }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.tick svg { width: 13px; height: 13px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 230px 230px; gap: 14px; }
.gallery-item { border-radius: 14px; overflow: hidden; position: relative; border: 0; padding: 0; background: var(--teal-tint); cursor: zoom-in; }
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item { display: block; width: 100%; height: 100%; }
.gallery-item img, .gallery-item svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img, .gallery-item:hover svg { transform: scale(1.04); }
.gallery-item .cap { position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(15,37,53,0.75); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 8px; text-align: left; opacity: 0; transform: translateY(6px); transition: .2s; }
.gallery-item:hover .cap, .gallery-item:focus-visible .cap { opacity: 1; transform: none; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 560px) { .gallery { grid-template-rows: 150px 150px; gap: 10px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(8,20,30,0.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox figure { max-width: 960px; width: 100%; }
.lightbox-media { background: var(--teal-tint); border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; }
.lightbox-media img, .lightbox-media svg { width: 100%; height: 100%; object-fit: cover; }
.lightbox figcaption { color: rgba(255,255,255,0.85); text-align: center; margin-top: 14px; font-size: 15px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; border: 0; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255,255,255,0.22); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } }

/* ---------- Language section ---------- */
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lang-visual { background: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.lang-bubbles { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.lang-bubble { background: var(--soft-white); border: 1px solid var(--border); border-radius: 99px; padding: 8px 16px; font-size: 14px; }
.lang-bubble:nth-child(3n+1) { background: var(--teal-tint); border-color: transparent; color: #12795A; }
.lang-visual p { font-size: 14px; color: var(--gray); }
@media (max-width: 900px) { .lang-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 28px 22px; transition: .2s; }
.value-card:hover { background: rgba(29,158,117,0.12); border-color: rgba(29,158,117,0.35); }
.value-num { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 18px; letter-spacing: .1em; }
.value-word { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--light-teal); margin-bottom: 10px; }
.value-desc { font-size: 13.5px; color: rgba(255,255,255,0.62); line-height: 1.7; }
@media (max-width: 1000px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Commitments strip ---------- */
.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .commit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .commit-grid { grid-template-columns: 1fr; } }
.commit { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.commit-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.commit-icon svg { width: 20px; height: 20px; color: var(--teal); }
.commit strong { display: block; font-size: 15px; margin-bottom: 2px; }
.commit span { font-size: 13px; color: var(--gray); line-height: 1.5; display: block; }
.commit.logo-commit { align-items: center; justify-content: center; }
.commit.logo-commit img { max-height: 56px; width: auto; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-photo { aspect-ratio: 1 / 1; background: linear-gradient(140deg, var(--teal-tint), #c9ecdf); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials { font-family: var(--serif); font-size: 64px; font-weight: 800; color: var(--teal); }
.team-body { padding: 22px; }
.team-body h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 2px; }
.team-role { font-size: 13px; font-weight: 500; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.team-body p { font-size: 14px; color: var(--gray); }
.team-card.join { border-style: dashed; border-width: 2px; background: transparent; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 28px; }
.team-card.join:hover { border-color: var(--teal); }
.team-card.join h3 { font-family: var(--serif); font-size: 22px; margin: 16px 0 8px; }
.team-card.join p { font-size: 14px; color: var(--gray); margin-bottom: 18px; }

/* ---------- Quote calculator ---------- */
.quote-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.quote-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 32px; border: 1px solid rgba(15,37,53,0.06); }
.quote-steps { display: flex; gap: 8px; margin-bottom: 24px; }
.quote-step-dot { flex: 1; height: 4px; border-radius: 4px; background: var(--border); }
.quote-step-dot.active { background: var(--teal); }
.quote-panel[hidden] { display: none; }
.range-row { margin-bottom: 22px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.range-head label { font-weight: 500; font-size: 14.5px; }
.range-value { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--teal); }
input[type=range] { width: 100%; accent-color: var(--teal); height: 28px; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--soft-white); font-size: 20px; color: var(--navy); }
.stepper button:hover { border-color: var(--teal); color: var(--teal); }
.stepper input { flex: 1; }
.quote-summary { background: var(--navy); color: rgba(255,255,255,0.75); border-radius: 14px; padding: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 22px; }
.quote-summary .qs-num { font-family: var(--serif); font-size: 26px; font-weight: 700; color: #fff; line-height: 1.1; }
.quote-summary .qs-label { font-size: 12px; }
.quote-estimate { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 12px; font-size: 13px; }
.quote-estimate strong { color: var(--light-teal); font-size: 18px; }
.coverage { display: flex; gap: 8px; margin-top: 6px; }
.coverage input { flex: 1; text-transform: uppercase; }
.coverage-result { font-size: 13.5px; margin-top: 8px; min-height: 20px; }
.coverage-result.ok { color: #12795A; }
.coverage-result.no { color: var(--amber); }
@media (max-width: 960px) { .quote-wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .quote-summary { grid-template-columns: 1fr 1fr; } .quote-card { padding: 22px; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; color: var(--navy); }
.field .req { color: #c0392b; }
.field .hint { font-size: 12.5px; color: var(--gray-light); margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=search], select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--navy); background: var(--soft-white);
  border: 1.5px solid var(--border); border-radius: 10px; transition: border-color .2s, background .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
textarea { resize: vertical; min-height: 120px; }
input[type=file] { width: 100%; padding: 12px; border: 1.5px dashed rgba(15,37,53,0.25); border-radius: 10px; background: var(--soft-white); font-size: 14px; }
fieldset { border: 0; }
.check-row { display: flex; flex-wrap: wrap; gap: 10px; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; }
.check-pill span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 99px; font-size: 14px; cursor: pointer; background: var(--soft-white); }
.check-pill input:checked + span { background: var(--teal-tint); border-color: var(--teal); color: #12795A; }
.check-pill input:focus-visible + span { outline: 3px solid var(--light-teal); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--gray); }
.consent input { margin-top: 4px; accent-color: var(--teal); width: 16px; height: 16px; flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-size: 14.5px; padding: 0; border-radius: 10px; }
.form-status.ok { background: var(--teal-tint); color: #12795A; padding: 14px 16px; }
.form-status.err { background: #FDECEA; color: #A93226; padding: 14px 16px; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .tick { width: 56px; height: 56px; margin: 0 auto 16px; }
.form-success .tick svg { width: 28px; height: 28px; }
.form-success h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 8px; }
.form-success p { color: var(--gray); }

/* ---------- Blog cards ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--navy); transition: .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.post-thumb svg { width: 100%; height: 100%; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.post-meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--gray-light); margin-bottom: 10px; flex-wrap: wrap; }
.post-cat { color: var(--teal); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.post-card h3 { font-family: var(--serif); font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.post-card p { font-size: 14.5px; color: var(--gray); margin-bottom: 18px; flex-grow: 1; }
@media (max-width: 1000px) { .posts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts-grid { grid-template-columns: 1fr; } }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 32px; }
.chip { padding: 9px 16px; border-radius: 99px; border: 1.5px solid var(--border); background: #fff; font-size: 14px; color: var(--navy); }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-search { margin-left: auto; min-width: 240px; position: relative; }
.filter-search input { padding-left: 40px; background: #fff; }
.filter-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--gray-light); }
@media (max-width: 700px) { .filter-search { margin-left: 0; width: 100%; } }
.empty-state { text-align: center; padding: 48px 20px; color: var(--gray); display: none; }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.prose { font-size: 17px; line-height: 1.85; color: #263848; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-size: 28px; margin-top: 1.8em; }
.prose h3 { font-size: 20px; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { border-left: 4px solid var(--teal); background: var(--teal-tint); padding: 16px 20px; border-radius: 0 10px 10px 0; color: var(--navy); }
.prose a { color: var(--teal); }
.prose .callout { background: var(--soft-white); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; font-size: 15.5px; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.side-card.dark { background: var(--navy); color: rgba(255,255,255,0.72); border-color: var(--navy); }
.side-card.dark h3 { color: #fff; }
.side-card h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 10px; }
.side-card p { font-size: 14px; margin-bottom: 16px; }
.side-links { list-style: none; display: grid; gap: 4px; }
.side-links a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--navy); font-size: 14.5px; }
.side-links a:hover, .side-links a[aria-current] { background: var(--teal-tint); color: var(--teal); }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); text-decoration: none; }
.share-btn:hover { border-color: var(--teal); color: var(--teal); }
.share-btn svg { width: 18px; height: 18px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* ---------- Service detail ---------- */
.detail-intro { font-size: 19px; line-height: 1.8; color: var(--navy); }
.includes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.include { display: flex; gap: 12px; align-items: flex-start; background: var(--soft-white); border-radius: 10px; padding: 14px 16px; font-size: 15px; }
@media (max-width: 600px) { .includes-grid { grid-template-columns: 1fr; } }
.who-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.status-panel { border-radius: 14px; padding: 22px; }
.status-panel.soon { background: var(--amber-tint); color: #5f3d0b; }
.status-panel.live { background: var(--teal-tint); color: #0f5a43; }
.status-panel h3 { font-size: 16px; margin-bottom: 6px; color: inherit; }
.status-panel p { font-size: 14px; margin: 0; }
.steps { counter-reset: step; display: grid; gap: 16px; margin-top: 20px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step::before { counter-increment: step; content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 500; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.step strong { display: block; }
.step span { font-size: 14.5px; color: var(--gray); }

/* FAQ accordion */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 16.5px; font-weight: 500; color: var(--navy); }
.faq-q .faq-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .25s; }
.faq-q .faq-icon svg { width: 16px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 48px 22px 0; color: var(--gray); font-size: 15.5px; }
.faq-a-inner a { color: var(--teal); }

/* ---------- Vacancies ---------- */
.jobs-list { display: grid; gap: 16px; }
.job { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.job:hover, .job.open { border-color: var(--light-teal); }
.job-head { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 22px 24px; cursor: pointer; background: none; border: 0; width: 100%; text-align: left; color: var(--navy); }
.job-head h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 8px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray); }
.job-tag svg { width: 14px; height: 14px; color: var(--teal); }
.job-tag + .job-tag::before { content: '·'; margin-right: 2px; color: var(--gray-light); }
.job-toggle { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.job-toggle svg { width: 18px; height: 18px; }
.job.open .job-toggle { transform: rotate(180deg); }
.job-body { display: none; padding: 0 24px 24px; border-top: 1px solid var(--border); }
.job.open .job-body { display: block; }
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 20px; }
.job-cols h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: 10px; }
.job-cols ul { padding-left: 1.1em; font-size: 15px; color: #33475a; }
.job-cols li + li { margin-top: 4px; }
.job-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; align-items: center; }
.job-actions small { color: var(--gray); }
@media (max-width: 700px) { .job-cols { grid-template-columns: 1fr; } }

/* Benefits */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.bg-white .benefit { background: var(--soft-white); }
.benefit .commit-icon { margin-bottom: 14px; }
.benefit h3 { font-size: 17px; margin-bottom: 6px; }
.benefit p { font-size: 14px; color: var(--gray); }
@media (max-width: 900px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }

/* Spotlight */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.award-card { background: linear-gradient(150deg, var(--navy), #145A55); border-radius: 20px; padding: 40px; color: rgba(255,255,255,0.75); position: relative; overflow: hidden; }
.award-card::before { content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(93,202,165,0.12); }
.award-card h3 { color: #fff; font-family: var(--serif); font-size: 26px; margin: 18px 0 10px; position: relative; }
.award-card p { position: relative; }
.award-medal { width: 64px; height: 64px; border-radius: 50%; background: rgba(93,202,165,0.18); display: flex; align-items: center; justify-content: center; position: relative; }
.award-medal svg { width: 32px; height: 32px; color: var(--light-teal); }
.award-winners { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; margin-top: 24px; position: relative; }
.award-winner { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 14px; text-align: center; }
.award-winner strong { display: block; color: #fff; font-size: 15px; }
.award-winner span { font-size: 12px; }
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.info-row strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); font-weight: 500; margin-bottom: 2px; }
.info-row a, .info-row span { color: var(--navy); text-decoration: none; font-size: 15.5px; }
.info-row a:hover { color: var(--teal); }
.map-box { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: linear-gradient(135deg, #dfeee8, #eef4f1); aspect-ratio: 4 / 3; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box p { font-size: 13px; color: var(--gray); margin: 10px 0 14px; max-width: 280px; }
.hours-table { width: 100%; font-size: 14.5px; border-collapse: collapse; }
.hours-table td { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.hours-table td:last-child { text-align: right; color: var(--gray); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--teal-tint); border-radius: 20px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.newsletter h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.newsletter p { color: var(--gray); }
.newsletter-form .nl-row { display: flex; gap: 10px; }
.newsletter-form input[type=email] { background: #fff; }
.newsletter-form .consent { margin-top: 10px; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; padding: 28px; } .newsletter-form .nl-row { flex-direction: column; } }

/* ---------- CTA ---------- */
.cta-band { background: var(--teal); padding: 88px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ''; position: absolute; border-radius: 50%; border: 50px solid rgba(255,255,255,0.06); }
.cta-band::before { width: 360px; height: 360px; left: -140px; top: -160px; }
.cta-band::after { width: 300px; height: 300px; right: -100px; bottom: -150px; }
.cta-band h2 { font-family: var(--serif); color: #fff; font-size: clamp(30px, 4vw, 50px); margin-bottom: 16px; position: relative; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 18px; font-weight: 300; max-width: 620px; margin: 0 auto 36px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 72px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: var(--light-teal); }
.footer-brand p { margin: 18px 0 20px; max-width: 300px; line-height: 1.8; }
.socials { display: flex; gap: 10px; }
.social { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8); transition: .2s; }
.social:hover { background: var(--teal); color: #fff; }
.social svg { width: 17px; height: 17px; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--light-teal); }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.55); }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col.wide { grid-column: 1 / -1; } }

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 150; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(15,37,53,0.25); border: 0; color: #fff; text-decoration: none; transition: transform .2s, opacity .2s; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 26px; height: 26px; }
.fab-wa { background: #25D366; }
.fab-call { background: var(--teal); }
.fab-top { width: 44px; height: 44px; background: var(--navy); opacity: 0; pointer-events: none; }
.fab-top svg { width: 20px; height: 20px; }
.fab-top.show { opacity: 1; pointer-events: auto; }
.fab-label { position: absolute; right: 64px; background: var(--navy); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; transform: translateX(6px); transition: .2s; pointer-events: none; }
.fab-wrap { position: relative; display: flex; align-items: center; }
.fab-wrap:hover .fab-label { opacity: 1; transform: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; background: rgba(15,37,53,0.6); }
.modal.open { display: flex; }
.modal-dialog { background: #fff; border-radius: 20px; width: 100%; max-width: 760px; position: relative; animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal-head { padding: 28px 32px 0; }
.modal-head h2 { font-family: var(--serif); font-size: 28px; }
.modal-head p { color: var(--gray); font-size: 14.5px; margin-top: 4px; }
.modal-body { padding: 24px 32px 32px; }
.modal-close { position: absolute; top: 18px; right: 18px; }
.form-section-title { grid-column: 1 / -1; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); font-weight: 500; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.form-section-title:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
@media (max-width: 600px) { .modal { padding: 0; } .modal-dialog { border-radius: 0; min-height: 100%; } .modal-head, .modal-body { padding-left: 20px; padding-right: 20px; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal .updated { font-size: 14px; color: var(--gray); margin-bottom: 32px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { background: var(--soft-white); font-weight: 500; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound .big { font-family: var(--serif); font-size: 120px; font-weight: 800; color: var(--teal); line-height: 1; }

/* Decorative shapes must never block clicks */
.page-hero::after, .cta-band::before, .cta-band::after, .award-card::before { pointer-events: none; }
.page-hero .container, .cta-band .container { position: relative; z-index: 1; }
.modal-head { padding-right: 72px; }

/* ---------- Care news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.bg-white .news-card { background: var(--soft-white); }
.news-card:hover { border-color: var(--light-teal); box-shadow: var(--shadow); }
.news-card h3 { font-family: var(--serif); font-size: 19px; line-height: 1.35; margin-bottom: 8px; }
.news-card h3 a { color: var(--navy); text-decoration: none; }
.news-card h3 a:hover { color: var(--teal); text-decoration: underline; }
.news-card > p { font-size: 14.5px; color: var(--gray); margin-bottom: 12px; }
.news-card .news-source { margin: auto 0 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-light); }
.news-card .news-source svg { color: var(--teal); }
.news-note { margin-top: 28px; font-size: 13px; color: var(--gray); }
@media (max-width: 760px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Waymark guide (help assistant) ---------- */
.guide { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.guide-launch { display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 20px 0 16px; border-radius: 99px; border: 0; background: var(--navy); color: #fff; font-weight: 500; font-size: 15px; box-shadow: 0 8px 24px rgba(15,37,53,0.3); transition: transform .2s; }
.guide-launch:hover { transform: translateY(-2px); }
.guide-launch svg { width: 22px; height: 22px; color: var(--light-teal); }
.guide.open .guide-launch { display: none; }
.guide-nudge { position: relative; max-width: 240px; background: #fff; border: 1px solid var(--border); border-radius: 14px 14px 4px 14px; padding: 14px 34px 14px 16px; box-shadow: var(--shadow); font-size: 14px; cursor: pointer; animation: modalIn .3s ease; }
.guide-nudge p { margin: 0; color: var(--navy); }
.guide-nudge-close { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; background: none; color: var(--gray); display: flex; align-items: center; justify-content: center; }
.guide-nudge-close svg { width: 14px; height: 14px; }
.guide-panel { position: fixed; right: 18px; bottom: 18px; width: 380px; height: min(600px, calc(100vh - 36px)); background: #fff; border-radius: 20px; box-shadow: 0 24px 70px rgba(15,37,53,0.28); display: flex; flex-direction: column; overflow: hidden; z-index: 250; animation: modalIn .25s ease; }
.guide-panel[hidden] { display: none; }
.guide-head { background: linear-gradient(135deg, var(--navy), #145A55); color: #fff; padding: 16px 14px 16px 18px; display: flex; align-items: center; gap: 12px; }
.guide-head div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.guide-head strong { font-family: var(--serif); font-size: 18px; }
.guide-head span { font-size: 12.5px; color: rgba(255,255,255,0.7); }
.guide-avatar { width: 40px; height: 40px; border-radius: 12px; background: rgba(93,202,165,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.guide-avatar svg { width: 26px; height: 26px; }
.guide-icon { width: 34px; height: 34px; border-radius: 9px; border: 0; background: rgba(255,255,255,0.08); color: #fff; display: flex; align-items: center; justify-content: center; }
.guide-icon:hover { background: rgba(255,255,255,0.18); }
.guide-icon svg { width: 17px; height: 17px; }
.guide-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft-white); }
.guide-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; }
.guide-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--navy); }
.guide-msg.me { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 4px; }
.guide-msg a { color: var(--teal); font-weight: 500; }
.guide-msg.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.guide-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-light); animation: guideDot 1s infinite ease-in-out; }
.guide-msg.typing span:nth-child(2) { animation-delay: .15s; }
.guide-msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes guideDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.guide-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 2px; }
.guide-chip { display: inline-block; padding: 8px 13px; border-radius: 99px; border: 1.5px solid var(--teal); background: #fff; color: #12795A; font-size: 13.5px; font-weight: 500; text-decoration: none; line-height: 1.3; text-align: left; transition: background .15s, color .15s; }
.guide-chip:hover { background: var(--teal-tint); }
.guide-chip.primary { background: var(--teal); color: #fff; }
.guide-chip.primary:hover { background: var(--teal-dark); }
.guide-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: #fff; }
.guide-input input { flex: 1; padding: 11px 14px; border-radius: 99px; font-size: 14.5px; }
.guide-input button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.guide-input button:hover { background: var(--teal-dark); }
.guide-input button svg { width: 18px; height: 18px; }
.guide-foot { font-size: 11.5px; color: var(--gray-light); text-align: center; padding: 0 12px 10px; background: #fff; margin: 0; }
.guide-foot a { color: var(--gray); }
@media (max-width: 640px) {
  .guide-launch span { display: none; }
  .guide-launch { width: 54px; padding: 0; justify-content: center; }
  .guide-panel { right: 0; bottom: 0; width: 100%; height: 100%; border-radius: 0; }
  .guide-nudge { max-width: 210px; }
}
@media (prefers-reduced-motion: reduce) { .guide-msg.typing span { animation: none; } }

.job-fact { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 14.5px; color: var(--navy); }
.job-fact svg { color: var(--teal); flex-shrink: 0; }
