/* Compassion Community Care Services
   Colours are taken from the logo: deep blue #0138A3, royal blue #154BAC,
   teal #16B7CC and the pale sky #CBE1F0. */

:root {
  --navy-950: #071a45;
  --navy-900: #0a2362;
  --navy: #0138a3;
  --blue: #154bac;
  --teal: #16b7cc;
  --teal-700: #0a7d8c;      /* teal dark enough for text on white */
  --sky: #cbe1f0;
  --sky-50: #eef6fb;
  --sky-25: #f6fafd;
  --ink: #13203f;
  --muted: #4a5878;
  --line: #dbe6f0;
  --white: #fff;
  --sun: #f6b73c;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 6px rgba(7, 26, 69, .06);
  --shadow: 0 10px 30px rgba(7, 26, 69, .10);
  --shadow-lg: 0 24px 60px rgba(7, 26, 69, .18);

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --text-scale: 1;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(100% * var(--text-scale)); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-head); color: var(--navy-900); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--teal); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--tint { background: var(--sky-25); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--teal); }

/* ---------- Buttons ---------- */
.btn { --bg: var(--navy); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--bg); background: var(--bg); color: var(--fg); font-family: var(--font-head); font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(1, 56, 163, .25); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--teal { --bg: var(--teal); --fg: var(--navy-950); }
.btn--teal:hover { box-shadow: 0 10px 22px rgba(22, 183, 204, .35); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { color: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--navy); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; text-decoration: none; color: var(--navy); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Utility bar ---------- */
.topbar { background: var(--navy-950); color: #cfe0f5; font-size: .88rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--teal); }
.topbar__list { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar__list li { display: inline-flex; align-items: center; gap: 8px; }
.topbar__list svg { width: 15px; height: 15px; color: var(--teal); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #8a96ad; box-shadow: 0 0 0 0 rgba(22,183,204,.6); }
.status.is-open .status__dot { background: #34d399; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.textsize { display: inline-flex; align-items: center; gap: 4px; }
.textsize span { margin-right: 4px; }
.textsize button { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; min-width: 30px; height: 26px; font-family: var(--font-head); font-weight: 700; cursor: pointer; line-height: 1; }
.textsize button[aria-pressed="true"] { background: var(--teal); color: var(--navy-950); border-color: var(--teal); }
.textsize button:nth-of-type(1) { font-size: 12px; }
.textsize button:nth-of-type(2) { font-size: 14px; }
.textsize button:nth-of-type(3) { font-size: 16px; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(7,26,69,.08); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 20px; height: var(--header-h); transition: height .25s var(--ease); }
.site-header.is-scrolled .nav { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 54px; width: auto; transition: height .25s var(--ease); }
.site-header.is-scrolled .brand img { height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; color: var(--navy); text-transform: uppercase; }
.brand__sub { font-family: var(--font-head); font-weight: 600; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--teal-700); margin-top: 4px; }

.nav__menu { display: flex; align-items: center; gap: 0; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; white-space: nowrap; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--navy); }
.nav__link .chev { flex: none; width: 14px; height: 14px; transition: transform .2s; }
.has-dropdown { position: relative; }
.has-dropdown.is-open .chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 10px); left: 50%; width: 640px; transform: translate(-50%, 8px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 14px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background .15s; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--sky-50); }
.dropdown__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-50); color: var(--navy); }
.dropdown a:hover .dropdown__icon { background: var(--navy); color: #fff; }
.dropdown__icon svg { width: 22px; height: 22px; }
.dropdown strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--navy-900); }
.dropdown small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.dropdown__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 14px 16px; border-radius: 12px; background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; font-size: .92rem; }
.dropdown__foot a { padding: 0; color: #fff; font-family: var(--font-head); font-weight: 700; background: none !important; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__phone { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; line-height: 1.25; text-decoration: none; color: var(--navy-900); font-family: var(--font-head); font-weight: 700; padding: 6px 10px; border-radius: 12px; }
.nav__phone span:first-child { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-50); color: var(--navy); transition: background .2s, color .2s; }
.nav__phone:hover span:first-child { background: var(--teal); color: var(--navy-950); }
.nav__phone svg { width: 18px; height: 18px; }
.nav__phone small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.nav__toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: background .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), top .25s; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(7,26,69,.5); opacity: 0; transition: opacity .3s; }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; }
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 46px; width: auto; }
.drawer__close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--navy); }
.drawer__close svg { width: 22px; height: 22px; }
.drawer__nav { list-style: none; margin: 0; padding: 8px 16px; }
.drawer__nav > li { border-bottom: 1px solid var(--line); }
.drawer__nav a, .drawer__nav button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--navy-900); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.drawer__nav a[aria-current="page"] { color: var(--teal-700); }
.drawer__nav .chev { flex: none; width: 18px; height: 18px; transition: transform .25s; }
.drawer__nav button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.drawer__sub { list-style: none; margin: 0; padding: 0 0 10px; display: none; }
.drawer__sub.is-open { display: block; }
.drawer__sub a { font-size: 1rem; font-weight: 600; padding: 10px 4px 10px 14px; color: var(--ink); justify-content: flex-start; gap: 12px; }
.drawer__sub a svg { width: 20px; height: 20px; color: var(--teal-700); }
.drawer__foot { margin-top: auto; padding: 20px 16px 28px; background: var(--sky-50); display: grid; gap: 12px; }
.drawer__foot p { margin: 0; font-size: .92rem; color: var(--muted); }
.drawer__foot .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, rgba(22,183,204,.35), transparent 60%), linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy) 100%); color: #e6eefc; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(120px, 14vw, 170px); }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--teal); position: relative; white-space: nowrap; }
.hero h1 .accent svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 14px; }
.hero .lead { color: #c6d6f2; max-width: 34em; }
.hero .eyebrow { color: var(--teal); }
.hero .eyebrow::before { background: var(--teal); }
.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .9rem; color: #e6eefc; }
.pill svg { width: 16px; height: 16px; color: var(--teal); }
.hero__art { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.hero__orb { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, var(--sky-50) 45%, var(--sky) 100%); box-shadow: 0 40px 80px rgba(0,0,0,.35), inset 0 -20px 60px rgba(1,56,163,.15); }
.hero__orb img { position: absolute; top: 50%; left: 50%; width: 68%; transform: translate(-50%, -54%); filter: drop-shadow(0 10px 16px rgba(1,56,163,.15)); }
.hero__ring { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.hero__ring circle { fill: none; stroke: rgba(22,183,204,.5); stroke-width: 1.5; stroke-dasharray: 2 10; }
.hero__card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.3; animation: float 6s ease-in-out infinite; }
.hero__card strong { display: block; font-family: var(--font-head); color: var(--navy-900); font-size: .95rem; }
.hero__card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-50); color: var(--navy); flex: none; }
.hero__card .ic svg { width: 22px; height: 22px; }
.hero__card--a { left: -4%; top: 16%; }
.hero__card--b { right: -6%; bottom: 18%; animation-delay: -3s; }
.hero__card--b .ic { background: rgba(22,183,204,.15); color: var(--teal-700); }
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: clamp(90px, 12vw, 160px); }
.hero__waves path { transform-box: fill-box; }
.wave-1 { animation: drift 14s ease-in-out infinite alternate; }
.wave-2 { animation: drift 18s ease-in-out infinite alternate-reverse; }
.hero__sun { position: absolute; right: 6%; top: 40px; width: 120px; height: 120px; opacity: .18; z-index: 1; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift { from { transform: translateX(-3%); } to { transform: translateX(3%); } }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--navy)); color: #c6d6f2; }
.page-hero .container { position: relative; z-index: 2; padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(96px, 11vw, 130px); }
.page-hero h1 { color: #fff; max-width: 16em; }
.page-hero .lead { color: #c6d6f2; max-width: 40em; }
.page-hero .eyebrow { color: var(--teal); }
.crumbs { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .88rem; }
.crumbs a { color: #c6d6f2; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Features strip ---------- */
.strip { position: relative; z-index: 3; margin-top: clamp(-90px, -8vw, -60px); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.strip__item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; border-right: 1px solid var(--line); }
.strip__item:last-child { border-right: 0; }
.strip__item .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-50); color: var(--navy); }
.strip__item .ic svg { width: 24px; height: 24px; }
.strip__item strong { display: block; font-family: var(--font-head); color: var(--navy-900); font-size: 1rem; margin-bottom: 2px; }
.strip__item span { font-size: .9rem; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card h3 { margin-top: 18px; }
.card p { color: var(--muted); }
.card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--sky-50); color: var(--navy); transition: background .3s, color .3s, transform .3s var(--ease); }
.card__icon svg { width: 30px; height: 30px; }
.service-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .card__icon { background: var(--navy); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card .link-arrow { margin-top: auto; padding-top: 8px; }
.service-card--feature { background: linear-gradient(150deg, var(--navy) 0%, var(--blue) 100%); color: #dbe7fb; border: 0; }
.service-card--feature h3 { color: #fff; }
.service-card--feature p { color: #c6d6f2; }
.service-card--feature .card__icon { background: rgba(255,255,255,.12); color: #fff; }
.service-card--feature .link-arrow { color: #fff; }
.service-card--feature:hover .card__icon { background: var(--teal); color: var(--navy-950); }
.tag { display: inline-block; margin-top: 4px; padding: 4px 10px; border-radius: 999px; background: var(--sky-50); color: var(--navy); font-size: .76rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .02em; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071a45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.visual-panel { position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--sky-50), var(--sky)); aspect-ratio: 5 / 4; overflow: hidden; }
.visual-panel svg.road { position: absolute; inset: 0; width: 100%; height: 100%; }
.visual-panel .quote { position: absolute; left: 7%; right: 7%; bottom: 7%; background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.visual-panel .quote p { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--navy-900); font-size: 1.1rem; line-height: 1.4; }
.visual-panel .quote span { display: block; margin-top: 8px; font-size: .88rem; color: var(--muted); }
.visual-panel .mark { position: absolute; top: 7%; left: 50%; width: 40%; transform: translateX(-50%); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 3px; background: repeating-linear-gradient(90deg, var(--sky) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num { position: relative; width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--sky); font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy); transition: background .4s, border-color .4s, color .4s, transform .4s var(--ease); }
.step.is-active .step__num { background: var(--navy); border-color: var(--teal); color: #fff; transform: scale(1.08); }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- Values ---------- */
.value { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; }
.value__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal), var(--navy)); color: #fff; margin-bottom: 16px; }
.value__icon svg { width: 26px; height: 26px; }
.value p { color: var(--muted); margin: 0; }

/* ---------- Area checker ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.area__box { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.area__form { display: flex; gap: 10px; margin: 18px 0 14px; }
.area__form input { flex: 1; min-width: 0; }
.area__result { min-height: 52px; padding: 14px 16px; border-radius: 12px; background: var(--sky-50); color: var(--ink); font-size: .97rem; display: flex; gap: 10px; align-items: flex-start; }
.area__result.is-yes { background: #e6f8f3; color: #0b5e46; }
.area__result.is-maybe { background: #fff6e5; color: #7a4b00; }
.area__result svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.chips li button, .chip { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; color: var(--ink); cursor: pointer; font-family: var(--font-body); transition: background .2s, border-color .2s, color .2s; }
.chips li button:hover { border-color: var(--navy); color: var(--navy); }
.map-art { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.map-art svg { width: 100%; height: 100%; }
.map-art .pin { animation: bob 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom center; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 40px) clamp(24px, 4vw, 48px); background: radial-gradient(600px 300px at 100% 0%, rgba(22,183,204,.45), transparent 60%), linear-gradient(130deg, var(--navy-900), var(--navy) 60%, var(--blue)); color: #c6d6f2; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.cta-band p { margin: 0; font-size: 1rem; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band__sun { position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; opacity: .12; animation: spin 90s linear infinite; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 12px; }
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.acc.is-open { box-shadow: var(--shadow-sm); border-color: var(--sky); }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: none; border: 0; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy-900); cursor: pointer; }
.acc__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sky-50); position: relative; transition: background .2s, transform .3s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--navy); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s var(--ease), background .2s; }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc.is-open .acc__icon { background: var(--navy); transform: rotate(180deg); }
.acc.is-open .acc__icon::before, .acc.is-open .acc__icon::after { background: #fff; }
.acc.is-open .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 22px; color: var(--muted); }
.acc__panel p:last-child { padding-bottom: 20px; margin: 0; }

/* ---------- Services page ---------- */
.svc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; padding: 14px; border-radius: var(--radius); background: var(--sky-25); border: 1px solid var(--line); }
.svc-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .93rem; transition: background .2s, color .2s; }
.svc-nav a svg { width: 18px; height: 18px; color: var(--teal-700); flex: none; }
.svc-nav a:hover { background: #fff; color: var(--navy); }
.svc-nav a.is-active { background: var(--navy); color: #fff; }
.svc-nav a.is-active svg { color: var(--teal); }
.svc { display: grid; grid-template-columns: 76px 1fr; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.svc:first-child { padding-top: 0; }
.svc:last-child { border-bottom: 0; }
.svc .card__icon { width: 76px; height: 76px; border-radius: 22px; background: linear-gradient(135deg, var(--sky-50), var(--sky)); }
.svc .card__icon svg { width: 38px; height: 38px; }
.svc h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.svc__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.svc__box { padding: 22px; border-radius: var(--radius); background: var(--sky-25); border: 1px solid var(--line); }
.svc__box h3 { font-size: 1rem; margin-bottom: 10px; }
.svc__box ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.svc__box li { margin-bottom: 6px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
label, .label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy-900); }
.label small, label small { font-family: var(--font-body); font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--sky-25); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
textarea { min-height: 130px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #b9cde0; }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(1,56,163,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c2412d; }
.field__error { color: #b3261e; font-size: .85rem; display: none; }
.field.has-error .field__error { display: block; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .93rem; cursor: pointer; transition: all .2s; user-select: none; }
.choice span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #b9cde0; transition: all .2s; }
.choice input[type="checkbox"] + span::before { border-radius: 5px; }
.choice input:checked + span { border-color: var(--navy); background: var(--sky-50); color: var(--navy-900); font-weight: 700; }
.choice input:checked + span::before { border-color: var(--navy); background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.choice input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.form-progress { display: flex; gap: 8px; margin-bottom: 26px; }
.form-progress span { flex: 1; height: 6px; border-radius: 6px; background: var(--sky-50); position: relative; overflow: hidden; }
.form-progress span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.form-progress span.is-done::after { transform: scaleX(1); }
.form-step { display: none; animation: fadeUp .35s var(--ease); }
.form-step.is-active { display: block; }
.form-step__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.form-step__title h3 { margin: 0; }
.form-step__title small { color: var(--muted); font-weight: 600; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.form-note { font-size: .86rem; color: var(--muted); margin: 16px 0 0; }
.form-success { display: none; text-align: center; padding: 20px 0; animation: fadeUp .4s var(--ease); }
.form-success.is-active { display: block; }
.form-success__icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal), var(--navy)); color: #fff; }
.form-success__icon svg { width: 38px; height: 38px; }
.hp { position: absolute; left: -9999px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list a, .contact-list div { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.contact-list a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.contact-list .ic { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-50); color: var(--navy); }
.contact-list .ic svg { width: 24px; height: 24px; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.contact-list strong { font-family: var(--font-head); color: var(--navy-900); font-size: 1.05rem; word-break: break-word; }
.hours { width: 100%; border-collapse: collapse; font-size: .97rem; }
.hours td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; color: var(--navy-900); }
.hours tr.is-today td { color: var(--navy); font-weight: 800; }
.hours tr.is-today td:first-child::after { content: "Today"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--teal); color: var(--navy-950); font-size: .72rem; font-weight: 800; font-family: var(--font-head); }

/* ---------- Notice ---------- */
.notice { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--sky-50); border-left: 5px solid var(--teal); }
.notice svg { flex: none; width: 26px; height: 26px; color: var(--navy); margin-top: 2px; }
.notice p { margin: 0; font-size: .97rem; }
.notice p + p { margin-top: 8px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #2c3a5c; }

/* ---------- Photos (optional: each appears only when its file is in assets/img/photos) ---------- */
.hero__orb .hero__photo { position: absolute; inset: 0; top: 0; left: 0; transform: none; filter: none; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: inset 0 0 0 6px rgba(255,255,255,.6); }
.hero__orb:has(.hero__photo) { background: var(--sky); }
.card__photo { display: block; width: calc(100% + 56px); max-width: none; margin: -30px -28px 0; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:has(.card__photo) { padding-top: 30px; }
.service-card:has(.card__photo) .card__icon { margin-top: -29px; position: relative; z-index: 1; box-shadow: 0 0 0 5px #fff; }
.service-card--feature:has(.card__photo) .card__icon { box-shadow: 0 0 0 5px var(--navy); background: var(--blue); }
.service-card:hover .card__photo { transform: scale(1.04); }
.visual-panel__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visual-panel:has(.visual-panel__photo) .mark, .visual-panel:has(.visual-panel__photo) .road { display: none; }
.svc__photo { display: block; width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--radius); margin: 6px 0 20px; }
.portrait { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; box-shadow: 0 0 0 6px var(--sky-50), var(--shadow); }

/* ---------- Footer ---------- */
.pre-footer { padding: 0 0 clamp(36px, 5vw, 60px); }
.site-footer { position: relative; background: var(--navy-950); color: #a9bbdb; font-size: .9rem; line-height: 1.55; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--teal), var(--navy)); }
.footer__main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding: 44px 0 28px; }
.footer__brand img { width: 112px; height: auto; margin-bottom: 12px; }
.footer__brand p { max-width: 30em; margin-bottom: 12px; }
.footer__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .86rem; color: #dbe7fb; }
.footer__badge svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.site-footer h2 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 4px 0 12px; font-weight: 700; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer__links a { color: #a9bbdb; text-decoration: none; display: inline-flex; align-items: center; transition: color .2s, transform .2s var(--ease); }
.footer__links a::before { content: ""; width: 0; height: 2px; margin-right: 0; background: var(--teal); border-radius: 2px; transition: width .2s var(--ease), margin .2s var(--ease); }
.footer__links a:hover { color: #fff; }
.footer__links a:hover::before { width: 10px; margin-right: 8px; }
.footer__contact { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact svg { width: 16px; height: 16px; color: var(--teal); flex: none; margin-top: 3px; }
.footer__contact a { color: #fff; text-decoration: none; font-weight: 700; }
.footer__contact a:hover { color: var(--teal); }
.footer__hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: .9rem; }
.footer__hours dt { color: #fff; font-weight: 700; }
.footer__hours dd { margin: 0; }
.footer__ack { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.footer__ack-dots { display: flex; gap: 4px; flex: none; margin-top: 7px; }
.footer__ack-dots i { width: 10px; height: 10px; border-radius: 50%; }
.footer__ack-dots i:nth-child(1) { background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.footer__ack-dots i:nth-child(2) { background: #c8102e; }
.footer__ack-dots i:nth-child(3) { background: #ffcd00; }
.footer__ack p { margin: 0; max-width: 70em; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px 0 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; }
.footer__bottom a { color: #a9bbdb; text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* Floating actions */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .2s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--teal); color: var(--navy-950); }
.to-top svg { width: 22px; height: 22px; }
.mobile-bar { display: none; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1480px) {
  .nav__phone small, .nav__phone .num { display: none; }
  .nav__phone { padding: 0; }
}
@media (max-width: 1100px) {
  .footer__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 74px; }
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .topbar__hide-md { display: none !important; }
  .hero .container { grid-template-columns: 1fr; }
  .hero__art { max-width: 340px; }
  .hero__card--a { left: -2%; }
  .hero__card--b { right: -2%; }
  .strip__grid { grid-template-columns: 1fr 1fr; }
  .strip__item:nth-child(2) { border-right: 0; }
  .strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .split, .area, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; padding: 8px; }
  .svc-nav a { white-space: nowrap; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(7,26,69,.08); transform: translateY(110%); transition: transform .3s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { min-height: 46px; padding: 10px 12px; }
  .to-top { bottom: 84px; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 72px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar .container { justify-content: center; }
  .topbar__hide-sm { display: none !important; }
  .brand img { height: 46px; }
  .brand__name { font-size: .98rem; }
  .brand__sub { font-size: .6rem; letter-spacing: .2em; }
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .strip__item:last-child { border-bottom: 0; }
  .grid--2, .grid--3, .grid--4, .form-grid, .svc__cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 14px; }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 36px; }
  .footer__brand, .footer__main > div:last-child { grid-column: 1 / -1; }
  .hero__card { font-size: .8rem; padding: 10px 12px; }
  .hero__card .ic { width: 34px; height: 34px; }
  .area__form { flex-direction: column; }
  .visual-panel { aspect-ratio: 4 / 5; }
  .visual-panel .mark { width: 62%; top: 8%; }
  .visual-panel .quote { padding: 16px 18px; }
  .visual-panel .quote p { font-size: 1rem; }
  .btn-row .btn { flex: 1 1 auto; }
  .form-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .drawer, .mobile-bar, .to-top, .hero__waves { display: none !important; }
}
