/* ============================================
   Elon Healthcare — Design System
   ============================================ */

:root {
  /* palette */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;

  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;

  --ink-900: #0b1d22;
  --ink-800: #11313a;
  --ink-700: #1f4651;
  --ink-600: #355763;
  --ink-500: #4b6772;
  --ink-400: #6b8590;
  --ink-300: #97adb6;
  --ink-200: #c7d4d9;
  --ink-100: #e6edef;
  --ink-50: #f3f7f8;

  --bg: #fbfdfd;
  --surface: #ffffff;
  --surface-2: #f5fafb;

  --coral: #ef4444;
  --amber: #f59e0b;
  --gold: #fbbf24;

  /* design tokens */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(11, 29, 34, 0.05);
  --shadow-sm: 0 4px 12px -2px rgba(11, 29, 34, 0.08);
  --shadow-md: 0 12px 30px -8px rgba(11, 29, 34, 0.12);
  --shadow-lg: 0 30px 60px -20px rgba(11, 29, 34, 0.18);
  --shadow-teal: 0 16px 40px -16px rgba(13, 148, 136, 0.45);

  --container: 1180px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* ============================================
   Reset
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal-700);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--teal-800);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  line-height: 1.18;
  margin: 0;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink-900);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  left: 8px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn:active {
  transform: translateY(1px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-600), var(--cyan-600));
  color: #fff;
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -16px rgba(13, 148, 136, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-800);
  border-color: var(--ink-200);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink-900);
  border-color: var(--teal-400);
}

.btn-white {
  background: #fff;
  color: var(--teal-700);
}

.btn-white:hover {
  color: var(--teal-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Announcement bar
   ============================================ */
.announcement {
  background: linear-gradient(90deg, var(--teal-900), var(--ink-900));
  color: #d1f5f0;
  font-size: 0.875rem;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  text-align: center;
}

.announcement p {
  margin: 0;
}

.announcement a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

.announcement a:hover {
  text-decoration-color: #fff;
}

.announcement-dot {
  width: 8px;
  height: 8px;
  background: var(--teal-300);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.25);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.25);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(45, 212, 191, 0);
  }
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--ink-100);
  box-shadow: 0 1px 0 rgba(11, 29, 34, 0.04), var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-900);
  font-weight: 700;
}

.brand:hover {
  color: var(--ink-900);
}

.brand-mark {
  display: inline-flex;
  filter: drop-shadow(0 6px 14px rgba(13, 148, 136, 0.3));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.075rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav ul a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.primary-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--teal-600);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
  border-radius: 2px;
}

.primary-nav ul a:hover {
  color: var(--ink-900);
}

.primary-nav ul a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink-200);
  background: #fff;
  border-radius: 12px;
  padding: 0;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease),
    top 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}
.nav-toggle span:nth-child(2) {
  top: 20px;
}
.nav-toggle span:nth-child(3) {
  top: 26px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.blob-a {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--teal-200), transparent 70%);
  top: -160px;
  right: -100px;
}

.blob-b {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #bae6fd, transparent 70%);
  bottom: -180px;
  left: -120px;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.08) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid var(--teal-200);
  border-radius: 999px;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
}

.hero-title {
  font-size: clamp(2.25rem, 4.8vw, 3.65rem);
  font-weight: 800;
  margin-top: 22px;
  margin-bottom: 22px;
  line-height: 1.08;
}

.accent {
  background: linear-gradient(120deg, var(--teal-600), var(--cyan-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  font-size: 1.125rem;
  color: var(--ink-600);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust svg {
  color: var(--teal-600);
}

/* hero art */
.hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-inline: auto;
}

.hero-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-card-main {
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(13, 148, 136, 0.1);
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #ccfbf1, #e0f2fe);
}

.hero-photo {
  width: 100%;
  height: 100%;
}

.hero-illu {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ink-100);
}

.hero-card-pill strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.1;
}

.hero-card-pill span {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-500);
}

.pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fee2e2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-icon-blue {
  background: var(--teal-50);
}

.float-b {
  bottom: 8%;
  right: -20px;
}

/* ============================================
   Trust strip
   ============================================ */
.trust-strip {
  background: linear-gradient(180deg, transparent, var(--surface-2));
  margin-top: -40px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 36px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-100);
}

.trust-item {
  text-align: center;
  position: relative;
}

.trust-item + .trust-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--ink-100);
}

.trust-num {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(120deg, var(--teal-700), var(--cyan-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}

.trust-label {
  font-size: 0.875rem;
  color: var(--ink-500);
  font-weight: 500;
  margin-top: 4px;
}

/* ============================================
   Section primitives
   ============================================ */
.section {
  padding-block: 96px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.85rem, 3.3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.section-lede {
  font-size: 1.05rem;
  color: var(--ink-600);
  max-width: 620px;
}

.section-head {
  margin-bottom: 56px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head.center .section-lede {
  margin-inline: auto;
}

/* ============================================
   About
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--teal-100), #e0f2fe);
  aspect-ratio: 5 / 6;
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-svg {
  width: 100%;
  height: auto;
  display: block;
}

.media-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}

.media-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-900);
}

.media-badge span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-500);
}

.value-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-50), #ecfeff);
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--teal-100);
}

.value-item h3 {
  font-size: 1.075rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.value-item p {
  color: var(--ink-600);
  font-size: 0.95rem;
}

/* ============================================
   Services
   ============================================ */
.services {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  overflow: hidden;
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: -1;
  border-radius: inherit;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  opacity: 0.08;
  border-radius: 50%;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 26px 60px -28px rgba(11, 29, 34, 0.25);
}

.service-card:hover::after {
  opacity: 0.16;
  transform: scale(1.4);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.35s var(--ease);
}

.service-card:hover .service-icon {
  transform: scale(1.06) rotate(-4deg);
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.service-card p {
  color: var(--ink-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   Why us
   ============================================ */
.why {
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-list {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}

.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -4px rgba(13, 148, 136, 0.4);
}

.why-list strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink-900);
  margin-bottom: 4px;
}

.why-list p {
  color: var(--ink-600);
  font-size: 0.95rem;
}

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-card-1 {
  transform: translateY(-12px);
}

.why-card-3 {
  transform: translateY(12px);
}

.why-card:hover {
  transform: translateY(-12px);
}

.why-card-1:hover,
.why-card-3:hover {
  transform: translateY(-16px);
}

.why-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--ink-900);
}

.why-card p {
  font-size: 0.875rem;
  color: var(--ink-500);
}

/* ============================================
   Process
   ============================================ */
.process {
  background: linear-gradient(180deg, var(--surface-2), var(--bg));
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--teal-300) 0,
    var(--teal-300) 6px,
    transparent 6px,
    transparent 12px
  );
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--teal-500);
  color: var(--teal-700);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px -10px rgba(13, 148, 136, 0.5);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease);
}

.step:hover .step-num {
  background: linear-gradient(135deg, var(--teal-600), var(--cyan-600));
  color: #fff;
  transform: scale(1.08);
}

.step h3 {
  font-size: 1.075rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-600);
  font-size: 0.92rem;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
  background: var(--surface-2);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
  margin-bottom: 14px;
}

.testimonial blockquote {
  margin: 0 0 22px;
  font-size: 1.025rem;
  line-height: 1.6;
  color: var(--ink-800);
  font-family: var(--font-display);
  font-weight: 500;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial figcaption strong {
  display: block;
  color: var(--ink-900);
  font-size: 0.95rem;
}

.testimonial figcaption span {
  display: block;
  color: var(--ink-500);
  font-size: 0.825rem;
}

/* ============================================
   CTA banner
   ============================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-700), var(--cyan-700, #0e7490));
  color: #fff;
  isolation: isolate;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 18% 110%,
      rgba(45, 212, 191, 0.4),
      transparent 50%
    ),
    radial-gradient(circle at 85% -10%, rgba(56, 189, 248, 0.35), transparent 55%);
  z-index: -1;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  z-index: -1;
  mask-image: linear-gradient(180deg, transparent, black, transparent);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 72px;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 540px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* ============================================
   Coverage
   ============================================ */
.coverage {
  background: linear-gradient(180deg, var(--bg), var(--surface-2));
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.region-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.region-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.region-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 18px;
}

.region-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--teal-100);
}

.county-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.county-chips li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-700);
  background: var(--surface-2);
  border: 1px solid var(--ink-100);
  border-radius: 999px;
  padding: 6px 12px;
}

.coverage-note {
  text-align: center;
  margin-top: 36px;
  color: var(--ink-600);
  font-size: 1rem;
}

.coverage-note a {
  font-weight: 600;
}

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--teal-100);
}

.contact-list strong {
  display: block;
  color: var(--ink-900);
  margin-bottom: 2px;
  font-weight: 700;
}

.contact-list a,
.contact-list span {
  color: var(--ink-600);
  font-size: 0.975rem;
}

.contact-list a {
  display: inline-block;
  margin-right: 14px;
}

.contact-list a:hover {
  color: var(--teal-700);
}

/* offices */
.offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.office {
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-xs);
}

.office h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
}

.office h3 svg {
  color: var(--teal-600);
  flex-shrink: 0;
}

.office p {
  font-size: 0.92rem;
  color: var(--ink-600);
  line-height: 1.55;
}

.office-phones {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.office-phones a {
  font-weight: 600;
  color: var(--teal-700);
}

.office-phones a:hover {
  color: var(--teal-800);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.975rem;
  color: var(--ink-900);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.18);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-300);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%234b6772' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-note {
  font-size: 0.825rem;
  color: var(--ink-400);
  text-align: center;
  margin-top: 4px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.form-success p {
  margin: 0;
}

.form-error {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.form-error p {
  margin: 0;
}

.form-error a {
  color: #991b1b;
  font-weight: 600;
  text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, var(--ink-900), #061216);
  color: #cdd9dd;
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand p {
  color: #92a4ab;
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 320px;
}

.brand-footer .brand-name,
.brand-footer {
  color: #fff;
}

.brand-footer .brand-sub {
  color: #6f8990;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: #aebbc1;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact li {
  font-size: 0.95rem;
  color: #aebbc1;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cdd9dd;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.socials a:hover {
  background: var(--teal-600);
  color: #fff;
  border-color: var(--teal-600);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 22px;
  font-size: 0.875rem;
  color: #7e9097;
}

/* ============================================
   Floating call button
   ============================================ */
.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--cyan-600));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px -10px rgba(13, 148, 136, 0.55);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.floating-call::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--teal-400);
  animation: ring 2.4s ease-out infinite;
  opacity: 0;
}

@keyframes ring {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.floating-call:hover {
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================
   Reveal animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner,
  .about-grid,
  .why-grid,
  .contact-grid,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .hero {
    padding-bottom: 80px;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: 18px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .primary-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .primary-nav ul a {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .primary-nav ul a:hover {
    background: var(--surface-2);
  }

  .primary-nav ul a::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    margin-left: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .trust-item + .trust-item::before {
    display: none;
  }

  .section {
    padding-block: 72px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .steps::before {
    display: none;
  }

  .why-cards {
    grid-template-columns: 1fr 1fr;
  }

  .why-card-1,
  .why-card-3 {
    transform: none;
  }

  .why-card-1:hover,
  .why-card-3:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: 18px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero-art {
    max-width: 360px;
  }

  .float-b {
    display: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    padding: 24px;
  }

  .offices {
    grid-template-columns: 1fr;
  }

  .announcement-inner {
    font-size: 0.8rem;
  }

  .why-cards {
    grid-template-columns: 1fr;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    padding: 24px;
  }
}
