/* ============================================================
   MedVera Solutions — shared styles
   Palette: deep navy / teal accent / white, extracted from brand assets
   ============================================================ */

:root {
  --navy: #0e2a4d;
  --navy-mid: #153a63;
  --navy-deep: #0a1f38;
  --teal: #1fa893;
  --teal-light: #2fd3b8;
  --paper: #ffffff;
  --paper-soft: #f4f7fa;
  --ink: #12203a;
  --muted: #5b6b82;
  --line: #e2e8f0;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Poppins", var(--sans);
  --maxw: 1160px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
::selection {
  background: var(--teal-light);
  color: var(--navy-deep);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.wrap.split,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 840px) {
  .wrap.split,
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.problem-split {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 840px) {
  .problem-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.problem-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(14, 42, 77, 0.08);
  border: 1px solid var(--line);
  background: #ffffff;
  margin-right: -24px;
  margin-left: 8px;
}
@media (max-width: 840px) {
  .problem-media {
    margin-left: 0;
    margin-right: 0;
  }
}
.problem-img {
  width: 100%;
  height: auto;
  display: block;
}
.problem-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.problem-content h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--navy);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--teal);
  display: inline-block;
  border-radius: 1px;
}

/* ---------- Dot-grid texture (signature motif) ---------- */
.dotgrid {
  position: absolute;
  width: 90px;
  height: 64px;
  background-image: radial-gradient(currentColor 1.4px, transparent 1.4px);
  background-size: 12px 12px;
  opacity: 0.35;
  pointer-events: none;
}
.dotgrid.on-dark {
  color: #4e7baa;
}
.dotgrid.on-light {
  color: var(--navy);
}

/* ---------- Header / Nav ---------- */
header.site {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  padding: 16px 24px 0;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  background: #ffffff;
  border-radius: 9999px;
  box-shadow: 0 16px 40px rgba(10, 31, 56, 0.18), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.85);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  height: 44px;
  width: auto;
}
.brand-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}
.brand-text .hl {
  color: var(--teal);
}
.brand-text .sub {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-text .sub::before,
.brand-text .sub::after {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

nav.links {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav.links a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #2b3d52;
  padding: 8px 2px;
  border-bottom: 2.5px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}
nav.links a:hover {
  color: var(--navy);
}
nav.links a.current {
  color: var(--navy);
  border-bottom-color: var(--teal);
}
nav.links a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
/* Invisible hover bridge extending downwards from the nav link */
.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 24px;
  pointer-events: auto;
}
.nav-item > a.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.caret {
  width: 10px;
  height: 10px;
  transition: transform 0.15s ease;
  flex: none;
}
.nav-item:hover .caret,
.nav-item:focus-within .caret {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(14, 42, 77, 0.18);
  padding: 8px 8px 0 8px;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s ease;
  z-index: 200;
}
/* Upward hover bridge on dropdown panel */
.dropdown-panel::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -10px;
  right: -10px;
  height: 20px;
}
.nav-item:hover .dropdown-panel,
.nav-item:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-panel a:not(.view-all) {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.3;
  text-align: center;
  position: relative;
  transition: transform 0.15s ease, color 0.15s ease;
}
.dropdown-panel a:not(.view-all):hover {
  background: transparent;
  color: #4e7baa;
  transform: scale(1.06);
}
/* Intermediate slits between service values */
.dropdown-panel a:not(.view-all):not(:nth-last-child(2))::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: rgba(14, 42, 77, 0.08);
}
/* Whole area below the last slit is the solid View All Services button with zero outer white border */
.dropdown-panel .view-all {
  margin: 6px -9px -1px -9px;
  padding: 12px 14px;
  border-radius: 0 0 13px 13px;
  font-weight: 600;
  background: #2a5580;
  color: #e8f1f9;
  text-align: center;
  font-size: 13px;
  text-decoration: none;
  display: block;
  border-top: 1px solid var(--line);
  box-sizing: border-box;
}
.dropdown-panel .view-all,
.dropdown-panel .view-all:hover,
.dropdown-panel .view-all:focus {
  color: #e8f1f9;
  background: #2a5580;
}
.dropdown-panel .view-all span {
  display: inline-block;
  transition: transform 0.15s ease;
}
.dropdown-panel .view-all:hover span {
  transform: scale(1.06);
}

.nav-cta {
  display: flex;
  align-items: center;
}
.nav-cta .btn {
  background: var(--teal);
  color: #ffffff;
  border-radius: 9999px;
  padding: 12px 26px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid var(--teal);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.15s ease,
    box-shadow 0.18s ease;
}
.nav-cta .btn:hover {
  background: #25b8a0;
  border-color: #25b8a0;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(31, 168, 147, 0.35);
}

/* ---------- Mobile Navigation Toggle & Drawer ---------- */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background 0.18s ease;
  z-index: 102;
  margin-left: 6px;
}
.mobile-menu-btn:hover,
.mobile-menu-btn:focus-visible {
  background: rgba(14, 42, 77, 0.06);
  outline: none;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}
.mobile-menu-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 20px;
  right: 20px;
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 48px rgba(10, 31, 56, 0.22), 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--line);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, visibility 0.22s ease;
  z-index: 999;
}
.mobile-menu-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-links a {
  display: block;
  padding: 12px 18px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.current {
  background: #eef5fb;
  color: var(--teal);
}
.mobile-nav-links a.mobile-nav-cta {
  margin-top: 8px;
  background: var(--teal);
  color: #ffffff !important;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(31, 168, 147, 0.35);
  padding: 12px 18px;
}
.mobile-nav-links a.mobile-nav-cta:hover {
  background: #25b8a0;
}

.btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.1s ease,
    color 0.15s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-primary:hover {
  background: #25b8a0;
  border-color: #25b8a0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 168, 147, 0.35);
}
.hero .btn-primary:hover {
  background: #25b8a0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 168, 147, 0.35);
}
.btn-ghost {
  color: var(--navy);
  border-color: var(--line);
  background: var(--paper);
}
.btn-ghost:hover {
  border-color: var(--navy);
}
.btn-on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}
.btn-on-dark:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Curved divider (signature motif) ---------- */
.curve-divider {
  display: block;
  width: 100%;
  line-height: 0;
}
.curve-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 110px 0 0;
  overflow: hidden;
}
.hero-banner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  min-height: 520px;
  max-height: 100vh;
  padding: 92px 0 0;
  box-sizing: border-box;
}
.hero-contact-banner,
.hero-services-banner,
.hero-about-banner,
.hero-specialties-banner {
  min-height: 440px;
  padding: 130px 0 70px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.hero-contact-banner .hero-bg-desk,
.hero-about-banner .hero-bg-desk,
.hero-specialties-banner .hero-bg-desk {
  width: 58%;
  top: 0;
  bottom: 0;
  height: 100%;
}
.hero-contact-banner .hero-bg-desk img,
.hero-about-banner .hero-bg-desk img,
.hero-specialties-banner .hero-bg-desk img {
  object-fit: cover;
  object-position: right top;
}

.hero-services-banner .hero-bg-desk {
  width: 55%;
  top: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  overflow: hidden;
}
.hero-services-banner .hero-bg-desk img {
  object-fit: cover;
  object-position: right top;
  transform: translateX(60px);
}


.hero-contact-wrap,
.hero-services-wrap,
.hero-about-wrap,
.hero-specialties-wrap {
  position: relative;
  z-index: 5;
  width: 100%;
}
.hero-services-wrap h1,
.hero-specialties-wrap h1,
.hero-about-wrap h1 {
  max-width: 24ch;
}
.hero-contact-wrap h1 {
  max-width: 22ch;
}
.desk-br {
  display: inline;
}
@media (max-width: 640px) {
  .desk-br {
    display: none;
  }
}
.hero-bg-desk {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 12%,
    rgba(0, 0, 0, 0.8) 45%,
    #000 70%,
    #000 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 12%,
    rgba(0, 0, 0, 0.8) 45%,
    #000 70%,
    #000 100%
  );
}
.hero-bg-desk img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}
.hero .dotgrid {
  z-index: 1;
  color: var(--teal-light);
  opacity: 0.75;
}
.hero .dotgrid.tl {
  top: 96px;
  left: 32px;
  -webkit-mask-image: linear-gradient(
    135deg,
    #000 0%,
    #000 60%,
    rgba(0, 0, 0, 0.4) 80%,
    transparent 100%
  );
  mask-image: linear-gradient(
    135deg,
    #000 0%,
    #000 60%,
    rgba(0, 0, 0, 0.4) 80%,
    transparent 100%
  );
}
.hero .dotgrid.br {
  bottom: 16px;
  right: 32px;
  -webkit-mask-image: linear-gradient(
    315deg,
    #000 0%,
    #000 60%,
    rgba(0, 0, 0, 0.4) 80%,
    transparent 100%
  );
  mask-image: linear-gradient(
    315deg,
    #000 0%,
    #000 60%,
    rgba(0, 0, 0, 0.4) 80%,
    transparent 100%
  );
}
.hero-main-wrap {
  position: relative;
  z-index: 5;
  padding-top: 38px;
  padding-bottom: 0;
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
}
.hero-banner-content {
  max-width: 580px;
  display: flex;
  flex-direction: column;
}
.hero-banner-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
  flex: none;
}
.hero-banner-title .hl-teal,
.hero h1 .hl-teal,
.hl-teal {
  color: var(--teal-light);
}
.hero-accent-bar {
  width: 88px;
  height: 3px;
  background: var(--teal-light);
  border-radius: 3px;
  margin: 6px 0 22px;
  flex: none;
}
.hero-banner-content p.lede {
  font-size: 15.5px;
  line-height: 1.5;
  color: #c5d5e8;
  max-width: 48ch;
  margin: 0;
  flex: none;
}
.hero-banner-content .cta-row {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex: none !important;
  transform: translateY(-12px) !important;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 64px;
  position: relative;
  z-index: 2;
}
.hero .eyebrow {
  color: var(--teal-light);
}
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.16;
  margin-bottom: 20px;
}
.hero h1 .hl {
  color: var(--teal-light);
}
.hero p.lede {
  font-size: 17px;
  color: #c3d2e3;
  max-width: 50ch;
  margin: 0 0 30px;
}
.hero .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-art {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 22px;
}

/* ---------- Hero Features Bottom Strip ---------- */
.hero-features-strip {
  position: relative;
  z-index: 3;
  background: rgba(6, 21, 38, 0.88);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: none;
  padding: 10px 0;
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.6) 47%,
    rgba(0, 0, 0, 0.15) 52%,
    transparent 58%
  );
  mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.6) 47%,
    rgba(0, 0, 0, 0.15) 52%,
    transparent 58%
  );
}
.hero-features-strip .wrap {
  padding-left: 20px;
}
.features-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  max-width: var(--maxw);
  margin-left: 0;
  margin-right: auto;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-slit {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.18);
  flex: none;
  display: inline-block;
}
.feature-icon {
  width: 32px;
  height: 32px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
}
.feature-icon svg,
.feature-icon img,
.feature-img-icon {
  width: 26px;
  height: 26px;
  stroke: var(--teal-light);
  object-fit: contain;
  display: block;
}
.feature-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: #e6edf5;
  line-height: 1.25;
  white-space: nowrap;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #e4ecf5;
  font-weight: 600;
}
.stat-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--teal-light);
  color: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.stat-sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
}

/* ---------- Section shell ---------- */
section.block {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
section.block.on-dark {
  background: var(--navy);
  border-bottom: none;
  color: #fff;
}
section.block.soft {
  background: var(--paper-soft);
}
section.block.services-block,
section.block.how-it-works-block {
  background: #e8f0f6;
}
section.block.who-we-serve-block {
  background: var(--navy);
  border-bottom: none;
  color: #fff;
}
.who-we-serve-block .eyebrow {
  color: var(--teal-light);
}
.who-we-serve-block .block-head h2,
.who-we-serve-block h2 {
  color: #ffffff;
}
.who-we-serve-block .block-head .sub,
.who-we-serve-block .sub {
  color: #ffffff;
}
.who-we-serve-block .btn-ghost {
  color: var(--teal-light);
  border-color: rgba(47, 211, 184, 0.4);
}
.who-we-serve-block .btn-ghost:hover {
  background: rgba(47, 211, 184, 0.12);
  border-color: var(--teal-light);
  color: #ffffff;
}
section.block:last-of-type {
  border-bottom: none;
}
.block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.block-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 6px;
  max-width: 26ch;
}
.on-dark .block-head h2 {
  color: #fff;
}
.block-head .sub {
  color: #2a5580;
  font-size: 15px;
  max-width: 46ch;
  margin: 0;
}
.on-dark .block-head .sub {
  color: #b9c8da;
}

/* ---------- Icon badge ---------- */
.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex: none;
}
.icon-badge svg {
  width: 22px;
  height: 22px;
}

/* ---------- Cards: services & general card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid:has(.card-col) {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.card-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 180px;
  box-sizing: border-box;
  text-decoration: none;
  border: 1px solid rgba(47, 211, 184, 0.2);
  border-radius: 14px;
  padding: 22px 20px 22px;
  background: var(--navy);
  overflow: hidden;
  transition:
    height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}
.card-col .service-card {
  height: 206px;
  padding: 20px 20px 16px;
}
.service-card:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 32px rgba(8, 29, 51, 0.35), 0 0 14px rgba(47, 211, 184, 0.2);
  transform: translateY(-3px);
}
.service-card.is-expanded {
  height: 384px;
  padding: 22px 20px 42px;
  border-color: var(--teal);
  box-shadow: 0 14px 36px rgba(8, 29, 51, 0.45), 0 0 16px rgba(47, 211, 184, 0.25);
  transform: translateY(-2px);
}
.card-col .service-card.is-expanded {
  height: 436px;
  padding: 20px 20px 16px;
}
.service-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.service-card h3 {
  font-size: 18px;
  color: #ffffff;
  margin: 0;
  text-align: center;
  line-height: 1.25;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.service-card p {
  font-size: 13.5px;
  color: #b9c8da;
  margin: 15px 0 0 0;
  text-align: center;
  line-height: 1.45;
  display: block;
  flex: none;
}
.service-details {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  flex: 1;
  transition:
    max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease,
    margin-top 0.25s ease,
    padding-top 0.25s ease,
    border-color 0.25s ease;
}
.service-card.is-expanded .service-details {
  max-height: 270px;
  opacity: 1;
  visibility: visible;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(47, 211, 184, 0.25);
}
.service-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.service-details li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #c5d5e8;
  text-align: left;
}
.service-details li::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: -1px;
  color: var(--teal-light);
  font-size: 15px;
}
.service-details li strong {
  color: #ffffff;
  font-weight: 600;
}
.expand-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-light);
  cursor: pointer;
  padding: 4px 0 0;
  margin-top: auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  transition: color 0.18s ease, transform 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.expand-btn:focus {
  outline: none;
  color: var(--teal-light);
}
.expand-btn:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 2px;
}

/* ONLY physical mouse hover turns it white */
@media (hover: hover) and (pointer: fine) {
  .expand-btn:hover {
    color: #ffffff;
    transform: translateY(-1px);
  }
}
.card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  display: inline-block;
  margin-top: auto;
  align-self: flex-end;
  text-align: right;
  transition: transform 0.15s ease, color 0.15s ease;
}
.card-link:hover {
  text-decoration: none;
  transform: translateX(3px);
}

/* ---------- Cards: specialties grid (4 columns) ---------- */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.specialty-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 14px;
  background: #e8f0f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 175px;
  height: 175px;
  box-sizing: border-box;
  cursor: pointer;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}
.specialty-toggle-cue {
  display: none;
  position: absolute;
  bottom: 10px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(14, 42, 77, 0.08);
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  z-index: 6;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .specialty-toggle-cue {
    display: flex;
  }
}
.specialty-logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
}
.specialty-card .specialty-logo-img {
  width: 74px;
  height: 74px;
  margin: 0 auto 8px;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition:
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease 0.08s;
}
.specialty-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.specialty-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  text-align: center;
  line-height: 1.2;
  transform: translateY(0);
  transition:
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.3s ease;
}
.specialty-desc {
  position: absolute;
  top: 74px;
  left: 16px;
  right: 16px;
  font-size: 13px;
  line-height: 1.44;
  color: #b9c8da;
  margin: 0;
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
  transition:
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    opacity 0.38s ease 0.08s;
}

/* Specialty Card Active (Mobile/Tablet/Click) */
.specialty-card.is-active {
  background: var(--navy);
  border-color: var(--teal);
  box-shadow: 0 16px 36px rgba(14, 42, 77, 0.28);
  transform: translateY(-5px);
}
.specialty-card.is-active .specialty-logo-img {
  transform: translateY(-105px) scale(0.75);
  opacity: 0;
  pointer-events: none;
}
.specialty-card.is-active h3 {
  transform: translateY(-85px);
  color: #ffffff;
}
.specialty-card.is-active .specialty-desc {
  opacity: 1;
  transform: translateX(0);
}
.specialty-card.is-active .specialty-toggle-cue {
  background: rgba(47, 211, 184, 0.25);
  color: var(--teal-light);
}

/* Specialty Card Hover (Only on pointer devices with real mouse hover) */
@media (hover: hover) and (pointer: fine) {
  .specialty-card:hover {
    background: var(--navy);
    border-color: var(--teal);
    box-shadow: 0 16px 36px rgba(14, 42, 77, 0.28);
    transform: translateY(-5px);
  }
  .specialty-card:hover .specialty-logo-img {
    transform: translateY(-105px) scale(0.75);
    opacity: 0;
    pointer-events: none;
  }
  .specialty-card:hover h3 {
    transform: translateY(-85px);
    color: #ffffff;
  }
  .specialty-card:hover .specialty-desc {
    opacity: 1;
    transform: translateX(0);
  }
  .specialty-card:hover .specialty-toggle-cue {
    background: rgba(47, 211, 184, 0.25);
    color: var(--teal-light);
  }
}
.specialty-stat {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  margin: 0;
  text-align: center;
}
.specialty-stat .unit {
  font-size: 12.5px;
  color: var(--teal);
  font-weight: 600;
  margin-left: 4px;
}
/* ---------- Homepage Specialties Slit Panel (2 Rows) ---------- */
.specialty-slits-panel {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(14, 42, 77, 0.05);
  overflow: hidden;
}
.specialty-slits-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 20px;
}
.specialty-h-slit {
  width: 100%;
  height: 1px;
  background: var(--line);
  opacity: 0.85;
}
.specialty-slit-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.specialty-slit-item:hover {
  transform: translateY(-3px);
}
.specialty-slit-item .icon-badge {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: #0e2a4d;
  border: 1.5px solid rgba(47, 211, 184, 0.35);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(14, 42, 77, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.specialty-slit-item:hover .icon-badge {
  transform: scale(1.06);
  border-color: var(--teal);
}
.specialty-slit-item .icon-badge svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}
.specialty-logo-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
  border: none;
  box-shadow: none;
  transition: transform 0.25s ease;
}
.specialty-slit-item:hover .specialty-logo-img {
  transform: scale(1.08);
}
.specialty-slit-item h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  text-align: center;
  line-height: 1.25;
}
.specialty-slit-item .specialty-stat {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  margin: 0;
  text-align: center;
}
.specialty-slit-item .specialty-stat .unit {
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  margin-left: 3px;
  display: inline;
}
.specialty-slit {
  width: 1px;
  height: 100px;
  background: var(--line);
  flex: none;
  opacity: 0.85;
}

/* ---------- About / values ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.value-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 200px;
  box-sizing: border-box;
  background: #e8f0f6;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
.value-card:hover {
  border-color: var(--navy);
  box-shadow: 0 10px 28px rgba(14, 42, 77, 0.18);
  transform: translateY(-3px);
}
.value-card .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  border: 1.5px solid rgba(47, 211, 184, 0.35);
  box-shadow: 0 4px 12px rgba(14, 42, 77, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex: none;
}
.value-card .icon-badge img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: filter 0.25s ease, transform 0.25s ease;
}
.value-card .icon-badge svg {
  width: 30px;
  height: 30px;
  color: var(--teal);
  transition: color 0.25s ease;
}
.value-card:hover .icon-badge img {
  filter: brightness(0) invert(1);
}
.value-card:hover .icon-badge svg {
  color: #ffffff;
}
.value-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  min-height: 48px;
  line-height: 1.3;
}
.value-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #2a5580;
  margin: 0;
  flex-grow: 1;
}

.stat-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
}
.stat-panel .num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.stat-panel .label {
  font-size: 12.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ---------- Performance Metric Cards Grid ---------- */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 211, 184, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.metric-card-num {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 700;
  color: var(--teal-light);
  margin-bottom: 4px;
  line-height: 1.1;
}
.metric-card-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 6px;
}
.metric-card-desc {
  font-size: 13.5px;
  color: #c3d2e3;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Future Vision Banner ---------- */
.vision-banner {
  position: relative;
  background-color: #081d33;
  overflow: hidden;
  min-height: 480px;
  padding: 100px 0;
  display: flex;
  align-items: center;
}
.vision-bg-left {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 58%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to left,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 12%,
    rgba(0, 0, 0, 0.8) 45%,
    #000 70%,
    #000 100%
  );
  mask-image: linear-gradient(
    to left,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 12%,
    rgba(0, 0, 0, 0.8) 45%,
    #000 70%,
    #000 100%
  );
}
.vision-bg-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.vision-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.vision-content {
  max-width: 580px;
  margin-left: auto;
}
@media (max-width: 960px) {
  .vision-banner {
    padding: 70px 0;
    min-height: auto;
  }
  .vision-bg-left {
    width: 100%;
    opacity: 0.2;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  }
  .vision-content {
    max-width: 100%;
    margin-left: 0;
  }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.timeline-item {
  display: flex;
  gap: 16px;
}
.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 7px;
  flex: none;
}
.timeline-item h4 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
}
.timeline-item p {
  margin: 0;
  font-size: 14px;
  color: #2a5580;
}
.how-it-works-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(14, 42, 77, 0.1);
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
}
.how-it-works-img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.3s ease;
}
.how-it-works-visual:hover .how-it-works-img {
  transform: scale(1.02);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 0;
  width: 100%;
}
.contact-card {
  width: 66.666%;
  background: var(--navy);
  color: #ffffff;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  box-shadow: 0 6px 20px rgba(8, 29, 51, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(8, 29, 51, 0.18);
}
.contact-card.card-left {
  align-self: flex-start;
  margin-right: auto;
  margin-left: 0;
}
.contact-card.card-right {
  align-self: flex-end;
  margin-left: auto;
  margin-right: 0;
}
.contact-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(47, 211, 184, 0.12);
  color: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card-icon svg {
  width: 22px;
  height: 22px;
}
.contact-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}
.contact-card-label {
  font-family: var(--sans);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-light);
  font-weight: 700;
  text-align: left;
}
.contact-card-value {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: right;
  width: 100%;
}
.contact-card-value a {
  color: #ffffff;
  text-decoration: none;
}
.contact-card-value a:hover {
  color: #ffffff;
}

.hours-section {
  margin-bottom: 32px;
}
.hours-section .label {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-light);
  font-weight: 700;
  margin-bottom: 8px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.hours-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.hours-table td:last-child {
  text-align: right;
  color: #2a5580;
}

.form-card {
  background: #e8f0f6;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------- Founder block ---------- */
.founder-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 18px;
}
.founder-name {
  color: var(--navy);
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 2px;
}
.founder-title {
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.founder-quote p {
  color: #2a5580;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 18px;
}
.founder-quote p.eyebrow {
  color: var(--teal);
  margin-bottom: 8px;
}
.founder-quote .sign {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  margin-top: 8px;
}
.founder-quote .sign span {
  display: block;
  color: #2a5580;
  font-weight: 400;
  font-size: 13px;
  margin-top: 2px;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--navy);
  border-radius: 18px;
  padding: 48px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-strip h2 {
  color: #fff;
  margin: 0 0 6px;
  font-size: 26px;
}
.cta-strip p {
  color: #b9c8da;
  margin: 0;
  font-size: 15px;
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-deep);
  color: #a9b9cc;
  padding: 56px 0 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 22px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 56px;
  width: auto;
}
.footer-brand-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}
.footer-brand-text .hl {
  color: var(--teal-light);
}
.footer-brand-text .sub {
  font-size: 13px;
  font-weight: 600;
  color: #fcfcfc;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-brand-text .sub::before,
.footer-brand-text .sub::after {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--teal-light);
  display: inline-block;
}
.footer-desc {
  font-size: 13px;
  color: #7e90a6;
  max-width: 30ch;
  line-height: 1.6;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1025px) {
  .footer-grid > div:first-child {
    transform: translateX(-25px);
  }
}
footer.site h4 {
  font-family: var(--sans);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin: 0 0 14px;
  font-weight: 700;
}
footer.site ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer.site a {
  color: #c3d2e3;
  text-decoration: none;
  font-size: 14px;
}
footer.site a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #1d3350;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #5e7089;
}

/* ---------- Responsive Suite ---------- */

/* 
 * 1080px — iPad Pro / Large Tablet
 * - 5 "Why Choose Us" & "Our Values" cards: 5 in 1 row (compact 14px gap)
 * - 12 Specialties: 3 columns (3x4 grid)
 * - 3 Service Cards (Home): 3 in 1 row
 * - 6 Service Cards (Services Page): 3 columns
 * - 4 Stat Cards: 4 in 1 row
 * - 3 Metric Cards: 3 in 1 row
 */
@media (max-width: 1080px) {
  .wrap {
    padding: 0 24px;
  }
  .hero {
    padding-top: 0;
  }
  .hero-banner {
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 100px 0 0;
  }
  .hero-main-wrap {
    padding-bottom: 24px;
  }
  .hero-contact-banner,
  .hero-services-banner,
  .hero-about-banner,
  .hero-specialties-banner {
    min-height: auto;
    padding: 106px 0 46px;
  }
  .hero-bg-desk {
    width: 68%;
    opacity: 0.38;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.25) 20%, rgba(0, 0, 0, 0.85) 60%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.25) 20%, rgba(0, 0, 0, 0.85) 60%, #000 100%);
  }
  .hero-banner-content {
    max-width: 100%;
  }
  .hero-banner-title,
  .hero h1 {
    font-size: clamp(28px, 3.8vw, 40px);
    line-height: 1.18;
  }
  .hero-accent-bar {
    width: 76px;
    margin: 8px 0 16px;
  }
  .hero-banner-content p.lede,
  .hero p.lede {
    font-size: 15.5px;
    line-height: 1.55;
    max-width: 100%;
  }
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .value-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
  .stat-panel {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 24px;
  }
  /* Our Track Record: 2+2 on iPad Pro */
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  nav.links {
    gap: 20px;
  }
  nav.links a {
    font-size: 14px;
  }
  .nav-cta .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .cta-strip {
    padding: 40px 36px;
  }
}

/* 
 * 860px — iPad Mini / Small Tablet (768px - 1023px)
 * - Header: Clean hamburger only (no duplicate Contact Us button)
 * - 3 Service Cards (Home): 3 in 1 row
 * - 6 Service Cards (Services Page): 2 clean columns (no 1-col stretch)
 * - 6 Specialties (Home): 2 rows of 3 items (no giant vertical stack)
 * - 5 "Why Choose Us" & "Our Values": 3 + 2 (3 on top, 2 centered below)
 * - 12 Specialties: 2 columns (2x6 grid)
 * - 4 Stat Cards: 2 x 2 balanced grid
 * - 3 Metric Cards: 3 in 1 row
 */
@media (max-width: 860px) {
  header.site {
    padding: 14px 16px 0;
  }
  .nav-row {
    padding: 8px 10px 8px 16px;
    border-radius: 9999px;
  }
  nav.links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-menu-drawer {
    display: block;
  }
  .nav-cta .btn {
    display: none;
  }
  .hero {
    padding-top: 0;
  }
  .hero-banner {
    padding: 92px 0 0;
    min-height: auto;
  }
  .hero-contact-banner,
  .hero-services-banner,
  .hero-about-banner,
  .hero-specialties-banner {
    padding: 96px 0 40px;
    min-height: auto;
  }
  .hero-main-wrap {
    padding-top: 8px;
    padding-bottom: 20px;
  }
  .hero-banner .hero-bg-desk,
  .hero-bg-desk {
    width: 85%;
    right: 0;
    left: auto;
    opacity: 0.38;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 8%, rgba(0, 0, 0, 0.18) 24%, rgba(0, 0, 0, 0.85) 60%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 8%, rgba(0, 0, 0, 0.18) 24%, rgba(0, 0, 0, 0.85) 60%, #000 100%);
  }
  /* Inner page hero banners on tablet: image container widened to 78% so fade starts further left, giving more image space on the right */
  .hero-specialties-banner .hero-bg-desk,
  .hero-about-banner .hero-bg-desk,
  .hero-services-banner .hero-bg-desk,
  .hero-contact-banner .hero-bg-desk {
    width: 78%;
    right: 0;
    left: auto;
    opacity: 0.38;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      transparent 6%,
      rgba(0, 0, 0, 0.15) 18%,
      rgba(0, 0, 0, 0.8) 48%,
      #000 72%,
      #000 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      transparent 6%,
      rgba(0, 0, 0, 0.15) 18%,
      rgba(0, 0, 0, 0.8) 48%,
      #000 72%,
      #000 100%
    );
  }
  .hero-bg-desk img {
    object-position: right center;
    transform: none;
  }
  /* Specialties, About Us, and Contact Us: seamless feather from 0px */
  .hero-about-banner .hero-bg-desk img,
  .hero-specialties-banner .hero-bg-desk img,
  .hero-contact-banner .hero-bg-desk img {
    object-position: right top;
    transform: none;
  }
  .hero-services-banner .hero-bg-desk img {
    object-position: right top;
    transform: translateX(120px);
  }
  .hero-banner-title,
  .hero h1 {
    font-size: clamp(25px, 3.6vw, 32px);
    line-height: 1.2;
  }
  .hero-accent-bar {
    width: 68px;
    height: 3px;
    margin: 6px 0 14px;
  }
  .hero-banner-content p.lede,
  .hero p.lede {
    font-size: 15px;
    line-height: 1.5;
    color: #d0e0f2;
    max-width: 100%;
  }
  .hero-banner-content .cta-row {
    transform: none !important;
    margin-top: 16px !important;
  }
  /* Homepage bottom strip: confined to left 52% of width on tablet, flush to bottom */
  .hero-features-strip {
    width: 52%;
    max-width: 52%;
    padding: 8px 0;
    border-bottom: none;
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 78%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 78%, transparent 100%);
  }
  .hero-features-strip .wrap {
    padding-left: 20px;
    padding-right: 8px;
  }
  .features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    width: 100%;
  }
  .feature-label {
    font-size: 11px;
    line-height: 1.2;
  }
  .feature-icon svg,
  .feature-icon img {
    width: 22px;
    height: 22px;
  }
  .feature-slit {
    display: none;
  }
  /* Home Service Cards: equal height 3 in 1 row on tablet */
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .card-grid .service-card {
    height: 100%;
    min-height: 175px;
  }
  /* Services Page: 2 balanced columns with expanded card matching lower card height */
  .card-grid:has(.card-col) {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
  }
  .card-col {
    flex: 0 1 calc(50% - 10px);
    width: calc(50% - 10px);
    min-width: 0;
    gap: 20px;
  }
  .card-col:nth-child(3) {
    flex: 0 1 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .service-card {
    height: auto;
    min-height: 150px;
  }
  .service-card.is-expanded {
    height: auto;
  }
  .card-col .service-card {
    height: 206px;
    padding: 20px 20px 16px;
  }
  .card-col .service-card.is-expanded {
    height: 432px; /* 206px * 2 + 20px gap = 432px (matches lower card of fellow column) */
    padding: 20px 20px 16px;
  }
  .service-card.is-expanded .service-details {
    padding-top: 20px;
  }
  .service-details ul {
    gap: 10px;
  }
  /* Homepage Specialties: 2 rows of 3 with compact padding */
  .specialty-slits-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 14px;
  }
  .specialty-slit-item {
    padding: 0 10px;
  }
  .specialty-slit-item .specialty-logo-img {
    width: 56px;
    height: 56px;
    margin: 0 auto 8px;
  }
  .specialty-slit-item h3 {
    font-size: 16px;
  }
  .specialty-slit-item .specialty-stat {
    font-size: 18px;
  }
  /* 5-Card Grids (Home & About): 3 on top + 2 centered below, equal row heights */
  .value-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .value-card {
    flex: 0 1 calc(33.333% - 11px);
    min-width: 210px;
    max-width: calc(33.333% - 11px);
    display: flex;
    flex-direction: column;
    min-height: 220px;
    height: auto;
  }
  /* Specialties Page: 2 columns (2x6 grid) */
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  /* About: 4 Stat Cards as 2x2 grid */
  .stat-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 24px;
  }
  /* Our Track Record: 2+2 on iPad Mini */
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .split,
  .wrap.split,
  .problem-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .problem-media {
    margin: 0;
    width: 100%;
  }
  .contact-card {
    width: 80%;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 24px;
  }
  .footer-grid > div:nth-child(3) {
    margin-top: -65px;
  }
  .footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }
  .footer-brand img {
    height: 52px;
    width: auto;
    margin: 0;
  }
  .footer-brand-text {
    align-items: flex-start;
  }
  .footer-desc {
    text-align: left;
    margin: 0;
    max-width: 100%;
  }
  .cta-strip {
    padding: 32px 24px;
  }
}

/* 
 * 640px — Mobile Phones (≤ 640px / 440px / 320px)
 * - 3 Service Cards (Home): 1 per row
 * - 6 Service Cards (Services Page): 1 per row
 * - 6 Specialties (Home): 2-column directory grid
 * - 5 "Why Choose Us" & "Our Values": 1 per row (comfortable reading)
 * - 12 Specialties: 2 columns (2x6 clean directory grid)
 * - 4 Stat Cards: 2 x 2 balanced grid (1 col at <=400px)
 * - 3 Metric Cards: 1 per row
 */
@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }
  .wrap {
    padding: 0 16px;
  }
  section.block {
    padding: 44px 0;
  }
  header.site {
    padding: 10px 12px 0;
  }
  .nav-row {
    padding: 6px 8px 6px 14px;
  }
  .brand img {
    height: 36px;
  }
  .brand-text {
    font-size: 19px;
  }
  .brand-text .sub {
    font-size: 9.5px;
  }
  .mobile-menu-btn {
    margin-left: 0;
  }
  .mobile-menu-drawer {
    left: 12px;
    right: 12px;
    top: calc(100% + 6px);
    padding: 12px;
  }
  .hero {
    padding-top: 0;
  }
  .hero-banner {
    padding: 80px 0 0;
    min-height: auto;
  }
  .hero-contact-banner,
  .hero-services-banner,
  .hero-about-banner,
  .hero-specialties-banner {
    padding: 84px 0 32px;
    min-height: auto;
  }
  .hero-main-wrap {
    padding-top: 4px;
    padding-bottom: 18px;
  }
  .hero-banner-title,
  .hero h1 {
    font-size: clamp(22px, 5.8vw, 27px);
    line-height: 1.22;
    max-width: 100% !important;
  }
  .hero-accent-bar {
    width: 52px;
    height: 2.5px;
    margin: 5px 0 12px;
  }
  .hero p.lede,
  .hero-banner-content p.lede {
    font-size: 14px;
    line-height: 1.5;
    color: #cddcee;
    max-width: 100% !important;
  }
  .hero-banner-content .cta-row {
    transform: none !important;
    margin-top: 14px !important;
  }
  /* Mobile hero background: preserved horizontal gradient fade into dark navy across all pages */
  .hero-bg-desk,
  .hero-banner .hero-bg-desk,
  .hero-about-banner .hero-bg-desk,
  .hero-specialties-banner .hero-bg-desk,
  .hero-services-banner .hero-bg-desk,
  .hero-contact-banner .hero-bg-desk {
    width: 100%;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    opacity: 0.35;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      transparent 12%,
      rgba(0, 0, 0, 0.18) 30%,
      rgba(0, 0, 0, 0.85) 65%,
      #000 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      transparent 12%,
      rgba(0, 0, 0, 0.18) 30%,
      rgba(0, 0, 0, 0.85) 65%,
      #000 100%
    );
  }
  /* Homepage hero on mobile: frames pen and clipboard with natural offscreen left extension */
  .hero-banner .hero-bg-desk {
    opacity: 0.38;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.15) 15%,
      rgba(0, 0, 0, 0.85) 55%,
      #000 80%,
      #000 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.15) 15%,
      rgba(0, 0, 0, 0.85) 55%,
      #000 80%,
      #000 100%
    );
  }
  .hero-banner .hero-bg-desk img {
    object-position: 80% center;
    transform: none;
  }
  /* Specialties hero on mobile: blends the 110px image offset seamlessly with 0% opacity at edge */
  .hero-specialties-banner .hero-bg-desk {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      transparent 28%,
      rgba(0, 0, 0, 0.18) 42%,
      rgba(0, 0, 0, 0.85) 68%,
      #000 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      transparent 28%,
      rgba(0, 0, 0, 0.18) 42%,
      rgba(0, 0, 0, 0.85) 68%,
      #000 100%
    );
  }
  .hero-bg-desk img {
    object-position: right center;
    transform: translateX(180px);
  }
  /* Inner page hero images moved further to the right on mobile */
  .hero-about-banner .hero-bg-desk img,
  .hero-specialties-banner .hero-bg-desk img,
  .hero-services-banner .hero-bg-desk img {
    object-position: right center;
    transform: translateX(110px);
  }
  /* Contact Us hero: moved left so person's face is clearly framed and visible on mobile */
  .hero-contact-banner .hero-bg-desk img {
    object-position: 70% top;
    transform: none;
  }
  .hero .dotgrid.tl {
    top: 72px;
    left: 8px;
  }
  .hero .dotgrid.br {
    bottom: 8px;
    right: 8px;
  }
  /* Homepage bottom strip: flush to the bottom edge on mobile */
  .hero-features-strip {
    width: 100%;
    max-width: 100%;
    padding: 12px 0;
    border-bottom: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-features-strip .wrap {
    padding: 0 16px;
  }
  .features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    width: 100%;
  }
  .feature-slit {
    display: none;
  }
  .feature-label {
    font-size: 12px;
    white-space: normal;
  }
  /* Home Service Cards: 1 per row */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card {
    height: auto;
    min-height: 180px;
    padding: 20px 18px;
  }
  /* Services Page: 1 per row */
  .card-grid:has(.card-col) {
    flex-direction: column;
    gap: 16px;
  }
  .card-col {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }
  .card-col:nth-child(3) {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .card-col .service-card {
    height: auto;
    min-height: 190px;
    padding: 20px 18px 16px;
  }
  .card-col .service-card.is-expanded {
    height: auto;
    min-height: 380px;
  }
  .service-card.is-expanded .service-details {
    padding-top: 16px;
  }
  .service-details ul {
    gap: 9px;
  }
  /* Homepage Specialties: 2-column mobile directory tiles */
  .specialty-slits-panel {
    border-radius: 14px;
  }
  .specialty-slits-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 18px 14px;
  }
  .specialty-slit {
    display: none;
  }
  .specialty-h-slit {
    display: block;
  }
  .specialty-slit-item {
    padding: 0;
  }
  .specialty-slit-item .specialty-logo-img {
    width: 50px;
    height: 50px;
  }
  .specialty-slit-item h3 {
    font-size: 15px;
  }
  .specialty-slit-item .specialty-stat {
    font-size: 17px;
  }
  .specialty-slit-item:last-child {
    grid-column: span 2;
  }
  /* Specialties Page: 2 columns (2x6 grid) on mobile with extra height and bottom padding for +/- button clearance */
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .specialty-card {
    height: auto;
    min-height: 185px;
    padding: 18px 12px 30px 12px;
  }
  .specialty-card .specialty-logo-img {
    width: 52px;
    height: 52px;
    margin: 0 auto 6px;
  }
  .specialty-card h3 {
    font-size: 15.5px;
    line-height: 1.25;
  }
  .specialty-desc {
    font-size: 12px;
    top: 56px;
    left: 12px;
    right: 12px;
    bottom: 28px;
  }
  .specialty-toggle-cue {
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    font-size: 15px;
  }
  /* 5-Card Grids: 1 per row on mobile for optimal reading */
  .value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .value-card {
    flex: 1 1 100%;
    max-width: 100%;
    min-height: auto;
  }
  /* About: 4 Stat Cards as 2x2 grid */
  .stat-panel {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px;
    gap: 14px;
  }
  /* About: 3 Metric Cards as 1 per row */
  .metric-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .metric-card {
    padding: 20px 18px;
  }
  .metric-card-num {
    font-size: 32px;
  }
  .vision-banner {
    padding: 44px 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-card {
    width: 100%;
  }
  .hours-table {
    width: 100%;
  }
  .form-card {
    padding: 22px 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }
  .footer-grid > div:nth-child(3) {
    margin-top: 0;
  }
  .footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }
  .footer-brand img {
    height: 48px;
    width: auto;
    margin: 0;
  }
  .footer-brand-text {
    align-items: flex-start;
  }
  .footer-desc {
    text-align: left;
    margin: 0;
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding-top: 16px;
  }
  .cta-strip {
    padding: 28px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cta-strip h2 {
    font-size: 22px;
  }
  .cta-strip .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 
 * 400px — Small Mobile Phones (≤ 400px)
 */
@media (max-width: 400px) {
  .brand-text {
    font-size: 17px;
  }
  .brand img {
    height: 32px;
  }
  .features-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-banner-title,
  .hero h1 {
    font-size: 21px;
    line-height: 1.25;
  }
  .hero-banner-content p.lede,
  .hero p.lede {
    font-size: 13px;
  }
  .stat-panel {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 10px;
  }
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* Assessment Form Success State */
.form-success-state {
  text-align: center;
  padding: 44px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.success-icon-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(0, 168, 143, 0.12);
  border: 3px solid var(--teal, #00a88f);
  color: var(--teal, #00a88f);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 0 28px rgba(0, 168, 143, 0.3);
}
.success-icon-badge svg {
  width: 38px;
  height: 38px;
  stroke: var(--teal, #00a88f);
}
.form-success-state h3 {
  font-size: 24px;
  color: var(--navy, #0e2a4d);
  margin: 0 0 12px;
  font-weight: 700;
  text-align: center;
}
.form-success-state p {
  font-size: 15px;
  color: var(--muted, #475569);
  line-height: 1.65;
  max-width: 440px;
  margin: 0 auto 24px;
  text-align: center;
}
.form-success-state .btn {
  margin: 0 auto;
  font-size: 13px;
  padding: 10px 20px;
}

