/* ==========================================================
   SIA — Critical CSS
   Sections that need to render correctly even if the main
   style.css is being served stale by a server/CDN cache.
   This file is loaded with its own cache version separately.
   ========================================================== */

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  animation: whatsappPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; text-decoration: none; }
.whatsapp-float i { line-height: 1; }
.whatsapp-float .wa-label {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.whatsapp-float .wa-label::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #111;
}
.whatsapp-float:hover .wa-label { opacity: 1; }
@keyframes whatsappPulse {
  0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
  50%     { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 14px rgba(37,211,102,0); }
}
@media (max-width: 600px) {
  .whatsapp-float { width: 54px; height: 54px; font-size: 27px; bottom: 18px; right: 18px; }
  .whatsapp-float .wa-label { display: none; }
}

/* Stat Block */
.stat-block {
  background: #fff;
  padding: 56px 0;
  border-bottom: 1px solid #eee;
}
.stat-block .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.stat-block .stat-item {
  position: relative;
  padding: 0 16px;
}
.stat-block .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: #e5e5e3;
}
.stat-block .stat-number {
  font-family: 'Poppins', Georgia, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #15572a;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-block .stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #2a2a2a;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}
@media (max-width: 768px) {
  .stat-block { padding: 40px 0; }
  .stat-block .stat-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .stat-block .stat-item:nth-child(2n)::after { display: none; }
  .stat-block .stat-label { font-size: 11px; letter-spacing: 0.5px; }
}

/* App Icon Tray */
.app-tray {
  background: linear-gradient(180deg, #f7f7f5 0%, #fff 100%);
  padding: 32px 0;
  border-bottom: 1px solid #e8e8e6;
}
.app-tray h2 {
  text-align: center;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  margin-bottom: 6px;
  color: #111;
}
.app-tray .tray-sub {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 24px;
}
.app-tray .tray-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 8px;
  background: #fff;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid #ececec;
  transition: all 0.25s ease;
  text-align: center;
  min-height: 110px;
}
.app-tile:hover {
  transform: translateY(-4px);
  border-color: #1f7a3a;
  box-shadow: 0 10px 24px rgba(31,122,58,0.12);
  text-decoration: none;
}
.app-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f7a3a 0%, #15572a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(31,122,58,0.25);
  transition: transform 0.25s ease;
}
.app-tile:hover .app-tile-icon { transform: scale(1.08); }
.app-tile-icon.gold {
  background: linear-gradient(135deg, #f2b705 0%, #c89400 100%);
  color: #111;
  box-shadow: 0 4px 10px rgba(242,183,5,0.35);
}
.app-tile-icon.dark {
  background: linear-gradient(135deg, #2a2a2a 0%, #111 100%);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.app-tile-icon.whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 10px rgba(37,211,102,0.4);
}
.app-tile-label {
  font-size: 12px;
  font-weight: 600;
  color: #2a2a2a;
  line-height: 1.25;
}
@media (max-width: 900px) {
  .app-tray .tray-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .app-tile { padding: 16px 6px; min-height: 100px; border-radius: 14px; }
  .app-tile-icon { width: 44px; height: 44px; font-size: 20px; margin-bottom: 8px; }
  .app-tile-label { font-size: 11px; }
}
@media (max-width: 480px) {
  .app-tray { padding: 24px 0; }
  .app-tray .tray-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

@media print {
  .whatsapp-float, .app-tray { display: none !important; }
}
