/* ================================================================
   ICS — glass.css  (clean rewrite — no conflicting patches)
   Loaded after style.css. Uses !important only where needed.
   ================================================================ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --glass-bg:      rgba(255,255,255,0.07);
  --glass-border:  rgba(255,255,255,0.14);
  --glass-blur:    blur(20px) saturate(180%);
  --red:           #FF1A3C;
  --red-dark:      #8B0D20;
  --red-glow:      rgba(255,26,60,0.35);
}

/* ── 2. PAGE BACKGROUND ───────────────────────────────────────── */
body {
  background: #06060F !important;
  background-image:
    radial-gradient(ellipse 70% 50% at 15% 0%,   rgba(200,16,46,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 80%,  rgba(60,0,100,0.09) 0%,  transparent 50%) !important;
  background-attachment: fixed !important;
}

/* ── 3. iOS ISLAND NAVBAR ─────────────────────────────────────── */

/* Wrapper: sits fixed at top, doesn't block clicks on page */
.ios-wrap {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9000 !important;
  pointer-events: none !important;
  padding: 0 16px !important;
}

/* Island pill */
.ios-nav {
  pointer-events: all !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  height: 58px !important;
  max-width: 1140px !important;
  width: 100% !important;
  margin: 14px auto 0 !important;
  padding: 0 14px 0 18px !important;
  background: rgba(18,18,32,0.82) !important;
  backdrop-filter: blur(30px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 22px !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 8px 40px rgba(0,0,0,0.6),
    0 0 0 0.5px rgba(255,255,255,0.06) !important;
  overflow: visible !important;
  transition:
    height 0.3s ease,
    border-radius 0.3s ease,
    background 0.3s ease !important;
}

.ios-nav.scrolled {
  height: 52px !important;
  border-radius: 18px !important;
  background: rgba(10,10,22,0.92) !important;
}

/* Logo */
.ios-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; margin-right: 12px; }
.ios-logo-img { height: 36px; width: auto; display: block; }

/* Nav links */
.ios-links {
  display: flex !important;
  flex: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 2px !important;
}
.ios-links li { position: relative; }
.ios-links a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.ios-links a:hover,
.ios-links a.active { color: #fff; background: rgba(255,255,255,0.1); }
.ios-links a.active { color: var(--red); }
.ios-chevron { font-size: 0.6rem; opacity: 0.5; transition: transform 0.25s; }
.ios-links li:hover .ios-chevron { transform: rotate(180deg); }

/* Services mega dropdown */
.ios-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px) scale(0.97);
  width: 560px;
  background: rgba(12,12,26,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 100;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.ios-links li:hover .ios-dropdown {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0) scale(1);
}
.ios-dropdown-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red);
  padding: 0 8px 6px; margin-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ios-dropdown-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 10px;
  font-size: 0.81rem; color: rgba(255,255,255,0.65);
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.ios-dropdown-link:hover { background: rgba(255,255,255,0.1); color: #fff; }
.ios-dropdown-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}

/* Right actions */
.ios-actions {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
  margin-left: 10px !important;
}
.ios-portal-btn {
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.7);
  text-decoration: none; padding: 6px 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.07);
  transition: all 0.2s; white-space: nowrap;
}
.ios-portal-btn:hover { color: #fff; background: rgba(255,255,255,0.14); }

.ios-cta-btn {
  font-size: 0.8rem; font-weight: 700; color: #fff;
  text-decoration: none; padding: 8px 18px; border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 0 20px rgba(255,26,60,0.4); white-space: nowrap;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ios-cta-btn:hover { box-shadow: 0 0 32px rgba(255,26,60,0.65); transform: translateY(-1px); }

.ios-theme-btn {
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.7); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  transition: all 0.2s;
}
.ios-theme-btn:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Hamburger */
.ios-hamburger {
  display: none !important;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.07);
  cursor: pointer; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  transition: background 0.2s;
}
.ios-hamburger span {
  display: block; width: 16px; height: 1.5px;
  background: rgba(255,255,255,0.8); border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}
.ios-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ios-hamburger.open span:nth-child(2) { opacity: 0; }
.ios-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.ios-mobile-menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: rgba(12,12,26,0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 18px;
  padding: 10px; max-height: calc(100vh - 90px); overflow-y: auto;
  opacity: 0; transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.ios-mobile-menu.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.ios-mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px; border-radius: 12px; font-size: 0.95rem; font-weight: 500;
  color: rgba(255,255,255,0.85); text-decoration: none; transition: background 0.15s;
}
.ios-mobile-link:hover { background: rgba(255,255,255,0.08); }
.ios-mobile-link + .ios-mobile-link { border-top: 1px solid rgba(255,255,255,0.06); }
.ios-mobile-services-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px; border-radius: 12px; font-size: 0.95rem; font-weight: 500;
  color: rgba(255,255,255,0.85); background: none; border: none;
  cursor: pointer; width: 100%; text-align: left;
  border-top: 1px solid rgba(255,255,255,0.06); transition: background 0.15s;
}
.ios-mobile-services-btn:hover { background: rgba(255,255,255,0.08); }
.ios-mobile-sub { display: none; padding: 4px 0; }
.ios-mobile-sub.open { display: block; }
.ios-mobile-sub-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 24px; border-radius: 10px;
  font-size: 0.87rem; color: rgba(255,255,255,0.6);
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.ios-mobile-sub-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.ios-mobile-footer {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 0 4px; margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ios-mobile-footer a {
  display: flex; align-items: center; justify-content: center;
  padding: 12px; border-radius: 12px; font-size: 0.85rem;
  font-weight: 600; text-decoration: none; text-align: center; transition: all 0.2s;
}
.ios-mobile-portal {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14); color: #fff;
}
.ios-mobile-cta {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff !important; box-shadow: 0 0 16px rgba(255,26,60,0.3);
}

/* Spacer */
.ios-spacer { height: 86px; display: block; }

/* ── 4. MOBILE NAV ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ios-links, .ios-portal-btn, .ios-cta-btn, .ios-theme-btn { display: none !important; }
  .ios-hamburger { display: flex !important; }
  .ios-wrap { padding: 0 10px !important; }
  .ios-nav { height: 52px !important; padding: 0 10px 0 14px !important; }
  .ios-logo { flex: 1 !important; }
  .ios-logo-img { height: 30px !important; }
  .ios-spacer { height: 72px; }
}

/* ── 5. LIGHT MODE ────────────────────────────────────────────── */
[data-theme="light"] body {
  background: #EEEEF8 !important;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(200,16,46,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(200,210,255,0.5) 0%, transparent 60%) !important;
}
[data-theme="light"] .ios-nav {
  background: rgba(255,255,255,0.75) !important;
  border-color: rgba(0,0,0,0.1) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 1px 0 rgba(255,255,255,0.9) inset !important;
}
[data-theme="light"] .ios-links a { color: rgba(20,20,50,0.65); }
[data-theme="light"] .ios-links a:hover,
[data-theme="light"] .ios-links a.active { color: #0A0A18; background: rgba(0,0,0,0.06); }
[data-theme="light"] .ios-mobile-menu { background: rgba(255,255,255,0.97); border-color: rgba(0,0,0,0.1); }
[data-theme="light"] .ios-mobile-link { color: rgba(20,20,50,0.85); }
[data-theme="light"] .ios-portal-btn { color: rgba(20,20,50,0.7); border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.05); }
[data-theme="light"] .ios-theme-btn  { color: rgba(20,20,50,0.6); border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.05); }
[data-theme="light"] .ios-hamburger  { border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.05); }
[data-theme="light"] .ios-hamburger span { background: rgba(20,20,50,0.8); }

/* ── 6. GLASSMORPHISM — CARDS ────────────────────────────────── */
.service-card, .testimonial-card, .portfolio-card,
.kpi-card, .kb-card, .job-card, .job-card-full {
  background: var(--glass-bg) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 20px !important;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, border-color 0.3s !important;
}
.service-card:hover, .kpi-card:hover, .job-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255,26,60,0.3) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 40px rgba(255,26,60,0.08) !important;
}

/* ── 7. INPUTS & BUTTONS ─────────────────────────────────────── */
input, textarea, select {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 12px !important;
  color: inherit !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(255,26,60,0.5) !important;
  box-shadow: 0 0 0 3px rgba(255,26,60,0.12) !important;
  outline: none !important;
}
.btn-red, .btn.btn-red {
  background: linear-gradient(135deg, var(--red), var(--red-dark)) !important;
  box-shadow: 0 0 20px rgba(255,26,60,0.3) !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
  border: none !important;
}
.btn-red:hover { box-shadow: 0 0 36px rgba(255,26,60,0.6) !important; transform: translateY(-2px) !important; }

/* ── 8. HERO SLIDES ──────────────────────────────────────────── */






.hero-slider-grid {
  position: absolute !important; inset: 0 !important;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px) !important;
  background-size: 36px 36px !important; pointer-events: none !important; z-index: 1 !important;
}
#hero .hero-content { position: relative !important; z-index: 2 !important; }

/* ── 9. FOOTER ───────────────────────────────────────────────── */
footer {
  background: rgba(4,4,14,0.9) !important;
  backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}
.social-btn {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 10px !important;
  transition: background 0.2s, border-color 0.2s, transform 0.2s !important;
}
.social-btn:hover {
  background: rgba(255,255,255,0.14) !important;
  border-color: rgba(255,26,60,0.4) !important;
  transform: translateY(-2px) !important;
}

/* ── 10. CHATBOT ─────────────────────────────────────────────── */
#ics-chat-win {
  background: rgba(8,8,22,0.92) !important;
  backdrop-filter: blur(32px) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 22px !important;
}

/* ── 11. BOTTOM NAV ──────────────────────────────────────────── */
.bottom-nav {
  position: fixed !important; bottom: 0 !important;
  left: 0 !important; right: 0 !important; z-index: 900 !important;
  display: flex !important; align-items: stretch !important; height: 62px !important;
  background: rgba(6,6,18,0.92) !important;
  backdrop-filter: blur(24px) !important; -webkit-backdrop-filter: blur(24px) !important;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  padding-bottom: env(safe-area-inset-bottom, 0) !important;
}
[data-theme="light"] .bottom-nav { background: rgba(240,242,255,0.94) !important; border-top-color: rgba(0,0,0,0.1) !important; }
.bnav-item {
  flex: 1 !important; display: flex !important; flex-direction: column !important;
  align-items: center !important; justify-content: center !important;
  gap: 3px !important; text-decoration: none !important;
  color: rgba(255,255,255,0.38) !important; transition: color 0.2s !important;
  position: relative !important;
}
[data-theme="light"] .bnav-item { color: rgba(20,20,50,0.4) !important; }
.bnav-item.active, .bnav-item:hover { color: var(--red) !important; }
.bnav-item.active::before {
  content: '' !important; position: absolute !important;
  top: 0 !important; left: 50% !important; transform: translateX(-50%) !important;
  width: 28px !important; height: 2px !important;
  background: var(--red) !important; border-radius: 0 0 3px 3px !important;
}
.bnav-icon { width: 22px !important; height: 22px !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.bnav-icon svg { width: 22px !important; height: 22px !important; }
.bnav-label { font-size: 9px !important; font-weight: 500 !important; letter-spacing: 0.04em !important; text-transform: uppercase !important; }
@media (min-width: 768px) { .bottom-nav { display: none !important; } }
@media (max-width: 767px) { body { padding-bottom: 62px !important; } }

/* ── 12. MODALS ──────────────────────────────────────────────── */
.ics-modal {
  background: rgba(8,8,22,0.95) !important;
  backdrop-filter: blur(32px) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 22px !important;
}
.ics-modal-backdrop { background: rgba(0,0,0,0.7) !important; backdrop-filter: blur(6px) !important; }

/* ── 13. DASHBOARD ───────────────────────────────────────────── */
.dash-sidebar { background: rgba(4,4,14,0.92) !important; backdrop-filter: blur(20px) !important; border-right: 1px solid rgba(255,255,255,0.08) !important; }
.dash-topbar  { background: rgba(6,6,18,0.88) !important; backdrop-filter: blur(20px) !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
.dash-card    { background: var(--glass-bg) !important; backdrop-filter: var(--glass-blur) !important; border: 1px solid var(--glass-border) !important; border-radius: 16px !important; }



/* WhatsApp button */
.whatsapp-btn,
[class*="whatsapp"],
[href*="whatsapp"],
[href*="wa.me"] {
  left: 20px !important;
  right: auto !important;
}
/* Stack them properly on left */
#ics-voice-btn { bottom: 90px !important; }
#ics-chat-btn  { bottom: 24px !important; }


/* Hero text always white */
#hero h1, #hero h2, #hero h3, #hero p, #hero span,
#hero .hero-headline, #hero .stat-num, #hero .stat-plus,
[data-theme="light"] #hero h1,
[data-theme="light"] #hero h2,
[data-theme="light"] #hero p,
[data-theme="light"] #hero span {
  color: #fff !important;
}
[data-theme="light"] #hero .stat-label  { color: rgba(255,255,255,0.65) !important; }
[data-theme="light"] #hero .stat-divider { background: rgba(255,255,255,0.2) !important; }
[data-theme="light"] #hero .hero-stats { border-color: rgba(255,255,255,0.15) !important; }
[data-theme="light"] #hero .hero-tag { background: rgba(0,0,0,0.3) !important; border-color: rgba(255,255,255,0.15) !important; }

/* ── HERO SLIDES — Pexels CDN images (hotlink allowed) ─────── */
.slide-web,
[data-theme="light"] .slide-web {
  background-color: #0A0015 !important;
  background-image:
    linear-gradient(160deg, rgba(10,0,21,0.75) 0%, rgba(20,0,8,0.65) 100%),
    url('https://images.pexels.com/photos/1181671/pexels-photo-1181671.jpeg?auto=compress&cs=tinysrgb&w=1600') !important;
  background-size: cover !important;
  background-position: center !important;
}
.slide-ai,
[data-theme="light"] .slide-ai {
  background-color: #000D22 !important;
  background-image:
    linear-gradient(160deg, rgba(0,13,34,0.75) 0%, rgba(0,21,48,0.65) 100%),
    url('https://images.pexels.com/photos/8386440/pexels-photo-8386440.jpeg?auto=compress&cs=tinysrgb&w=1600') !important;
  background-size: cover !important;
  background-position: center !important;
}
.slide-marketing,
[data-theme="light"] .slide-marketing {
  background-color: #180A00 !important;
  background-image:
    linear-gradient(160deg, rgba(24,10,0,0.75) 0%, rgba(34,12,0,0.65) 100%),
    url('https://images.pexels.com/photos/905163/pexels-photo-905163.jpeg?auto=compress&cs=tinysrgb&w=1600') !important;
  background-size: cover !important;
  background-position: center !important;
}
.slide-ecommerce,
[data-theme="light"] .slide-ecommerce {
  background-color: #001C0A !important;
  background-image:
    linear-gradient(160deg, rgba(0,28,10,0.75) 0%, rgba(0,37,16,0.65) 100%),
    url('https://images.pexels.com/photos/34577/pexels-photo.jpg?auto=compress&cs=tinysrgb&w=1600') !important;
  background-size: cover !important;
  background-position: center !important;
}
.slide-consult,
[data-theme="light"] .slide-consult {
  background-color: #0E0022 !important;
  background-image:
    linear-gradient(160deg, rgba(14,0,34,0.75) 0%, rgba(24,0,48,0.65) 100%),
    url('https://images.pexels.com/photos/3184292/pexels-photo-3184292.jpeg?auto=compress&cs=tinysrgb&w=1600') !important;
  background-size: cover !important;
  background-position: center !important;
}
.slide-audit,
[data-theme="light"] .slide-audit {
  background-color: #1E0600 !important;
  background-image:
    linear-gradient(160deg, rgba(30,6,0,0.75) 0%, rgba(40,8,0,0.65) 100%),
    url('https://images.pexels.com/photos/590022/pexels-photo-590022.jpeg?auto=compress&cs=tinysrgb&w=1600') !important;
  background-size: cover !important;
  background-position: center !important;
}
/* All slides always dark */
#hero, .hero-slider, .hero-slide,
[data-theme="light"] #hero,
[data-theme="light"] .hero-slider,
[data-theme="light"] .hero-slide {
  color-scheme: dark !important;
}
#hero { background: #06060F !important; }
#hero h1, #hero h2, #hero h3, #hero p, #hero span,
#hero .hero-headline, #hero .stat-num, #hero .stat-plus,
[data-theme="light"] #hero h1, [data-theme="light"] #hero h2,
[data-theme="light"] #hero p,  [data-theme="light"] #hero span {
  color: #fff !important;
}
[data-theme="light"] #hero .stat-label   { color: rgba(255,255,255,0.65) !important; }
[data-theme="light"] #hero .stat-divider { background: rgba(255,255,255,0.2) !important; }
[data-theme="light"] #hero .hero-stats   { border-color: rgba(255,255,255,0.15) !important; }
[data-theme="light"] #hero .hero-tag     { background: rgba(0,0,0,0.3) !important; border-color: rgba(255,255,255,0.15) !important; }


/* AI Chatbot button — bottom left */
#ics-chat-btn,
.ics-chat-fab,
[id*="chat-btn"]:not([href*="whatsapp"]) {
  left: 20px !important;
  right: auto !important;
  bottom: 24px !important;
}

/* Voice mic button — above chat */
#ics-voice-btn,
.ics-voice-fab,
[id*="voice-btn"] {
  left: 20px !important;
  right: auto !important;
  bottom: 90px !important;
}

/* WhatsApp button — above voice */
.whatsapp-float,
.whatsapp-btn,
a[href*="wa.me"],
a[href*="whatsapp"] {
  left: 20px !important;
  right: auto !important;
  bottom: 156px !important;
  position: fixed !important;
  z-index: 999 !important;
}

/* On mobile — tighter spacing */
@media (max-width: 768px) {
  #ics-chat-btn,
  .ics-chat-fab  { bottom: 80px !important; }
  #ics-voice-btn { bottom: 140px !important; }
  a[href*="wa.me"],
  a[href*="whatsapp"] { bottom: 200px !important; }
}

/* ── Floating buttons — RIGHT side, properly stacked ────────── */
#ics-chat-btn, .ics-chat-fab, [id*="chat-btn"] {
  right: 20px !important; left: auto !important; bottom: 24px !important;
}
#ics-voice-btn, .ics-voice-fab, [id*="voice-btn"] {
  right: 20px !important; left: auto !important; bottom: 90px !important;
}
a[href*="wa.me"], a[href*="whatsapp"], .whatsapp-float, .whatsapp-btn {
  right: 20px !important; left: auto !important; bottom: 156px !important;
  position: fixed !important; z-index: 999 !important;
}
@media (max-width: 768px) {
  #ics-chat-btn, .ics-chat-fab  { bottom: 80px !important; }
  #ics-voice-btn                { bottom: 140px !important; }
  a[href*="wa.me"], a[href*="whatsapp"] { bottom: 200px !important; }
}

/* ── Stats: single line always ──────────────────────────────── */
.hero-stats {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0 !important;
  width: 100% !important;
  overflow: visible !important;
}
.hero-stats .stat {
  flex: 1 1 0 !important;
  white-space: nowrap !important;
  padding: 0 1rem !important;
  min-width: 0 !important;
}
.hero-stats .stat:first-child { padding-left: 0 !important; }
.hero-stats .stat-divider {
  display: block !important;
  flex-shrink: 0 !important;
  width: 1px !important;
  height: 40px !important;
  background: rgba(255,255,255,0.2) !important;
}
.hero-stats .stat-num  { font-size: clamp(1.4rem, 3vw, 2rem) !important; }
.hero-stats .stat-label{ font-size: clamp(0.65rem, 1.2vw, 0.85rem) !important; }

@media (max-width: 480px) {
  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    flex-wrap: unset !important;
  }
  .hero-stats .stat-divider { display: none !important; }
  .hero-stats .stat { padding: 0 !important; flex: unset !important; }
}

/* ── Reduce gap between navbar and hero ─────────────────────── */
.ios-spacer { height: 58px !important; }

#hero,
.hero-section,
[id="hero"] {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.hero-slider,
.hero-slide {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.hero-content,
.hero-content-wrap,
.slide-content {
  padding-top: 2rem !important;
}

@media (max-width: 900px) {
  .ios-spacer { height: 52px !important; }
  .hero-content, .hero-content-wrap { padding-top: 1.5rem !important; }
}

/* ── WhatsApp button — hide label text ──────────────────────── */
a[href*="wa.me"] span,
a[href*="whatsapp"] span,
.whatsapp-float span,
.whatsapp-label,
.wa-label {
  display: none !important;
}
a[href*="wa.me"]::after,
a[href*="whatsapp"]::after {
  content: none !important;
}
/* Also hide any floating text labels near buttons */
.whatsapp-float + span,
.whatsapp-btn + span {
  display: none !important;
}

/* Hide any text next to floating WhatsApp button */
[class*="whatsapp"] .label,
[id*="whatsapp"] .label,
.fixed-buttons span.label,
.floating-btns span {
  display: none !important;
  visibility: hidden !important;
}

/* ── WhatsApp float: hide tooltip/label ─────────────────────── */
.wa-float::after,
.wa-float::before {
  display: none !important;
  content: none !important;
}
.wa-float {
  font-size: 1.4rem !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: fixed !important;
  bottom: 156px !important;
  right: 20px !important;
  z-index: 999 !important;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4) !important;
  text-decoration: none !important;
}

/* ── WhatsApp float: no tooltip / label visible ─────────────── */
.wa-float {
  overflow: hidden !important;
  text-indent: 0 !important;
  font-size: 1.5rem !important;
  line-height: 1 !important;
  color: #fff !important;
}
.wa-float * { display: none !important; }
.wa-float::before, .wa-float::after { display: none !important; content: none !important; }
/* Show only the emoji — use background image approach */
.wa-float { text-indent: 0 !important; }

/* ── Admin Panel: ensure everything is clickable ────────────── */
body.admin-page,
.dash-wrapper,
.dash-sidebar,
.dash-content,
.dash-nav-item,
.dash-content-panel,
.admin-wrapper {
  pointer-events: auto !important;
  transform: none !important;
  transform-style: flat !important;
  perspective: none !important;
}
.dash-nav-item,
.dash-nav-item *,
.dash-card,
.dash-card * {
  pointer-events: auto !important;
}
/* Stop parallax from affecting admin sections */
.dash-wrapper section,
.dash-content section {
  transform-style: flat !important;
  opacity: 1 !important;
  transform: none !important;
}
.reveal-depth, .reveal-depth-left, .reveal-depth-right, .reveal-depth-scale {
  opacity: 1 !important;
  transform: none !important;
}
