/* ============================================================
   SparkleClean – style.css
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Pulsating "Call Now" floating button ---------- */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 #22c55e;
  }
  70% {
    box-shadow: 0 0 0 14px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.pulse-btn {
  animation: pulse-ring 2.2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.pulse-btn:hover {
  animation: none;
}

/* ---------- Form inputs (Focus & Custom Select) ---------- */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.2em;
  padding-right: 2.5rem;
}

/* Override Tailwind accent color for checkboxes just in case */
input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 0.25rem;
  cursor: pointer;
}

/* ---------- Form result messages ---------- */
.form-success {
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-error {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ---------- Submit button loading state ---------- */
#submitBtn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Sticky header shadow ---------- */
.header-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #93c5fd;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  #hero {
    min-height: 100svh;
  }
}

/* ---------- Print ---------- */
@media print {
  .pulse-btn,
  .fixed {
    display: none !important;
  }
}

/* ---------- Fix FAQ Icons in Safari ---------- */
details > summary::-webkit-details-marker,
details > summary::marker {
  display: none !important;
}
details > summary {
  list-style: none !important;
}

