.nav-glass {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-pill {
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(198, 242, 78, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-pill:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(198, 242, 78, 0.4),
    0 0 20px rgba(198, 242, 78, 0.15);
}
.btn-pill:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(198, 242, 78, 0.25);
}

.btn-pill[class*="border"] {
  box-shadow: none;
}
.btn-pill[class*="border"]:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-hover {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.12),
    0 0 20px rgba(198, 242, 78, 0.08);
}

@supports (corner-shape: squircle) {
  .card-hover,
  .rounded-2xl,
  .btn-pill {
    corner-shape: squircle;
  }
}

.gradient-heading {
  background: linear-gradient(90deg, #1d1d1f 60%, #c6f24e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-collage-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 60%;
  height: 70%;
  background: #c6f24e;
  border-radius: 24px;
  z-index: 0;
}
.hero-collage img {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.hero-collage-main {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}
.hero-collage-small {
  aspect-ratio: 1 / 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: #f5f5f7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  color: #1d1d1f;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.reveal-stagger > .reveal:nth-child(2) {
  transition-delay: 110ms;
}
.reveal-stagger > .reveal:nth-child(3) {
  transition-delay: 220ms;
}
.reveal-stagger > .reveal:nth-child(4) {
  transition-delay: 330ms;
}
.reveal-stagger > .reveal:nth-child(5) {
  transition-delay: 440ms;
}
.reveal-stagger > .reveal:nth-child(6) {
  transition-delay: 550ms;
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.stats-strip {
  background: #c6f24e;
  width: 100%;
}
.stats-strip .stat-divider {
  width: 1px;
  background: rgba(29, 29, 31, 0.15);
  align-self: stretch;
}

.count-up {
  display: inline-block;
}

.stepper-wrapper {
  position: relative;
}

@media (min-width: 768px) {
  .stepper-wrapper::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #c6f24e;
    z-index: 0;
  }
}
.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #c6f24e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 14px rgba(198, 242, 78, 0.3);
}

.scroll-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.scroll-container:active {
  cursor: grabbing;
}
.scroll-container::-webkit-scrollbar {
  display: none;
}
.scroll-container > * {
  scroll-snap-align: start;
}
.scroll-fade {
  position: relative;
}
.scroll-fade::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, transparent, #f5f5f7);
  pointer-events: none;
  z-index: 2;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testimonial-card {
  width: 380px;
  min-width: 380px;
  flex-shrink: 0;
  background: #f5f5f7;
  border-radius: 16px;
  padding: 28px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #c6f24e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #1d1d1f;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e8e8ed;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.carousel-btn:hover {
  background: #f5f5f7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d1d6;
  transition: all 0.3s ease;
  cursor: pointer;
}
.carousel-dot.active {
  background: #c6f24e;
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 767px) {
  .testimonial-card {
    width: 300px;
    min-width: 300px;
    padding: 20px;
  }
}

.faq-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .faq-split {
    grid-template-columns: 2fr 3fr;
    gap: 64px;
  }
}
.faq-sticky {
  position: static;
}
@media (min-width: 768px) {
  .faq-sticky {
    position: sticky;
    top: 120px;
    align-self: start;
  }
}

.dark-cta {
  background: #1d1d1f;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.dark-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E")
    repeat;
  pointer-events: none;
}
.dark-cta .cta-form-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.dark-cta input[type="text"],
.dark-cta input[type="tel"] {
  color: #1d1d1f;
}

.section-grain {
  position: relative;
}
.section-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E")
    repeat;
  pointer-events: none;
  z-index: 0;
}
.section-grain > * {
  position: relative;
  z-index: 1;
}

.gallery-thumb {
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
  opacity: 0.6;
}
.gallery-thumb:hover {
  opacity: 0.85;
}
.gallery-thumb.active {
  border-color: #c6f24e;
  opacity: 1;
}

.gallery-swiper {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-swiper::-webkit-scrollbar {
  display: none;
}

.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #e8e8ed;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.color-swatch:hover {
  transform: scale(1.1);
}
.color-swatch.active {
  border-color: #1d1d1f;
  box-shadow: 0 0 0 3px #c6f24e;
}

.color-swatch[data-hex="#FFFFFF"],
.color-swatch[data-hex="#ffffff"] {
  border-color: #d1d1d6;
}

.size-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 40px;
  padding: 0 14px;
  border-radius: 50px;
  border: 1px solid #d1d1d6;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
  cursor: pointer;
  transition: all 0.2s ease;
}
.size-chip:hover {
  border-color: #1d1d1f;
}
.size-chip.active {
  background: #c6f24e;
  border-color: #c6f24e;
  font-weight: 600;
}

#sticky-cta {
  transition: transform 0.3s ease;
}

details summary {
  list-style: none;
}
details summary::-webkit-details-marker {
  display: none;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body {
  animation: pageFadeIn 0.4s ease both;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: #c6f24e;
  z-index: 9999;
  width: 0%;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
  will-change: width;
}

.nav-glass {
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.nav-glass.nav-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.07);
  border-bottom-color: rgba(0, 0, 0, 0.09);
}

.nav-link-ul {
  position: relative;
}
.nav-link-ul::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #c6f24e;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link-ul:hover::after {
  transform: scaleX(1);
}

details > div {
  overflow: hidden;
}
details[open] > div {
  animation: detailsReveal 0.32s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes detailsReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-hover .overflow-hidden img {
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.card-hover:hover .overflow-hidden img {
  transform: scale(1.06);
}

.btn-pill:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.08s;
  box-shadow: 0 2px 6px rgba(198, 242, 78, 0.2);
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: #c6f24e !important;
  box-shadow: 0 0 0 3px rgba(198, 242, 78, 0.18);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #scroll-progress {
    display: none;
  }
  .nav-glass {
    transition: none;
  }
  details[open] > div {
    animation: none;
  }
  .card-hover .overflow-hidden img {
    transition: none;
  }
  .nav-link-ul::after {
    transition: none;
  }
  .btn-pill,
  .card-hover {
    transition: none;
  }
}
