html {
  scroll-behavior: smooth;
}

site-header,
hero-section,
services-section,
work-section,
process-section,
testimonials-section,
contact-section,
site-footer {
  display: contents;
}

body {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
}

.whatsapp-widget {
  position: fixed;
  right: 1.25rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  width: 5rem;
  height: 5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.whatsapp-widget:hover {
  transform: scale(1.05);
}

.whatsapp-widget:focus-visible {
  outline: 2px solid #f5c400;
  outline-offset: 3px;
}

.whatsapp-widget img {
  width: 5rem;
  height: 5rem;
}

@media (min-width: 768px) {
  .whatsapp-widget {
    right: 2rem;
    bottom: calc(2rem + env(safe-area-inset-bottom));
    width: 5.5rem;
    height: 5.5rem;
  }

  .whatsapp-widget img {
    width: 5.5rem;
    height: 5.5rem;
  }
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tab-panel-enter {
  animation: panelIn 0.4s ease both;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#services,
#work,
#process,
#contact,
#testimonials {
  scroll-margin-top: 4rem;
}

.process-steps {
  position: relative;
}

.process-carousel-viewport {
  container-type: inline-size;
  overflow: hidden;
  touch-action: pan-y;
}

.process-carousel-track {
  --process-gap: 0.75rem;
  --process-size: 100cqi;
  display: flex;
  align-items: stretch;
  gap: var(--process-gap);
  transition: transform 0.4s ease;
}

.process-carousel-item {
  position: relative;
  flex: 0 0 var(--process-size);
  width: var(--process-size);
  max-width: var(--process-size);
}

.process-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: #c4c4c4;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.process-carousel-dot.is-active {
  background: #f5c400;
  transform: scale(1.15);
}

@media (min-width: 768px) {
  .process-carousel-viewport {
    overflow: visible;
  }

  .process-carousel-track {
    --process-gap: 1.5rem;
    --process-size: calc((100cqi - 2 * var(--process-gap)) / 3);
    transform: none !important;
  }

  .process-steps::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 16.666%;
    right: 16.666%;
    border-top: 2px dotted rgba(26, 26, 26, 0.28);
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
}

.process-step > article {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.process-step-marker {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.process-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #f5c400;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 6px #fff9f0;
}

.hero-bg {
  object-fit: cover;
  object-position: center center;
}

.hero-handyman {
  mix-blend-mode: lighten;
}

@media (max-width: 767px) {
  .service-cat-slot-hidden {
    display: none !important;
  }

  .service-cat-nav.is-disabled {
    opacity: 0.35;
    pointer-events: none;
  }
}

.service-hotspot {
  position: absolute;
  z-index: 2;
  width: 1.15rem;
  height: 1.15rem;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 9999px;
  background: #c8c8c8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.service-hotspot:hover,
.service-hotspot:focus-visible {
  transform: translate(-50%, -50%) scale(1.12);
  outline: none;
}

.service-hotspot.is-active {
  background: #f5c400;
  z-index: 3;
}

.service-hotspot::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  opacity: 0.7;
  animation: hotspotPulse 2.2s ease-out infinite;
}

.service-hotspot.is-active::before {
  border-color: rgba(245, 196, 0, 0.65);
}

@keyframes hotspotPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.work-carousel-viewport {
  container-type: inline-size;
  overflow: hidden;
  margin: 0;
  touch-action: pan-y;
}

.work-carousel-track {
  --work-gap: 0.75rem;
  --work-size: 100cqi;
  display: flex;
  align-items: flex-start;
  gap: var(--work-gap);
  transition: transform 0.4s ease;
}

@media (min-width: 768px) {
  .work-carousel-track {
    --work-gap: 1.25rem;
    --work-size: calc((100cqi - 2 * var(--work-gap)) / 3);
  }
}

.work-carousel-item {
  position: relative;
  flex: 0 0 var(--work-size);
  width: var(--work-size);
  max-width: var(--work-size);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.work-embed-placeholder {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 1.75rem;
  background: #c4c4c4;
}

.work-embed-placeholder .text-post-media {
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
}

.work-embed-placeholder iframe {
  width: 100% !important;
  max-width: 100%;
}

.work-carousel-item[data-work-index="0"] .work-embed-placeholder {
  background: #e8e8e8;
}

.work-carousel-item[data-work-index="1"] .work-embed-placeholder {
  background: #d0d0d0;
}

.work-carousel-item[data-work-index="2"] .work-embed-placeholder {
  background: #b5b5b5;
}

.work-carousel-item[data-work-index="3"] .work-embed-placeholder {
  background: #969696;
}

.work-carousel-item[data-work-index="4"] .work-embed-placeholder {
  background: #747474;
}

.work-carousel-item[data-work-index="5"] .work-embed-placeholder {
  background: #555555;
}

@media (min-width: 768px) {
  .work-embed-placeholder {
    border-radius: 2rem;
  }
}

.work-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: #c4c4c4;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.work-carousel-dot.is-active {
  background: #f5c400;
  transform: scale(1.15);
}

.testimonials-carousel-viewport {
  container-type: inline-size;
  overflow: hidden;
  margin: 0;
  touch-action: pan-y;
}

.testimonials-carousel-track {
  --testimonials-gap: 0.75rem;
  --testimonials-size: 100cqi;
  display: flex;
  align-items: stretch;
  gap: var(--testimonials-gap);
  transition: transform 0.4s ease;
}

@media (min-width: 768px) {
  .testimonials-carousel-track {
    --testimonials-gap: 1.25rem;
    --testimonials-size: calc((100cqi - 2 * var(--testimonials-gap)) / 3);
  }
}

.testimonials-carousel-item {
  position: relative;
  flex: 0 0 var(--testimonials-size);
  width: var(--testimonials-size);
  max-width: var(--testimonials-size);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.testimonials-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 1.75rem;
  background: #c4c4c4;
}

@media (min-width: 768px) {
  .testimonials-card {
    border-radius: 2rem;
  }
}

.testimonials-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: #c4c4c4;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.testimonials-carousel-dot.is-active {
  background: #f5c400;
  transform: scale(1.15);
}

.hotspot-popup {
  position: absolute;
  top: 50%;
  left: calc(100% + 0.75rem);
  width: min(15.5rem, 58vw);
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: rgba(28, 28, 28, 0.92);
  color: #fff;
  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.service-hotspot[data-popup="left"] .hotspot-popup {
  left: auto;
  right: calc(100% + 0.75rem);
  transform: translateY(-50%) translateX(4px);
}

.service-hotspot[data-popup="bottom"] .hotspot-popup {
  top: calc(100% + 0.75rem);
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(-4px);
}

.service-hotspot[data-popup="top"] .hotspot-popup {
  top: auto;
  bottom: calc(100% + 0.75rem);
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(4px);
}

.service-hotspot.is-active .hotspot-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.service-hotspot[data-popup="left"].is-active .hotspot-popup {
  transform: translateY(-50%) translateX(0);
}

.service-hotspot[data-popup="bottom"].is-active .hotspot-popup {
  transform: translateX(-50%) translateY(0);
}

.service-hotspot[data-popup="top"].is-active .hotspot-popup {
  transform: translateX(-50%) translateY(0);
}

.hotspot-popup h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.hotspot-popup ul {
  margin: 0.4rem 0 0;
  padding: 0 0 0 0.95rem;
  list-style: disc;
}

.hotspot-popup li {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 640px) {
  .service-hotspot {
    width: 1rem;
    height: 1rem;
  }

  .hotspot-popup {
    width: min(12.5rem, 70vw);
    padding: 0.7rem 0.85rem;
  }

  .hotspot-popup h3 {
    font-size: 0.85rem;
  }

  .hotspot-popup li {
    font-size: 0.72rem;
  }
}
