/* ============================================================
   SturdyCare Health Services — Homepage Stylesheet
   Child theme of Hello Elementor
   Enqueued only on front-page template
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --sc-navy:         #0C2461;
  --sc-navy-dark:    #091A47;
  --sc-navy-light:   #163A8A;
  --sc-navy-bg:      #EEF3FF;
  --sc-teal:         #00B4CC;
  --sc-teal-dark:    #0096AD;
  --sc-teal-light:   #E6F7FA;
  --sc-teal-faint:   rgba(0, 180, 204, 0.15);
  --sc-white:        #FFFFFF;
  --sc-off-white:    #F8FAFC;
  --sc-border:       #E2E8F0;
  --sc-text:         #1E293B;
  --sc-muted:        #64748B;
  --sc-amber:        #F59E0B;
  --sc-shadow-sm:    0 2px 8px rgba(12, 36, 97, 0.06);
  --sc-shadow-md:    0 4px 24px rgba(12, 36, 97, 0.10);
  --sc-shadow-lg:    0 8px 40px rgba(12, 36, 97, 0.15);
  --sc-radius-sm:    8px;
  --sc-radius-md:    12px;
  --sc-radius-lg:    16px;
  --sc-radius-pill:  100px;
  --sc-font-head:    'Poppins', sans-serif;
  --sc-font-body:    'Inter', sans-serif;
  --sc-transition:   all 0.22s ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sc-font-body);
  font-size: 1rem;
  color: var(--sc-text);
  background: var(--sc-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ============================================================
   HEADER
   Elementor / Hello Elementor canvas mode hides <header> globally.
   Force our custom header to always be visible.
   ============================================================ */
.sc-header {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: var(--sc-white) !important;
  box-shadow: var(--sc-shadow-sm) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9998 !important;
  width: 100%;
}

/* ---- Top Bar ---- */
.sc-topbar {
  background: var(--sc-navy);
  padding: 7px 20px;
  font-family: var(--sc-font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.sc-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.sc-topbar-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sc-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sc-topbar a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: var(--sc-transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sc-topbar a:hover {
  color: var(--sc-teal);
}

.sc-topbar-sep {
  color: rgba(255, 255, 255, 0.25);
}

/* ---- Main Nav Bar ---- */
.sc-nav-wrap {
  display: block !important;
  background: var(--sc-white) !important;
  padding: 0 20px !important;
}

.sc-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

/* ---- Logo ---- */
.sc-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.sc-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  display: block;
}

.sc-logo-text {
  font-family: var(--sc-font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--sc-navy);
  line-height: 1.2;
}

.sc-logo-text span {
  color: var(--sc-teal);
}

/* ---- Navigation ---- */
.sc-nav {
  display: flex;
  align-items: center;
}

.sc-nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sc-nav-menu > li {
  position: relative;
}

.sc-nav-menu > li > a {
  font-family: var(--sc-font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sc-navy);
  padding: 8px 14px;
  border-radius: var(--sc-radius-sm);
  display: block;
  transition: var(--sc-transition);
  white-space: nowrap;
}

.sc-nav-menu > li > a:hover {
  color: var(--sc-teal);
  background: var(--sc-teal-light);
}

/* CTA Nav Item */
.sc-nav-cta > a {
  background: var(--sc-teal) !important;
  color: var(--sc-white) !important;
  border-radius: var(--sc-radius-sm) !important;
  padding: 10px 20px !important;
  font-family: var(--sc-font-head) !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  transition: var(--sc-transition) !important;
}

.sc-nav-cta > a:hover {
  background: var(--sc-teal-dark) !important;
  color: var(--sc-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 180, 204, 0.35) !important;
}

/* Dropdown — supports both hardcoded (.sc-has-dropdown/.sc-dropdown)
   AND WordPress wp_nav_menu() generated (.menu-item-has-children/.sub-menu) */
.sc-has-dropdown,
.sc-nav-menu .menu-item-has-children {
  position: relative;
}

.sc-has-dropdown > a::after,
.sc-nav-menu .menu-item-has-children > a::after {
  content: ' ▾';
  font-size: 0.65rem;
  opacity: 0.6;
}

.sc-dropdown,
.sc-nav-menu .sub-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--sc-white);
  border-radius: var(--sc-radius-md);
  box-shadow: var(--sc-shadow-lg);
  border: 1px solid var(--sc-border);
  min-width: 220px;
  padding: 8px 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 9999;
  list-style: none;
  margin: 0;
}

.sc-has-dropdown:hover > .sc-dropdown,
.sc-has-dropdown:focus-within > .sc-dropdown,
.sc-nav-menu .menu-item-has-children:hover > .sub-menu,
.sc-nav-menu .menu-item-has-children:focus-within > .sub-menu {
  display: block !important;
}

.sc-dropdown li a,
.sc-nav-menu .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--sc-font-head);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--sc-navy);
  text-decoration: none;
  transition: var(--sc-transition);
}

.sc-dropdown li a:hover,
.sc-nav-menu .sub-menu li a:hover {
  background: var(--sc-teal-light);
  color: var(--sc-teal-dark);
  padding-left: 26px;
}

/* ---- Mobile Toggle ---- */
.sc-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--sc-radius-sm);
  transition: var(--sc-transition);
  flex-shrink: 0;
}

.sc-mobile-toggle:hover {
  background: var(--sc-teal-light);
}

.sc-mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--sc-navy);
  border-radius: 2px;
  transition: var(--sc-transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.sc-hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #091A47;
  display: flex;
  align-items: center;
}

.sc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 80% 15%, rgba(0,180,204,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 5% 90%, rgba(0,180,204,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.sc-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: block;
  padding: 90px 40px 80px;
  position: relative;
  z-index: 3;
}

.sc-hero-content {
  display: flex;
  flex-direction: column;
}

.sc-eyebrow {
  display: inline-block;
  color: var(--sc-teal);
  font-family: var(--sc-font-head);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  background: rgba(0, 180, 204, 0.15);
  padding: 5px 14px;
  border-radius: var(--sc-radius-pill);
  border: 1px solid rgba(0, 180, 204, 0.3);
  align-self: flex-start;
}

.sc-hero-h1 {
  font-family: var(--sc-font-head) !important;
  font-weight: 800 !important;
  font-size: clamp(2rem, 5vw, 3.4rem) !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
}

.sc-hero-sub {
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--sc-font-body) !important;
  font-size: 1.1rem !important;
  line-height: 1.75 !important;
  margin: 24px 0 36px;
}

.sc-hero-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Buttons */
.sc-btn {
  font-family: var(--sc-font-head);
  font-weight: 700;
  border-radius: 10px;
  padding: 14px 32px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--sc-transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 0.95rem;
  white-space: nowrap;
  line-height: 1;
}

.sc-btn-primary {
  background: var(--sc-teal);
  color: var(--sc-white);
  border-color: var(--sc-teal);
}

.sc-btn-primary:hover {
  background: var(--sc-teal-dark);
  border-color: var(--sc-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 204, 0.4);
  color: var(--sc-white);
}

.sc-btn-outline {
  background: transparent;
  color: var(--sc-white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.sc-btn-outline:hover {
  background: var(--sc-white);
  color: var(--sc-navy);
  border-color: var(--sc-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.sc-btn-white {
  background: var(--sc-white);
  color: var(--sc-navy);
  border-color: var(--sc-white);
}

.sc-btn-white:hover {
  background: var(--sc-teal-light);
  color: var(--sc-navy);
  border-color: var(--sc-teal-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.sc-btn-navy {
  background: var(--sc-navy);
  color: var(--sc-white);
  border-color: var(--sc-navy);
}

.sc-btn-navy:hover {
  background: var(--sc-navy-dark);
  border-color: var(--sc-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12, 36, 97, 0.4);
  color: var(--sc-white);
}

/* Trust Badges */
.sc-trust-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 32px;
}

.sc-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--sc-font-body);
  font-size: 0.83rem;
  font-weight: 500;
}

.sc-trust-badge .sc-check {
  width: 20px;
  height: 20px;
  background: var(--sc-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sc-trust-badge .sc-check svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: white;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero Image */
.sc-hero-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-hero-image {
  width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: cover;
  border-radius: var(--sc-radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.sc-hero-img-placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--sc-teal-light), rgba(0, 180, 204, 0.2));
  border-radius: var(--sc-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 2px dashed rgba(0, 180, 204, 0.4);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.sc-hero-img-placeholder svg {
  width: 72px;
  height: 72px;
  opacity: 0.45;
  color: var(--sc-navy);
}

.sc-hero-img-placeholder p {
  color: var(--sc-navy);
  font-family: var(--sc-font-head);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.55;
  text-align: center;
  padding: 0 20px;
}

/* ── HERO SLIDESHOW ENGINE ─────────────────────────────────────────── */
.sc-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sc-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  filter: brightness(1.15) saturate(1.10) contrast(1.04);
  transform: scale(1.04);
  transform-origin: center center;
}
.sc-slide.sc-slide-active {
  opacity: 1;
}
.sc-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    rgba(9, 26, 71, 0.93) 0%,
    rgba(12, 36, 97, 0.84) 35%,
    rgba(12, 36, 97, 0.52) 62%,
    rgba(12, 36, 97, 0.20) 100%
  );
}
.sc-slide-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}
.sc-dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.35s ease, background 0.35s ease;
  flex-shrink: 0;
}
.sc-dot.sc-dot-active {
  width: 28px;
  background: var(--sc-teal);
}
.sc-dot:hover {
  background: rgba(255,255,255,0.60);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.sc-stats-section {
  background: var(--sc-navy);
  padding: 48px 20px;
}

.sc-stats-inner {
  max-width: 1000px;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  text-align: center;
}

.sc-stat {
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sc-stat:last-child {
  border-right: none;
}

.sc-stat-number {
  font-family: var(--sc-font-head);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--sc-teal);
  display: block;
  line-height: 1;
}

.sc-stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--sc-font-body);
  font-size: 0.88rem;
  display: block;
  margin-top: 8px;
  line-height: 1.4;
}

.sc-stat-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0 4px;
}

/* ============================================================
   SECTION BASE STYLES
   ============================================================ */
.sc-section {
  padding: 80px 20px;
}

.sc-section-light {
  background: #F8FAFC;
}

.sc-section-white {
  background: var(--sc-white);
}

.sc-section-navy {
  background: linear-gradient(135deg, var(--sc-navy) 0%, #163A8A 100%);
}

.sc-section-navy-light {
  background: #EEF3FF;
}

.sc-section-off-white {
  background: #F8FAFC;
}

.sc-section-teal {
  background: linear-gradient(135deg, var(--sc-teal) 0%, var(--sc-teal-dark) 100%);
}

.sc-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sc-container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.sc-text-center {
  text-align: center;
}

/* Eyebrow Labels */
.sc-eyebrow-dark {
  display: block;
  color: var(--sc-teal);
  font-family: var(--sc-font-head);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
  margin-bottom: 12px;
}

.sc-eyebrow-light {
  display: block;
  color: var(--sc-teal);
  font-family: var(--sc-font-head);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
  margin-bottom: 12px;
  opacity: 0.9;
}

/* Section Headings */
.sc-section-h2 {
  font-family: var(--sc-font-head) !important;
  font-weight: 700 !important;
  color: var(--sc-navy) !important;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.sc-text-white {
  color: var(--sc-white) !important;
}

.sc-text-muted-white {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Section Intro */
.sc-section-intro {
  font-family: var(--sc-font-body);
  color: var(--sc-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

/* Section CTA */
.sc-section-cta {
  text-align: center;
  margin-top: 48px;
}

/* Funding / Note text */
.sc-funding-note {
  color: var(--sc-muted);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 16px;
  font-family: var(--sc-font-body);
  line-height: 1.6;
}

.sc-funding-note-light {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 16px;
  font-family: var(--sc-font-body);
  line-height: 1.6;
}

/* ============================================================
   CARD GRIDS
   ============================================================ */
.sc-card-grid {
  display: grid;
  gap: 24px;
}

.sc-card-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
}

.sc-card-grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
}

/* Light Card */
.sc-card {
  background: var(--sc-white);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-lg);
  padding: 32px 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sc-shadow-lg);
}

.sc-card h3 {
  font-family: var(--sc-font-head);
  font-weight: 700;
  color: var(--sc-navy);
  font-size: 1.08rem;
  margin: 16px 0 10px;
  line-height: 1.3;
}

.sc-card p {
  font-family: var(--sc-font-body);
  color: var(--sc-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
}

/* Card Icon */
.sc-card-icon {
  width: 56px;
  height: 56px;
  background: var(--sc-teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sc-teal);
}

.sc-card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dark Card (for navy sections) */
.sc-card-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--sc-radius-lg);
  padding: 32px 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  backdrop-filter: blur(4px);
}

.sc-card-dark:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.sc-card-dark h3 {
  font-family: var(--sc-font-head);
  font-weight: 700;
  color: var(--sc-white);
  font-size: 1.08rem;
  margin: 16px 0 10px;
  line-height: 1.3;
}

.sc-card-dark p {
  font-family: var(--sc-font-body);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
}

.sc-card-icon-dark {
  width: 56px;
  height: 56px;
  background: rgba(0, 180, 204, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sc-teal);
}

.sc-card-icon-dark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc-card-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Icon Circle (Why Choose Us) */
.sc-icon-circle {
  width: 64px;
  height: 64px;
  background: var(--sc-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  flex-shrink: 0;
  color: var(--sc-white);
}

.sc-icon-circle svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.sc-why-card {
  background: var(--sc-white);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sc-why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sc-shadow-lg);
}

.sc-why-card h3 {
  font-family: var(--sc-font-head);
  font-weight: 700;
  color: var(--sc-navy);
  font-size: 1.08rem;
  margin: 0 0 10px;
}

.sc-why-card p {
  font-family: var(--sc-font-body);
  color: var(--sc-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   COUNTY PILLS
   ============================================================ */
.sc-county-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 32px 0;
}

.sc-county-pill {
  border: 2px solid var(--sc-teal);
  color: var(--sc-navy);
  font-family: var(--sc-font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 28px;
  border-radius: var(--sc-radius-pill);
  background: var(--sc-white);
  transition: var(--sc-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sc-county-pill:hover {
  background: var(--sc-teal);
  color: var(--sc-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 180, 204, 0.3);
}

.sc-section-note {
  text-align: center;
  color: var(--sc-muted);
  font-size: 0.9rem;
  margin-top: 20px;
  font-family: var(--sc-font-body);
  line-height: 1.6;
}

.sc-section-note a {
  color: var(--sc-teal);
  text-decoration: none;
  font-weight: 600;
}

.sc-section-note a:hover {
  text-decoration: underline;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.sc-testi-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
}

.sc-testi {
  background: var(--sc-white);
  border-radius: var(--sc-radius-md);
  border-left: 5px solid var(--sc-teal);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(12, 36, 97, 0.08);
  transition: var(--sc-transition);
}

.sc-testi:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(12, 36, 97, 0.12);
}

.sc-testi-stars {
  color: var(--sc-amber);
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}

.sc-testi-quote {
  font-family: var(--sc-font-body);
  color: #1E293B;
  line-height: 1.8;
  font-style: italic;
  font-size: 0.97rem;
}

.sc-testi-name {
  font-family: var(--sc-font-head);
  font-weight: 700;
  color: var(--sc-navy);
  margin-top: 20px;
  display: block;
  font-size: 0.95rem;
}

.sc-testi-role {
  font-family: var(--sc-font-body);
  color: var(--sc-muted);
  font-size: 0.83rem;
  margin-top: 4px;
  display: block;
}

/* ============================================================
   REFERRAL CTA SECTION
   ============================================================ */
.sc-referral-section {
  background: linear-gradient(135deg, var(--sc-teal) 0%, var(--sc-teal-dark) 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sc-referral-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.sc-referral-section .sc-container-narrow {
  position: relative;
  z-index: 1;
}

/* ============================================================
   CONTACT INFO BAR
   ============================================================ */
.sc-contact-info-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-family: var(--sc-font-body);
}

.sc-contact-info-bar a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--sc-transition);
}

.sc-contact-info-bar a:hover {
  color: var(--sc-white);
}

.sc-contact-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   CONTACT CTA SECTION
   ============================================================ */
.sc-contact-cta-section {
  background: linear-gradient(135deg, var(--sc-navy) 0%, #163A8A 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sc-contact-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 180, 204, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.sc-contact-cta-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.sc-footer {
  background: var(--sc-navy);
  border-top: 4px solid var(--sc-teal);
}

.sc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding: 64px 20px 40px;
}

.sc-footer-col h4 {
  color: var(--sc-white);
  font-family: var(--sc-font-head);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 2px solid rgba(0, 180, 204, 0.3);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.sc-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sc-footer-col ul li {
  margin-bottom: 10px;
}

.sc-footer-col a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-family: var(--sc-font-body);
  font-size: 0.88rem;
  transition: var(--sc-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sc-footer-col a:hover {
  color: var(--sc-teal);
}

.sc-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--sc-font-body);
  font-size: 0.88rem;
  line-height: 1.5;
}

.sc-footer-contact-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--sc-teal);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc-footer-brand .sc-footer-desc {
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--sc-font-body);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 12px;
}

.sc-footer-tagline {
  color: var(--sc-teal);
  font-family: var(--sc-font-head);
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 8px;
  display: block;
}

.sc-footer-logo {
  height: 52px;
  width: 52px;
  object-fit: contain;
  margin-bottom: 6px;
  /* White logo on dark footer — uncomment if logo has transparent bg
  filter: brightness(0) invert(1); */
}

.sc-footer-logo-text {
  font-family: var(--sc-font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--sc-white);
  line-height: 1.2;
  margin-bottom: 4px;
}

.sc-footer-logo-text span {
  color: var(--sc-teal);
}

/* Footer Bottom Bar */
.sc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.sc-footer-bottom p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  font-family: var(--sc-font-body);
  margin: 0;
}

.sc-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.sc-footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.78rem;
  font-family: var(--sc-font-body);
  margin-left: 16px;
  transition: var(--sc-transition);
}

.sc-footer-bottom-links a:hover {
  color: var(--sc-white);
}

.sc-footer-credit {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  font-family: var(--sc-font-body);
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* ============================================================
   SCROLL-TRIGGERED ANIMATIONS (homepage)
   ============================================================ */
.sc-animate {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.sc-animate.sc-visible {
  opacity: 1;
  transform: none !important;
}
.sc-anim-fade-up   { transform: translateY(32px); }
.sc-anim-fade-left { transform: translateX(-36px); }
.sc-anim-fade-right{ transform: translateX(36px); }
.sc-anim-zoom      { transform: scale(0.94); }

.sc-anim-d1 { transition-delay: 0.10s; }
.sc-anim-d2 { transition-delay: 0.20s; }
.sc-anim-d3 { transition-delay: 0.30s; }
.sc-anim-d4 { transition-delay: 0.40s; }
.sc-anim-d5 { transition-delay: 0.50s; }
.sc-anim-d6 { transition-delay: 0.60s; }

/* Subtle continuous float for hero / feature images */
.sc-hero-img img,
.sc-about-img img {
  animation: sc-float 7s ease-in-out infinite;
}
@keyframes sc-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .sc-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .sc-hero-img img,
  .sc-about-img img {
    animation: none !important;
  }
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .sc-card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .sc-footer-brand {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {

  /* Nav */
  .sc-mobile-toggle {
    display: flex;
  }

  .sc-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sc-white);
    box-shadow: var(--sc-shadow-lg);
    padding: 16px 20px 24px;
    z-index: 9998;
    border-top: 2px solid var(--sc-teal-light);
  }

  .sc-nav.sc-nav-open {
    display: flex;
    flex-direction: column;
  }

  .sc-nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .sc-nav-menu > li > a {
    padding: 12px 16px;
    font-size: 0.97rem;
    border-radius: var(--sc-radius-sm);
  }

  .sc-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--sc-teal-light);
    border-radius: var(--sc-radius-sm);
    padding: 4px 0;
    margin-top: 4px;
    margin-left: 12px;
  }

  .sc-has-dropdown:hover .sc-dropdown {
    display: block;
  }

  .sc-dropdown li a {
    padding: 9px 16px;
    font-size: 0.85rem;
  }

  .sc-nav-cta {
    margin-top: 8px;
  }

  .sc-nav-wrap {
    padding: 0 20px;
    position: relative;
  }

  /* Hero */
  .sc-hero {
    min-height: auto;
  }

  .sc-hero-inner {
    padding: 60px 20px 52px;
    text-align: center;
  }

  .sc-hero-content {
    align-items: center;
  }

  .sc-eyebrow {
    align-self: center;
  }

  .sc-hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .sc-hero-btns .sc-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .sc-trust-badges {
    justify-content: center;
  }

  .sc-hero-image-wrap { display: none; }
  .sc-slide-dots { justify-content: center; }

  /* Stats */
  .sc-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .sc-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 16px;
  }

  .sc-stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sc-stat:last-child,
  .sc-stat:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  /* Cards */
  .sc-card-grid-3,
  .sc-card-grid-4 {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .sc-testi-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .sc-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px 32px;
  }

  .sc-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .sc-footer-bottom-links {
    justify-content: center;
  }

  .sc-footer-bottom-links a {
    margin-left: 8px;
    margin-right: 8px;
  }

  /* County Pills */
  .sc-county-pills {
    flex-direction: column;
    align-items: center;
  }

  /* Contact Btns */
  .sc-contact-cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .sc-contact-cta-btns .sc-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Section padding */
  .sc-section {
    padding: 56px 20px;
  }

  /* Top bar */
  .sc-topbar {
    display: none;
  }

  /* Stat number */
  .sc-stat-number {
    font-size: 2.2rem;
  }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .sc-hero-h1 {
    font-size: 1.9rem;
  }

  .sc-section-h2 {
    font-size: 1.65rem;
  }

  .sc-footer-inner {
    padding: 40px 16px 24px;
  }

  .sc-section {
    padding: 48px 16px;
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.sc-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sc-mt-8  { margin-top: 8px; }
.sc-mt-16 { margin-top: 16px; }
.sc-mt-24 { margin-top: 24px; }
.sc-mt-32 { margin-top: 32px; }
.sc-mt-48 { margin-top: 48px; }
.sc-mb-8  { margin-bottom: 8px; }
.sc-mb-16 { margin-bottom: 16px; }
.sc-mb-24 { margin-bottom: 24px; }
.sc-mb-32 { margin-bottom: 32px; }
