/* ==========================================================================
   GOAL Cleaning - Shared styles
   Consolidated from all page designs (Warm Minimalist / Hearth Cream theme)
   ========================================================================== */

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.fill-icon,
.material-symbols-outlined.fill {
  font-variation-settings: "FILL" 1;
}

body {
  background-color: #fcf9f8; /* Hearth Cream */
  min-height: 100dvh;
}

/* --- Cards & surfaces --- */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid #d8f3dc;
}

.soft-card-shadow {
  box-shadow: 0 10px 30px -10px rgba(45, 106, 79, 0.08);
}

.mint-border {
  border-color: #d8f3dc;
}

.mint-gradient {
  background: linear-gradient(135deg, #fcf9f8 0%, #cee9d3 100%);
}

.whatsapp-gradient {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.service-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
  transform: translateY(-4px);
}

/* --- Interactions --- */
.active-state {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.active-state:active {
  opacity: 0.8;
  transform: scale(0.95);
}

/* --- Forms --- */
.text-error {
  color: #ba1a1a;
}

.form-input-focus:focus {
  border-color: #0f5238;
  box-shadow: 0 0 0 1px #0f5238;
  outline: none;
}

.availability-grid input:checked + label {
  background-color: #0f5238;
  color: white;
  border-color: #0f5238;
}

/* --- Scroll reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Safe area padding for mobile bottom nav --- */
.pb-safe {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* --- Accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid #0f5238;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-card,
  .active-state,
  .animate-pulse,
  .animate-bounce,
  .animate-spin {
    animation: none !important;
    transition: none !important;
  }

  .service-card:hover {
    transform: none;
  }
}
