/* Home page hero carousel. Slides share one grid cell, so the hero keeps the height of the tallest slide. */
.hero-carousel { position: relative; padding-bottom: 8px; }
.hero-carousel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 85% 40%, rgba(255, 255, 255, .10), transparent 60%),
              radial-gradient(40% 60% at 10% 110%, rgba(225, 29, 46, .18), transparent 60%);
}
.hc-slides { display: grid; position: relative; }
.hc-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.hc-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }

.hc-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; padding-top: 52px; padding-bottom: 20px; }
.hc-copy h1, .hc-copy .h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.8px; line-height: 1.08; margin: 0 0 16px; }
.hc-copy em { font-style: normal; color: #ff5a67; }
.hc-copy p { color: #d6e2ee; font-size: 1.05rem; max-width: 520px; margin-bottom: 24px; }
.hc-kicker { margin-bottom: 16px; min-height: 32px; display: flex; align-items: center; }
.hc-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hc-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff5a67; }
.btn.hc-ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .4); }
.btn.hc-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* Slide motion: copy rises, stage settles */
.hc-slide .hc-copy > * { transform: translateY(14px); opacity: 0; transition: transform .6s ease, opacity .6s ease; }
.hc-slide.is-active .hc-copy > * { transform: none; opacity: 1; }
.hc-slide.is-active .hc-copy > :nth-child(2) { transition-delay: .06s; }
.hc-slide.is-active .hc-copy > :nth-child(3) { transition-delay: .12s; }
.hc-slide.is-active .hc-copy > :nth-child(4) { transition-delay: .18s; }
.hc-slide .hc-stage { transform: scale(.97); transition: transform .8s ease; }
.hc-slide.is-active .hc-stage { transform: none; }

/* The designed visual: a light stage with the brand ring; white-background product photos blend into it */
.hc-stage {
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 460 / 380; justify-self: center;
  border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 20%, #ffffff 0%, #eef3f9 55%, #dbe4ef 100%);
  box-shadow: 0 30px 60px rgba(3, 18, 33, .35), inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.hc-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(180deg, transparent, rgba(11, 45, 77, .06)); }
.hc-ring { position: absolute; width: 92%; left: 4%; top: 2%; fill: none; stroke: #0B2D4D; stroke-width: 1.2; opacity: .12; }
.hc-ring circle:first-child { stroke-dasharray: 120 18 220 30; stroke-linecap: round; stroke-width: 3; }
.hc-ring-dashed circle:last-child { stroke-dasharray: 4 6; }
.hc-p {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto; z-index: var(--z, 1);
  /* Photos have near-white backgrounds: lift them to pure white, then multiply so they vanish into the stage.
     (No drop shadow: it would outline the photo's rectangle.) */
  filter: brightness(1.06) contrast(1.04); mix-blend-mode: multiply;
}
.hc-rolls { position: absolute; inset: 4% 3% 2% 3%; width: 94%; height: auto; }
.hc-chip {
  position: absolute; left: var(--x); top: var(--y); z-index: 5;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px;
  background: #fff; color: var(--navy); font-size: .76rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(11, 45, 77, .16);
}
.hc-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hc-chip .dot.ok { background: #16a34a; }
.hc-chip-strong { background: var(--navy); color: #fff; }

/* Footer row: USPs and controls */
.hc-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 28px; position: relative; }
.hc-foot .usp { margin: 0; }
.hc-controls { display: flex; align-items: center; gap: 8px; }
.hc-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s; }
.hc-btn:hover { background: rgba(255, 255, 255, .16); }
.hc-btn:focus-visible, .hc-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hc-btn .i-play { display: none; }
.hero-carousel.is-paused .hc-btn .i-play { display: block; }
.hero-carousel.is-paused .hc-btn .i-pause { display: none; }
.hc-dots { display: flex; gap: 6px; padding: 0 4px; }
.hc-dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s, background .3s; }
.hc-dots button[aria-selected="true"] { width: 28px; background: #ff5a67; }

@media (max-width: 860px) {
  .hc-grid { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
  .hc-stage { max-width: 440px; border-radius: 22px; }
  .hc-copy p { font-size: .98rem; }
  .hc-foot { justify-content: center; }
  .hc-foot .usp { justify-content: center; }
}
@media (max-width: 520px) {
  .hc-chip { font-size: .66rem; padding: 6px 9px; }
  .hc-copy p { margin-bottom: 18px; }
  .hc-copy .row { flex-direction: column; align-items: stretch; gap: 8px; }
  .hc-copy .row .btn { width: 100%; padding: 12px 18px; font-size: .98rem; white-space: nowrap; }
  .hc-stage { max-width: 330px; }
  .hc-grid { gap: 18px; padding-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-slide, .hc-slide .hc-copy > *, .hc-slide .hc-stage { transition: none !important; transform: none !important; }
}
