/* ============================================================
   AUDIT FIX STYLESHEET — audit-fixes.css
   Priority: P1 (High) + P2 (Medium) + P3 (Enhancement)
   All fixes applied from screenshot audit report
   Checkpoint: audit-v1 — fixes 3–20
   ============================================================ */

/* ──────────────────────────────────────────────────────────────
   P0-3: ForYou Mobile — Prevent lazy-load layout collapse
   ────────────────────────────────────────────────────────────── */
.product-card,
.foryou-product-card,
.shop-product-card,
[class*="product-card"],
[class*="item-card"] {
  min-height: 280px; /* Reserves space before images load */
}

.product-card img,
.foryou-product-card img,
[class*="product-card"] img {
  min-height: 200px;
  background: rgba(17,11,46,0.6);
}

/* Force eager load on first 6 product images */
.product-card:nth-child(-n+6) img {
  loading: eager;
}

/* ──────────────────────────────────────────────────────────────
   P1-4: Hero → Section Transition
   NOTE: #hero::after overlay removed — caused visible black box.
   Transition is handled by the existing mesh/background system.
   ────────────────────────────────────────────────────────────── */

/* ──────────────────────────────────────────────────────────────
   P1-5: Pricing Section — Replace red with violet-to-gold
   ────────────────────────────────────────────────────────────── */
/* Targets the red/coral "Infinite Cosmic Access" banner */
.pricing-banner,
.lifetime-banner,
[class*="upgrade-banner"],
[class*="cosmic-banner"],
.ak-upsell-card,
#ak-upsell-card {
  background: linear-gradient(135deg, #1A0A45 0%, #2D1B69 50%, #1A0A45 100%) !important;
  border-color: rgba(124,58,237,0.25) !important;
}

/* Remove any red/danger CTA from pricing sections */
.pricing-section [style*="background: red"],
.pricing-section [style*="background:#f00"],
.pricing-section [style*="background: #FF"],
.pricing [class*="red"],
.pricing [class*="alert"],
.pricing [class*="danger"] {
  background: linear-gradient(135deg, #1A0A45, #2D1B69) !important;
  color: #F0EAFF !important;
}

/* Cosmic mesh orb behind upgrade/lifetime banners */
.ak-upsell-card {
  position: relative;
  overflow: hidden;
}
.ak-upsell-card::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(124,58,237,0.12);
  filter: blur(80px);
  top: -100px; right: -100px;
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────────
   P1-7: Worry / Intent Cards — Per-category accent border
   NOTE: Scoped to intent/worry cards only — NOT ForYou product cards
   ────────────────────────────────────────────────────────────── */

/* ForYou product cards must NOT get category accent borders */
.ak-pcard[data-category] { border-left: none !important; }

/* Love / Relationship category */
.intent-card[data-intent="love"],
.intent-card:nth-child(1),
.worry-card:nth-child(1),
[data-category="love"] {
  border-left: 3px solid #E8367C !important;
}
[data-category="love"] .intent-icon,
.intent-card:nth-child(1) .intent-icon,
.worry-card:nth-child(1) .intent-icon {
  color: #E8367C;
  filter: drop-shadow(0 0 8px rgba(232,54,124,0.4));
}

/* Career category */
.intent-card[data-intent="career"],
.intent-card:nth-child(2),
.worry-card:nth-child(2),
[data-category="career"] {
  border-left: 3px solid #06B6D4 !important;
}
[data-category="career"] .intent-icon,
.intent-card:nth-child(2) .intent-icon,
.worry-card:nth-child(2) .intent-icon {
  color: #06B6D4;
  filter: drop-shadow(0 0 8px rgba(6,182,212,0.4));
}

/* Finance / Money category */
.intent-card[data-intent="money"],
.intent-card[data-intent="finance"],
.intent-card:nth-child(3),
.worry-card:nth-child(3),
[data-category="finance"] {
  border-left: 3px solid #FFB800 !important;
}
[data-category="finance"] .intent-icon,
.intent-card:nth-child(3) .intent-icon,
.worry-card:nth-child(3) .intent-icon {
  color: #FFB800;
  filter: drop-shadow(0 0 8px rgba(255,184,0,0.4));
}

/* Health / Wellness category */
.intent-card[data-intent="health"],
.intent-card:nth-child(4),
.worry-card:nth-child(4),
[data-category="health"] {
  border-left: 3px solid #22C55E !important;
}
[data-category="health"] .intent-icon,
.intent-card:nth-child(4) .intent-icon,
.worry-card:nth-child(4) .intent-icon {
  color: #22C55E;
  filter: drop-shadow(0 0 8px rgba(34,197,94,0.4));
}

/* Increase all intent/worry card icon size */
.intent-icon,
.worry-icon,
[class*="intent-icon"],
[class*="worry-icon"] {
  font-size: 48px !important;
  width: 68px !important;
  height: 68px !important;
}

/* ──────────────────────────────────────────────────────────────
   P1-8: Section Headings — Gold gradient accent words
   Apply .accent class to key words in section titles
   ────────────────────────────────────────────────────────────── */
.section-title .accent,
h2 .accent,
h3 .accent,
.sec-title .accent,
.heading-accent {
  background: linear-gradient(110deg, #FFB800, #FFCB45 50%, #FFB800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* ──────────────────────────────────────────────────────────────
   P2-9: Navigation — Backdrop blur on scroll + scroll state
   ────────────────────────────────────────────────────────────── */
#nav {
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#nav.scrolled {
  background: rgba(10,6,24,0.92) !important;
  backdrop-filter: blur(24px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(130%) !important;
  box-shadow: 0 1px 0 rgba(124,58,237,0.12), 0 4px 32px rgba(0,0,0,0.3) !important;
}

/* ──────────────────────────────────────────────────────────────
   P2-10: Product Price Colour Hierarchy
   ────────────────────────────────────────────────────────────── */
.price-original,
.price-was,
[class*="price-old"],
[class*="original-price"],
s.price,
del.price {
  color: #6E628A !important; /* --text-3, muted but readable */
  text-decoration: line-through !important;
  font-size: 0.85em !important;
  font-weight: 400 !important;
}

.price-sale,
.price-now,
[class*="sale-price"],
[class*="current-price"],
.product-price strong,
.product-price .price {
  color: #FFB800 !important;
  font-weight: 700 !important;
  font-size: 1.1em !important;
}

/* ──────────────────────────────────────────────────────────────
   P2-11: SoulSync Radar Chart — Tablet overflow fix
   ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .radar-chart,
  .radar-chart-container,
  [class*="radar"],
  [class*="compat-chart"],
  canvas[class*="chart"] {
    max-width: 340px !important;
    width: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
  }
}

/* ──────────────────────────────────────────────────────────────
   P2-12: Input Focus States — Gold glow
   ────────────────────────────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="password"],
select,
textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  border-color: #FFB800 !important;
  box-shadow: 0 0 0 3px rgba(255,184,0,0.15) !important;
  outline: none !important;
}

/* AI Chat input field */
.ai-chat-input,
[class*="chat-input"],
[class*="jyotishi-input"] {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(124,58,237,0.25) !important;
  border-radius: 12px !important;
  min-height: 44px !important;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ai-chat-input:focus,
[class*="chat-input"]:focus {
  border-color: #FFB800 !important;
  box-shadow: 0 0 0 3px rgba(255,184,0,0.12) !important;
}

/* ──────────────────────────────────────────────────────────────
   P2-13: Testimonial Avatars — Minimum 44px with gold ring
   ────────────────────────────────────────────────────────────── */
.testimonial-avatar,
.review-avatar,
[class*="testimonial"] img[class*="avatar"],
[class*="review"] img,
[class*="testi"] .avatar,
.user-avatar {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  outline: 2px solid rgba(255,184,0,0.35) !important;
  outline-offset: 2px !important;
}

@media (max-width: 768px) {
  .testimonial-avatar,
  .review-avatar,
  [class*="testimonial"] img[class*="avatar"],
  [class*="review"] img {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
}

/* Testimonial author name — make bolder */
.testimonial-name,
[class*="testimonial"] .name,
[class*="review"] .author-name {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
  color: #F0EAFF !important;
  font-size: 15px !important;
}

/* ──────────────────────────────────────────────────────────────
   P2-14: Countdown Timer — Monospace glassmorphism redesign
   ────────────────────────────────────────────────────────────── */
.countdown-timer,
[class*="countdown"],
[id*="countdown"],
[class*="timer"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

.countdown-block,
[class*="countdown-block"],
[class*="timer-block"],
[class*="time-unit"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
  min-width: 72px !important;
  padding: 16px 12px !important;
  border-radius: 14px !important;
  background: rgba(17,11,46,0.75) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255,184,0,0.15) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3) !important;
}

.countdown-digit,
[class*="countdown-digit"],
[class*="timer-digit"],
[class*="time-value"] {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  background: linear-gradient(110deg, #FFB800, #FFCB45) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  line-height: 1 !important;
  box-shadow: 0 0 30px rgba(255,184,0,0.3) !important;
  filter: drop-shadow(0 0 12px rgba(255,184,0,0.4)) !important;
}

.countdown-label,
[class*="countdown-label"],
[class*="timer-label"],
[class*="time-label"] {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #6E628A !important;
}

.countdown-colon,
[class*="countdown-colon"] {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 36px !important;
  color: rgba(255,184,0,0.4) !important;
  align-self: flex-start !important;
  margin-top: 12px !important;
}

/* Urgency escalation when timer < 5 min — JS class hook */
.countdown-urgent .countdown-digit,
.countdown-urgent [class*="countdown-digit"] {
  background: linear-gradient(110deg, #E8367C, #FF6B9D) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.countdown-urgent [class*="countdown-block"] {
  border-color: rgba(232,54,124,0.3) !important;
  box-shadow: 0 0 20px rgba(232,54,124,0.15) !important;
}

/* ──────────────────────────────────────────────────────────────
   P3-15: Hero — Parallax depth layers
   ────────────────────────────────────────────────────────────── */
.hero-parallax-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-layer-stars { z-index: 0; will-change: transform; }
.hero-layer-glyphs { z-index: 1; will-change: transform; }
.hero-layer-scanner { z-index: 2; will-change: transform; }
.hero-layer-content { z-index: 3; position: relative; }

/* Floating zodiac glyphs */
.hero-glyph {
  position: absolute;
  font-size: 24px;
  opacity: 0.06;
  animation: glyphDrift 20s ease-in-out infinite;
  will-change: transform;
  user-select: none;
}
.hero-glyph:nth-child(2)  { animation-duration: 25s; animation-delay: -5s; }
.hero-glyph:nth-child(3)  { animation-duration: 18s; animation-delay: -10s; }
.hero-glyph:nth-child(4)  { animation-duration: 22s; animation-delay: -3s; }

@keyframes glyphDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(15px, -10px) rotate(5deg); }
  50%  { transform: translate(-8px, 20px) rotate(-3deg); }
  75%  { transform: translate(12px, 5px) rotate(8deg); }
}

/* ──────────────────────────────────────────────────────────────
   P3-16: Section Dividers — Cosmic wave SVG style
   ────────────────────────────────────────────────────────────── */
.section-wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}
.section-wave-divider svg {
  display: block;
  width: 100%;
}
.section-wave-divider.wave-down svg { transform: rotate(180deg); }

/* Enhanced existing dividers */
.section-divider {
  position: relative;
  overflow: hidden;
}

/* ──────────────────────────────────────────────────────────────
   P3-18: Skeleton Loading Screens
   ────────────────────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.09) 50%,
    rgba(255,255,255,0.04) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
  pointer-events: none;
}

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text { height: 14px; margin-bottom: 8px; border-radius: 4px; }
.skeleton-text.wide { width: 90%; }
.skeleton-text.mid  { width: 65%; }
.skeleton-text.narrow { width: 40%; }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
.skeleton-card { padding: 20px; border-radius: 16px; }

/* ──────────────────────────────────────────────────────────────
   P3-19: Mobile Nav — CTA always visible alongside hamburger
   ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-r {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* Show a mini CTA in nav on mobile */
  .nav-mobile-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(110deg, #E5A600, #FFB800);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #0A0618;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(255,184,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .nav-mobile-cta:active { transform: scale(0.96); }

  /* Hide desktop-only nav links on mobile (already handled by existing CSS) */
  .nav-cta-wrap { display: none; }
}

@media (min-width: 769px) {
  .nav-mobile-cta { display: none !important; }
}

/* ──────────────────────────────────────────────────────────────
   P3-20: Zodiac Personalization — Sign-based color tokens
   ────────────────────────────────────────────────────────────── */
[data-zodiac="aries"]       { --zodiac-color: #E84040; --zodiac-glow: rgba(232,64,64,0.25); }
[data-zodiac="taurus"]      { --zodiac-color: #22C55E; --zodiac-glow: rgba(34,197,94,0.25); }
[data-zodiac="gemini"]      { --zodiac-color: #FDE047; --zodiac-glow: rgba(253,224,71,0.25); }
[data-zodiac="cancer"]      { --zodiac-color: #93C5FD; --zodiac-glow: rgba(147,197,253,0.25); }
[data-zodiac="leo"]         { --zodiac-color: #FFB800; --zodiac-glow: rgba(255,184,0,0.25); }
[data-zodiac="virgo"]       { --zodiac-color: #6EE7B7; --zodiac-glow: rgba(110,231,183,0.25); }
[data-zodiac="libra"]       { --zodiac-color: #FDA4AF; --zodiac-glow: rgba(253,164,175,0.25); }
[data-zodiac="scorpio"]     { --zodiac-color: #F87171; --zodiac-glow: rgba(248,113,113,0.25); }
[data-zodiac="sagittarius"] { --zodiac-color: #A855F7; --zodiac-glow: rgba(168,85,247,0.25); }
[data-zodiac="capricorn"]   { --zodiac-color: #D97706; --zodiac-glow: rgba(217,119,6,0.25); }
[data-zodiac="aquarius"]    { --zodiac-color: #38BDF8; --zodiac-glow: rgba(56,189,248,0.25); }
[data-zodiac="pisces"]      { --zodiac-color: #06B6D4; --zodiac-glow: rgba(6,182,212,0.25); }

/* SoulSync compatibility ring zodiac color application */
[data-zodiac] .compat-ring,
[data-zodiac] .zodiac-ring,
[data-zodiac] .compatibility-circle {
  stroke: var(--zodiac-color, #7C3AED) !important;
  filter: drop-shadow(0 0 12px var(--zodiac-glow, rgba(124,58,237,0.3))) !important;
}
[data-zodiac] .zodiac-badge,
[data-zodiac] .sign-badge {
  background: var(--zodiac-color, #7C3AED) !important;
  box-shadow: 0 0 20px var(--zodiac-glow, rgba(124,58,237,0.25)) !important;
}

/* ──────────────────────────────────────────────────────────────
   GLOBAL TOKEN VIOLATIONS — Fix raw invalid colors
   ────────────────────────────────────────────────────────────── */

/* Pure white on card → use --text-1 */
.glass-card p,
.glass-card span:not([class*="badge"]):not([class*="pill"]) {
  color: #F0EAFF;
}
.glass-card p.muted,
.glass-card .muted {
  color: #B8B0D4;
}

/* Raw green #00FF00 → system green */
[style*="color: #00FF00"],
[style*="color:#00FF00"] {
  color: #22C55E !important;
}

/* Add missing letter-spacing to h2/h3 globally */
h2, h3 {
  letter-spacing: -0.03em;
}

/* Body text minimum size on mobile */
@media (max-width: 480px) {
  p, li, span.body-text, .body, .desc {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
}

/* ──────────────────────────────────────────────────────────────
   VERIFIED BADGE FIX — use system green not lime
   ────────────────────────────────────────────────────────────── */
.verified-badge,
[class*="verified"],
[class*="check-badge"] {
  color: #22C55E !important;
}

/* ──────────────────────────────────────────────────────────────
   STATUS PILL — Live indicator
   ────────────────────────────────────────────────────────────── */
.status-live::before,
[class*="live-dot"] {
  background: #22C55E !important;
  box-shadow: 0 0 6px rgba(34,197,94,0.5) !important;
}

/* ──────────────────────────────────────────────────────────────
   PROGRESS BAR — Glow dot on fill end
   ────────────────────────────────────────────────────────────── */
.progress-fill::after,
[class*="progress-fill"]::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #FFB800;
  box-shadow: 0 0 12px rgba(255,184,0,0.6);
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────────
   MICRO-INTERACTIONS — Button + Card hover polish
   ────────────────────────────────────────────────────────────── */
.btn-primary-gold,
.btn-glow,
.cta-btn,
.btn-premium {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
}
.btn-primary-gold:hover,
.btn-glow:hover,
.cta-btn:hover {
  transform: scale(1.04) translateY(-2px) !important;
}
.btn-primary-gold:active,
.btn-glow:active,
.cta-btn:active {
  transform: scale(0.98) !important;
}

/* Card hover micro-interactions */
.glass-card,
[class*="glass-card"],
.intent-card,
.worry-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.glass-card:hover,
.intent-card:hover,
.worry-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(124,58,237,0.22) !important;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(240,234,255,0.06),
    0 0 30px rgba(124,58,237,0.08) !important;
}

/* ──────────────────────────────────────────────────────────────
   CART MICRO-INTERACTION (P3-17) — Add to cart feedback
   ────────────────────────────────────────────────────────────── */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%; transform: translateX(-50%) translateY(80px);
  z-index: 9999;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  border-radius: 14px;
  background: rgba(17,11,46,0.92);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(34,197,94,0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 20px rgba(34,197,94,0.1);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 600;
  color: #F0EAFF;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.cart-toast.visible { transform: translateX(-50%) translateY(0); }
.cart-toast .ct-check { color: #22C55E; font-size: 18px; }
.cart-toast .ct-text strong { color: #22C55E; }

/* Cart icon badge bounce */
@keyframes cartBounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.4); }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.cart-badge-bounce { animation: cartBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

/* ──────────────────────────────────────────────────────────────
   SOULSYNC MOBILE — Force all sections to render on mobile
   ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Unhide any desktop-only sections that are hidden on mobile */
  .soulsync-compat-demo,
  .compat-action-section,
  [class*="compat-section"],
  [class*="soulsync-section"],
  .ss-features,
  .ss-how-it-works {
    display: block !important;
    visibility: visible !important;
  }

  /* Simplify radar chart to bar chart on mobile */
  .radar-chart-container {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* Ensure content sections have a minimum height */
  .soulsync-section,
  .ss-section,
  [class*="sync-section"] {
    min-height: auto !important;
    padding: 40px 16px !important;
  }
}

/* ──────────────────────────────────────────────────────────────
   REDUCED MOTION — Accessibility compliance
   ────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .skeleton { animation: none !important; background: rgba(255,255,255,0.06) !important; }
}


/* --- HERO SPACING FIX (Unified Navbar is sticky/in-flow) ---
   The new #ak-unified-nav uses position:sticky, so it IS part of
   document flow — #hero does NOT need to compensate for nav height.
   We only need a comfortable top breathing room gap.
   ------------------------------------------------------------ */
#hero {
  padding-top: 40px !important;  
  padding-bottom: 32px !important; 
  margin-bottom: 0 !important;
  min-height: auto !important;
  display: block !important;
}

/* Tablet (769px – 1024px): tighter gap */
@media (min-width: 769px) and (max-width: 1024px) {
  #hero {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
    margin-bottom: 0 !important;
    min-height: auto !important;
  }
}

/* Mobile (≤768px): zero dead space */
@media (max-width: 768px) {
  #hero {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
    margin-bottom: 0 !important;
    min-height: auto !important;
  }
}

/* Transparent hero content — no background overlays */
.hero-content {
  background: transparent !important;
}
.hero-content::before,
.hero-content::after {
  display: none !important;
  background: none !important;
}

/* Remove any black box overlay pseudo-element */
#hero::after {
  display: none !important;
}
