/* =============================================================================
   CARSON COLD STORAGE — HOME PAGE STYLES  (index.html only)
   ============================================================================= */


/* -----------------------------------------------------------------------------
   1. HERO
----------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: clamp(350px, 38vw, 450px);
  overflow: hidden;
  background: var(--color-navy);
}

/* Full-bleed background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;


  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-bg video { object-position: center 30%; }
.hero-bg img   { object-position: center right; }

/* Video fade-in — pure CSS, no JS events needed.
   Poster image shows instantly; video fades in after a short delay.
   The delay gives the browser time to start buffering before revealing. */
.hero-bg video {
  opacity: 0;
  animation: videoFadeIn 1.4s ease 0.8s forwards;
}

@keyframes videoFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Reduced motion — skip animation, show immediately */
@media (prefers-reduced-motion: reduce) {
  .hero-bg video {
    opacity: 1;
    animation: none;
  }
}

/* Diagonal overlay: solid navy left → transparent right */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(11, 28, 54, 0.68) 0%,
    rgba(11, 28, 54, 0.68) 30%,
    rgba(11, 28, 54, 0.60) 42%,
    rgba(11, 28, 54, 0.35) 55%,
    rgba(11, 28, 54, 0.10) 68%,
    rgba(11, 28, 54, 0.00) 80%
  );
}

/* Content layer */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 20px var(--container-pad) 44px;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text {
  flex: 0 1 clamp(300px, 48vw, 520px);
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 20px;
}

/* Heading */
.hero-heading {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  margin-bottom: clamp(6px, 1vh, 14px);
}

.hero-heading-white,
.hero-heading-teal {
  font-size: clamp(26px, 3.8vw, 48px);
  font-weight: 900;
  font-family: 'Montserrat', 'Inter', sans-serif;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.hero-heading-white { color: var(--color-white); }
.hero-heading-teal  { color: var(--color-teal); }

/* Body copy */
.hero-body {
  font-size: clamp(14px, 1.2vw, 14px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: clamp(12px, 1.8vh, 22px);
  max-width: clamp(240px, 32vw, 320px);
}

/* CTA button */
.hero-cta {
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}

.hero-tagline {
  font-size: var(--text-base);
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  margin: 6px 0 0;
  letter-spacing: 0.3px;
}

/* Accolade badge — positioned far right */
.hero-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(11, 28, 54, 0.82);
  border: 2px solid rgba(76, 201, 240, 0.40);
  border-radius: 14px;
  padding: 18px 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
  width: 210px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color var(--t-med);
}

.hero-badge:hover .hero-badge-inner {
  border-color: rgba(255, 140, 0, 0.70);
}

/* Canvas — sits behind badge text */
#orange-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Keep all badge content above canvas */
.hero-badge-inner > *:not(#orange-canvas) {
  position: relative;
  z-index: 1;
}

/* Citrus icon — large orange emoji replacing old trophy */
.hero-badge-citrus-icon {
  font-size: var(--text-xl);
  line-height: 1;
  margin-bottom: 2px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.50));
}

.hero-badge-rank {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-teal);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 2px;
}

/* "CITRUS REPACKER" — primary descriptor */
.hero-badge-line1 {
  font-size: var(--text-xs);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

/* "WEST COAST" — secondary */
.hero-badge-line2 {
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.60);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2px;
}

.hero-badge-divider {
  width: 100%;
  height: 1px;
  background: rgba(76, 201, 240, 0.30);
  margin: 8px 0 8px;
}

/* Mini stats row: 14 Baggers · ~8mi Port Direct */
.hero-badge-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  justify-content: center;
}

.hero-badge-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 2px;
}

.hero-badge-stat-num {
  font-size: var(--text-md);
  font-weight: 900;
  color: var(--color-teal);
  line-height: 1;
  white-space: nowrap;
}

.hero-badge-stat-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.hero-badge-stat-sep {
  width: 1px;
  height: 28px;
  background: rgba(76, 201, 240, 0.25);
  flex-shrink: 0;
  margin: 0 4px;
}

/* "🏆 3rd Party Open" bottom tag */
.hero-badge-trophy {
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.4px;
  margin-top: 6px;
  white-space: nowrap;
}

/* Hours & Contact card — replaces citrus badge on home hero */
.hero-hours-card {
  align-items: flex-start !important;
  width: 210px;
  gap: 0 !important;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
}

.hero-hours-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
}

.hero-hours-card-divider {
  width: 100%;
  height: 1px;
  background: rgba(76, 201, 240, 0.30);
  margin: 8px 0;
}

.hero-hours-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  margin-bottom: 4px;
}

.hero-hours-card-day {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.hero-hours-card-time {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
  white-space: nowrap;
}

.hero-hours-card-time--sm {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
}

.hero-hours-card-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-teal);
  background: rgba(76,201,240,0.12);
  border: 1px solid rgba(76,201,240,0.30);
  border-radius: 4px;
  padding: 1px 7px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.hero-hours-card-badge--appt {
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}

.hero-hours-card-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-md);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.3px;
  margin-top: 4px;
  transition: color var(--t-med);
  white-space: nowrap;
}

.hero-hours-card-phone--email {
  font-size: 12px;
  margin-top: 2px;
}

.hero-hours-card-phone:hover {
  color: var(--color-teal);
}

/* ── Frost sheen on hover — rebuilt ── */
.hero-hours-card-hover-overlay {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
  /* layered frost: diagonal shimmer + icy top edge + overall tint */
  background:
    linear-gradient(105deg,
      transparent 0%,
      rgba(200, 240, 255, 0.22) 45%,
      rgba(220, 248, 255, 0.35) 50%,
      rgba(200, 240, 255, 0.22) 55%,
      transparent 100%),
    linear-gradient(to bottom,
      rgba(190, 235, 255, 0.30) 0%,
      rgba(190, 235, 255, 0.08) 40%,
      rgba(190, 235, 255, 0.00) 100%);
  /* jagged ice crystal edge at the top */
  -webkit-mask-image: none;
}

/* jagged ice top edge via ::before */
.hero-hours-card-hover-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 22px;
  background: rgba(210, 248, 255, 0.55);
  clip-path: polygon(
    0% 100%, 3% 35%, 7% 65%, 11% 10%, 15% 50%,
    19% 5%,  23% 45%, 27% 18%, 31% 60%, 35% 8%,
    39% 42%, 43% 0%,  47% 38%, 51% 12%, 55% 55%,
    59% 4%,  63% 42%, 67% 18%, 71% 58%, 75% 8%,
    79% 46%, 83% 0%,  87% 38%, 91% 12%, 95% 52%,
    98% 28%, 100% 45%, 100% 100%
  );
}

/* shimmer line sweep via ::after */
.hero-hours-card-hover-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.7s ease 0.1s;
}

/* triggered by JS class .frost-active on the card */
.hero-hours-card.frost-active .hero-hours-card-hover-overlay {
  opacity: 1;
}

.hero-hours-card.frost-active .hero-hours-card-hover-overlay::after {
  transform: translateX(120%);
}

/* Hours bar — pinned to bottom of hero */
.hero-hours-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42px;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  z-index: 3;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
}

.hero-hours-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
}

.hero-hours-bar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4CC9F0;
  box-shadow: 0 0 0 2px rgba(76, 201, 240, 0.25);
  flex-shrink: 0;
  animation: pulse-green 2s ease-in-out infinite;
}

.hero-hours-bar-dot.closed {
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
  animation: none;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 2px rgba(76, 201, 240, 0.25); }
  50%       { box-shadow: 0 0 0 5px rgba(76, 201, 240, 0.08); }
}

/* Status block — matches contact strip layout */
.hero-hours-bar-status-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
}

.hero-hours-bar-status-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1;
}

.hero-hours-bar-status-value {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-hours-bar-status {
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.2px;
}

.hero-hours-bar-status.closed { color: #ef4444; }

.hero-hours-bar-sep {
  color: rgba(255, 255, 255, 0.20);
  font-size: 12px;
  flex-shrink: 0;
}

.hero-hours-bar-icon {
  color: var(--color-teal);
  font-size: 12px;
  flex-shrink: 0;
}

.hero-hours-bar-item {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.65);
}

.hero-hours-bar-item strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.hero-hours-bar-item em {
  font-style: normal;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-teal);
  opacity: 0.80;
  letter-spacing: 0.3px;
}

.hero-hours-bar-closed { color: rgba(239, 68, 68, 0.75); }

.hero-hours-bar-cta {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 4px 12px;
  border: 1px solid rgba(76, 201, 240, 0.30);
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}

.hero-hours-bar-cta:hover {
  background: rgba(76, 201, 240, 0.12);
  border-color: rgba(76, 201, 240, 0.55);
}


/* -----------------------------------------------------------------------------
   2. IMPORTER STRIP — 3 column
----------------------------------------------------------------------------- */
.citrus-strip {
  background: linear-gradient(135deg, rgba(76,201,240,0.10) 0%, rgba(76,201,240,0.17) 100%);
  border-top: 1px solid rgba(11,28,54,0.07);
  border-bottom: 1px solid rgba(11,28,54,0.07);
  padding: 14px 0 12px;
  text-align: center;
}

.importer-strip-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 4px;
}

.importer-strip-heading {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin: 0 0 18px;
}

/* 3 columns */
.importer-strip-cols {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

/* Each column */
.importer-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

/* Icon circle */
.importer-col-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-teal);
  margin-bottom: 8px;
  box-shadow: 0 4px 16px rgba(11,28,54,0.15);
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}

.importer-col:hover .importer-col-icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(11,28,54,0.22);
}

/* Big stat number */
.importer-col-stat {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 3px;
  letter-spacing: -0.5px;
}

/* Title under stat */
.importer-col-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 5px;
}

/* Description */
.importer-col-desc {
  font-size: var(--text-sm);
  color: var(--color-gray-text);
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

/* Vertical divider between columns */
.importer-col-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(11,28,54,0.12);
  flex-shrink: 0;
  margin: 8px 0;
}

/* Responsive — stack on mobile */
@media (max-width: 768px) {
  .importer-strip-cols {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .importer-col-divider {
    width: 60px;
    height: 1px;
    align-self: center;
    margin: 0;
  }

  .importer-col { padding: 0 20px; }
}


/* -----------------------------------------------------------------------------
   3. STATS BAR
----------------------------------------------------------------------------- */
.stats {
  background: #fff;
  padding: 0;
  border-top: none;
  border-bottom: none;
}

.stats .container {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 20px 40px;
  width: 100%;
}

.stats-grid {
  display: flex;
  align-items: center;
}

/* Each stat block: number on top, icon+label row below */
.stat-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  gap: 5px;
  cursor: default;
}

.stat-number,
.stat-number--lg,
.stat-number--accolade {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  color: var(--color-teal, #4CC9F0);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: -0.5px;
}

/* icon + label side-by-side row */
.stat-middle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.stat-icon {
  font-size: 13px;
  color: var(--color-navy, #0B1C36);
  flex-shrink: 0;
}

.stat-label {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-navy, #0B1C36);
  line-height: 1.3;
  text-align: left;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.stat-item--accolade .stat-label {
  font-size: var(--text-base);
  line-height: 1.3;
  text-align: left;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(11,28,54,0.13);
  flex-shrink: 0;
  align-self: center;
}


/* -----------------------------------------------------------------------------
   4. SERVICE CARDS
----------------------------------------------------------------------------- */
.svc-cards-section {
  background: var(--color-white);
  padding: 0;
}

.svc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  padding-top: 28px;
  align-items: stretch;
}

/* Card shell (used as <a>) */
.svc-card {
  background: var(--color-navy);
  border: 1px solid rgba(76, 201, 240, 0.15);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(11, 28, 54, 0.30);
  border-color: rgba(76, 201, 240, 0.55);
}

/* Photo header */
.svc-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}



.svc-card-top--repack { background: url('../images/hero-poms.jpg')         center center / cover no-repeat; }
.svc-card-top--cold   { background: url('../images/hero-cold-storage.jpg') center 40%    / cover no-repeat; }
.svc-card-top--cross  { background: url('../images/hero-cross-dock.jpg')   center center / cover no-repeat; }

/* Permanent dark gradient overlay — photo always visible, text stays readable */
.svc-card-top--repack::before,
.svc-card-top--cold::before,
.svc-card-top--cross::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 28, 54, 0.45) 0%,
    rgba(11, 28, 54, 0.20) 50%,
    rgba(11, 28, 54, 0.60) 100%
  );
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

/* Slightly deepen overlay on hover for contrast */
.svc-card:hover .svc-card-top--repack::before,
.svc-card:hover .svc-card-top--cold::before,
.svc-card:hover .svc-card-top--cross::before {
  opacity: 0.75;
}

/* Remove unused ::after pseudo-elements */
.svc-card-top--repack::after,
.svc-card-top--cold::after,
.svc-card-top--cross::after { content: none; }

/* "View Service →" permanent badge — bottom right of card photo */
.svc-card-view-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--color-teal);
  color: var(--color-navy);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 11px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  transition: background var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}

.svc-card:hover .svc-card-view-btn {
  background: #fff;
  transform: translateY(-2px);
}

.svc-card-view-btn i {
  font-size: 8px;
  transition: transform var(--t-fast);
}

.svc-card:hover .svc-card-view-btn i {
  transform: translateX(3px);
}

/* Badge — upper area */
.svc-card-badge {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 28, 54, 0.60);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 8px 14px 8px 9px;
  backdrop-filter: blur(4px);
  align-self: flex-start;
}

.svc-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}

.svc-card-label {
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* Panel title */
.svc-card-panel-title {
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.80), 0 0 24px rgba(11, 28, 54, 0.70);
  pointer-events: none;
  align-self: flex-start;
  max-width: calc(100% - 10px);
  padding-bottom: 32px;
}

/* Card body */
.svc-card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.svc-card-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.7;
  margin-bottom: 16px;
  flex-shrink: 0;
  min-height: 85px;
}

/* Mini stats row */
.svc-card-stats {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-sm);
  padding: 12px 0;
  margin-top: auto;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.svc-card-stat {
  flex: 1;
  text-align: center;
  padding: 0 8px;
  min-width: 0;
}

.svc-card-stat-num {
  font-size: clamp(13px, 1.6vw, 20px);
  font-weight: 800;
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: 4px;
  white-space: nowrap;
}

.svc-card-stat-label {
  font-size: clamp(9px, 0.9vw, 11px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.50);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.3;
  word-break: break-word;
  hyphens: auto;
}

.svc-card-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* "Learn More" link at card bottom */
.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: auto;
  transition: gap var(--t-fast), color var(--t-fast);
}

.svc-card-link:hover     { gap: 10px; color: #fff; }
.svc-card-link i         { font-size: 11px; transition: transform var(--t-fast); }
.svc-card-link:hover i   { transform: translateX(3px); }


/* -----------------------------------------------------------------------------
   5. CERTIFICATIONS BAR
----------------------------------------------------------------------------- */
/* Cert bar — label above, logos below, centered */
.cert-bar-wrap {
  padding: 36px 0 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cert-bar-wrap:hover {
  opacity: 1;
}

.cert-bar-wrap:hover .cert-bar-label {
  color: var(--color-teal);
}

.cert-bar-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gray-mid);
  text-align: center;
  transition: color 0.2s;
}

.cert-bar-img-wrap {
  width: 100%;
  max-width: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-bar-img {
  width: 66%;
  height: auto;
  object-fit: contain;
  display: block;
}


/* -----------------------------------------------------------------------------
   6. RESPONSIVE
----------------------------------------------------------------------------- */

/* Wide screens */
@media (min-width: 1400px) {
  .hero {
    height: calc(43vw - 42px);
    max-height: 536px;
  }
}

/* Wide tablet: 901–1100px */
@media (max-width: 1100px) and (min-width: 901px) {
  .hero-text     { flex: 0 1 clamp(320px, 48vw, 480px); }

  .hero-heading-white,
  .hero-heading-teal { font-size: clamp(20px, 3vw, 30px); }
}

/* Tablet: ≤900px */
@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 224px;
    max-height: none;
  }

  .hero-content {
    height: auto;
    min-height: 224px;
    padding-inline: 18px;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 44px;
  }

  .hero-text {
    flex: none;
    max-width: 600px;
    width: 100%;
    padding: 28px 0 0;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .hero-body {
    text-align: center;
  }

  .hero-cta {
    align-self: center;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(11, 28, 54, 0.45) 0%,
      rgba(11, 28, 54, 0.65) 60%,
      rgba(11, 28, 54, 0.85) 100%
    );
  }

  .hero-badge     { display: none; }
  .hero-hours-bar { display: none; }

  .stats-grid {
    flex-wrap: wrap;
    gap: 0;
  }

  .stat-item {
    flex: 1 1 30%;
    min-width: 100px;
    padding: 4px 6px;
  }

  .stat-divider { display: none; }

  .svc-cards-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Tablet mid: 601–900px */
@media (max-width: 900px) and (min-width: 768px) {
  /* Show 2 columns on larger tablets */
  .svc-cards-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 28px; 
  }
}

@media (max-width: 767px) and (min-width: 601px) {
  /* Constrain card width on smaller tablets */
  .svc-cards-grid { 
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) and (min-width: 601px) {
  .hero-text {
    flex: 0 1 clamp(300px, 62vw, 500px);
    max-width: 100%;
  }

  .hero-heading-white,
  .hero-heading-teal {
    font-size: clamp(18px, 3.8vw, 28px);
    white-space: nowrap;
  }
}

/* Mobile: ≤600px */
@media (max-width: 600px) {
  .hero-cta { align-self: stretch; text-align: center; }

  .hero-heading-white,
  .hero-heading-teal {
    font-size: clamp(16px, 5vw, 22px);
    white-space: normal;
  }

  .hero-body { font-size: 14px; max-width: 100%; }

  /* Stats: 2-column grid on mobile */
  .stats { padding: 28px 0; }

  .stats .container { padding: 0 16px; }

  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
  }

  .stat-item {
    flex: none;
    padding: 16px 10px;
    background: rgba(255,255,255,0.04);
    gap: 3px;
  }

  .stat-number { font-size: clamp(16px, 5vw, 22px); }
  .stat-unit   { font-size: 11px; }
  .stat-middle { gap: 5px; flex-wrap: wrap; justify-content: center; }
  .stat-label  { font-size: 14px; }

  /* Cert bar */
  .cert-bar-wrap     { padding: 0 0 48px; gap: 10px; }
  .cert-bar-img-wrap { max-width: 100%; padding: 0 16px; }
}
