/* Home video banner with featured product-card carousel */
.new-home-hero { min-height: 570px; padding: 30px 0 0; overflow: visible; color: #fff; }
.new-home-hero .hero-bg-video { filter: saturate(.96) contrast(1.02) brightness(.88); opacity: 1; transform: scale(1.015); }
.new-home-hero::before { background: linear-gradient(90deg, rgba(4,10,11,.34), rgba(4,10,11,.1) 54%, rgba(4,10,11,.28)), linear-gradient(0deg, rgba(4,10,11,.16), transparent 54%); }
.new-home-hero::after { display: none; }

.hero-shell { position: relative; z-index: 4; width: 100%; min-height: 540px; max-width: none; margin: 0; display: block; }
.hero-copy-panel { max-width: 1050px; margin: 0 auto; padding: 0 28px; text-align: left; }
.hero-copy-panel .hero-badge { display: none; }
.hero-copy-panel .eyebrow { margin: 0 0 5px; color: #d0f3e5; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-main-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-copy-panel h1 { max-width: 670px; margin: 0; color: #fff; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.05; letter-spacing: -.035em; text-shadow: 0 4px 28px rgba(0,0,0,.45); }
.hero-copy-panel h1 em { color: inherit; font-family: inherit; font-style: normal; }
.hero-copy-panel .hero-lead { max-width: 680px; margin: 12px 0 0; color: rgba(255,255,255,.94); font-size: 17px; line-height: 1.45; }
.hero-copy-panel .hero-actions { flex-shrink: 0; justify-content: flex-start; gap: 12px; margin-top: 0; }
.hero-copy-panel .hero-actions .btn { min-height: 42px; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.hero-copy-panel .hero-actions .btn.primary { box-shadow: 0 10px 28px rgba(0,0,0,.3); }
.hero-copy-panel .hero-actions .btn.ghost.light { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-copy-panel .hero-actions .btn.ghost.light:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
.legacy-hero-slider { display: none; }

.hero-services { position: absolute; z-index: 5; bottom: -135px; left: 0; width: 100%; margin: 0; }
.service-carousel { width: min(876px, calc(100% - 120px)); margin: 0 auto; overflow: hidden; padding: 8px 0 38px; }
.service-track { display: flex; align-items: center; gap: 28px; width: max-content; transform: translateX(calc(50vw - 510px)); transition: transform .5s ease; }
.service-card { position: relative; flex: 0 0 245px; height: 316px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; background: rgba(23, 36, 35, 0.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .4s ease, filter .4s ease, opacity .4s ease; }
.service-card.is-featured { flex-basis: 275px; height: 337px; border-color: rgba(255,255,255,.62); box-shadow: none; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02) 23%, rgba(0,0,0,.25) 52%, rgba(1,8,8,.88) 100%); pointer-events: none; }
.service-card-overlay { position: absolute; z-index: 2; right: 18px; bottom: 18px; left: 18px; color: #fff; text-align: center; }
.service-card-overlay p { margin: 0 0 7px; color: #cef2e3; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.service-card-overlay h2 { margin: 0; font-size: 22px; line-height: 1.06; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.service-card.is-featured .service-card-overlay h2 { font-size: 27px; }
.service-card-overlay small { display: -webkit-box; margin: 9px auto 0; overflow: hidden; color: rgba(255,255,255,.91); font-size: 13px; line-height: 1.32; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.service-card-overlay a { display: inline-block; margin-top: 12px; padding: 8px 13px; border-radius: 999px; background: rgba(15,118,110,1); color: #fff; font-size: 11px; font-weight: 800; text-decoration: none; }
.service-card-overlay a span { margin-left: 4px; font-size: 14px; }.service-card:hover { transform: translateY(-8px); }.service-card:hover img { transform: scale(1.06); }
.service-nav { position: absolute; z-index: 7; top: 50%; transform: translateY(-50%); width: 49px; height: 49px; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.3); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; text-shadow: 0 2px 10px rgba(0,0,0,.32); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.2); transition: background .3s ease, border-color .3s ease, transform .3s ease; }
.service-nav:hover { background: rgba(0,0,0,.5); border-color: rgba(255,255,255,.6); transform: translateY(-50%) scale(1.05); }
.service-prev { left: max(18px, calc(50% - 580px)); }
.service-next { right: max(18px, calc(50% - 580px)); }

.new-home-hero .hero-shell.in-view .hero-copy-panel .eyebrow { animation: heroElementIn .6s cubic-bezier(.22,1,.36,1) .2s both; }
.new-home-hero .hero-shell.in-view .hero-copy-panel h1 { animation: heroElementIn .7s cubic-bezier(.22,1,.36,1) .3s both; }
.new-home-hero .hero-shell.in-view .hero-copy-panel .hero-lead { animation: heroElementIn .7s cubic-bezier(.22,1,.36,1) .4s both; }
.new-home-hero .hero-shell.in-view .hero-copy-panel .hero-actions { animation: heroElementIn .8s cubic-bezier(.22,1,.36,1) .5s both; }
.new-home-hero .hero-shell.in-view .hero-services { animation: heroCardsIn .8s cubic-bezier(.22,1,.36,1) .1s both; }

@keyframes heroElementIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes heroCardsIn { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) { .new-home-hero { min-height: 570px; }.hero-shell { min-height: 540px; }.hero-copy-panel { padding: 0 24px; }.service-track { transform: translateX(calc(50vw - 390px)); gap: 18px; }.service-card { flex-basis: 210px; height: 280px; }.service-card.is-featured { flex-basis: 240px; height: 295px; }.service-prev { left: 10px; }.service-next { right: 10px; } }
@media (max-width: 600px) { .new-home-hero { min-height: 540px; padding-top: 24px; }.hero-shell { min-height: 510px; }.hero-main-content { flex-direction: column; align-items: center; }.hero-copy-panel { padding: 0 18px; text-align: center; }.hero-copy-panel h1 { font-size: 32px; }.hero-copy-panel .hero-lead { font-size: 14px; }.hero-copy-panel .hero-actions { justify-content: center; margin-top: 16px; }.hero-services { bottom: -95px; }.service-carousel { width: 100%; padding-bottom: 26px; }.service-track { gap: 14px; transform: translateX(calc(50vw - 180px)); }.service-card { flex-basis: 152px; height: 228px; border-radius: 14px; }.service-card.is-featured { flex-basis: 175px; height: 245px; }.service-card-overlay { right: 9px; bottom: 11px; left: 9px; }.service-card-overlay h2, .service-card.is-featured .service-card-overlay h2 { font-size: 17px; }.service-card-overlay small { display: none; }.service-card-overlay a { margin-top: 8px; padding: 7px 10px; }.service-nav { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .new-home-hero .hero-shell.in-view .hero-copy-panel .eyebrow,
  .new-home-hero .hero-shell.in-view .hero-copy-panel h1,
  .new-home-hero .hero-shell.in-view .hero-copy-panel .hero-lead,
  .new-home-hero .hero-shell.in-view .hero-copy-panel .hero-actions,
  .new-home-hero .hero-shell.in-view .hero-services {
    animation: none;
  }
  .service-card, .service-card img { transition: none; }
}
