html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
}

.font-heading {
  font-family: 'Poppins', sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Service & review cards */
.service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  box-shadow: 0 10px 30px -8px rgba(15, 118, 110, 0.18);
  border-color: #0d9488;
  transform: translateY(-2px);
}
.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ccfbf1;
  color: #0d9488;
  margin-bottom: 1.1rem;
}

.review-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.75rem;
}

/* Gallery */
.gallery-item {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #f1f5f9;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item:focus-visible {
  outline: 3px solid #0d9488;
  outline-offset: 2px;
}

/* Gallery marquee */
.gallery-marquee {
  overflow: hidden;
  width: 100%;
}
.gallery-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding: 0.5rem 1.25rem;
  animation: gallery-scroll 34s linear infinite;
}
.gallery-track.paused {
  animation-play-state: paused;
}
.gallery-card {
  flex: 0 0 auto;
  width: 280px;
  height: 200px;
}
@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .gallery-card {
    width: 220px;
    height: 160px;
  }
}

/* Before / After drag slider */
.ba-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 24px -4px rgba(15, 118, 110, 0.15);
  touch-action: pan-y;
  cursor: ew-resize;
  background: #f1f5f9;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.ba-before-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12), 0 2px 10px rgba(0, 0, 0, 0.15);
  transform: translateX(-50%);
  z-index: 5;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d9488;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  cursor: ew-resize;
}
.ba-tag {
  position: absolute;
  top: 1rem;
  z-index: 4;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  pointer-events: none;
}
.ba-tag-before {
  left: 1rem;
  background: rgba(15, 23, 42, 0.75);
}
.ba-tag-after {
  right: 1rem;
  background: #0d9488;
}

#lightbox.flex {
  display: flex;
}

/* Floating action buttons */
.fab-whatsapp {
  animation: fab-pulse 2.2s ease-in-out infinite;
}
.fab-call {
  animation: fab-pulse 2.2s ease-in-out infinite;
  animation-delay: 0.4s;
}
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
}
.fab-call {
  --tw-shadow: 0 0 0 0 rgba(13, 148, 136, 0.35);
}

/* Header scroll shadow */
#header.scrolled {
  box-shadow: 0 4px 20px -8px rgba(15, 23, 42, 0.15);
}

/* Focus visibility across interactive elements */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #0d9488;
  outline-offset: 2px;
}
