/* =====================================================
   IDEAL4CARE — Pure CSS Design System
   Healthcare Staffing Agency · Shropshire
   ===================================================== */

/* ---------- CSS Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; }

/* ---------- Design Tokens (Light Mode) ---------- */
:root {
  --primary-h: 175;
  --primary-s: 65%;
  --primary-l: 32%;
  --primary: hsl(175, 65%, 32%);
  --primary-fg: hsl(0, 0%, 100%);
  --primary-glow: hsl(175, 50%, 45%);
  --primary-dark: hsl(175, 70%, 22%);
  --primary-10: hsla(175, 65%, 32%, 0.1);
  --primary-05: hsla(175, 65%, 32%, 0.05);

  --accent: hsl(150, 40%, 55%);
  --accent-fg: hsl(175, 55%, 14%);

  --bg: hsl(160, 15%, 98%);
  --fg: hsl(180, 25%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-fg: hsl(180, 25%, 15%);
  --muted: hsl(165, 12%, 95%);
  --muted-fg: hsl(170, 8%, 46%);
  --secondary: hsl(155, 30%, 94%);
  --secondary-fg: hsl(175, 50%, 18%);
  --border: hsl(170, 15%, 90%);
  --input-border: hsl(170, 12%, 85%);
  --ring: hsl(175, 65%, 32%);

  --destructive: hsl(0, 72%, 51%);
  --success: hsl(152, 60%, 42%);

  --shadow-card: 0 2px 12px hsla(175, 30%, 30%, 0.06);
  --shadow-card-hover: 0 8px 30px hsla(175, 30%, 30%, 0.12);
  --shadow-lg: 0 10px 30px -8px hsla(175, 30%, 30%, 0.1);
  --shadow-xl: 0 20px 50px -12px hsla(175, 30%, 30%, 0.15);
  --shadow-glow: 0 0 30px hsla(175, 50%, 45%, 0.2);

  --radius: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;

  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Dark Mode ---------- */
.dark {
  --primary: hsl(175, 55%, 45%);
  --primary-glow: hsl(175, 45%, 55%);
  --primary-dark: hsl(175, 60%, 30%);
  --primary-10: hsla(175, 55%, 45%, 0.12);
  --primary-05: hsla(175, 55%, 45%, 0.06);
  --accent: hsl(150, 35%, 40%);
  --bg: hsl(180, 15%, 6%);
  --fg: hsl(165, 10%, 92%);
  --card: hsl(175, 12%, 10%);
  --card-fg: hsl(165, 10%, 92%);
  --muted: hsl(170, 10%, 15%);
  --muted-fg: hsl(170, 8%, 55%);
  --secondary: hsl(170, 15%, 14%);
  --secondary-fg: hsl(165, 20%, 85%);
  --border: hsl(170, 10%, 18%);
  --input-border: hsl(170, 10%, 22%);
  --ring: hsl(175, 55%, 45%);
  --shadow-card: 0 2px 12px hsla(0, 0%, 0%, 0.2);
  --shadow-card-hover: 0 8px 30px hsla(0, 0%, 0%, 0.3);
  --shadow-lg: 0 10px 30px -8px hsla(0, 0%, 0%, 0.25);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
}

::selection {
  background: var(--primary-10);
  color: var(--fg);
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }


/* ======================================================
   NAVBAR
   ====================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: hsla(0, 0%, 100%, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid hsla(170, 15%, 90%, 0.3);
  box-shadow: var(--shadow-card);
}

.dark .navbar.scrolled {
  background: hsla(175, 12%, 10%, 0.85);
  border-bottom-color: hsla(170, 10%, 18%, 0.3);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  border: none;
  background: none;
}

.navbar__logo {
  height: 3rem;
  width: auto;
  border-radius: 0.375rem;
  transition: transform var(--transition-smooth);
}

.navbar__brand:hover .navbar__logo { transform: scale(1.05); }

.navbar__brand-text {
  display: none;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}

@media (min-width: 640px) { .navbar__brand-text { display: block; } }

/* Desktop nav links */
.navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) { .navbar__links { display: flex; } }

.navbar__link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-fg);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0;
  transition: color var(--transition-smooth);
}

.navbar__link:hover,
.navbar__link.active { color: var(--primary); }

.navbar__link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  animation: nav-underline 0.3s ease-out;
}

@keyframes nav-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Theme toggle */
.theme-toggle {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--primary-10);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-smooth);
  color: var(--muted-fg);
}

.theme-toggle:hover { background: var(--primary-05); }
.theme-toggle svg { width: 1.125rem; height: 1.125rem; }

/* Mobile controls */
.navbar__mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) { .navbar__mobile-controls { display: none; } }

.navbar__hamburger {
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  transition: background var(--transition-smooth);
}

.navbar__hamburger:hover { background: var(--primary-05); }
.navbar__hamburger svg { width: 1.25rem; height: 1.25rem; }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: hsla(0, 0%, 100%, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  padding: 1.5rem 1rem;
  animation: slide-down 0.3s ease-out;
}

.dark .mobile-menu { background: hsla(175, 12%, 10%, 0.92); }

.mobile-menu.open { display: block; }

@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

.mobile-menu__link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-fg);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  color: var(--primary);
  background: var(--primary-05);
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ======================================================
   BUTTONS
   ====================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }

/* Sizes */
.btn--sm { height: 2rem; padding: 0 0.75rem; font-size: 0.75rem; border-radius: 0.375rem; }
.btn--md { height: 2.5rem; padding: 0 1.25rem; }
.btn--lg { height: 3rem; padding: 0 2rem; font-size: 0.9375rem; }
.btn--xl { height: 3.5rem; padding: 0 2.5rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn--full { width: 100%; }

/* Variants */
.btn--primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: 0 4px 12px hsla(175, 65%, 32%, 0.25);
}
.btn--primary:hover { opacity: 0.9; box-shadow: 0 6px 20px hsla(175, 65%, 32%, 0.3); transform: scale(1.02); }
.btn--primary:active { transform: scale(0.98); }

.btn--hero {
  background: var(--primary-fg);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 4px 16px hsla(0, 0%, 100%, 0.25);
}
.btn--hero:hover { box-shadow: 0 8px 28px hsla(0, 0%, 100%, 0.3); transform: scale(1.02); }
.btn--hero:active { transform: scale(0.98); }

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover { background: var(--primary); color: var(--primary-fg); }

.btn--outline-light {
  background: transparent;
  color: var(--primary-fg);
  border: 2px solid hsla(0, 0%, 100%, 0.3);
}
.btn--outline-light:hover { background: hsla(0, 0%, 100%, 0.1); border-color: hsla(0, 0%, 100%, 0.5); }

.btn--secondary {
  background: var(--secondary);
  color: var(--secondary-fg);
}
.btn--secondary:hover { opacity: 0.85; }

.btn--phone {
  background: var(--primary);
  color: var(--primary-fg);
  font-weight: 700;
  box-shadow: 0 4px 12px hsla(175, 65%, 32%, 0.3);
}
.btn--phone:hover { transform: scale(1.02); box-shadow: 0 6px 20px hsla(175, 65%, 32%, 0.35); }


/* ======================================================
   CARDS
   ====================================================== */
.card {
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.card:hover { box-shadow: var(--shadow-card-hover); }
.card--elevated { box-shadow: var(--shadow-lg); }
.card--clickable:hover { transform: translateY(-2px); }

.card__body { padding: 1.5rem; }
.card__body--lg { padding: 2rem; }


/* ======================================================
   BADGE
   ====================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid;
}

.badge--primary {
  background: var(--primary-05);
  color: var(--primary);
  border-color: var(--primary-10);
}

.badge--light {
  background: hsla(0, 0%, 100%, 0.15);
  color: var(--primary-fg);
  border-color: hsla(0, 0%, 100%, 0.2);
}

.badge--solid {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: transparent;
}

.badge--secondary {
  background: var(--secondary);
  color: var(--secondary-fg);
  border-color: transparent;
  font-size: 0.6875rem;
}


/* ======================================================
   FORM ELEMENTS
   ====================================================== */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  background: var(--card);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  color: var(--fg);
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted-fg); opacity: 0.6; }

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px hsla(175, 65%, 32%, 0.1);
}

.form-textarea { resize: none; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }


/* ======================================================
   SECTION LAYOUTS
   ====================================================== */
.section { padding: 5rem 0; }
.section--lg { padding: 7rem 0; }
.section--sm { padding: 4rem 0; }

.section--alt {
  background: linear-gradient(180deg, var(--bg), hsl(165, 18%, 96%));
}

.dark .section--alt {
  background: linear-gradient(180deg, var(--bg), hsl(175, 12%, 8%));
}

.section--mint {
  background: linear-gradient(180deg, hsl(155, 28%, 95%), hsl(160, 22%, 97%));
}

.dark .section--mint {
  background: linear-gradient(180deg, hsl(170, 12%, 8%), hsl(175, 10%, 7%));
}

.section--primary { background: var(--primary); }

/* Section heading */
.section-heading {
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading--left {
  text-align: left;
  margin-left: 0;
  margin-bottom: 2rem;
}

.section-heading__badge { margin-bottom: 1rem; }

.section-heading__title {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 0;
}

@media (min-width: 640px) { .section-heading__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-heading__title { font-size: 2.75rem; } }

.section-heading__title--light { color: var(--primary-fg); }

.section-heading__subtitle {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted-fg);
  line-height: 1.625;
}

@media (min-width: 768px) { .section-heading__subtitle { font-size: 1.125rem; } }

.section-heading__subtitle--light { color: hsla(0, 0%, 100%, 0.7); }

/* Grids */
.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.grid--2-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .grid--2-cols { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* Icon box */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: var(--primary-10);
}

.icon-box--sm { width: 2.5rem; height: 2.5rem; }
.icon-box--md { width: 3rem; height: 3rem; }
.icon-box--lg { width: 3.5rem; height: 3.5rem; }
.icon-box--round { border-radius: 50%; }

.icon-box svg { color: var(--primary); }
.icon-box--sm svg { width: 1rem; height: 1rem; }
.icon-box--md svg { width: 1.25rem; height: 1.25rem; }
.icon-box--lg svg { width: 1.5rem; height: 1.5rem; }

/* Image styling */
.img-rounded {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.img-rounded--top { object-position: top; }
.img-rounded--center { object-position: center; }

.aspect-4-3 { aspect-ratio: 4 / 3; }


/* ======================================================
   HERO SECTION
   ====================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    hsla(175, 65%, 22%, 0.88) 0%,
    hsla(175, 55%, 28%, 0.82) 40%,
    hsla(160, 45%, 35%, 0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 10;
  padding: 8rem 0 5rem;
  max-width: 40rem;
}

.hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-fg);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) { .hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3.75rem; } }

.hero__title em { font-style: italic; }

.hero__subtitle {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: hsla(0, 0%, 100%, 0.8);
  line-height: 1.625;
  max-width: 36rem;
}

@media (min-width: 768px) { .hero__subtitle { font-size: 1.125rem; } }

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) { .hero__actions { flex-direction: row; } }

.hero__trust {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.6);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__trust-item svg { width: 1rem; height: 1rem; color: var(--accent); }

.hero__wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}

.hero__wave svg { width: 100%; display: block; }

/* Mini hero (section banners) */
.hero--mini {
  min-height: auto;
  padding: 5rem 0;
}

.hero--mini .hero__title { font-size: 1.875rem; }
@media (min-width: 640px) { .hero--mini .hero__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero--mini .hero__title { font-size: 3rem; } }


/* ======================================================
   STAT CARDS
   ====================================================== */
.stat-card { text-align: center; padding: 1.5rem; }
.stat-card__value {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 768px) { .stat-card__value { font-size: 2.25rem; } }

.stat-card__label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}


/* ======================================================
   SERVICE CARDS
   ====================================================== */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-card__img-wrap {
  position: relative;
  height: 14rem;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.service-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__img { transform: scale(1.05); }

.service-card__badge-wrap { position: absolute; top: 1rem; left: 1rem; }

.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.service-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.625;
  margin-bottom: 1rem;
}

.service-card__caps {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--fg);
  opacity: 0.7;
}

.check-item svg { width: 0.75rem; height: 0.75rem; color: var(--primary); flex-shrink: 0; }
.check-item--md { font-size: 0.875rem; gap: 0.625rem; }
.check-item--md svg { width: 1rem; height: 1rem; margin-top: 2px; }


/* ======================================================
   FEATURE ROWS
   ====================================================== */
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  transition: background var(--transition-smooth);
}

.feature-row:hover { background: hsla(155, 30%, 94%, 0.5); }
.dark .feature-row:hover { background: hsla(170, 15%, 14%, 0.5); }

.feature-row__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.feature-row__desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.625;
}


/* ======================================================
   FLOATING OVERLAY CARD
   ====================================================== */
.floating-card {
  position: absolute;
  background: hsla(0, 0%, 100%, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid hsla(170, 15%, 90%, 0.3);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.dark .floating-card {
  background: hsla(175, 12%, 10%, 0.85);
  border-color: hsla(170, 10%, 18%, 0.3);
}

.floating-card--br { bottom: -1.5rem; right: 2rem; }
.floating-card--bl { bottom: -1rem; left: 2rem; }

.floating-card__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}

.floating-card__subtitle {
  font-size: 0.75rem;
  color: var(--muted-fg);
}


/* ======================================================
   TESTIMONIAL CARDS
   ====================================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.stars svg { width: 1rem; height: 1rem; color: var(--primary); fill: var(--primary); }

.testimonial-card__quote {
  font-size: 0.875rem;
  color: var(--fg);
  opacity: 0.8;
  line-height: 1.625;
  font-style: italic;
  flex: 1;
}

.testimonial-card__author {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--muted-fg);
}


/* ======================================================
   COVERAGE TAGS
   ====================================================== */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) { .coverage-grid { grid-template-columns: repeat(4, 1fr); } }

.coverage-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: hsla(0, 0%, 100%, 0.1);
  border: 1px solid hsla(0, 0%, 100%, 0.1);
}

.coverage-tag svg { width: 0.875rem; height: 0.875rem; color: var(--accent); }

.coverage-tag span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-fg);
}

/* Town cards (solid bg, for about section) */
.town-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 1px 4px hsla(175, 30%, 30%, 0.04);
}

.town-card svg { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; }
.town-card__name { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.town-card__label { font-size: 0.75rem; color: var(--muted-fg); }


/* ======================================================
   DARK OVERLAY SECTIONS
   ====================================================== */
.overlay-section {
  position: relative;
  overflow: hidden;
}

.overlay-section__bg {
  position: absolute;
  inset: 0;
}

.overlay-section__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.overlay-section__dim {
  position: absolute;
  inset: 0;
  background: hsla(180, 25%, 15%, 0.8);
}

.overlay-section__content { position: relative; z-index: 10; }


/* ======================================================
   ROLE CARDS (Careers)
   ====================================================== */
.role-card { display: flex; flex-direction: column; }

.role-card__header-wrap {
  padding: 0.375rem;
}

.role-card__header {
  background: var(--primary-05);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.role-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-top: 0.75rem;
}

.role-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.role-card__body {
  padding: 1.25rem;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.role-card__label {
  font-size: 0.6875rem;
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.role-card__reqs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.role-card__action { margin-top: 1rem; }


/* ======================================================
   IMAGE BREAK
   ====================================================== */
.image-break {
  display: grid;
  grid-template-columns: 1fr;
  height: 35vh;
}

@media (min-width: 768px) {
  .image-break { grid-template-columns: 1fr 1fr; height: 45vh; }
}

.image-break__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}


/* ======================================================
   CONTACT CARDS
   ====================================================== */
.contact-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  text-align: left;
}

.contact-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}

.contact-card__desc {
  font-size: 0.75rem;
  color: var(--muted-fg);
  margin-top: 0.125rem;
  margin-bottom: 0.5rem;
}

.contact-card__value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  flex: 1;
}

.contact-card__action { margin-top: 0.75rem; }


/* ======================================================
   FORM TYPE TOGGLE
   ====================================================== */
.form-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}


/* ======================================================
   INFO BOX
   ====================================================== */
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: hsla(155, 30%, 94%, 0.5);
}

.dark .info-box { background: hsla(170, 15%, 14%, 0.5); }

.info-box__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}

.info-box__desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.info-box__desc a {
  color: var(--primary);
  font-weight: 500;
}


/* ======================================================
   PROCESS STEPS
   ====================================================== */
.step { text-align: center; }

.step__number {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: var(--primary-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.step__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.step__desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.625;
}


/* ======================================================
   CTA CARD
   ====================================================== */
.cta-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

.cta-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.cta-card__desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.625;
  margin-bottom: 0.75rem;
}


/* ======================================================
   FOOTER
   ====================================================== */
.footer {
  background: var(--fg);
  color: var(--primary-fg);
}

.dark .footer {
  background: var(--card);
  color: var(--fg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 0 2rem;
}

@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }

.footer__desc {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.625;
  margin: 1.25rem 0;
}

.footer__heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.7;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  transition: opacity var(--transition-smooth);
}

.footer__link:hover { opacity: 1; }
.footer__link svg { width: 0.75rem; height: 0.75rem; transition: transform var(--transition-smooth); }
.footer__link:hover svg { transform: translateX(2px); }

.footer__links { display: flex; flex-direction: column; gap: 0.75rem; }

.footer__separator {
  height: 1px;
  background: hsla(0, 0%, 100%, 0.1);
  border: none;
  margin: 0;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  font-size: 0.75rem;
  opacity: 0.5;
}

@media (min-width: 640px) { .footer__bottom { flex-direction: row; } }

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal span { cursor: pointer; transition: opacity 0.2s; }
.footer__legal span:hover { opacity: 0.8; }


/* ======================================================
   TOAST NOTIFICATION
   ====================================================== */
.toast {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: var(--card);
  color: var(--fg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--success);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}


/* ======================================================
   SCROLL ANIMATIONS
   ====================================================== */
.anim {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.anim--left { transform: translateX(-32px); }
.anim--right { transform: translateX(32px); }
.anim--scale { transform: scale(0.95); }

.anim.in-view {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.stagger.in-view > *:nth-child(1) { transition-delay: 0s; }
.stagger.in-view > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.in-view > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.in-view > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.in-view > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.in-view > *:nth-child(6) { transition-delay: 0.5s; }
.stagger.in-view > *:nth-child(7) { transition-delay: 0.6s; }
.stagger.in-view > *:nth-child(8) { transition-delay: 0.7s; }
.stagger.in-view > *:nth-child(9) { transition-delay: 0.8s; }
.stagger.in-view > *:nth-child(10) { transition-delay: 0.9s; }
.stagger.in-view > * { opacity: 1; transform: translateY(0); }


/* ======================================================
   UTILITIES
   ====================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1.5rem; }
.relative { position: relative; }
.hidden-mobile { display: none; }

@media (min-width: 768px) { .hidden-mobile { display: block; } }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.w-full { width: 100%; }
.shrink-0 { flex-shrink: 0; }

/* Map iframe */
.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 300px;
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }
