/* Home page hero slider (templates/index.html, static/js/home-hero.js): named tabs with a time bar,
   a slow zoom on the photo, the text coming in line by line. Site font (DM Sans) and red. */
.hs { position: relative; height: min(720px, 86vh); min-height: 560px; overflow: hidden; background: #111; color: #fff; }
.hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s, visibility .9s; }
.hs-slide.on { opacity: 1; visibility: visible; }
.hs-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-slide.on img { animation: hs-kb 7s ease-out forwards; }
@keyframes hs-kb { from { transform: scale(1); } to { transform: scale(1.09); } }
.hs-slide::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,12,14,.88) 0%, rgba(10,12,14,.55) 45%, rgba(10,12,14,.1) 75%),
              linear-gradient(0deg, rgba(10,12,14,.75), transparent 40%); }
.hs-text { position: absolute; z-index: 2; left: max(5vw, 16px); right: max(5vw, 16px); top: 50%; transform: translateY(-58%); max-width: 700px; }
@media (min-width: 1400px) { .hs-text { left: calc((100vw - 1280px) / 2 + 24px); } .hs-tabs { padding-left: calc((100vw - 1280px) / 2 + 12px); } }
.hs-eb { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ff8a84; margin-bottom: 14px; }
.hs-text h1, .hs-text h2 { margin: 0; font-size: clamp(34px, 5.2vw, 64px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; color: #fff; }
.hs-text u { text-decoration: none; background: linear-gradient(transparent 82%, #cf2e2e 82%); }
.hs-text p { color: #d5dade; font-size: 18px; line-height: 1.6; margin: 18px 0 28px; max-width: 54ch; }
.hs-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hs-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 4px;
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; transition: background-color .2s, transform .2s; }
.hs-red { background: #cf2e2e; color: #fff; box-shadow: 0 12px 28px -12px rgba(207,46,46,.8); }
.hs-red:hover { background: #b91c1c; transform: translateY(-2px); }
.hs-white { background: #fff; color: #15191d; }
.hs-white:hover { transform: translateY(-2px); }
.hs-text > * { opacity: 0; transform: translateY(22px); }
.hs-slide.on .hs-text > * { animation: hs-up .7s cubic-bezier(.2,.7,.2,1) forwards; }
.hs-slide.on .hs-text > :nth-child(2) { animation-delay: .12s; }
.hs-slide.on .hs-text > :nth-child(3) { animation-delay: .24s; }
.hs-slide.on .hs-text > :nth-child(4) { animation-delay: .36s; }
@keyframes hs-up { to { opacity: 1; transform: none; } }
.hs-proof { position: absolute; z-index: 3; right: max(5vw, 16px); bottom: 118px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.hs-proof span { background: rgba(255,255,255,.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; }
.hs-proof b { color: #ff8a84; }
/* right padding: room for the floating chat / WhatsApp buttons (partials/contact_bubbles.html) */
.hs-tabs { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 88px 0 calc(max(5vw, 16px) - 12px);
  border-top: 1px solid rgba(255,255,255,.15); background: rgba(10,12,14,.35); backdrop-filter: blur(8px); }
.hs-tabs button { position: relative; color: #aeb5bc; font-size: 14px; font-weight: 600; text-align: left; padding: 22px 12px 24px; min-height: 72px; cursor: pointer; transition: color .2s; }
.hs-tabs small { display: block; font-size: 11px; opacity: .7; margin-bottom: 2px; }
.hs-tabs button.on, .hs-tabs button:hover { color: #fff; }
.hs-tabs button::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: rgba(255,255,255,.12); }
.hs-tabs i { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: #cf2e2e; }
.hs-tabs button.on i { animation: hs-prog 7s linear forwards; }
.hs.pause .hs-tabs button.on i { animation-play-state: paused; }
@keyframes hs-prog { to { width: 100%; } }
.hs :focus-visible { outline: 3px solid #cf2e2e; outline-offset: 3px; }
@media (max-width: 760px) {
  .hs-tabs { padding: 0 84px 0 4px; }
  .hs-tabs button { padding: 16px 6px 18px; min-height: 60px; text-align: center; }
  .hs-tabs button span { display: none; }
  .hs-tabs small { font-size: 13px; opacity: 1; margin: 0; }
  .hs-proof { display: none; }
  .hs-text { transform: translateY(-56%); }
  .hs-text p { font-size: 16px; margin: 14px 0 22px; }
  .hs-btn { min-height: 44px; padding: 0 18px; font-size: 13px; }
  .hs-slide::after { background: linear-gradient(90deg, rgba(10,12,14,.85), rgba(10,12,14,.55)), linear-gradient(0deg, rgba(10,12,14,.75), transparent 40%); }
}
@media (prefers-reduced-motion: reduce) {
  .hs-slide.on img { animation: none; }
  .hs-text > *, .hs-slide.on .hs-text > * { animation: none; opacity: 1; transform: none; }
  .hs-slide { transition: none; }
}

/* Brands strip right under the hero: runs across the full width, right to left; pauses under the mouse. */
.bm { padding: 22px 0; border-bottom: 1px solid #e5e5e5; background: #fff; overflow: hidden; }
.bm-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.bm-track { display: flex; width: max-content; animation: bm-run 40s linear infinite; }
.bm:hover .bm-track, .bm:focus-within .bm-track { animation-play-state: paused; }
.bm ul { display: flex; align-items: center; gap: 56px; padding-right: 56px; margin: 0; list-style: none; }
.bm li { flex: none; font-size: 24px; font-weight: 800; letter-spacing: .01em; color: #a3a3a3; white-space: nowrap; transition: color .2s; }
.bm li:hover { color: #171717; }
.bm-k a { color: #cf2e2e; display: inline-flex; align-items: center; }
.bm-k a:hover { color: #b91c1c; }
.bm-k em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-left: 10px; border: 1px solid currentColor; border-radius: 999px; padding: 3px 8px; }
@keyframes bm-run { to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .bm { padding: 16px 0; }
  .bm li { font-size: 20px; }
  .bm ul { gap: 40px; padding-right: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-track { animation: none; width: auto; }
  .bm-track ul[aria-hidden] { display: none; }
  .bm-view { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}
html.dark .bm { background: var(--d-surface); border-color: var(--d-line); }
html.dark .bm li { color: var(--d-text-4); }
html.dark .bm li:hover { color: var(--d-text); }
html.dark .bm-k a { color: #ff5a5a; }
