/* ==========================================================================
   Nuvella Care – design system
   Layered on Bootstrap 5. Brand tokens are defined once as CSS variables.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.938c6e8019b6.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.260c81a4759b.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Brand palette */
  --nv-teal-900: #024152;      /* Primary deep teal */
  --nv-teal-700: #05616f;
  --nv-teal-600: #068293;      /* Secondary teal */
  --nv-teal-100: #dff1f3;
  --nv-teal-50: #eef8f9;
  --nv-green: #209928;         /* Brand green – decorative */
  --nv-green-dark: #187d1f;    /* Accessible green for text & buttons (AA) */
  --nv-green-100: #e3f4e4;
  --nv-bg-soft: #f4f9f7;       /* Soft background */
  --nv-white: #ffffff;
  --nv-text: #183b43;          /* Main text */
  --nv-muted: #5d7074;         /* Muted text (AA on white & soft bg) */
  --nv-border: #dde9e8;

  --nv-gradient: linear-gradient(135deg, var(--nv-teal-900) 0%, var(--nv-teal-600) 62%, var(--nv-green) 130%);
  --nv-gradient-btn: linear-gradient(135deg, var(--nv-teal-900) 0%, var(--nv-teal-700) 100%);
  --nv-gradient-accent: linear-gradient(135deg, var(--nv-teal-600) 0%, var(--nv-green) 100%);

  --nv-font-heading: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --nv-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --nv-radius-sm: 10px;
  --nv-radius: 18px;
  --nv-radius-lg: 28px;
  --nv-shadow-sm: 0 2px 10px -4px rgba(2, 65, 82, .12);
  --nv-shadow: 0 18px 40px -22px rgba(2, 65, 82, .35);
  --nv-shadow-lg: 0 30px 60px -30px rgba(2, 65, 82, .45);

  --nv-header-h: 92px;
  --nv-bottom-nav-h: 0px;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--nv-font-body);
  --bs-body-color: var(--nv-text);
  --bs-body-bg: var(--nv-white);
  --bs-link-color: var(--nv-teal-700);
  --bs-link-color-rgb: 5, 97, 111;
  --bs-link-hover-color: var(--nv-teal-900);
  --bs-link-hover-color-rgb: 2, 65, 82;
  --bs-border-color: var(--nv-border);
  --bs-primary: var(--nv-teal-900);
  --bs-primary-rgb: 2, 65, 82;
  --bs-focus-ring-color: rgba(6, 130, 147, .35);
}

@media (max-width: 991.98px) {
  :root { --nv-header-h: 68px; --nv-bottom-nav-h: 68px; }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html { scroll-padding-top: calc(var(--nv-header-h) + 16px); }
body {
  font-family: var(--nv-font-body);
  color: var(--nv-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--nv-bottom-nav-h);
  overflow-x: clip;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--nv-font-heading);
  color: var(--nv-teal-900);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.display-title { font-size: clamp(2.15rem, 1.4rem + 3.2vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; }
.section-title { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem); margin-bottom: 1rem; }
.lead { font-size: clamp(1.07rem, 1rem + .35vw, 1.22rem); color: var(--nv-muted); font-weight: 400; line-height: 1.7; }
p { margin-bottom: 1.1rem; }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
img { max-width: 100%; height: auto; }
#page { overflow-x: clip; }
.text-muted, .text-body-secondary { color: var(--nv-muted) !important; }
.text-teal { color: var(--nv-teal-700) !important; }
.text-green { color: var(--nv-green-dark) !important; }
.bg-soft { background: var(--nv-bg-soft); }
.bg-deep { background: var(--nv-teal-900); color: #e8f3f4; }
.bg-deep h2, .bg-deep h3, .bg-deep h4 { color: #fff; }

::selection { background: var(--nv-teal-100); color: var(--nv-teal-900); }

/* Focus visibility (WCAG 2.2) */
:focus-visible { outline: 3px solid var(--nv-teal-600); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.bg-deep :focus-visible, .nv-cta :focus-visible, .site-footer :focus-visible { outline-color: #9be3a0; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 2000; padding: .75rem 1.1rem; border-radius: var(--nv-radius-sm);
  background: var(--nv-teal-900); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

.icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -0.125em; flex: none; }

.section { padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.section-sm { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head.text-center { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--nv-font-heading); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--nv-teal-700); margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--nv-gradient-accent);
}
.text-center .eyebrow::after {
  content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--nv-gradient-accent);
}
.bg-deep .eyebrow, .nv-cta .eyebrow { color: #a7e3ac; }

.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --bs-btn-font-family: var(--nv-font-heading);
  --bs-btn-font-weight: 700;
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: .8rem;
  --bs-btn-border-radius: 999px;
  --bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(6, 130, 147, .3);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  letter-spacing: -.005em; transition: transform .2s ease, box-shadow .2s ease, background-color .2s, color .2s;
  min-height: 48px;
}
.btn .icon { transition: transform .2s ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-sm { --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .5rem; min-height: 40px; font-size: .9rem; }
.btn-lg { --bs-btn-padding-x: 1.9rem; --bs-btn-padding-y: 1rem; font-size: 1.05rem; }

.btn-primary {
  --bs-btn-color: #fff; --bs-btn-bg: var(--nv-teal-900); --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--nv-teal-700); --bs-btn-hover-border-color: transparent;
  --bs-btn-active-bg: var(--nv-teal-900); --bs-btn-active-color: #fff;
  background-image: var(--nv-gradient-btn);
  box-shadow: 0 10px 22px -12px rgba(2, 65, 82, .65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(2, 65, 82, .7); }

.btn-accent {
  --bs-btn-color: #fff; --bs-btn-bg: var(--nv-green-dark); --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #136918; --bs-btn-hover-border-color: transparent;
  --bs-btn-active-bg: #115e15; --bs-btn-active-color: #fff;
  box-shadow: 0 10px 22px -12px rgba(24, 125, 31, .7);
}
.btn-accent:hover { transform: translateY(-2px); }

.btn-outline-primary {
  --bs-btn-color: var(--nv-teal-900); --bs-btn-border-color: rgba(2, 65, 82, .25);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--nv-teal-900); --bs-btn-hover-border-color: var(--nv-teal-900);
  --bs-btn-active-bg: var(--nv-teal-900); --bs-btn-active-color: #fff; --bs-btn-border-width: 2px;
}
.btn-light {
  --bs-btn-color: var(--nv-teal-900); --bs-btn-bg: #fff; --bs-btn-border-color: #fff;
  --bs-btn-hover-bg: var(--nv-teal-50); --bs-btn-hover-color: var(--nv-teal-900); --bs-btn-hover-border-color: var(--nv-teal-50);
}
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light {
  --bs-btn-border-width: 2px; --bs-btn-border-color: rgba(255,255,255,.55);
  --bs-btn-hover-color: var(--nv-teal-900); --bs-btn-hover-bg: #fff;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-family: var(--nv-font-heading); font-weight: 700;
  color: var(--nv-teal-700); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover { color: var(--nv-teal-900); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   HTMX progress indicator
   -------------------------------------------------------------------------- */
.nv-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 2100; pointer-events: none;
  background: var(--nv-gradient-accent); transform: scaleX(0); transform-origin: 0 50%; opacity: 0;
}
html.is-loading .nv-progress { opacity: 1; animation: nv-progress 8s cubic-bezier(.08,.82,.17,1) forwards; }
@keyframes nv-progress { from { transform: scaleX(0); } to { transform: scaleX(.92); } }
html.is-loading #page { opacity: .6; transition: opacity .25s .15s; }

/* --------------------------------------------------------------------------
   Announcement & header
   -------------------------------------------------------------------------- */
.announcement {
  background: var(--nv-teal-900); color: #e6f4f5; font-size: .9rem; text-align: center; padding: .55rem 1rem;
}
.announcement a { color: #b8f0bc; font-weight: 600; margin-left: .5rem; }

.site-header {
  position: sticky; top: 0; z-index: 1030; height: var(--nv-header-h);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, height .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--nv-border); box-shadow: 0 8px 30px -22px rgba(2, 65, 82, .45); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; flex: none; height: 100%; padding-block: 8px; }
.brand img { height: 100%; width: auto; max-height: 80px; transition: max-height .3s; }
.site-header.is-scrolled .brand img { max-height: 68px; }
@media (max-width: 991.98px) { .brand img, .site-header.is-scrolled .brand img { max-height: 54px; } }

.main-nav { display: flex; align-items: center; gap: .15rem; margin-inline: auto; list-style: none; padding: 0; margin-block: 0; }
.main-nav > li { position: relative; }
.main-nav .nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .9rem; border-radius: 999px;
  font-family: var(--nv-font-heading); font-weight: 600; font-size: .98rem; color: var(--nv-text);
  text-decoration: none; transition: background-color .2s, color .2s;
}
.main-nav .nav-link:hover, .main-nav .nav-link:focus-visible { background: var(--nv-teal-50); color: var(--nv-teal-900); }
.main-nav .nav-link.active { color: var(--nv-teal-900); background: var(--nv-teal-50); }
.main-nav .nav-link.active::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--nv-green);
}
.main-nav .dropdown-toggle::after { display: none; }
.main-nav .chev { font-size: .7rem; transition: transform .2s; }
.main-nav .dropdown:hover .chev, .main-nav .dropdown.show .chev { transform: rotate(180deg); }

.mega {
  --bs-dropdown-border-color: var(--nv-border);
  border-radius: var(--nv-radius); box-shadow: var(--nv-shadow-lg); padding: 1rem; width: min(640px, 90vw);
  margin-top: .6rem !important;
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.mega a.mega-item {
  display: flex; align-items: center; gap: .75rem; padding: .65rem .75rem; border-radius: 12px;
  color: var(--nv-text); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s;
}
.mega a.mega-item:hover, .mega a.mega-item:focus-visible { background: var(--nv-bg-soft); color: var(--nv-teal-900); }
.mega-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: var(--nv-teal-50); color: var(--nv-teal-600); font-size: 1rem;
}
.mega-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .75rem;
  padding: .85rem 1rem; border-radius: 14px; background: var(--nv-bg-soft); font-size: .92rem;
}
@media (hover: hover) and (min-width: 992px) {
  .main-nav .dropdown:hover > .dropdown-menu, .main-nav .dropdown:focus-within > .dropdown-menu { display: block; }
  .main-nav .dropdown > .dropdown-menu::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
}

.header-actions { display: flex; align-items: center; gap: .6rem; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-family: var(--nv-font-heading);
  color: var(--nv-teal-900); text-decoration: none; font-size: .95rem;
}
.header-phone .icon-wrap { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--nv-teal-50); color: var(--nv-teal-600); }

.menu-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 0;
  background: var(--nv-teal-50); color: var(--nv-teal-900); font-size: 1.25rem;
}
.menu-toggle:hover { background: var(--nv-teal-100); }

/* --------------------------------------------------------------------------
   Mobile navigation (app-like)
   -------------------------------------------------------------------------- */
.mobile-nav.offcanvas {
  --bs-offcanvas-width: min(420px, 92vw);
  --bs-offcanvas-bg: #fff;
  border-left: 0 !important;
  border-radius: 26px 0 0 26px;
  box-shadow: var(--nv-shadow-lg);
}
.offcanvas-backdrop.show { opacity: .45; background: #01222b; }
.mobile-nav .offcanvas-header { padding: 1rem 1.25rem .5rem; }
.mobile-nav .offcanvas-header img { height: 56px; width: auto; }
.mobile-nav .btn-close-round {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 0;
  background: var(--nv-bg-soft); color: var(--nv-teal-900); font-size: 1.1rem;
}
.mobile-nav .offcanvas-body { padding: .5rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.m-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .25rem; }
.m-nav a, .m-nav button {
  display: flex; align-items: center; gap: .9rem; width: 100%; padding: .8rem .85rem; border-radius: 16px;
  font-family: var(--nv-font-heading); font-weight: 700; font-size: 1.08rem; color: var(--nv-text);
  text-decoration: none; background: transparent; border: 0; text-align: left; min-height: 56px;
  transition: background .2s, color .2s;
}
.m-nav a:hover, .m-nav button:hover { background: var(--nv-bg-soft); }
.m-nav a.active { background: var(--nv-teal-50); color: var(--nv-teal-900); }
.m-nav a.active .m-icon { background: var(--nv-teal-900); color: #fff; }
.m-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--nv-bg-soft); color: var(--nv-teal-600); font-size: 1rem; transition: background .2s, color .2s;
}
.m-nav .m-chev { margin-left: auto; font-size: .8rem; color: var(--nv-muted); transition: transform .25s; }
.m-nav button[aria-expanded="true"] .m-chev { transform: rotate(180deg); }
.m-sub { list-style: none; padding: .25rem 0 .5rem 3.4rem; margin: 0; }
.m-sub a { min-height: 44px; padding: .55rem .75rem; font-size: .98rem; font-weight: 600; color: var(--nv-muted); }
.m-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.m-ctas .btn { --bs-btn-padding-x: .75rem; font-size: .95rem; }
.m-contact { padding: 1rem; border-radius: 18px; background: var(--nv-bg-soft); font-size: .95rem; }
.m-contact a, .m-contact span.m-line { display: flex; align-items: center; gap: .65rem; color: var(--nv-text); text-decoration: none; padding: .35rem 0; }
.m-contact .icon { color: var(--nv-teal-600); }

/* Bottom tab bar */
.bottom-nav {
  position: fixed; inset: auto 0 0 0; z-index: 1035; height: calc(var(--nv-bottom-nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--nv-border); box-shadow: 0 -10px 30px -24px rgba(2,65,82,.5);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
}
.bottom-nav a, .bottom-nav button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; height: 100%;
  font-size: .7rem; font-weight: 600; color: var(--nv-muted); text-decoration: none; background: none; border: 0;
  font-family: var(--nv-font-heading); letter-spacing: .01em;
}
.bottom-nav .icon { font-size: 1.2rem; }
.bottom-nav a.active { color: var(--nv-teal-900); }
.bottom-nav a.active .icon { color: var(--nv-teal-600); }
.bottom-nav .bn-cta { position: relative; }
.bottom-nav .bn-cta .bn-fab {
  display: grid; place-items: center; width: 54px; height: 54px; margin-top: -26px; border-radius: 18px;
  background: var(--nv-gradient); color: #fff; box-shadow: 0 12px 24px -10px rgba(2,65,82,.7); font-size: 1.25rem;
  border: 4px solid #fff;
}
.bottom-nav .bn-cta.active { color: var(--nv-teal-900); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--nv-teal-900); overflow: hidden; }
.hero-slide { position: relative; min-height: clamp(560px, 82vh, 780px); display: flex; align-items: center; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 34, 43, .88) 0%, rgba(2, 65, 82, .72) 38%, rgba(2, 65, 82, .18) 72%, rgba(2,65,82,.05) 100%),
    linear-gradient(0deg, rgba(1, 34, 43, .55) 0%, transparent 40%);
}
@media (max-width: 767.98px) {
  .hero-media::after { background: linear-gradient(180deg, rgba(1,34,43,.35) 0%, rgba(1,34,43,.78) 55%, rgba(1,34,43,.92) 100%); }
  .hero-slide { align-items: flex-end; padding-bottom: 5.5rem; }
}
.hero-content { position: relative; z-index: 2; max-width: 640px; color: #fff; padding-block: 5rem 6rem; }
.hero-content .eyebrow { color: #b6f0ba; }
.hero-content h1, .hero-content h2 { color: #fff; margin-bottom: 1.25rem; }
.hero-content p { color: rgba(255,255,255,.88); font-size: clamp(1.04rem, 1rem + .3vw, 1.2rem); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .swiper-slide .hero-content > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.hero .swiper-slide-active .hero-content > *, .hero-swiper:not(.swiper-initialized) .swiper-slide:first-child .hero-content > * { opacity: 1; transform: none; }
.hero .swiper-slide-active .hero-content > :nth-child(2) { transition-delay: .1s; }
.hero .swiper-slide-active .hero-content > :nth-child(3) { transition-delay: .2s; }
.hero .swiper-slide-active .hero-content > :nth-child(4) { transition-delay: .3s; }
.hero-swiper:not(.swiper-initialized) .swiper-wrapper { display: block; }
.hero-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }
.hero-controls {
  position: absolute; z-index: 5; bottom: 2rem; left: 0; right: 0; display: flex; align-items: center; gap: 1rem;
}
.hero-controls .swiper-pagination { position: static; width: auto; display: flex; gap: .4rem; }
.hero-controls .swiper-pagination-bullet { width: 30px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.45); opacity: 1; margin: 0 !important; transition: width .3s, background .3s; }
.hero-controls .swiper-pagination-bullet-active { width: 54px; background: #fff; }
.hero-arrow {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08); color: #fff; transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.22); }
.hero-pause { font-size: .8rem; }
.hero-ring {
  position: absolute; z-index: 1; right: -140px; top: 50%; width: 520px; height: 520px; margin-top: -260px; border-radius: 50%;
  border: 46px solid transparent; border-top-color: rgba(32,153,40,.35); border-right-color: rgba(6,130,147,.35);
  transform: rotate(-30deg); pointer-events: none;
}
@media (max-width: 991.98px) { .hero-ring { display: none; } }

/* Pathways (overlapping hero) */
.pathways { position: relative; z-index: 6; margin-top: -3.5rem; }
.pathway {
  height: 100%; display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--nv-radius);
  background: #fff; box-shadow: var(--nv-shadow); text-decoration: none; color: var(--nv-text);
  border: 1px solid var(--nv-border); transition: transform .25s, box-shadow .25s;
}
.pathway:hover { transform: translateY(-4px); box-shadow: var(--nv-shadow-lg); color: var(--nv-text); }
.pathway h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.pathway p { font-size: .95rem; color: var(--nv-muted); margin: 0; }
.pathway .p-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; flex: none;
  background: var(--nv-gradient); color: #fff; font-size: 1.2rem;
}
.pathway.is-green .p-icon { background: linear-gradient(135deg, var(--nv-green-dark), var(--nv-green)); }
.pathway .link-arrow { margin-top: .6rem; font-size: .92rem; }

/* --------------------------------------------------------------------------
   Media compositions
   -------------------------------------------------------------------------- */
.media-stack { position: relative; padding: 0 2.5rem 2.5rem 0; }
.media-stack .media-main { border-radius: var(--nv-radius-lg); overflow: hidden; box-shadow: var(--nv-shadow-lg); aspect-ratio: 4 / 4.3; }
.media-stack .media-main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack::before {
  content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; border-radius: var(--nv-radius-lg);
  background: var(--nv-gradient-accent); opacity: .16; z-index: -1;
}
.media-badge {
  position: absolute; left: -1rem; bottom: 1.25rem; display: flex; align-items: center; gap: .85rem;
  padding: 1rem 1.25rem; border-radius: 18px; background: #fff; box-shadow: var(--nv-shadow-lg); max-width: 280px;
}
.media-badge .mb-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--nv-green-100); color: var(--nv-green-dark); font-size: 1.15rem; flex: none; }
.media-badge strong { display: block; font-family: var(--nv-font-heading); color: var(--nv-teal-900); line-height: 1.25; }
.media-badge small { color: var(--nv-muted); }
@media (max-width: 575.98px) { .media-stack { padding: 0 1rem 1.5rem 0; } .media-badge { left: .75rem; bottom: .25rem; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 500; }
.check-list .icon {
  margin-top: .2rem; width: 1.35rem; height: 1.35rem; padding: .3rem; border-radius: 50%;
  background: var(--nv-green-100); color: var(--nv-green-dark);
}
.check-list.two-col { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.service-card {
  position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--nv-radius);
  background: #fff; border: 1px solid var(--nv-border); overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--nv-shadow-lg); }
.service-card .sc-media { position: relative; aspect-ratio: 16 / 10.5; background: var(--nv-teal-50); }
.service-card .sc-img { position: absolute; inset: 0; overflow: hidden; }
.service-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .sc-img img { transform: scale(1.05); }
.service-card .sc-media.no-image .sc-img { display: grid; place-items: center; background: var(--nv-gradient); color: rgba(255,255,255,.85); font-size: 3rem; }
.service-card .sc-icon {
  position: absolute; left: 1.25rem; bottom: -24px; z-index: 2; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--nv-teal-600); font-size: 1.25rem;
  box-shadow: var(--nv-shadow); pointer-events: none;
}
.service-card .sc-body { padding: 2.1rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.service-card .sc-cat { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nv-green-dark); margin-bottom: .35rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card p { font-size: .97rem; color: var(--nv-muted); margin-bottom: 1.1rem; }
.service-card .link-arrow { margin-top: auto; font-size: .95rem; }

/* Mobile horizontal scroller (no JS needed) */
@media (max-width: 767.98px) {
  .scroll-row {
    display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem;
    margin-inline: calc(var(--bs-gutter-x) * -.5); padding: .5rem calc(var(--bs-gutter-x) * .5) 1.5rem;
    scrollbar-width: none;
  }
  .scroll-row::-webkit-scrollbar { display: none; }
  .scroll-row > * { flex: 0 0 82%; max-width: 82%; scroll-snap-align: start; padding: 0; }
}

.feature {
  height: 100%; padding: 1.75rem; border-radius: var(--nv-radius); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s;
}
.feature:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.feature .f-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 1.15rem;
  background: var(--nv-gradient-accent); color: #fff; font-size: 1.3rem; box-shadow: 0 12px 24px -12px rgba(32,153,40,.7);
}
.feature h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.feature p { color: rgba(232, 243, 244, .82); margin: 0; font-size: .98rem; }

.value-card {
  height: 100%; padding: 1.75rem; border-radius: var(--nv-radius); background: #fff; border: 1px solid var(--nv-border);
  transition: box-shadow .3s, transform .3s;
}
.value-card:hover { box-shadow: var(--nv-shadow); transform: translateY(-4px); }
.value-card .v-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 1rem;
  background: var(--nv-teal-50); color: var(--nv-teal-600); font-size: 1.25rem;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.value-card p { color: var(--nv-muted); margin: 0; font-size: .97rem; }

/* Mission / vision */
.mv-card { height: 100%; padding: 2.25rem; border-radius: var(--nv-radius-lg); position: relative; overflow: hidden; }
.mv-card.mission { background: var(--nv-teal-900); color: #e7f3f4; }
.mv-card.vision { background: var(--nv-green-100); }
.mv-card.mission h3 { color: #fff; }
.mv-card p { font-size: 1.12rem; margin: 0; line-height: 1.65; }
.mv-card .mv-icon { font-size: 1.6rem; margin-bottom: 1rem; color: var(--nv-green); }
.mv-card.mission .mv-icon { color: #9be3a0; }
.mv-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 26px solid currentColor; opacity: .06; }

/* --------------------------------------------------------------------------
   Timeline / steps
   -------------------------------------------------------------------------- */
.timeline { display: grid; gap: 1.5rem; grid-template-columns: repeat(4, 1fr); position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--nv-teal-100), var(--nv-teal-600), var(--nv-green));
}
.timeline li { position: relative; text-align: center; padding: 0 .5rem; }
.timeline .t-dot {
  position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 1.25rem;
  border-radius: 50%; background: #fff; border: 3px solid var(--nv-teal-100); color: var(--nv-teal-600); font-size: 1.4rem;
  box-shadow: var(--nv-shadow); transition: transform .3s, border-color .3s;
}
.timeline li:hover .t-dot { transform: scale(1.06); border-color: var(--nv-green); }
.timeline .t-num {
  position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--nv-teal-900); color: #fff; font-size: .78rem; font-weight: 800; font-family: var(--nv-font-heading);
}
.timeline h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.timeline p { font-size: .97rem; color: var(--nv-muted); margin: 0; }
@media (max-width: 991.98px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 10px; bottom: 10px; left: 34px; right: auto; width: 3px; height: auto;
    background: linear-gradient(180deg, var(--nv-teal-100), var(--nv-teal-600), var(--nv-green)); }
  .timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 1.1rem; text-align: left; padding: 0 0 1.75rem; }
  .timeline .t-dot { margin: 0; }
}

.step-card {
  position: relative; height: 100%; padding: 2rem 1.75rem 1.75rem; border-radius: var(--nv-radius); background: #fff;
  border: 1px solid var(--nv-border); overflow: hidden;
}
.step-card .s-num {
  font-family: var(--nv-font-heading); font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -.04em;
  background: var(--nv-gradient-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9; margin-bottom: .75rem; display: block;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.step-card p { color: var(--nv-muted); margin: 0; }
.step-card .s-icon { position: absolute; right: 1.5rem; top: 1.75rem; color: var(--nv-teal-100); font-size: 2.4rem; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial {
  height: 100%; display: flex; flex-direction: column; padding: 2rem; border-radius: var(--nv-radius); background: #fff;
  border: 1px solid var(--nv-border); box-shadow: var(--nv-shadow-sm);
}
.testimonial .q-icon { font-size: 1.8rem; color: var(--nv-green); margin-bottom: 1rem; }
.testimonial blockquote { font-size: 1.07rem; line-height: 1.7; color: var(--nv-text); margin-bottom: 1.5rem; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: .85rem; }
.testimonial .avatar {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--nv-gradient);
  color: #fff; font-weight: 800; font-family: var(--nv-font-heading);
}
.testimonial cite { font-style: normal; font-weight: 700; color: var(--nv-teal-900); display: block; }
.testimonial small { color: var(--nv-muted); }
.swiper-testimonials { padding-bottom: 3.25rem !important; }
.swiper-testimonials .swiper-slide { height: auto; }
.swiper-testimonials:not(.swiper-initialized) .swiper-wrapper { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.swiper-testimonials:not(.swiper-initialized) .swiper-slide:nth-child(n+4) { display: none; }
.swiper-pagination-bullet-active { background: var(--nv-teal-600) !important; }

.invite-card {
  display: grid; gap: 2rem; align-items: center; grid-template-columns: auto 1fr auto; padding: 2.25rem;
  border-radius: var(--nv-radius-lg); background: #fff; border: 1px dashed rgba(6,130,147,.35);
}
.invite-card .i-icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: var(--nv-teal-50); color: var(--nv-teal-600); font-size: 1.8rem; }
@media (max-width: 767.98px) { .invite-card { grid-template-columns: 1fr; text-align: center; } .invite-card .i-icon { margin-inline: auto; } }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--nv-border); border-radius: 16px !important; overflow: hidden; margin-bottom: .75rem; background: #fff;
  transition: box-shadow .25s, border-color .25s;
}
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) { border-color: rgba(6,130,147,.4); box-shadow: var(--nv-shadow-sm); }
.faq-accordion .accordion-button {
  font-family: var(--nv-font-heading); font-weight: 700; font-size: 1.04rem; color: var(--nv-teal-900); padding: 1.15rem 1.35rem;
  background: #fff; box-shadow: none; gap: 1rem; line-height: 1.4;
}
.faq-accordion .accordion-button:not(.collapsed) { background: var(--nv-teal-50); color: var(--nv-teal-900); }
.faq-accordion .accordion-button::after {
  width: 30px; height: 30px; flex: none; border-radius: 50%; background-color: var(--nv-bg-soft); background-position: center;
  background-size: 12px;
}
.faq-accordion .accordion-button:focus-visible { outline: 3px solid var(--nv-teal-600); outline-offset: -3px; }
.faq-accordion .accordion-body { padding: .25rem 1.35rem 1.35rem; color: var(--nv-text); }
.faq-accordion .accordion-body > :last-child { margin-bottom: 0; }
.faq-related { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; font-size: .88rem; }
.faq-related a { padding: .25rem .7rem; border-radius: 999px; background: var(--nv-bg-soft); text-decoration: none; font-weight: 600; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.nv-cta {
  position: relative; overflow: hidden; border-radius: var(--nv-radius-lg); padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background: var(--nv-gradient); color: #e7f4f5;
}
.nv-cta h2 { color: #fff; }
.nv-cta p { color: rgba(255,255,255,.88); max-width: 620px; }
.nv-cta::before, .nv-cta::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.nv-cta::before { width: 420px; height: 420px; right: -120px; top: -160px; border: 54px solid rgba(255,255,255,.07); }
.nv-cta::after { width: 220px; height: 220px; right: 140px; bottom: -130px; border: 30px solid rgba(160, 230, 165, .14); }
.nv-cta .cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }
.nv-cta .cta-contact { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.75rem; position: relative; z-index: 1; font-weight: 600; }
.nv-cta .cta-contact a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero { position: relative; background: var(--nv-bg-soft); overflow: hidden; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -330px; border-radius: 50%;
  border: 60px solid rgba(6, 130, 147, .07);
}
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); margin-bottom: 1rem; }
.page-hero .lead { max-width: 620px; }
.page-hero .ph-media { position: relative; border-radius: var(--nv-radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--nv-shadow-lg); }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.page-hero .ph-ring {
  position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  border: 24px solid transparent; border-top-color: var(--nv-green); border-right-color: var(--nv-teal-600); opacity: .45; z-index: 0;
}
.breadcrumb { --bs-breadcrumb-divider-color: var(--nv-muted); --bs-breadcrumb-item-active-color: var(--nv-muted); font-size: .9rem; margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--nv-teal-700); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Prose (rich text)
   -------------------------------------------------------------------------- */
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin: 2.25rem 0 .85rem; }
.prose h3 { font-size: 1.25rem; margin: 1.75rem 0 .65rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--nv-teal-600); }
.prose blockquote { border-left: 4px solid var(--nv-green); padding: .5rem 0 .5rem 1.25rem; color: var(--nv-teal-900); font-size: 1.15rem; font-weight: 500; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--nv-teal-700); font-weight: 600; }

.legal-layout { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
@media (max-width: 991.98px) { .legal-layout { grid-template-columns: 1fr; } }
.sticky-aside { position: sticky; top: calc(var(--nv-header-h) + 1.5rem); }
.aside-card { padding: 1.75rem; border-radius: var(--nv-radius); background: var(--nv-bg-soft); border: 1px solid var(--nv-border); }
.aside-card h2, .aside-card h3 { font-size: 1.15rem; margin-bottom: .75rem; }

/* --------------------------------------------------------------------------
   Services listing
   -------------------------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2.25rem; }
.chip-row { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; white-space: nowrap;
  background: #fff; border: 1px solid var(--nv-border); color: var(--nv-text); font-weight: 600; font-size: .92rem;
  text-decoration: none; transition: all .2s; min-height: 44px;
}
.chip:hover { border-color: var(--nv-teal-600); color: var(--nv-teal-900); }
.chip.active { background: var(--nv-teal-900); border-color: var(--nv-teal-900); color: #fff; }
.search-field { position: relative; min-width: min(320px, 100%); }
.search-field .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--nv-muted); }
.search-field input { padding-left: 2.75rem; border-radius: 999px; min-height: 48px; }
.results-meta { color: var(--nv-muted); font-size: .95rem; margin-bottom: 1.25rem; }
.empty-state { text-align: center; padding: 3.5rem 1.5rem; border-radius: var(--nv-radius-lg); background: var(--nv-bg-soft); border: 1px dashed var(--nv-border); }
.empty-state .e-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: #fff; color: var(--nv-teal-600); font-size: 1.8rem; margin-bottom: 1.25rem; box-shadow: var(--nv-shadow-sm); }
.htmx-indicator-inline { display: none; }
.htmx-request .htmx-indicator-inline, .htmx-request.htmx-indicator-inline { display: inline-block; }
#service-results.htmx-request, #faq-results.htmx-request { opacity: .55; transition: opacity .2s; }

.pagination { --bs-pagination-color: var(--nv-teal-900); --bs-pagination-active-bg: var(--nv-teal-900); --bs-pagination-active-border-color: var(--nv-teal-900); --bs-pagination-border-radius: 999px; gap: .35rem; }
.pagination .page-link { border-radius: 999px !important; min-width: 44px; min-height: 44px; display: grid; place-items: center; font-weight: 600; }

/* Service detail */
.service-hero-media { border-radius: var(--nv-radius-lg); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--nv-shadow-lg); margin-bottom: 2.5rem; }
.service-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-block { margin-bottom: 3rem; }
.detail-block > h2 { font-size: 1.6rem; display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.detail-block > h2 .h-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--nv-teal-50); color: var(--nv-teal-600); font-size: 1.05rem; }
.benefit-grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); list-style: none; padding: 0; }
.benefit-grid li { display: flex; gap: .75rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--nv-bg-soft); font-weight: 500; }
.benefit-grid .icon { color: var(--nv-green-dark); margin-top: .3rem; }
.enquire-card { padding: 2rem; border-radius: var(--nv-radius-lg); background: var(--nv-gradient); color: #fff; box-shadow: var(--nv-shadow-lg); }
.enquire-card h2, .enquire-card h3 { color: #fff; font-size: 1.35rem; }
.enquire-card p { color: rgba(255,255,255,.88); font-size: .98rem; }
.enquire-card .btn { width: 100%; }
.enquire-card .ec-contact { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.2); font-size: .95rem; }
.enquire-card .ec-contact a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: .55rem; padding: .25rem 0; font-weight: 600; }
.mobile-sticky-cta { display: none; }
@media (max-width: 991.98px) {
  .mobile-sticky-cta {
    display: flex; gap: .5rem; position: sticky; bottom: calc(var(--nv-bottom-nav-h) + 10px); z-index: 20; margin-top: 1.5rem;
    padding: .6rem; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: var(--nv-shadow-lg); border: 1px solid var(--nv-border);
  }
  .mobile-sticky-cta .btn { flex: 1; }
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card { padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); border-radius: var(--nv-radius-lg); background: #fff; border: 1px solid var(--nv-border); box-shadow: var(--nv-shadow); }
.form-section + .form-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--nv-border); }
.form-section-title { display: flex; align-items: center; gap: .65rem; font-size: 1.2rem; margin-bottom: 1.25rem; }
.form-section-title .fs-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--nv-teal-900); color: #fff; font-size: .9rem; }
.form-label { font-weight: 600; color: var(--nv-teal-900); margin-bottom: .4rem; font-size: .97rem; }
.form-label .req { color: #b42318; margin-left: .15rem; }
.form-control, .form-select {
  min-height: 52px; border-radius: 14px; border: 1.5px solid #cfdedd; padding: .75rem 1rem; font-size: 1rem; color: var(--nv-text);
  background-color: #fbfdfd; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
textarea.form-control { min-height: 130px; }
.form-control:hover, .form-select:hover { border-color: #a9c6c6; }
.form-control:focus, .form-select:focus { border-color: var(--nv-teal-600); box-shadow: 0 0 0 4px rgba(6,130,147,.15); background-color: #fff; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #b42318; background-image: none; padding-right: 1rem; }
.form-text { color: var(--nv-muted); font-size: .88rem; }
.invalid-feedback { color: #b42318; font-weight: 500; font-size: .9rem; }
.choice-pills { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.choice-pills > div, .choice-pills > li { margin: 0; }
.choice-pills label {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.05rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid #cfdedd; background: #fbfdfd; font-weight: 600; font-size: .95rem; min-height: 46px; transition: all .2s;
}
.choice-pills input { accent-color: var(--nv-teal-600); width: 1.05rem; height: 1.05rem; }
.choice-pills label:has(input:checked) { border-color: var(--nv-teal-600); background: var(--nv-teal-50); color: var(--nv-teal-900); }
.choice-pills label:has(input:focus-visible) { outline: 3px solid var(--nv-teal-600); outline-offset: 2px; }
.choice-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.choice-grid label { border-radius: 14px; width: 100%; }
.form-check { padding-left: 2rem; }
.form-check-input { width: 1.3rem; height: 1.3rem; margin-left: -2rem; margin-top: .15rem; border: 1.5px solid #a9c6c6; }
.form-check-input:checked { background-color: var(--nv-teal-600); border-color: var(--nv-teal-600); }
.form-check-label { font-size: .96rem; }
.consent-box { padding: 1.1rem 1.25rem; border-radius: 16px; background: var(--nv-bg-soft); border: 1px solid var(--nv-border); }
.consent-box .form-check + .form-check { margin-top: .75rem; }
.privacy-note { display: flex; gap: .75rem; padding: 1rem 1.15rem; border-radius: 14px; background: var(--nv-teal-50); font-size: .92rem; color: var(--nv-teal-900); }
.privacy-note .icon { color: var(--nv-teal-600); margin-top: .25rem; font-size: 1.1rem; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.form-submit .recaptcha-note { font-size: .8rem; color: var(--nv-muted); margin: 0; max-width: 360px; }
.form-submit .recaptcha-note a { color: inherit; }
.btn .spinner { display: none; width: 1.1rem; height: 1.1rem; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
form.htmx-request .btn .spinner { display: inline-block; }
form.htmx-request .btn .btn-label-icon { display: none; }
form.htmx-request [type=submit] { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.grecaptcha-badge { visibility: hidden !important; }

.form-success { text-align: center; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem) 1.5rem; }
.form-success .s-icon {
  display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 1.5rem;
  background: var(--nv-green-100); color: var(--nv-green-dark); font-size: 2.2rem; animation: pop .5s cubic-bezier(.2,1.4,.4,1);
}
.form-success .ref { display: inline-block; padding: .45rem 1rem; border-radius: 999px; background: var(--nv-bg-soft); font-family: var(--nv-font-heading); font-weight: 700; color: var(--nv-teal-900); letter-spacing: .06em; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.next-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.next-steps li { position: relative; padding-left: 3rem; padding-bottom: 1.35rem; counter-increment: s; }
.next-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--nv-teal-600); color: var(--nv-teal-900);
  font-weight: 800; font-family: var(--nv-font-heading); font-size: .9rem;
}
.next-steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--nv-teal-100); }
.next-steps strong { display: block; color: var(--nv-teal-900); font-family: var(--nv-font-heading); }
.next-steps span { color: var(--nv-muted); font-size: .95rem; }

/* Contact */
.contact-tile {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.35rem; border-radius: var(--nv-radius); background: #fff;
  border: 1px solid var(--nv-border); text-decoration: none; color: var(--nv-text); height: 100%; transition: box-shadow .25s, transform .25s;
}
a.contact-tile:hover { box-shadow: var(--nv-shadow); transform: translateY(-3px); color: var(--nv-text); }
.contact-tile .c-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--nv-teal-50); color: var(--nv-teal-600); font-size: 1.15rem; flex: none; }
.contact-tile strong { display: block; font-family: var(--nv-font-heading); color: var(--nv-teal-900); }
.contact-tile span { color: var(--nv-muted); font-size: .97rem; word-break: break-word; }
.map-frame { border-radius: var(--nv-radius-lg); overflow: hidden; box-shadow: var(--nv-shadow); aspect-ratio: 16 / 9; background: var(--nv-teal-50); position: relative; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { padding: .45rem 0; border-bottom: 1px dashed var(--nv-border); }
.hours-list li:last-child { border-bottom: 0; }

/* Team & gallery */
.team-card { text-align: center; }
.team-card .t-photo { width: 100%; aspect-ratio: 1; border-radius: var(--nv-radius-lg); overflow: hidden; margin-bottom: 1rem; background: var(--nv-teal-50); display: grid; place-items: center; font-size: 2.5rem; color: var(--nv-teal-600); font-family: var(--nv-font-heading); font-weight: 800; }
.team-card .t-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.1rem; margin-bottom: .1rem; }
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
.gallery-grid figure { margin: 0; border-radius: var(--nv-radius); overflow: hidden; position: relative; }
.gallery-grid figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption { position: absolute; inset: auto 0 0 0; padding: .75rem 1rem; color: #fff; font-size: .88rem; background: linear-gradient(0deg, rgba(1,34,43,.75), transparent); }
@media (max-width: 767.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

.quote-panel { position: relative; padding: 2.5rem; border-radius: var(--nv-radius-lg); background: var(--nv-teal-900); color: #fff; font-family: var(--nv-font-heading); font-size: clamp(1.25rem, 1.1rem + .8vw, 1.7rem); font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.quote-panel .icon { color: var(--nv-green); font-size: 2rem; display: block; margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #01303c; color: #c8dcdf; padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem); font-size: .97rem; }
.site-footer h2 { color: #fff; font-size: 1.02rem; letter-spacing: .02em; margin-bottom: 1.15rem; }
.site-footer a { color: #d9eaec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { display: inline-block; background: #fff; padding: .65rem .8rem; border-radius: 18px; margin-bottom: 1.25rem; }
.footer-logo img { height: 92px; width: auto; display: block; }
.footer-logo.is-white { background: none; padding: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact .icon { color: #8fd896; margin-top: .3rem; }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.social-links a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.08);
  color: #fff; transition: background .2s, transform .2s;
}
.social-links a:hover { background: var(--nv-green-dark); transform: translateY(-2px); text-decoration: none; }
.mobile-nav .social-links a, .contact-social a { background: var(--nv-teal-50); color: var(--nv-teal-900); }
.mobile-nav .social-links a:hover, .contact-social a:hover { background: var(--nv-teal-900); color: #fff; }
.acknowledgement { margin-top: 3rem; padding: 1.25rem 1.5rem; border-radius: var(--nv-radius); background: rgba(255,255,255,.05); font-size: .92rem; color: #b9d0d3; }
.footer-bottom { margin-top: 2rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: #a9c2c6; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.footer-bottom a { color: #c8dcdf; }

/* --------------------------------------------------------------------------
   Error & maintenance pages
   -------------------------------------------------------------------------- */
.error-page { position: relative; overflow: hidden; min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: clamp(3rem, 2rem + 4vw, 6rem);
  background: radial-gradient(circle at 12% 18%, rgba(6,130,147,.09), transparent 38%), radial-gradient(circle at 88% 82%, rgba(32,153,40,.09), transparent 38%); }
.error-ring { position: absolute; width: 340px; height: 340px; left: 50%; top: -40px; margin-left: -170px; border-radius: 50%; z-index: -1;
  border: 38px solid transparent; border-top-color: rgba(32,153,40,.14); border-right-color: rgba(6,130,147,.14); transform: rotate(-25deg); }
.error-links { padding-top: 2rem; border-top: 1px solid var(--nv-border); }
.error-code { font-family: var(--nv-font-heading); font-weight: 800; font-size: clamp(5rem, 4rem + 6vw, 9rem); line-height: 1; background: var(--nv-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --------------------------------------------------------------------------
   Utilities & motion
   -------------------------------------------------------------------------- */
.rounded-xl { border-radius: var(--nv-radius-lg) !important; }
.shadow-soft { box-shadow: var(--nv-shadow) !important; }
.max-w-prose { max-width: 720px; }
.gap-section > * + * { margin-top: 1.5rem; }

/* Content stays visible when JavaScript (and AOS) is unavailable. */
[data-aos]:not(.aos-init) { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .bottom-nav, .site-footer, .mobile-nav, .nv-cta, .announcement { display: none !important; }
  body { padding: 0; }
}
