/* ============================================================
   HvH Service — Design Layer
   Professional dark theme with red accent (#ff0000)
   Loaded after pro.css + custom.css, overrides both.

   Accent discipline: red is punctuation, not lighting. Glow is
   reserved for the hero and the primary CTA. Everything else
   earns depth from neutral elevation, never from coloured haze.
   ============================================================ */

:root {
  /* Neutral elevation ladder */
  --hvh-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --hvh-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.45);
  --hvh-shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.55);

  /* Hairlines */
  --hvh-line: rgba(255, 255, 255, 0.07);
  --hvh-line-strong: rgba(255, 255, 255, 0.12);

  /* Text ramp */
  --hvh-text: #f2f2f5;
  --hvh-text-muted: rgba(255, 255, 255, 0.58);
  --hvh-text-dim: rgba(255, 255, 255, 0.4);

  /* Motion */
  --hvh-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --hvh-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --hvh-radius: 12px;
}

/* ---------- Base / Background ---------- */

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  background-color: var(--cl-background-primary);
  color: #f5f5f7;
  overflow-x: hidden;
}

/* Ambient red glow + subtle grid over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(var(--cl-accent-rgb), 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(var(--cl-accent-rgb), 0.06), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(var(--cl-accent-rgb), 0.05), transparent 60%);
}

/* Grid texture lives only in the hero (.hvh-hero-grid). A second
   page-wide grid at a different cell size moirés against it. */

::selection {
  background: rgba(var(--cl-accent-rgb), 0.6);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--cl-background-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(var(--cl-accent-rgb), 0.5);
  border-radius: 6px;
  border: 2px solid var(--cl-background-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--cl-accent-rgb), 0.8);
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

/* Optical tracking: the larger the type, the tighter it sets. */
h1 { letter-spacing: -0.025em; }
h2 { letter-spacing: -0.02em; }
h3 { letter-spacing: -0.015em; }
h4, h5, h6 { letter-spacing: -0.01em; }

p {
  line-height: 1.65;
}

/* Visible keyboard focus — required for AA, and reads as considered. */
:focus-visible {
  outline: 2px solid var(--cl-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
.btn:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* There is deliberately no entrance animation on page sections.
   Two attempts here made the storefront invisible:
     1. A JS scroll-reveal — hid content, observer never fired.
     2. `animation: fade-up ... both` — `from { opacity: 0 }` IS the
        resting state, so a stalled animation clock leaves it at 0.
   Both were measured blank on the live product page. Any technique that
   starts content at opacity 0 bets the shop against a 0.6s fade, and
   that is not a trade worth making. Sections render, immediately. */

/* Honour the OS setting: kill motion, keep every colour/state change
   so hover and focus still read. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .product-card:hover,
  .features .feature:hover,
  .socials .social:hover,
  .hvh-stat:hover,
  .hvh-footer-socials a:hover,
  .btn-primary:hover,
  .btn-outline-primary:hover {
    transform: none;
  }
}

/* ---------- Announcement ---------- */

.announcement.component {
  background: linear-gradient(90deg,
    rgba(var(--cl-accent-rgb), 0.22),
    rgba(var(--cl-accent-rgb), 0.55) 50%,
    rgba(var(--cl-accent-rgb), 0.22));
  border-bottom: 1px solid rgba(var(--cl-accent-rgb), 0.35);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.45rem 1rem;
}

.announcement.component a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 0.35rem;
}

.announcement.component a svg {
  width: 0.9rem;
  height: 0.9rem;
  vertical-align: -0.15em;
}

/* ---------- Navbar (floating glass) ---------- */

header.sticky-top {
  padding-bottom: 0.75rem;
  background: transparent;
}

.navbar.component {
  margin: 0.75rem clamp(0.75rem, 4vw, 3.5rem) 0;
  background: rgba(10, 10, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(var(--cl-accent-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.navbar.component .container {
  max-width: 100%;
}

.navbar.component .navbar-brand {
  gap: 0.65rem;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.navbar.component .navbar-brand img.navbar-logo {
  max-height: 2.4rem;
  border-radius: 8px;
  filter: drop-shadow(0 2px 8px rgba(var(--cl-accent-rgb), 0.45));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.navbar.component .navbar-brand:hover img.navbar-logo {
  filter: drop-shadow(0 4px 14px rgba(var(--cl-accent-rgb), 0.75));
  transform: scale(1.04);
}

.navbar.component .nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
}

.navbar.component .nav-link:hover,
.navbar.component .nav-link.active {
  color: #fff;
  background: rgba(var(--cl-accent-rgb), 0.12);
}

.navbar.component .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--cl-accent);
}

.navbar.component .btn-outline-primary {
  border-color: rgba(var(--cl-accent-rgb), 0.55);
  color: #fff;
  transition: all 0.25s ease;
}

.navbar.component .btn-outline-primary:hover {
  background: var(--cl-accent);
  border-color: var(--cl-accent);
  box-shadow: 0 0 18px rgba(var(--cl-accent-rgb), 0.55);
}

/* ---------- Buttons ---------- */

.btn {
  /* inline-flex + nowrap keeps label and icon on one line. Bootstrap ships
     .btn as inline-block, so a button whose icon isn't wrapped in a flex
     span (Buy Now: bare <span> + <svg>, unlike Add to Cart's d-flex) wraps
     to two lines. Centring here fixes it on the product page and in the
     cart without touching SellAuth's form markup. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
  border-radius: 10px;
  font-weight: 600;
  /* Bootstrap's focus ring defaults to blue (#0d6efd = 13,110,253). The
     filled brand buttons got it retinted, but generic .btn instances — the
     quantity stepper, carousel controls — kept the default and flashed blue
     when focused after a click. Point the ring at the accent instead. */
  --bs-btn-focus-shadow-rgb: var(--cl-accent-rgb);
}

/* :not(.variant) is load-bearing. SellAuth renders every product variant as
   `.variant.btn-primary` and marks only the selected one with .active — so
   this fill painted all five variant rows solid red at once, and the
   selection had nothing left to stand out against. The CTA keeps the fill;
   variants style themselves in product-page.njk. */
.btn-primary:not(.variant) {
  background: linear-gradient(135deg,
    rgba(var(--cl-accent-rgb), 1),
    color-mix(in srgb, var(--cl-accent), black 25%)) !important;
  border: 1px solid rgba(var(--cl-accent-rgb), 0.8) !important;
  color: #fff !important;
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 6px 24px rgba(var(--cl-accent-rgb), 0.42);
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(0.96);
  box-shadow: var(--hvh-shadow-sm);
}

.hvh-btn-glow {
  box-shadow: 0 4px 20px rgba(var(--cl-accent-rgb), 0.45);
}

/* Secondary action: no glow. Only the primary CTA gets to shine,
   otherwise both read as equally important and neither leads. */
.btn-outline-primary {
  transition:
    transform 0.2s var(--hvh-ease-out),
    background 0.25s var(--hvh-ease),
    border-color 0.25s var(--hvh-ease);
}

.btn-outline-primary:hover {
  transform: translateY(-1px);
  color: #fff;
}

/* ---------- Hero ---------- */

.hvh-hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.hvh-hero.hero-short { min-height: 380px; }
.hvh-hero.hero-tall { min-height: 640px; }

.hvh-hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hvh-hero-glow {
  position: absolute;
  top: -35%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center,
    rgba(var(--cl-accent-rgb), 0.28),
    rgba(var(--cl-accent-rgb), 0.08) 45%,
    transparent 70%);
  filter: blur(10px);
}

.hvh-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--cl-accent-rgb), 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--cl-accent-rgb), 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent 75%);
}

.hvh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(var(--cl-accent-rgb), 0.1);
  border: 1px solid rgba(var(--cl-accent-rgb), 0.35);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(var(--cl-accent-rgb), 0.18);
}

@keyframes hvh-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--cl-accent-rgb), 0.6); }
  50% { box-shadow: 0 0 0 5px rgba(var(--cl-accent-rgb), 0); }
}

.hvh-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cl-accent);
  animation: hvh-pulse 2s ease-in-out infinite;
}

.hvh-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem !important;
  text-wrap: balance;
}

.hvh-hero-title .accent,
.section-title h2 .accent {
  background: linear-gradient(120deg,
    color-mix(in srgb, var(--cl-accent), white 20%),
    var(--cl-accent) 55%,
    color-mix(in srgb, var(--cl-accent), black 20%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* The hero is the one place that gets to glow. */
.hvh-hero-title .accent {
  filter: drop-shadow(0 0 22px rgba(var(--cl-accent-rgb), 0.4));
}

.hvh-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  margin: 0 auto 2rem auto;
}

.align-left .hvh-hero-subtitle { margin-left: 0; }
.align-right .hvh-hero-subtitle { margin-right: 0; }

.hvh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.align-left .hvh-hero-actions { justify-content: flex-start; }
.align-right .hvh-hero-actions { justify-content: flex-end; }

.hvh-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.hvh-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 150px;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hvh-line);
  border-radius: var(--hvh-radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.3s var(--hvh-ease-out),
    border-color 0.3s var(--hvh-ease),
    box-shadow 0.3s var(--hvh-ease);
}

.hvh-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--cl-accent-rgb), 0.45);
  box-shadow: var(--hvh-shadow-md);
}

/* Optical correction: pure #ff0000 vibrates and fringes as small text
   on near-black. Lifting it 15% toward white settles it while keeping
   the brand hue. Contrast gain is marginal (4.75:1 -> 5.02:1 on
   --cl-background-secondary); this is about legibility, not AA — both
   values already pass. Fills and borders stay pure red. */
.hvh-stat .value {
  font-size: 1.6rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--cl-accent), white 15%);
}

.hvh-stat .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Hero trust row ---------- */

.hvh-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  max-width: 30rem;
  margin: 2.25rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hvh-line);
}

.align-left .hvh-trust { margin-left: 0; justify-content: flex-start; }
.align-right .hvh-trust { margin-right: 0; justify-content: flex-end; }

.hvh-trust-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hvh-text-dim);
}

.hvh-trust-icons {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Muted by default so the logos read as reassurance rather than a second
   set of CTAs competing with the buttons above. */
.hvh-trust-icons i {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.32);
  transition: color 0.25s var(--hvh-ease);
}

.hvh-trust-icons i:hover {
  color: rgba(255, 255, 255, 0.7);
}

.hvh-hero-side img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(var(--cl-accent-rgb), 0.25);
}

/* ---------- Section titles ---------- */

.section-title {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.section-title h2 {
  position: relative;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  text-align: center;
  padding-bottom: 0.85rem;
  margin-bottom: 0;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: var(--cl-accent);
}

/* Must be the margin shorthand, not margin-bottom alone: pro.css sets
   `margin: -1rem 0 2rem` here, and that -1rem top pulled the subtitle
   up under the title's ::after bar, striking the text through. */
.section-subtitle {
  display: flex;
  justify-content: center;
  margin: 0 0 2.25rem;
}

.section-subtitle p {
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  max-width: 560px;
  margin-bottom: 0;
}

/* ---------- Product cards ---------- */

.product-card {
  background: var(--cl-background-secondary);
  border: 1px solid var(--hvh-line);
  border-radius: var(--hvh-radius);
  overflow: hidden;
  transition:
    transform 0.3s var(--hvh-ease-out),
    border-color 0.3s var(--hvh-ease),
    box-shadow 0.3s var(--hvh-ease);
}

.product-card .card-img-top {
  overflow: hidden;
}

.product-card .card-img-top img {
  transition: transform 0.4s ease;
}

/* pro.css sets object-fit: scale-down here, which is min(none, contain) —
   the image can never fill the 16/9 frame. Undersized art sits marooned at
   natural size; oversized art gets letterboxed. Either way the card shows
   gaps. cover fills the frame and crops the overflow instead: for a 16:10
   source that's ~11px off the top and bottom versus ~36px of dead space
   down each side. Specificity must match pro.css's `.products .card
   .card-img-top img` (0,3,1) — this wins on load order. */
.products .card .card-img-top img,
.products .card .card-img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--cl-accent-rgb), 0.45);
  box-shadow: var(--hvh-shadow-lg);
}

.product-card:hover .card-img-top img {
  transform: scale(1.04);
}

.product-card .card-body.glassy {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.product-card .card-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.product-card .divider-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--cl-accent-rgb), 0.5), rgba(255, 255, 255, 0.06));
}

.product-card .text-price {
  color: color-mix(in srgb, var(--cl-accent), white 15%);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.product-card .text-stock {
  color: rgba(255, 255, 255, 0.55);
}

.product-card .product-img-placeholder {
  background: linear-gradient(135deg,
    rgba(var(--cl-accent-rgb), 0.12),
    rgba(var(--cl-accent-rgb), 0.04)) !important;
  color: rgba(var(--cl-accent-rgb), 0.6) !important;
}

/* ---------- Features ---------- */

.features .feature {
  height: 100%;
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: var(--cl-background-secondary);
  border: 1px solid var(--hvh-line);
  border-radius: var(--hvh-radius);
  transition:
    transform 0.3s var(--hvh-ease-out),
    border-color 0.3s var(--hvh-ease),
    box-shadow 0.3s var(--hvh-ease);
}

.features .feature:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--cl-accent-rgb), 0.45);
  box-shadow: var(--hvh-shadow-lg);
}

/* Specificity must match pro.css's `.features .list .feature i`
   (0,3,1) or its 4rem/2rem win and the glyph overflows the box. */
.features .list .feature i,
.features .feature i {
  display: inline-block;
  width: auto;
  height: auto;
  margin-bottom: 1.25rem;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--cl-accent);
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.features .feature .title {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.features .feature .description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* ---------- Socials ---------- */

.socials .social {
  background: var(--cl-background-secondary);
  border: 1px solid var(--hvh-line);
  border-radius: var(--hvh-radius);
  transition:
    transform 0.3s var(--hvh-ease-out),
    border-color 0.3s var(--hvh-ease),
    box-shadow 0.3s var(--hvh-ease);
}

.socials .social:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--cl-accent-rgb), 0.45);
  box-shadow: var(--hvh-shadow-lg);
}

/* ---------- Reviews / testimonials ---------- */

.testimonial {
  background: var(--cl-background-secondary);
  border: 1px solid var(--hvh-line);
  border-radius: var(--hvh-radius);
  padding-bottom: 0.25rem;
  transition:
    transform 0.3s var(--hvh-ease-out),
    border-color 0.3s var(--hvh-ease),
    box-shadow 0.3s var(--hvh-ease);
}

.testimonial:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--cl-accent-rgb), 0.4);
  box-shadow: var(--hvh-shadow-lg);
}

/* The quote glyph is decoration — keep it a faint watermark. */
.testimonial .header svg.quote {
  color: rgba(var(--cl-accent-rgb), 0.22);
}

/* Stars ship hard-coded gold (#FFD700) inline. Split by attribute so CSS
   fill doesn't flood the empty stars (fill="none") solid. Filled → brand
   red; empty → a quiet outline. */
.testimonial .stars svg[fill="#FFD700"] {
  fill: var(--cl-accent);
  stroke: var(--cl-accent);
}
.testimonial .stars svg[fill="none"] {
  stroke: rgba(255, 255, 255, 0.22);
}
.testimonial .stars {
  display: inline-flex;
  gap: 2px;
}

.testimonial .content .message {
  color: var(--hvh-text);
  line-height: 1.55;
}

/* Date read as gold too, competing with the stars. Mute it. */
.testimonial .footer {
  border-top: 1px solid var(--hvh-line);
  margin-top: 0.75rem;
  padding-top: 0.85rem !important;
}
.testimonial .footer .items {
  color: var(--hvh-text-muted);
  font-size: 0.82rem;
}
.testimonial .footer .date {
  color: var(--hvh-text-dim) !important;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Cards / modals / misc surfaces ---------- */

.card {
  background-color: var(--cl-background-secondary);
  border-color: var(--hvh-line);
  border-radius: var(--hvh-radius);
}

.modal-content {
  background-color: var(--cl-background-secondary);
  border: 1px solid var(--hvh-line-strong);
  border-radius: 16px;
  box-shadow: var(--hvh-shadow-lg);
}

.modal-backdrop.show {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 1;
}

.form-control,
.form-select {
  border-radius: 10px;
}

/* ---------- FAQ / accordion ---------- */

.accordion-item {
  background: var(--cl-background-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.accordion-button {
  background: transparent;
  color: #fff;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: rgba(var(--cl-accent-rgb), 0.08);
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(var(--cl-accent-rgb), 0.3);
}

/* ---------- Empty states ---------- */

.hvh-empty-state {
  max-width: 520px;
  margin: 3rem auto;
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: var(--hvh-text-muted);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(var(--cl-accent-rgb), 0.06), transparent 70%),
    var(--cl-background-secondary);
  border: 1px solid var(--hvh-line);
  border-radius: 16px;
}

.hvh-empty-state i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.35rem;
  font-size: 1.6rem;
  color: var(--cl-accent);
  background:
    radial-gradient(circle at 50% 35%, rgba(var(--cl-accent-rgb), 0.18), rgba(var(--cl-accent-rgb), 0.06));
  border: 1px solid rgba(var(--cl-accent-rgb), 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(var(--cl-accent-rgb), 0.05);
}

.hvh-empty-state .fw-bold {
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem !important;
}

.hvh-empty-state p:last-child {
  font-size: 0.92rem;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */

.hvh-footer {
  position: relative;
  margin-top: 4rem;
  background:
    radial-gradient(ellipse 60% 80% at 50% 110%, rgba(var(--cl-accent-rgb), 0.10), transparent 65%),
    var(--cl-background-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hvh-footer-line {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--cl-accent-rgb), 0.55) 50%,
    transparent);
}

.hvh-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hvh-footer-logo {
  max-height: 2.6rem;
  border-radius: 8px;
  filter: drop-shadow(0 2px 10px rgba(var(--cl-accent-rgb), 0.45));
}

.hvh-footer-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hvh-footer-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  max-width: 420px;
}

.hvh-footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.hvh-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.05rem;
  color: var(--hvh-text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hvh-line-strong);
  border-radius: 10px;
  transition:
    color 0.25s var(--hvh-ease),
    background 0.25s var(--hvh-ease),
    border-color 0.25s var(--hvh-ease),
    transform 0.25s var(--hvh-ease-out);
}

.hvh-footer-socials a:hover {
  color: #fff;
  background: var(--cl-accent);
  border-color: var(--cl-accent);
  transform: translateY(-2px);
}

.hvh-footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cl-accent);
  margin-bottom: 1rem;
}

.hvh-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hvh-footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.hvh-footer-links a:hover {
  color: var(--cl-accent);
  padding-left: 4px;
}

.hvh-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.hvh-footer-tag {
  color: rgba(var(--cl-accent-rgb), 0.75);
  font-weight: 600;
}

/* ---------- Mobile tweaks ---------- */

@media (max-width: 767px) {
  .navbar.component {
    margin: 0.6rem 0.6rem 0;
  }

  .hvh-hero {
    min-height: 420px;
  }

  .hvh-hero-stats {
    gap: 0.6rem;
  }

  .hvh-stat {
    min-width: calc(50% - 0.6rem);
    padding: 0.8rem 1rem;
  }

  .hvh-footer-bottom {
    justify-content: center;
    text-align: center;
  }
}
