/* ==========================================================================
   Plagaextint - Versión Higiene, Salud y Limpieza
   Paleta: Blanco Clínico, Azul Sanitario, Verde Menta Bio y Rojo Logo
   ========================================================================== */

:root {
  --color-clean-bg: #f8fafc;
  --color-clean-card: #ffffff;
  --color-red-primary: #e50914;
  --color-red-hover: #c80811;
  --color-cyan-soft: #e0f2fe;
  --color-cyan-primary: #0284c7;
  --color-green-bio: #059669;
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-clean-bg);
  font-family: 'Outfit', sans-serif;
  color: var(--color-text-main);
  overflow-x: hidden;
}

/* Custom Clean Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e50914;
}

/* Spider Soft Sanitized Aura (Clean Halo) */
.clean-halo {
  position: relative;
}
.clean-halo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(229, 9, 20, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: cleanPulse 4s ease-in-out infinite alternate;
}

@keyframes cleanPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.06);
    opacity: 1;
  }
}

/* Floating animation */
@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-float-soft {
  animation: floatSoft 4s ease-in-out infinite;
}

/* Subtle pattern for sanitized background */
.bg-clean-grid {
  background-image: 
    radial-gradient(#e2e8f0 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Clean Card Shadows & Glass */
.clean-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.clean-card:hover {
  box-shadow: 0 12px 30px -4px rgba(229, 9, 20, 0.12);
  border-color: rgba(229, 9, 20, 0.3);
  transform: translateY(-3px);
}

/* Cotizador Radio Boxes */
.clean-calc-option input[type="radio"]:checked + .clean-calc-box {
  border-color: var(--color-red-primary);
  background-color: #fef2f2;
  box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
  transform: translateY(-1px);
}

/* Accordion Smooth Transition */
.clean-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  opacity: 0;
}

.clean-accordion-item.active .clean-accordion-content {
  max-height: 400px;
  opacity: 1;
}

.clean-accordion-item.active .clean-accordion-icon {
  transform: rotate(180deg);
  color: var(--color-red-primary);
}

/* Button Shimmer Clean */
.clean-btn-shine {
  position: relative;
  overflow: hidden;
}
.clean-btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: rotate(30deg) translateX(-100%);
  animation: cleanShineLoop 3.5s infinite;
}

@keyframes cleanShineLoop {
  0% {
    transform: rotate(30deg) translateX(-150%);
  }
  25%, 100% {
    transform: rotate(30deg) translateX(150%);
  }
}
