/* ===========================================================================
   ss-ui.css — header / hero CTA / footer / mobile-nav polish (2026-06-10)
   Loads after the bundle + patch files; homepage-first but safe sitewide.
   =========================================================================== */

/* ── 1. Desktop header ─────────────────────────────────────────────────── */
.topbar nav a {
  position: relative;
  padding: 6px 1px;
}

.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--lime, #cfff00);
  transition: right 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar nav a:hover::after,
.topbar nav a:focus-visible::after { right: 0; }

.topbar .brand .star-mark { transition: filter 0.25s ease, transform 0.25s ease; }
.topbar .brand:hover .star-mark {
  filter: drop-shadow(0 0 8px rgba(207, 255, 0, 0.95)) drop-shadow(0 0 20px rgba(207, 255, 0, 0.55));
  transform: rotate(45deg);
}

.topbar .top-cta { position: relative; }
.topbar .top-cta:hover { transform: translateY(-1px) scale(1.02); }

/* ── 2. Hero CTAs ──────────────────────────────────────────────────────── */
.btn .arr { transition: transform 0.22s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn-hero {
  padding: 20px 28px 20px 30px !important;
  font-size: 12px !important;
  animation: ssCtaPulse 3.4s ease-in-out infinite;
}

@keyframes ssCtaPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(207, 255, 0, 0.26); }
  50% { box-shadow: 0 10px 42px rgba(207, 255, 0, 0.5); }
}

.btn-ghost {
  transition: all 0.22s ease !important;
}

.btn-ghost:hover {
  border-color: rgba(207, 255, 0, 0.65) !important;
  color: var(--lime, #cfff00) !important;
  background: rgba(207, 255, 0, 0.06) !important;
}

/* Round WhatsApp quick-action beside the hero CTAs */
.hero-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong, rgba(243, 240, 232, 0.22));
  color: #25d366;
  background: transparent;
  transition: all 0.22s ease;
  flex: 0 0 auto;
}

.hero-wa svg { width: 22px; height: 22px; }

.hero-wa:hover {
  border-color: rgba(37, 211, 102, 0.7);
  background: rgba(37, 211, 102, 0.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.25);
  transform: translateY(-1px);
}

/* Trust micro-line under the CTAs */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 11px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2, #75736d) !important;
}

.hero-trust .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime, #cfff00);
  box-shadow: 0 0 8px rgba(207, 255, 0, 0.8);
  flex: 0 0 auto;
  animation: ssTrustBlink 2.4s ease-in-out infinite;
}

@keyframes ssTrustBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 768px) {
  .hero-ctas { width: 100%; }
  .hero-ctas .btn-hero { flex: 1 1 auto; justify-content: center; }
  .hero-ctas .btn-ghost { flex: 1 1 auto; justify-content: center; }
  /* Sticky bottom bar already carries WhatsApp on mobile */
  .hero-wa { display: none; }
  .hero-trust { letter-spacing: 0.08em; flex-wrap: wrap; }
}

/* ── 3. Mobile brand pill (topbar is hidden ≤900px; orb sits right) ───── */
.ss-m-brand { display: none; }

@media (max-width: 900px) {
  .ss-m-brand {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px 11px 13px;
    border-radius: 999px;
    background: rgba(14, 15, 16, 0.88);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(243, 240, 232, 0.12);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    color: var(--fg-0, #f3f0e8);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: -0.02em;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .ss-m-brand .star-mark { width: 18px; height: 18px; --star-size: 18px; }

  body.ss-drawer-open .ss-m-brand { opacity: 0; pointer-events: none; transform: translateY(-6px); }
}

/* ── 4. Mobile drawer action row (Talk to us + WhatsApp) ──────────────── */
.ss-drawer-actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: 8px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.ss-drawer-actions .ss-drawer-cta { flex: 1 1 auto; text-align: center; }

.ss-drawer-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.55);
  color: #25d366;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  background: rgba(37, 211, 102, 0.08);
  white-space: nowrap;
}

.ss-drawer-wa svg { width: 18px; height: 18px; flex: 0 0 auto; }
.ss-drawer-wa:active { transform: scale(0.97); }

/* ── 5. Sticky mobile CTA bar ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .ss-sticky-cta { padding-bottom: max(10px, env(safe-area-inset-bottom)) !important; }

  .ss-sticky-primary {
    animation: ssCtaPulse 3.4s ease-in-out infinite;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
  }
}

/* ── 6. Footer ─────────────────────────────────────────────────────────── */
.footer { position: relative; }

/* Lime hairline accent on the footer's top edge */
.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 60vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 255, 0, 0.55), transparent);
}

/* Brand block + 4 balanced link columns + newsletter */
.footer-top {
  grid-template-columns: 1.25fr 2.35fr 1fr !important;
  gap: 52px !important;
}

.footer-cols { grid-template-columns: repeat(4, 1fr) !important; gap: 26px !important; }

.footer-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-cta-row .btn {
  padding: 14px 20px 14px 22px;
  font-size: 11px;
}

.footer-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #25d366;
  font-family: var(--mono, "Geist Mono", monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.22s ease;
}

.footer-wa-link svg { width: 16px; height: 16px; }

.footer-wa-link:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.8);
  color: #2ee06f !important;
}

.footer-reply-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-2, #75736d);
}

.footer-reply-note .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime, #cfff00);
  box-shadow: 0 0 6px rgba(207, 255, 0, 0.7);
}

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr !important; gap: 40px !important; }
  .footer-cols { grid-template-columns: repeat(4, 1fr) !important; }
}

@media (max-width: 760px) {
  .footer-cols { grid-template-columns: 1fr 1fr !important; gap: 30px 20px !important; }
}
