/* ==========================================================
   HERO 2 — AIO Vend popup hero (2025 centered variant)
   ========================================================== */

   .hero2 {
    --h2-surface: #ffffff;
    --h2-ink: #0f172a;
    --h2-muted: color-mix(in oklab, var(--h2-ink) 58%, transparent);
    --h2-border: rgba(226, 232, 240, 0.48);
    --h2-primary: #2563eb;
    --h2-accent: #22c55e;
    --h2-radius: 1.2rem;
    --h2-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
    position: relative;
    isolation: isolate;
    background:
      radial-gradient(1100px 520px at 12% 12%, rgba(37, 99, 235, 0.12), rgba(255, 255, 255, 0)),
      linear-gradient(165deg, #ffffff 0%, #eef5ff 47%, #ffffff 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.55);
    overflow: clip;
    padding-bottom: clamp(2.6rem, 6vh, 4rem);
  }
  
  .hero2 .container {
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
  }
  
  .hero2__ambient {
    position: absolute;
    inset: -20% -15%;
    background:
      radial-gradient(520px 480px at 96% 20%, rgba(34, 197, 94, 0.09), rgba(255, 255, 255, 0)),
      radial-gradient(410px 330px at 10% 70%, rgba(37, 99, 235, 0.16), rgba(255, 255, 255, 0));
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
    filter: saturate(115%);
  }
  
  /* layout — vertical stack */
  .hero2__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    align-items: center;
    text-align: center;
  }
  
  /* ==========================================================
     HEADLINE (centered)
     ========================================================== */
  
  .hero2__headline {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero2__headline--center {
    align-items: center;
  }
  
  .hero2__eyebrow {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    background: rgba(223, 227, 255, 0.95);
    border: 1px solid rgba(203, 213, 255, 1);
    border-radius: 999px;
    padding: 0.35rem 0.7rem 0.25rem;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    color: color-mix(in oklab, var(--h2-primary) 90%, #0f172a);
    box-shadow: 0 10px 22px rgba(79, 70, 229, 0.04);
  }
  
  .hero2__title {
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: clamp(2.4rem, 3.8vw, 3.3rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--h2-ink);
    text-align: center;
  }
  
  .hero2__title-piece {
    display: inline-block;
    transform-origin: bottom;
    opacity: 0;
    transform: translateY(12px) scale(0.975);
    will-change: transform, opacity, filter;
  }
  
  .hero2.is-ready .hero2__title-piece[data-pop="1"] {
    animation: hero2-pop 0.5s 0s cubic-bezier(.22,.61,.36,1) forwards;
  }
  .hero2.is-ready .hero2__title-piece[data-pop="2"] {
    animation: hero2-pop 0.5s 0.14s cubic-bezier(.22,.61,.36,1) forwards;
  }
  .hero2.is-ready .hero2__title-piece[data-pop="3"] {
    animation: hero2-pop 0.55s 0.3s cubic-bezier(.22,.61,.36,1) forwards;
  }
  .hero2.is-ready .hero2__title-piece[data-pop="4"] {
    animation: hero2-pop 0.6s 0.46s cubic-bezier(.22,.61,.36,1) forwards;
  }
  
  
  .hero2__title-piece--strong {
    background: linear-gradient(135deg, #2563eb 0%, #22c55e 55%, #fff 110%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.035em;
  }
  
  .hero2__subtitle {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--h2-muted);
    max-width: 41rem;
    margin-bottom: 1.1rem;
    text-align: center;
  }
  
  .hero2__actions {
    display: flex;
    gap: 0.8rem;
    align-items: stretch;
    flex-wrap: wrap;
    padding-top: 1rem;
  }
  
  .hero2__actions--center {
    justify-content: center;
  }
  
  .hero2__cta {
    border-radius: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 14.5rem;
    justify-content: center;
    text-align: center;
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.16);
  }
  
  .hero2__dial {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 0.75rem;
    padding: 0.4rem 0.55rem 0.35rem;
    min-width: 12.2rem;
  }
  
  .hero2__dial-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
  }
  
  .hero2__dial-link {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    text-decoration: none;
  }
  
  .hero2__dial-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex: 0 0 auto;
  }
  
  .hero2__dial-body {
    display: flex;
    flex-direction: column;
  }
  
  .hero2__dial-number {
    font-weight: 700;
    font-size: 0.83rem;
    color: #0f172a;
  }
  
  .hero2__dial-hours {
    font-size: 0.62rem;
    color: #94a3b8;
  }
  
  /* ==========================================================
     SERVICES (4 cards in one row, jump out 1 by 1)
     ========================================================== */
  
  .hero2__services-shell {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(203, 213, 225, 0.35);
    border-radius: 1.1rem;
    padding: 1.1rem 1.05rem 1.05rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.02);
    transform-style: preserve-3d;
    width: min(100%, 68rem);
  }
  
  .hero2__services-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.75rem;
    text-align: left;
  }
  
  .hero2__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(9.6rem, 1fr));
    gap: 0.9rem;
  }
  
  @media (max-width: 1090px) {
    .hero2__cards {
      grid-template-columns: repeat(2, minmax(11.2rem, 1fr));
    }
  }
  @media (max-width: 620px) {
    .hero2__cards {
      grid-template-columns: 1fr;
    }
  }
  
  .hero2__card {
    background: radial-gradient(circle at 50% -20%, rgba(37, 99, 235, 0.06) 0%, rgba(255, 255, 255, 1) 60%);
    border: 1px solid rgba(203, 213, 225, 0.4);
    border-radius: 0.9rem;
    padding: 0.85rem 0.75rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 8.3rem;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.02);
    transform: translateY(32px) translateZ(-55px) scale(0.945);
    opacity: 0;
    filter: blur(6px);
    pointer-events: none;
    will-change: transform, opacity, filter;
    background-clip: padding-box;
  }
  
  .hero2.is-ready .hero2__card {
    pointer-events: auto;
  }
  
  .hero2.is-ready .hero2__card:nth-child(1) {
    animation: hero2-card-fly 0.75s 0.25s cubic-bezier(.22,.61,.36,1) forwards;
  }
  .hero2.is-ready .hero2__card:nth-child(2) {
    animation: hero2-card-fly 0.75s 0.37s cubic-bezier(.22,.61,.36,1) forwards;
  }
  .hero2.is-ready .hero2__card:nth-child(3) {
    animation: hero2-card-fly 0.75s 0.5s cubic-bezier(.22,.61,.36,1) forwards;
  }
  .hero2.is-ready .hero2__card:nth-child(4) {
    animation: hero2-card-fly 0.75s 0.62s cubic-bezier(.22,.61,.36,1) forwards;
  }
  
  .hero2__card:hover,
  .hero2__card:focus-within {
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.08);
    transform: translateY(-4px) translateZ(0) scale(1.01);
  }
  
  .hero2__card.is-primary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.98) 0%, rgba(16, 185, 129, 0.9) 95%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
      0 12px 35px rgba(37, 99, 235, 0.3),
      inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  }
  
  .hero2__card-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.15;
  }
  
  .hero2__card-text {
    font-size: 0.7rem;
    line-height: 1.35;
    color: #64748b;
    flex: 1 1 auto;
    max-width: 18rem;
  }
  
  .hero2__card.is-primary .hero2__card-text {
    color: rgba(241, 245, 249, 0.92);
  }
  
  .hero2__card-link {
    display: inline-flex;
    gap: 0.3rem;
    align-items: center;
    font-weight: 600;
    font-size: 0.7rem;
    text-decoration: none;
    color: #0f172a;
  }
  
  .hero2__card.is-primary .hero2__card-link {
    color: #ffffff;
    border-bottom: 1px solid transparent;
  }
  
  .hero2__card-link i {
    font-size: 0.6rem;
  }
  
  .hero2__coverage {
    margin-top: 0.8rem;
    display: flex;
    gap: 0.35rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.67rem;
    color: #64748b;
  }
  
  .hero2__coverage-label {
    font-weight: 600;
    color: #0f172a;
  }
  
  /* ==========================================================
     Animations
     ========================================================== */
  
  @keyframes hero2-pop {
    0% {
      opacity: 0;
      transform: translateY(14px) scale(0.96);
      filter: blur(5px);
    }
    62% {
      opacity: 1;
      transform: translateY(-4px) scale(1.012);
      filter: blur(0);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  /* "jump / fly out of background" */
  @keyframes hero2-card-fly {
    0% {
      opacity: 0;
      transform: perspective(1200px) translateY(38px) translateZ(-120px) rotateX(12deg) scale(0.9);
      filter: blur(5px);
    }
    70% {
      transform: perspective(1200px) translateY(-4px) translateZ(0) rotateX(0deg) scale(1.02);
    }
    100% {
      opacity: 1;
      transform: translateY(0) translateZ(0) scale(1);
      filter: blur(0);
    }
  }
  
  /* ==========================================================
     Reduced motion
     ========================================================== */
  
  @media (prefers-reduced-motion: reduce) {
    .hero2__title-piece,
    .hero2__card {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
      filter: none !important;
    }
  }
  
  /* ==========================================================
     Small screens
     ========================================================== */
  
  @media (max-width: 540px) {
    .hero2__actions {
      flex-direction: column;
      align-items: stretch;
    }
    .hero2__dial {
      align-items: center;
    }
    .hero2__services-label {
      text-align: center;
    }
  }
  

  /* ==========================================================
   Coverage band (install -> home)
   ========================================================== */
.hero2__coverage-shell {
  margin-top: 1.35rem;
  width: min(100%, 68rem);
  background: rgba(248, 250, 252, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(203, 213, 225, 0.35);
  border-radius: 1rem;
  padding: 0.9rem 0.75rem 0.65rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
}

.hero2__coverage-head {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
  text-align: center;
}

.hero2__coverage-text {
  font-size: 0.72rem;
  color: #475569;
}

.hero2__coverage-row {
  display: flex;
  gap: 0.85rem;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.hero2__coverage-item {
  background: radial-gradient(circle at 50% -25%, rgba(37, 99, 235, 0.12) 0%, rgba(255, 255, 255, 1) 55%);
  border: 1px solid rgba(203, 213, 225, 0.35);
  border-radius: 0.75rem;
  padding: 0.35rem 0.7rem 0.4rem;
  min-width: 8.5rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  transition: all 0.15s ease-out;
  cursor: pointer;
  text-align: left;
}

.hero2__coverage-item:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.85);
  outline-offset: 3px;
}

.hero2__coverage-item.is-active {
  border-color: rgba(37, 99, 235, 0.7);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14) 0%, rgba(34, 197, 94, 0.05) 95%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.03);
  transform: translateY(-2px);
}

.hero2__coverage-visual {
  width: 3rem;
  height: 3rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.hero2__coverage-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero2__coverage-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 4.7rem;
}

.hero2__coverage-name {
  font-weight: 600;
  font-size: 0.7rem;
  color: #0f172a;
}

.hero2__coverage-tier {
  font-size: 0.63rem;
  color: #64748b;
}

@media (max-width: 780px) {
  .hero2__coverage-shell {
    padding-inline: 0.4rem;
  }
  .hero2__coverage-row {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .hero2__coverage-item {
    flex: 0 0 auto;
  }
}


/* ==========================================================
   Final subtitle — LAST animation
   ========================================================== */

   .hero2__subtitle--final {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 1.1rem;
    max-width: 42rem;
  }
  
  .hero2__final-word {
    display: inline-block;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--h2-muted);
    opacity: 0;
    transform: translateX(0);
    will-change: transform, opacity;
  }
  
  /* Alternating entry direction */
  .hero2__final-word:nth-child(odd) {
    transform: translateX(-14px);
  }
  .hero2__final-word:nth-child(even) {
    transform: translateX(14px);
  }
  
  /* Runs AFTER title + cards */
  .hero2.is-ready .hero2__final-word {
    animation: hero2-final-slide 0.45s ease-out forwards;
  }
  
  @keyframes hero2-final-slide {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .hero2__final-word {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  }
  
  /* ==========================================================
   Services shell — ground-up build animation
   ========================================================== */

/* Base hidden state */
.hero2__services-shell {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  will-change: transform, opacity;
}

/* Background container appears FIRST */
.hero2.is-ready .hero2__services-shell {
  animation: hero2-shell-build 0.65s 0.7s cubic-bezier(.22,.61,.36,1) forwards;
}


/* Label appears AFTER container */
.hero2__services-label {
  opacity: 0;
  transform: translateY(10px);
  will-change: transform, opacity;
}

.hero2.is-ready .hero2__services-label {
  animation: hero2-shell-label 0.45s 1.45s ease-out forwards;
}

/* Cards remain hidden until shell + label are done */
.hero2__card {
  opacity: 0;
  pointer-events: none;
}

/* Delay existing card animations so they come LAST */
.hero2.is-ready .hero2__card:nth-child(1) {
  animation-delay: 1.75s;
}
.hero2.is-ready .hero2__card:nth-child(2) {
  animation-delay: 1.9s;
}
.hero2.is-ready .hero2__card:nth-child(3) {
  animation-delay: 2.05s;
}
.hero2.is-ready .hero2__card:nth-child(4) {
  animation-delay: 2.2s;
}


/* ==========================================================
   Keyframes
   ========================================================== */

@keyframes hero2-shell-build {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero2-shell-label {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   Reduced motion
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero2__services-shell,
  .hero2__services-label,
  .hero2__card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


.hero2.is-ready .hero2__final-word:nth-child(1)  { animation-delay: 2.55s; }
.hero2.is-ready .hero2__final-word:nth-child(2)  { animation-delay: 2.6s; }
.hero2.is-ready .hero2__final-word:nth-child(3)  { animation-delay: 2.65s; }
.hero2.is-ready .hero2__final-word:nth-child(4)  { animation-delay: 2.7s; }
.hero2.is-ready .hero2__final-word:nth-child(5)  { animation-delay: 2.75s; }
.hero2.is-ready .hero2__final-word:nth-child(6)  { animation-delay: 2.82s; }
.hero2.is-ready .hero2__final-word:nth-child(7)  { animation-delay: 2.87s; }
.hero2.is-ready .hero2__final-word:nth-child(8)  { animation-delay: 2.92s; }
.hero2.is-ready .hero2__final-word:nth-child(9)  { animation-delay: 2.97s; }
.hero2.is-ready .hero2__final-word:nth-child(10) { animation-delay: 3.02s; }



/* ==========================================================
   Coverage Details — expandable panel
   ========================================================== */
   .hero2__coverage-details {
    margin-top: 0.8rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 213, 225, 0.4);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(.22,.61,.36,1), padding 0.35s ease;
    font-size: 0.8rem;
    color: #334155;
  }
  
  .hero2__coverage-details.show {
    max-height: 22rem; /* enough to fit 3–5 entries */
    padding: 1rem 1.1rem;
  }
  
  .hero2__coverage-details-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: #0f172a;
    margin-bottom: 0.35rem;
  }
  
  .hero2__coverage-details-text {
    margin-bottom: 0.5rem;
    color: #475569;
  }
  
  .hero2__coverage-details-list {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
  }
  
  .hero2__coverage-details-list li {
    margin-bottom: 0.3rem;
  }
  
  .hero2__coverage-item:focus-visible,
  .hero2__coverage-item:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.7);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  }
  
/* ==========================================================
   Coverage item card styling — expanded logo + business + tier
   ========================================================== */
   .hero2__coverage-item {
    flex-direction: column;
    align-items: center;
    min-width: 7.2rem;
    text-align: center;
    padding: 0.6rem 0.5rem;
    transition: all 0.2s ease;
  }
  
  .hero2__coverage-item .hero2__coverage-visual {
    width: 4.2rem;
    height: 4.2rem;
    margin-bottom: 0.4rem;
  }
  
  .hero2__coverage-item .hero2__coverage-meta {
    align-items: center;
    gap: 0.25rem;
  }
  
  .hero2__coverage-item:hover,
  .hero2__coverage-item:focus {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(37, 99, 235, 0.8);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
  }
  
  /* Expanded details panel tweaks */
  .hero2__coverage-details {
    border-top: 1px solid rgba(203, 213, 225, 0.5);
    margin-top: 0.85rem;
    padding-top: 1rem;
  }
  
  .hero2__coverage-details-list li {
    margin-bottom: 0.45rem;
    line-height: 1.3;
  }
  
  /* ==========================================================
   Business cards inside coverage details
   ========================================================== */
.hero2__business-card {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.45rem 0.5rem;
  background: #f8fafc;
  border-radius: 0.7rem;
  border: 1px solid rgba(203, 213, 225, 0.4);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero2__business-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.hero2__business-logo {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: 0.45rem;
}

.hero2__business-meta {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  line-height: 1.25;
}

.hero2__business-meta strong {
  font-size: 0.82rem;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.hero2__business-meta p {
  margin: 0;
  color: #475569;
}

.hero2__business-meta a {
  color: #2563eb;
  text-decoration: underline;
}






/* ==============================
   Coverage Details List — improved alignment
   ============================== */
   .hero2__coverage-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }
  
  .hero2__coverage-details-item {
    display: flex;
    justify-content: center;
  }
  
  /* Business card tweaks */
  .hero2__business-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.55rem 0.65rem;
    background: #ffffff;
    border-radius: 0.85rem;
    border: 1px solid rgba(203, 213, 225, 0.4);
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    max-width: 28rem;
    width: 100%;
  }
  
  .hero2__business-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  }
  
  .hero2__business-logo {
    width: 3.8rem;
    height: 3.8rem;
    object-fit: contain;
    border-radius: 0.5rem;
    flex-shrink: 0;
  }
  
  .hero2__business-meta {
    display: flex;
    flex-direction: column;
    font-size: 0.76rem;
    line-height: 1.3;
    text-align: left;
  }
  
  .hero2__business-meta strong {
    font-size: 0.88rem;
    color: #0f172a;
    margin-bottom: 0.15rem;
  }
  
  .hero2__business-meta p {
    margin: 0;
    color: #475569;
  }
  
  .hero2__business-contact a {
    color: #2563eb;
    text-decoration: underline;
  }
  
  /* Coverage item alignment — centered, uniform */
  .hero2__coverage-item {
    flex-direction: column;
    align-items: center;
    min-width: 7.5rem;
    text-align: center;
    padding: 0.65rem 0.55rem;
    transition: all 0.22s ease;
  }
  
  .hero2__coverage-item .hero2__coverage-visual {
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 0.45rem;
  }
  
  .hero2__coverage-item .hero2__coverage-meta {
    align-items: center;
    gap: 0.3rem;
  }

  .hero2__coverage-details {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition:
      grid-template-rows 0.45s cubic-bezier(.22,.61,.36,1),
      padding 0.35s ease;
    padding: 0 1.1rem;
  }
  
  .hero2__coverage-details > * {
    min-height: 0;
  }
  
  .hero2__coverage-details.show {
    grid-template-rows: 1fr;
    padding: 1rem 1.1rem;
  }
  
  
  /* Responsive tweaks */
  @media (max-width: 780px) {
    .hero2__coverage-details {
      padding: 0.9rem 0.7rem;
    }
    .hero2__business-card {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .hero2__business-meta {
      align-items: center;
    }
  }
  

  /* ==========================================================
   Coverage Buttons — hover & active polish
   ========================================================== */
.hero2__coverage-item.is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(34, 197, 94, 0.08) 95%);
  border-color: rgba(37, 99, 235, 0.75);
  transform: translateY(-2px) scale(1.03);
}

.hero2__coverage-item:hover,
.hero2__coverage-item:focus {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(37, 99, 235, 0.8);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

/* Expandable panel smooth transitions */
.hero2__coverage-details {
  transition: max-height 0.4s cubic-bezier(.22,.61,.36,1), padding 0.35s ease;
}

/* Business card inside panel — responsive & uniform */
.hero2__business-card {
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.hero2__business-meta {
  text-align: center;
}

@media (min-width: 720px) {
  .hero2__business-card {
    flex-wrap: nowrap;
    text-align: left;
  }
  .hero2__business-meta {
    text-align: left;
  }
}

/* Scrollbar for small coverage row */
@media (max-width: 780px) {
  .hero2__coverage-row {
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .hero2__coverage-row::-webkit-scrollbar {
    height: 5px;
  }
  .hero2__coverage-row::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.3);
    border-radius: 3px;
  }
}


/* ==========================================================
   Enhanced Business Cards — bigger, more professional
   ========================================================== */
   .hero2__coverage-details-list li {
    justify-content: center;
  }
  
  .hero2__business-card {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(203, 213, 225, 0.45);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    max-width: 55rem;
    width: 100%;
  }
  
  .hero2__business-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(255, 255, 255, 0.95));
  }
  
  .hero2__business-logo {
    width: 4.5rem;
    height: 4.5rem;
    flex-shrink: 0;
    border-radius: 0.65rem;
    object-fit: contain;
    border: 1px solid rgba(203, 213, 225, 0.4);
    padding: 0.25rem;
    background: #fff;
  }
  
  .hero2__business-meta {
    flex: 1 1 auto;
    font-size: 0.85rem;
    line-height: 1.35;
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  
  .hero2__business-meta strong {
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 0.2rem;
  }
  
  .hero2__business-meta p {
    margin: 0;
    color: #475569;
    font-size: 0.82rem;
  }
  
  .hero2__business-contact a {
    color: #2563eb;
    text-decoration: underline;
  }
  
  /* Mobile-friendly tweaks */
  @media (max-width: 780px) {
    .hero2__business-card {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0.65rem 0.75rem;
    }
    .hero2__business-meta {
      align-items: center;
    }
  }
  

  /* ==========================================================
   Business Cards — polished professional layout
   ========================================================== */
.hero2__coverage-details-list li {
  justify-content: center;
}

.hero2__business-card {
  flex-direction: row;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem 1.2rem;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(203, 213, 225, 0.45);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  max-width: 60rem;
  width: 100%;
}

.hero2__business-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(255, 255, 255, 0.95));
}

.hero2__business-logo {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  object-fit: contain;
  border: 1px solid rgba(203, 213, 225, 0.5);
  padding: 0.3rem;
  background: #fff;
}

.hero2__business-meta {
  flex: 1 1 auto;
  font-size: 0.88rem;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.25rem;
}

.hero2__business-meta strong {
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.hero2__business-meta p {
  margin: 0;
  color: #475569;
  font-size: 0.83rem;
}

.hero2__business-contact a {
  color: #2563eb;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.hero2__business-contact a:hover {
  color: #1e40af;
}

/* Responsive tweaks for mobile / tablet */
@media (max-width: 780px) {
  .hero2__business-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.9rem;
  }
  .hero2__business-meta {
    align-items: center;
  }
}

/* Uniform spacing inside coverage details list */
.hero2__coverage-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
}

/* ==========================================================
   HERO2 — Card Height & Logo Enhancements
   ========================================================== */

/* Increase base card height and inner spacing */
.hero2__card {
  min-height: 10rem; /* taller cards */
  padding: 1rem 0.85rem 1rem; /* more breathing room */
  gap: 0.65rem;
}

/* Larger logo for each service card */
.hero2__card-logo,
.hero2__coverage-item .hero2__coverage-visual {
  width: 5rem;
  height: 5rem;
  margin-bottom: 0.55rem;
}

/* Slightly larger text for subtle extra detail */
.hero2__card-title {
  font-size: 1rem;
  line-height: 1.2;
}

.hero2__card-text {
  font-size: 0.78rem;
  line-height: 1.4;
}

/* Coverage item spacing adjustments */
.hero2__coverage-item {
  min-width: 8rem;
  padding: 0.75rem 0.65rem;
}

/* Smooth hover expansion for better detail visibility */
.hero2__coverage-item:hover,
.hero2__coverage-item:focus {
  transform: translateY(-3px) scale(1.035);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* Expand business card logos and spacing inside details */
.hero2__business-card {
  padding: 1rem 1.2rem;
  gap: 1.4rem;
}

.hero2__business-logo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.8rem;
  padding: 0.35rem;
}

/* Slightly larger business meta for readability */
.hero2__business-meta {
  font-size: 0.9rem;
  line-height: 1.45;
  gap: 0.3rem;
}

.hero2__business-meta strong {
  font-size: 1.08rem;
}

/* Responsive tweaks for mobile devices */
@media (max-width: 780px) {
  .hero2__card {
    min-height: 9rem;
    padding: 0.95rem 0.75rem 0.95rem;
  }
  .hero2__card-logo,
  .hero2__coverage-item .hero2__coverage-visual {
    width: 4.8rem;
    height: 4.8rem;
  }
  .hero2__business-card {
    padding: 0.85rem 1rem;
    gap: 1rem;
  }
  .hero2__business-logo {
    width: 5rem;
    height: 5rem;
  }
  .hero2__business-meta {
    font-size: 0.88rem;
    line-height: 1.4;
  }
}


/* Coverage clarification text — slightly clearer hierarchy */
.hero2__coverage-details-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #475569;
}

/* Emphasize what “active vs partner” means */
.hero2__coverage-tier {
  font-weight: 500;
}


/* ==========================================================
   STATE DETAILS — Premium Business Cards
   ========================================================== */

   .state-business-card {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.1rem 1.3rem;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border-radius: 1.1rem;
    border: 1px solid rgba(203, 213, 225, 0.5);
    box-shadow:
      0 14px 34px rgba(15, 23, 42, 0.08),
      inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    max-width: 62rem;
    width: 100%;
  }
  
  .state-business-card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 22px 55px rgba(15, 23, 42, 0.12),
      inset 0 0 0 1px rgba(37, 99, 235, 0.25);
  }
  
  /* Logo */
  .state-business-card__logo {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 0.9rem;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem;
  }
  
  .state-business-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  /* Content */
  .state-business-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }
  
  .state-business-card__header {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .state-business-card__header h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
  }
  
  .state-business-card__badge {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    padding: 0.22rem 0.45rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
  }
  
  /* Area */
  .state-business-card__area {
    font-size: 0.82rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
  
  /* Actions */
  .state-business-card__actions {
    display: flex;
    gap: 0.9rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
  }
  
  .state-business-card__actions a {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
  }
  
  .state-business-card__actions a:hover {
    text-decoration: underline;
  }
  
  /* List alignment */
  .hero2__coverage-details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Mobile */
  @media (max-width: 720px) {
    .state-business-card {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .state-business-card__logo {
      margin-inline: auto;
    }
  
    .state-business-card__header {
      justify-content: center;
    }
  
    .state-business-card__actions {
      justify-content: center;
    }
  }
  

  /* ==========================================================
   STATE DETAILS — Extra Height & Logo Emphasis
   ========================================================== */

/* Taller, more commanding cards */
.state-business-card {
  min-height: 9.5rem;
  padding: 1.4rem 1.6rem;
  grid-template-columns: 7rem 1fr;
  gap: 1.6rem;
}

/* Larger, premium logo container */
.state-business-card__logo {
  width: 7rem;
  height: 7rem;
  border-radius: 1.1rem;
  padding: 0.6rem;
  box-shadow:
    inset 0 0 0 1px rgba(203, 213, 225, 0.6),
    0 6px 18px rgba(15, 23, 42, 0.08);
}

/* Make logos visually dominant */
.state-business-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(115%) contrast(105%);
}

/* Stronger typography hierarchy */
.state-business-card__header h4 {
  font-size: 1.18rem;
}

.state-business-card__area {
  font-size: 0.88rem;
  line-height: 1.45;
}

/* More breathing room for actions */
.state-business-card__actions {
  margin-top: 0.6rem;
  gap: 1.1rem;
}

.state-business-card__actions a {
  font-size: 0.82rem;
}

/* Elevated hover feel */
.state-business-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 26px 60px rgba(15, 23, 42, 0.14),
    inset 0 0 0 1px rgba(37, 99, 235, 0.35);
}

/* Mobile — still big, still premium */
@media (max-width: 720px) {
  .state-business-card {
    min-height: 0;
    padding: 1.2rem 1.1rem;
    gap: 1.2rem;
  }

  .state-business-card__logo {
    width: 6.2rem;
    height: 6.2rem;
  }

  .state-business-card__header h4 {
    font-size: 1.1rem;
  }
}


/* ==========================================================
   Coverage Details — scalability & safety
   ========================================================== */

/* Inner content wrapper safety */
.hero2__coverage-details > * {
  overflow: visible;
}

/* Optional soft cap for extreme cases (20+ partners) */
.hero2__coverage-details.show {
  max-block-size: clamp(18rem, 55vh, 42rem);
  overflow-y: auto;
}

/* Polished scrollbar (only appears if needed) */
.hero2__coverage-details.show::-webkit-scrollbar {
  width: 6px;
}

.hero2__coverage-details.show::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.35);
  border-radius: 4px;
}

.hero2__coverage-details.show {
  scrollbar-width: thin;
}


/* ==========================================================
   AIO Vend Branch Identity Emphasis
   ========================================================== */

   .hero2__coverage-tier {
    font-weight: 600;
    color: #2563eb;
  }
  
  .state-business-card__badge {
    background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(34,197,94,.18));
    color: #1e40af;
    border: 1px solid rgba(37,99,235,.35);
  }
  
  .hero2__coverage-details-text {
    max-width: 52rem;
    margin-inline: auto;
  }
  
  /* Subtle enterprise polish */
  .state-business-card {
    position: relative;
  }
  
  .state-business-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
  }
  
  

  /* ==============================
   Fixed Coverage Title & Text Styling
   Prevents overlap and maintains spacing
   ============================== */
.hero2__coverage-details-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 0.6rem; /* extra space below title */
  line-height: 1.35;     /* prevents overlap with text */
  display: block;
}

.hero2__coverage-details-text {
  font-size: 0.85rem;
  line-height: 1.5;      /* ensures readable spacing for multiple lines */
  color: #475569;
  margin-bottom: 0.8rem; /* space between text and the list/cards below */
  display: block;
  word-break: break-word; /* avoid overflow on small screens */
}

/* Optional: ensure the panel grows properly for multiple lines */
.hero2__coverage-details.show {
  max-height: none; /* allow full content without clipping */
}

/* Branch services badge */
.state-business-card__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #22c55e 100%);
  padding: 0.25rem 0.55rem;
  border-radius: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(15,23,42,0.12);
}

/* ==========================================================
   Installed Equipment — SEO Image Showcase
   ========================================================== */
   .hero2__installs {
    margin-top: 1.6rem;
    width: min(100%, 68rem);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(203, 213, 225, 0.35);
    border-radius: 1.1rem;
    padding: 1.2rem 1.2rem 1.3rem;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.04);
  }
  
  .hero2__installs-head {
    text-align: center;
    margin-bottom: 0.9rem;
  }
  
  .hero2__installs-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
  }
  
  .hero2__installs-subtitle {
    font-size: 0.85rem;
    color: #475569;
    max-width: 46rem;
    margin-inline: auto;
  }
  
  .hero2__installs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }
  
  @media (max-width: 1024px) {
    .hero2__installs-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 560px) {
    .hero2__installs-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .hero2__install {
    background: #ffffff;
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.45);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  
  .hero2__install:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.12);
  }
  
  .install-carousel img {
    width: 100%;
    flex: 0 0 100%;
    aspect-ratio: 16 / 10; /* more premium, less cramped */
    object-fit: cover;
    border-radius: 0.9rem;
    image-rendering: auto;
  }
  
  
  .hero2__install figcaption {
    padding: 0.55rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
  }
  
  /* ==========================================================
   INSTALLED EQUIPMENT — PREMIUM GALLERY
   ========================================================== */


   .hero2__installs {
    margin-top: 2.2rem;
    margin-inline: auto;            /* ✅ centers like services & coverage */
    width: min(100%, 68rem);        /* ✅ matches hero shells */
    
    background: linear-gradient(180deg, rgba(248,250,252,.9), #ffffff);
    border: 1px solid rgba(203,213,225,.45);
    border-radius: 1.4rem;
    padding: 1.8rem 1.4rem 2.1rem;
    box-shadow: 0 18px 45px rgba(15,23,42,.06);
  }
  
/* Header */
.hero2__installs-head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 1.6rem;
}

.hero2__installs-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.hero2__installs-title {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.hero2__installs-subtitle {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #475569;
}

/* Tags */
.hero2__installs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin: 1.1rem auto 1.6rem;
  padding: 0;
  list-style: none;
}

.hero2__installs-tags li {
  font-size: 0.62rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(37,99,235,.08);
  color: #1e3a8a;
  font-weight: 600;
}

/* Grid */
.hero2__installs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.1rem;
  justify-items: center;          /* ✅ visual centering */
}



.hero2__install.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.hero2__install img {
  width: 100%;
  height: 13.5rem;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.hero2__install:hover img {
  transform: scale(1.06);
}

/* Caption */
.hero2__install figcaption {
  padding: 0.75rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.hero2__install figcaption strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}

.hero2__install figcaption span {
  font-size: 0.68rem;
  color: #64748b;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero2__install {
    transform: none !important;
    opacity: 1 !important;
  }
}
/* ==========================================================
   HERO2 INSTALLED EQUIPMENT — PREMIUM INLINE CATEGORY CAROUSELS
   ========================================================== */

/* ---------- CONTAINER ---------- */
.hero2__installs {
  margin: 2.2rem auto 0;
  width: min(100%, 68rem);
  background: linear-gradient(180deg, rgba(248,250,252,.9), #ffffff);
  border: 1px solid rgba(203,213,225,.45);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem 2.5rem;
  box-shadow: 0 18px 45px rgba(15,23,42,.06);
}

/* ---------- HEADER ---------- */
.hero2__installs-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 1.6rem;
}

.hero2__installs-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.hero2__installs-title {
  font-size: clamp(1.55rem, 2.2vw, 1.8rem);
  font-weight: 800;
  margin: 0.25rem 0 0.5rem;
  color: #0f172a;
}

.hero2__installs-subtitle {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 auto;
}

/* ---------- CATEGORY GRID ---------- */
.hero2__installs-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  justify-items: stretch;
  align-items: start;
  margin-top: 1.6rem;
}

@media (max-width: 1024px) {
  .hero2__installs-categories {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

/* ---------- CATEGORY CARD ---------- */
.install-category {
  background: #ffffff;
  border: 10px solid rgba(203,213,225,.55);
  border-radius: 1.25rem;
  padding: 1.2rem 1.2rem 1.4rem;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.install-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(15,23,42,.08);
}

/* ---------- CATEGORY HEADER ---------- */
.install-category__head h3 {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.install-category__head p {
  font-size: 0.74rem;
  color: #475569;
  text-align: center;
  line-height: 1.45;
  margin-bottom: 1rem;
}

/* ---------- CAROUSEL CONTAINER ---------- */
.install-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  min-height: 17rem;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  display: flex;
  align-items: center;
  padding: 0.8rem 0;
}

/* Shadow overlay for depth */
.install-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

/* ---------- CAROUSEL TRACK ---------- */
.install-carousel__track {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

/* ---------- IMAGE WRAPPER FOR CENTERING ---------- */
.carousel-image-wrapper {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 16rem;
  width: auto;
}

.carousel-image-wrapper img {
  max-height: 16rem;
  max-width: 100%;
  object-fit: contain;
  border-radius: 1rem;
  display: block;
  margin: 0 auto;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.carousel-image-wrapper img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.install-carousel__track {
  display: flex;
  gap: 1rem;
  justify-content: flex-start; /* Let JS handle centering */
  align-items: center;
  transition: transform 0.5s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}


/* ---------- IMAGES ---------- */
.install-carousel__track img {
  border-radius: 1rem;
  object-fit: contain;
  max-height: 16rem;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.install-carousel__track img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* ---------- NAVIGATION BUTTONS ---------- */
.install-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 18px rgba(15,23,42,.15);
  cursor: pointer;
  z-index: 10;
}

.install-carousel__nav::before {
  content: '';
  display: block;
  width: 0.65rem;
  height: 0.65rem;
  border-top: 2px solid #0f172a;
  border-right: 2px solid #0f172a;
  margin: auto;
}

.install-carousel__nav.prev {
  left: 0.45rem;
}
.install-carousel__nav.prev::before {
  transform: rotate(-135deg);
}

.install-carousel__nav.next {
  right: 0.45rem;
}
.install-carousel__nav.next::before {
  transform: rotate(45deg);
}

.install-carousel__nav:hover {
  background: #2563eb;
}
.install-carousel__nav:hover::before {
  border-color: #ffffff;
}

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */
@media (hover: hover) {
  .install-carousel__track img:hover {
    transform: scale(1.03);
  }
}

@media (max-width: 768px) {
  .install-carousel {
    min-height: 14rem;
  }
  .install-carousel__track img {
    max-height: 14rem;
  }
}

@media (min-width: 768px) {
  .install-carousel {
    height: 11rem;
  }
}

/* Handle empty track gracefully */
.install-carousel:has(.install-carousel__track:empty) {
  height: 6rem;
}

/* ==========================================================
   EQUIPMENT SHOWCASE — Sleek Animated Display
   ========================================================== */

   .equipment-showcase {
    margin-top: 2.5rem;
    padding: 3rem 0 3.2rem;
    background:
      radial-gradient(900px 420px at 85% 0%, rgba(37, 99, 235, 0.08), transparent),
      linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid rgba(203, 213, 225, 0.45);
    border-bottom: 1px solid rgba(203, 213, 225, 0.45);
    overflow: hidden;
  }
  
  .equipment-showcase__inner {
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
  }
  
  /* ---------- Header ---------- */
  
  .equipment-showcase__head {
    text-align: center;
    max-width: 50rem;
    margin-inline: auto;
  }
  
  .equipment-showcase__eyebrow {
    display: inline-block;
    margin-bottom: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
  }
  
  .equipment-showcase__title {
    font-size: clamp(1.9rem, 3.2vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 0.6rem;
  }
  
  .equipment-showcase__subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #475569;
  }
  
  /* ---------- Marquee ---------- */
  
  .equipment-showcase__marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 12%,
      black 88%,
      transparent 100%
    );
  }
  
  .equipment-showcase__track {
    display: flex;
    align-items: center;
    gap: clamp(3rem, 6vw, 6rem);
    width: max-content;
    animation: equipment-drift 45s linear infinite;
  }
  
  /* ---------- Equipment Images ---------- */
  
  .equipment-showcase__track img {
    height: clamp(7.5rem, 12vw, 11rem);
    width: auto;
    object-fit: contain;
    filter:
      drop-shadow(0 14px 28px rgba(15, 23, 42, 0.18))
      drop-shadow(0 2px 6px rgba(15, 23, 42, 0.08));
    opacity: 0.95;
    transform: translateZ(0);
  }
  
  /* ---------- Animation ---------- */
  
  @keyframes equipment-drift {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }
  
  /* ---------- Reduced Motion ---------- */
  
  @media (prefers-reduced-motion: reduce) {
    .equipment-showcase__track {
      animation: none;
    }
  }
  
  /* ---------- Responsive Tweaks ---------- */
  
  @media (max-width: 640px) {
    .equipment-showcase {
      padding: 2.6rem 0 2.8rem;
    }
  
    .equipment-showcase__track img {
      height: 6.5rem;
    }
  }

  /* ---------- CTA ---------- */

.equipment-showcase__cta {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}

.equipment-showcase__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 17rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.9rem;
  background: linear-gradient(
    180deg,
    #2563eb 0%,
    #1e40af 100%
  );
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow:
    0 14px 30px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.equipment-showcase__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(37, 99, 235, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.equipment-showcase__btn:active {
  transform: translateY(0);
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.28);
}

/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .equipment-showcase__btn {
    transition: none;
  }
}


/* ==========================================================
   HERO2 — MOBILE ALIGNMENT & GRID FIXES (APPEND ONLY)
   Targets phones only, zero desktop impact
   ========================================================== */

   @media (max-width: 640px) {

    /* ---------- GLOBAL CONTAINMENT ---------- */
    .hero2,
    .hero2 * {
      box-sizing: border-box;
    }
  
    .hero2 .container {
      padding-inline: 1rem;
    }
  
    /* ---------- INNER STACK ---------- */
    .hero2__inner {
      gap: 1.35rem;
      align-items: center;
      text-align: center;
    }
  
    /* ---------- HEADLINE ---------- */
    .hero2__headline,
    .hero2__headline--center {
      align-items: center;
      text-align: center;
      width: 100%;
    }
  
    .hero2__eyebrow {
      justify-content: center;
    }
  
    .hero2__title {
      align-items: center;
      justify-content: center;
    }
  
    .hero2__subtitle,
    .hero2__subtitle--final {
      max-width: 100%;
      padding-inline: 0.25rem;
    }
  
    /* ---------- ACTIONS ---------- */
    .hero2__actions {
      width: 100%;
      align-items: stretch;
    }
  
    .hero2__cta,
    .hero2__dial {
      width: 100%;
      min-width: 0;
    }
  
    .hero2__dial {
      align-items: center;
      text-align: center;
    }
  
    /* ---------- SERVICES SHELL ---------- */
    .hero2__services-shell {
      padding: 1rem 0.85rem;
    }
  
    .hero2__services-label {
      text-align: center;
    }
  
    /* ---------- SERVICE CARDS GRID ---------- */
    .hero2__cards {
      grid-template-columns: 1fr;
      gap: 0.9rem;
      justify-items: center;
    }
  
    .hero2__card {
      width: 100%;
      max-width: 22rem;
      margin-inline: auto;
      align-items: center;
      text-align: center;
    }
  
    .hero2__card-text {
      max-width: 100%;
    }
  
    .hero2__card-link {
      justify-content: center;
    }
  
    /* ---------- COVERAGE SHELL ---------- */
    .hero2__coverage-shell {
      padding: 0.9rem 0.65rem;
    }
  
    .hero2__coverage-head {
      justify-content: center;
      text-align: center;
    }
  
    /* ---------- COVERAGE ROW ---------- */
    .hero2__coverage-row {
      justify-content: flex-start;
      gap: 0.7rem;
      padding-bottom: 0.4rem;
    }
  
    .hero2__coverage-item {
      min-width: 7.2rem;
      flex: 0 0 auto;
    }
  
    /* ---------- COVERAGE DETAILS PANEL ---------- */
    .hero2__coverage-details {
      padding-inline: 0.75rem;
    }
  
    .hero2__coverage-details-title,
    .hero2__coverage-details-text {
      text-align: center;
    }
  
    /* ---------- BUSINESS CARDS ---------- */
    .hero2__coverage-details-list {
      align-items: center;
    }
  
    .hero2__business-card {
      max-width: 100%;
      width: 100%;
      padding: 0.85rem 0.85rem;
      align-items: center;
      text-align: center;
    }
  
    .hero2__business-meta {
      align-items: center;
      text-align: center;
    }
  
    /* ---------- STATE BUSINESS CARDS ---------- */
    .state-business-card {
      grid-template-columns: 1fr;
      text-align: center;
      padding: 1.1rem 1rem;
    }
  
    .state-business-card__logo {
      margin-inline: auto;
    }
  
    .state-business-card__header,
    .state-business-card__actions {
      justify-content: center;
    }
  
    /* ---------- INSTALLS / GALLERY ---------- */
    .hero2__installs {
      padding: 1.4rem 0.9rem 1.7rem;
    }
  
    .hero2__installs-head {
      padding-inline: 0.25rem;
    }
  
    .hero2__installs-grid,
    .hero2__installs-categories {
      grid-template-columns: 1fr;
      gap: 1rem;
      justify-items: center;
    }
  
    .hero2__install {
      width: 100%;
      max-width: 24rem;
    }
  
    .hero2__install figcaption {
      text-align: center;
    }
  
    /* ---------- CATEGORY CARDS ---------- */
    .install-category {
      padding: 1rem 0.85rem 1.2rem;
    }
  
    .install-category__head h3,
    .install-category__head p {
      text-align: center;
    }
  
    /* ---------- CAROUSEL ---------- */
    .install-carousel {
      min-height: 15rem;
      padding: 0.6rem 0;
    }
  }
  
  /* ==========================================================
   HERO2 — SERVICE COVERAGE (STATES) — MOBILE GRID UPGRADE
   APPEND ONLY • Phones first • Professional polish
   ========================================================== */

@media (max-width: 640px) {

  /* ---------- COVERAGE STATES CONTAINER ---------- */
  .hero2__coverage-shell {
    padding: 1rem 0.75rem;
  }

  .hero2__coverage-head {
    margin-bottom: 0.85rem;
  }

  .hero2__coverage-text {
    max-width: 100%;
    text-align: center;
  }

  /* ---------- STATES GRID (REPLACES ROW FEEL) ---------- */
  .hero2__coverage-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    justify-items: center;
    align-items: stretch;
    overflow: visible; /* removes awkward horizontal scroll on mobile */
    padding: 0;
  }

  /* ---------- STATE / COVERAGE ITEM ---------- */
  .hero2__coverage-item {
    width: 100%;
    min-width: 0;
    padding: 0.75rem 0.55rem 0.85rem;
    border-radius: 0.85rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
  }

  .hero2__coverage-item.is-active {
    transform: translateY(-2px) scale(1.02);
  }

  /* ---------- STATE LOGO / VISUAL ---------- */
  .hero2__coverage-item .hero2__coverage-visual {
    width: 4.6rem;
    height: 4.6rem;
    margin-bottom: 0.4rem;
  }

  /* ---------- STATE META ---------- */
  .hero2__coverage-meta {
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }

  .hero2__coverage-name {
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .hero2__coverage-tier {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  /* ---------- COVERAGE DETAILS PANEL ---------- */
  .hero2__coverage-details {
    padding-inline: 0.75rem;
  }

  .hero2__coverage-details-title,
  .hero2__coverage-details-text {
    text-align: center;
  }

  /* ---------- BUSINESS LIST ---------- */
  .hero2__coverage-details-list {
    align-items: center;
    gap: 0.9rem;
  }

  /* ---------- BUSINESS CARDS (INSIDE STATES) ---------- */
  .hero2__business-card {
    width: 100%;
    max-width: 100%;
    padding: 0.9rem 0.85rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero2__business-logo {
    width: 4.8rem;
    height: 4.8rem;
  }

  .hero2__business-meta {
    align-items: center;
    text-align: center;
  }

  /* ---------- STATE BUSINESS CARDS ---------- */
  .state-business-card {
    grid-template-columns: 1fr;
    padding: 1.1rem 1rem;
    text-align: center;
  }

  .state-business-card__logo {
    margin-inline: auto;
    width: 6.2rem;
    height: 6.2rem;
  }

  .state-business-card__header,
  .state-business-card__actions {
    justify-content: center;
  }

  /* ---------- VERY SMALL PHONES ---------- */
  @media (max-width: 390px) {
    .hero2__coverage-row {
      grid-template-columns: 1fr;
    }

    .hero2__coverage-item {
      max-width: 22rem;
    }
  }
}
