/* ══════════════════════════════════════════════════════════════════════════
     Hero — static fallback (no slides in DB)
     ══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #002f3d 0%, #005f73 55%, #0a9396 100%);
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--surface);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 5;
  pointer-events: none;
}

.hero-static { padding: 80px 0 96px; }
.hero-static::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-full);
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.hero-title span { color: #94d2bd; }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
.hero-static .hero-search {
  display: flex;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-full);
  padding: 5px 5px 5px 20px;
  gap: 8px;
}
.hero-static .hero-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  font-family: "Inter", sans-serif;
}
.hero-static .hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.hero-static .hero-search button {
  background: #fff;
  color: var(--brand);
  border: none;
  border-radius: var(--r-full);
  padding: 9px 22px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background var(--t), transform var(--t);
}
.hero-static .hero-search button:hover {
  background: var(--brand-light);
  transform: scale(1.03);
}

.hero-static .hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--r-full);
  padding: 9px 20px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: transform var(--t), background var(--t);
}
.hero-static .hero-btn.hero-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.hero-static .hero-btn.hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: translateY(-1px);
}
.hero-btn-primary {
  background: #fff;
  color: var(--brand);
}
.hero-btn-primary:hover {
  background: var(--brand-light);
  color: var(--brand);
  transform: translateY(-1px);
}
.hero-btn-wa {
  background: #25d366;
  color: #fff;
}
.hero-btn-wa:hover {
  background: #128c7e;
  color: #fff;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════════════
     Carousel — ads: image fully visible; actions strip below (no overlap on artwork)
     ══════════════════════════════════════════════════════════════════════════ */
.hero.hero-carousel-section {
  background: var(--surface);
  color: var(--text);
}

.hero-carousel-section {
  background: var(--surface);
}

.hero-carousel-box.carousel .carousel-inner {
  overflow: hidden;
  border-radius: 0;
}

.hero-slide-ad {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Frame: neutral canvas so scaled-down creatives don’t clash with the page bg */
.hero-slide-media-ad {
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.94) 0%, #dfe8f3 72%, #d1dce8 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(12px, 2.5vw, 28px) clamp(8px, 2vw, 20px)
    clamp(14px, 2.8vw, 30px);
  flex: 0 0 auto;
}

/* Show the whole advertisement (scaling down proportionally; never cropping) */
.hero-ad-img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(70vh, 780px);
  object-fit: contain;
  border-radius: var(--r-sm);
}

.hero-slide-media-fallback-ad {
  width: 100%;
  min-height: 280px;
  max-height: min(52vh, 520px);
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, #002f3d 0%, #005f73 48%, #0a9396 100%);
}

/* Title + catalogue link + WhatsApp — clear band under the artwork */
.hero-slide-ad-strip {
  background: linear-gradient(
    to bottom,
    rgba(247, 250, 252, 0.92) 0%,
    #fff 100%
  );
  border-top: 1px solid var(--border);
  flex: 1 1 auto;
}

.hero-ad-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  justify-content: center;
}

.hero-ad-strip-inner.has-copy {
  justify-content: space-between;
}

.hero-ad-strip-title {
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 4px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-ad-strip-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 38rem;
}

.hero-ad-strip-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  justify-content: center;
}

.hero-ad-strip-inner.has-copy .hero-ad-strip-buttons {
  justify-content: flex-end;
}

.hero-ad-btn-main {
  font-weight: 600;
}

.hero-ad-btn-wa {
  background: #25d366;
  color: #fff;
  border: none;
}

.hero-ad-btn-wa:hover {
  background: #1ebe57;
  color: #fff;
}

.hero-ad-mini-link a:hover {
  color: var(--brand) !important;
}

@media (max-width: 767.98px) {
  .hero-ad-strip-inner.has-copy {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .hero-ad-strip-buttons {
    flex-direction: column;
    justify-content: stretch;
  }

  .hero-ad-strip-inner.has-copy .hero-ad-strip-buttons {
    justify-content: stretch;
  }

  .hero-ad-strip-buttons .btn {
    width: 100%;
  }

  .hero-ad-img {
    max-height: min(62vh, 680px);
  }
}

/* Prev / dots / next BELOW carousel — not over the artwork */
.hero-carousel-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 16px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.hero-carousel-prev.hero-carousel-prev,
.hero-carousel-next.hero-carousel-next {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  opacity: 1;
  border-radius: var(--r-sm);
  background: var(--white) !important;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.hero-carousel-prev.hero-carousel-prev:hover,
.hero-carousel-next.hero-carousel-next:hover {
  background: var(--brand-light) !important;
}

.hero-carousel-prev .carousel-control-prev-icon,
.hero-carousel-next .carousel-control-next-icon {
  filter: invert(0.42);
}

.hero-carousel-indicators.carousel-indicators {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  flex: 1 1 180px;
  max-width: 420px;
  justify-content: center;
  gap: 8px;
  display: flex;
  flex-wrap: wrap;
}

.hero-carousel-indicators [data-bs-target] {
  width: 38px !important;
  height: 5px !important;
  border: none !important;
  opacity: 1 !important;
  border-radius: 4px !important;
  margin: 0 !important;
  background: rgba(0, 95, 115, 0.25) !important;
}

.hero-carousel-indicators .active {
  background: var(--brand) !important;
}

  /* ══════════════════════════════════════════════════════════════════════════
     Stats
     ══════════════════════════════════════════════════════════════════════════ */
  .stats-strip {
    background: var(--white); border-radius: var(--r-lg);
    box-shadow: var(--shadow); padding: 28px 32px;
    margin-top: -56px; position: relative; z-index: 10;
  }
  .stat-item { text-align: center; }
  .stat-num { font-size: 1.85rem; font-weight: 800; color: var(--brand); letter-spacing: -.03em; line-height: 1; }
  .stat-label { font-size: .8rem; color: var(--muted); font-weight: 500; margin-top: 4px; }

  /* ══════════════════════════════════════════════════════════════════════════
     Sections
     ══════════════════════════════════════════════════════════════════════════ */
  .section-wrap { padding: 56px 0; }
  .section-wrap-alt { padding: 56px 0; background: var(--white); }

  /* ══════════════════════════════════════════════════════════════════════════
     Cool category cards (full-cover image)
     ══════════════════════════════════════════════════════════════════════════ */
  .cat-tile {
    position: relative; display: block;
    aspect-ratio: 1 / 1.05;
    border-radius: var(--r-lg); overflow: hidden;
    text-decoration: none; color: #fff;
    background: linear-gradient(135deg, #0D1F2D 0%, #005F73 100%);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t);
    isolation: isolate;
  }
  .cat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    color: #fff;
  }
  .cat-tile-img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform .55s ease;
    z-index: 0;
  }
  .cat-tile:hover .cat-tile-img { transform: scale(1.08); }
  .cat-tile-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg,
        rgba(13,31,45,.05) 0%,
        rgba(13,31,45,.35) 45%,
        rgba(13,31,45,.92) 100%);
  }
  .cat-tile:hover .cat-tile-overlay {
    background: linear-gradient(180deg,
        rgba(10,147,150,.15) 0%,
        rgba(13,31,45,.55) 45%,
        rgba(13,31,45,.95) 100%);
  }
  .cat-tile-icon {
    position: absolute; top: 14px; right: 14px;
    width: 38px; height: 38px; border-radius: 12px;
    background: rgba(255,255,255,.92); color: var(--brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
  }
  .cat-tile-body {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 18px 16px 16px;
  }
  .cat-tile-name {
    font-size: 1rem; font-weight: 700; line-height: 1.25;
    margin-bottom: 4px; color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
  }
  .cat-tile-cnt {
    font-size: .72rem; font-weight: 600;
    color: rgba(255,255,255,.85);
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,.12);
    padding: 3px 9px; border-radius: 999px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.18);
  }

  /* ══════════════════════════════════════════════════════════════════════════
     Hot section
     ══════════════════════════════════════════════════════════════════════════ */
  .hot-section {
    padding: 56px 0;
    background: linear-gradient(135deg, #FFF5F1 0%, #FFEAE0 60%, #FFF5F1 100%);
    position: relative; overflow: hidden;
  }
  .hot-section::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 10% 20%, rgba(220,38,38,.06) 0, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(202,103,2,.06) 0, transparent 40%);
  }
  .hot-section .container { position: relative; }
  .hot-label {
    display: inline-flex; align-items: center; gap: 5px;
    background: linear-gradient(135deg, #DC2626 0%, #EA580C 100%);
    color: #fff; padding: 5px 14px;
    border-radius: 999px; font-size: .72rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(220,38,38,.25);
  }
  .hot-title {
    font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800;
    color: #0D1F2D; margin: 12px 0 4px; letter-spacing: -.02em;
  }
  .hot-title-icon { color: #DC2626; }
  .hot-sub { color: var(--muted); font-size: .92rem; }

  /* ══════════════════════════════════════════════════════════════════════════
     Trust section
     ══════════════════════════════════════════════════════════════════════════ */
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
  }
  .trust-card {
    padding: 24px; border-radius: var(--r);
    background: var(--white); border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
  }


@media (max-width: 575.98px) {
  .stats-strip {
    padding: 20px 18px;
    margin-top: -48px;
  }
}
