/* Custom animations and utilities */
.animate-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-in-up.animate-fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

.animation-delay-300 {
  transition-delay: 0.3s;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #1976d2;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1565c0;
}

/* Focus styles */
button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}

/* Loading animation for images */
img {
  transition: opacity 0.3s ease-in-out;
}

img.loaded {
  opacity: 1;
}

/* Hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#gallery .gallery-loop {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 32px 0;
  background: transparent;
  box-shadow: 0 24px 75px rgba(15,23,42,0.12);
}

#gallery .gallery-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  pointer-events: none;
  z-index: 20;
}

#gallery .gallery-arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  pointer-events: auto;
}

#gallery .gallery-arrow svg {
  width: 22px;
  height: 22px;
}

#gallery .gallery-arrow:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
}

#gallery .gallery-arrow:focus-visible {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}

#gallery .gallery-loop::before,
#gallery .gallery-loop::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  pointer-events: none;
  z-index: 10;
}

#gallery .gallery-loop::before {
  left: 0;
  background: transparent;
}

#gallery .gallery-loop::after {
  right: 0;
  background: transparent;
}

#gallery .gallery-track {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 12%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

#gallery .gallery-item {
  flex: 0 0 22.5%;
  min-width: 280px;
  max-width: 320px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15,23,42,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  background: transparent;
  transform: scale(0.96);
  opacity: 0.8;
  filter: saturate(0.92) brightness(0.94);
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

#gallery .gallery-item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

#gallery .gallery-item.focused {
  transform: scale(1);
  opacity: 1;
  filter: saturate(1.05) brightness(1);
  box-shadow: 0 36px 90px rgba(15,23,42,0.22);
}

@media (max-width: 1024px) {
  #gallery .gallery-track {
    padding: 0 8%;
  }

  #gallery .gallery-item {
    flex: 0 0 38%;
    min-width: 240px;
  }
}

@media (max-width: 768px) {
  #gallery .gallery-loop {
    padding: 24px 0;
  }

  #gallery .gallery-nav {
    padding: 0 10px;
  }

  #gallery .gallery-arrow {
    width: 40px;
    height: 40px;
  }

  #gallery .gallery-item {
    flex: 0 0 60%;
    min-width: 220px;
  }
}

.logo-small {
  height: 190px;
  width: auto;
  margin-bottom: 1px;
  display: block;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 4vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 11ch;
  text-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
}

.hero-copy p {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 28px 0 30px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--accent), #42a5f5);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 25px 60px rgba(25, 118, 210, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 75px rgba(25, 118, 210, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 28px 75px rgba(25, 118, 210, 0.35);
}

.hero-actions span {
  color: var(--text);
  opacity: 0.85;
  font-weight: 500;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.stat-item {
  padding: 20px 22px;
  background: rgba(25, 118, 210, 0.2);
  border: 1px solid rgba(25, 118, 210, 0.4);
  border-radius: 24px;
}

.stat-value {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: #0d47a1;
}

.stat-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-media {
  position: relative;
}

.media-card {
  position: relative;
  min-height: 520px;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(25, 118, 210, 0.3);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 30px;
}

.media-text {
  max-width: 400px;
}

.media-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(25, 118, 210, 0.2), transparent 30%),
    radial-gradient(circle at bottom right, rgba(66, 165, 245, 0.15), transparent 25%);
  pointer-events: none;
}

.smoke {
  position: absolute;
  width: 180%;
  height: 140%;
  left: -40%;
  top: 40%;
  background: radial-gradient(circle, rgba(25, 118, 210, 0.2), transparent 55%);
  opacity: 0.12;
  filter: blur(24px);
  transform: translateY(0) scale(1);
  animation: smokeRise 12s linear infinite;
}

/* Premium testimonials section */
.testimonials-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 500px at 10% 0%, #1f2937 0%, #111827 45%, #0b1220 100%);
  font-family: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.testimonials-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(2px);
}

.testimonials-shape-left {
  width: 360px;
  height: 360px;
  left: -120px;
  top: -80px;
  background: radial-gradient(circle at center, rgba(25, 118, 210, 0.14), rgba(25, 118, 210, 0));
}

.testimonials-shape-right {
  width: 300px;
  height: 300px;
  right: -90px;
  bottom: -50px;
  background: radial-gradient(circle at center, rgba(245, 124, 0, 0.16), rgba(245, 124, 0, 0));
}

.testimonials-section .max-w-7xl {
  position: relative;
  z-index: 1;
}

.rating-badge {
  max-width: 760px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 1.35rem;
  line-height: 1;
}

.rating-star {
  color: #f5c542;
  opacity: 0;
  transform: translateY(8px) scale(0.88);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.rating-stars.is-animated .rating-star {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rating-stars.is-animated .rating-star:nth-child(2) { transition-delay: 0.08s; }
.rating-stars.is-animated .rating-star:nth-child(3) { transition-delay: 0.16s; }
.rating-stars.is-animated .rating-star:nth-child(4) { transition-delay: 0.24s; }
.rating-stars.is-animated .rating-star:nth-child(5) { transition-delay: 0.32s; }

.rating-score {
  margin: 10px 0 4px;
  font-size: 1.28rem;
  font-weight: 800;
  color: #ffffff;
}

.rating-trust {
  margin: 0;
  font-size: 1rem;
  color: #e5e7eb;
}

#satisfied-count {
  color: #f57c00;
  font-weight: 800;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.86), rgba(15, 23, 42, 0.92));
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.32);
}

.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(245, 124, 0, 0);
  transition: border-color 0.3s ease;
}

.testimonial-card.is-highlighted {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 20px 52px rgba(37, 99, 235, 0.25);
  transform: translateY(-5px);
}

.testimonial-card.is-highlighted::after {
  border-color: rgba(245, 124, 0, 0.4);
}

.testimonial-stars {
  color: #f5c542;
  letter-spacing: 3px;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.testimonial-text {
  margin: 0 0 18px;
  color: #f3f4f6;
  line-height: 1.75;
  font-size: 1rem;
  font-weight: 500;
}

.testimonial-name {
  margin: 0;
  font-size: 1.03rem;
  font-weight: 800;
  color: #ffffff;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .rating-badge {
    padding: 18px;
  }

  .rating-score {
    font-size: 1.12rem;
  }

  .rating-trust {
    font-size: 0.95rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    min-height: 220px;
    padding: 20px;
  }
}

.smoke-2 {
  top: 10%;
  opacity: 0.08;
  animation-duration: 16s;
}

.smoke-3 {
  top: 60%;
  opacity: 0.06;
  animation-duration: 20s;
}

.fire-glow {
  position: absolute;
  bottom: 24px;
  left: 16px;
  width: calc(100% - 32px);
  height: 120px;
  background: radial-gradient(circle at center, rgba(66, 165, 245, 0.3), transparent 60%);
  pointer-events: none;
  animation: pulseGlow 3.75s ease-in-out infinite;
}

@keyframes smokeRise {
  0% { transform: translateY(0) scale(1); opacity: 0.12; }
  50% { transform: translateY(-24%) scale(1.05); opacity: 0.04; }
  100% { transform: translateY(-48%) scale(1.1); opacity: 0.02; }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.1); opacity: 0.45; }
}

.media-content {
  position: absolute;
  inset: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 22px;
}

.shield-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(25, 118, 210, 0.1);
  border: 1px solid rgba(25, 118, 210, 0.3);
  display: grid;
  place-items: center;
  backdrop-filter: blur(12px);
}

.shield-icon svg {
  width: 52px;
  height: 52px;
  color: #1976d2;
}

.media-caption {
  max-width: 320px;
  padding: 22px;
  border-radius: 30px;
  background: rgba(187, 222, 251, 0.7);
  border: 1px solid rgba(25, 118, 210, 0.2);
  font-size: 1rem;
  line-height: 1.75;
  color: #0d47a1;
}

.features {
  max-width: 1240px;
  margin: 40px auto 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0 30px;
}

.feature-card {
  padding: 32px;
  border-radius: 30px;
  background: rgba(187, 222, 251, 0.5);
  border: 1px solid rgba(25, 118, 210, 0.2);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(25, 118, 210, 0.4);
}

.feature-card:focus-visible {
  outline: 2px solid rgba(25, 118, 210, 0.85);
  outline-offset: 6px;
}

.gallery-section {
  max-width: 1240px;
  margin: 80px auto 60px;
  padding: 0 30px;
}

.gallery-section h2 {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0 0 40px;
  color: var(--text);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.reviews-section {
  max-width: 1240px;
  margin: 80px auto 60px;
  padding: 0 30px;
}

.reviews-container {
  width: 100%;
}

.reviews-header {
  text-align: center;
  margin-bottom: 50px;
}

.reviews-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--text);
  margin: 0 0 20px;
}

.reviews-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.reviews-rating .stars {
  font-size: 2.5rem;
  color: #1976d2;
  letter-spacing: 2px;
}

.reviews-rating p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
  font-weight: 600;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: linear-gradient(135deg, rgba(187, 222, 251, 0.4), rgba(187, 222, 251, 0.2));
  border: 1px solid rgba(25, 118, 210, 0.2);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(25, 118, 210, 0.4);
  background: linear-gradient(135deg, rgba(187, 222, 251, 0.6), rgba(187, 222, 251, 0.4));
}

.review-stars {
  font-size: 1.3rem;
  color: #1976d2;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.review-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin: 12px 0 16px;
  font-style: italic;
}

.review-author {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  font-weight: 600;
}

.feature-detail {
  max-width: 1240px;
  margin: 0 auto 60px;
  padding: 40px 30px 60px;
}

.feature-detail.hidden {
  display: none;
}

.detail-panel {
  position: relative;
  background: rgba(187, 222, 251, 0.6);
  border-radius: 32px;
  border: 1px solid rgba(25, 118, 210, 0.25);
  padding: 34px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.32s ease both;
  color: #0d47a1;
}

.detail-panel:not(.active) {
  display: none;
}

/* Moisture detection premium section */
.moisture-premium-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  color: #ffffff;
  padding: 96px 0;
  font-family: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.moisture-premium-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 8%, rgba(180, 30, 30, 0.18), transparent 36%),
    radial-gradient(circle at 88% 18%, rgba(220, 32, 32, 0.12), transparent 30%);
  z-index: -1;
}

.moisture-wave-layer {
  position: absolute;
  left: -15%;
  right: -15%;
  height: 240px;
  bottom: -110px;
  background: radial-gradient(55% 90% at 50% 50%, rgba(66, 165, 245, 0.16) 0%, rgba(66, 165, 245, 0) 72%);
  opacity: 0.75;
  animation: moistureWave 11s ease-in-out infinite;
}

.moisture-wave-layer-alt {
  bottom: -145px;
  opacity: 0.6;
  animation-duration: 15s;
  animation-delay: 1.4s;
}

.moisture-premium-inner {
  position: relative;
  z-index: 2;
}

.moisture-header {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.moisture-eyebrow {
  margin: 0 0 12px;
  color: #f9b24f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

.moisture-title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.15;
  color: #0f172a;
}

.moisture-intro {
  margin: 0 auto 14px;
  color: #334155;
  line-height: 1.82;
  font-size: 1.05rem;
  max-width: 850px;
}

.moisture-block {
  margin-top: 54px;
}

.moisture-block-title {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  line-height: 1.25;
}

.moisture-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.moisture-glass-card,
.moisture-process-step,
.moisture-benefit-card,
.moisture-cta {
  background: rgba(12, 17, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 20px;
}

.moisture-glass-card {
  padding: 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.moisture-glass-card:hover {
  transform: translateY(-7px);
  border-color: rgba(249, 178, 79, 0.58);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.16);
}

.moisture-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(145deg, rgba(66, 165, 245, 0.28), rgba(245, 124, 0, 0.2));
  border: 1px solid rgba(25, 118, 210, 0.2);
  color: #0d47a1;
  animation: iconFloat 3.2s ease-in-out infinite;
}

.moisture-glass-card:nth-child(2) .moisture-icon {
  animation-delay: 0.35s;
}

.moisture-glass-card:nth-child(3) .moisture-icon {
  animation-delay: 0.7s;
}

.moisture-icon svg {
  width: 28px;
  height: 28px;
}

.moisture-glass-card h4,
.moisture-process-step h4,
.moisture-benefit-card h4,
.moisture-cta h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.35;
}

.moisture-glass-card p,
.moisture-process-step p,
.moisture-benefit-card p,
.moisture-cta p {
  margin: 0;
  color: #e5e7eb;
  line-height: 1.72;
}

.moisture-process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.moisture-process-step {
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.moisture-process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(66, 165, 245, 0.56);
}

.moisture-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.moisture-benefit-card {
  padding: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.moisture-benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 178, 79, 0.58);
}

.moisture-cta {
  margin-top: 56px;
  text-align: center;
  padding: 34px 26px;
}

.moisture-cta-emergency {
  margin-top: 16px;
  color: #f9b24f;
  font-weight: 700;
}

.moisture-cta-button {
  margin-top: 20px;
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f57c00, #ff9800);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(245, 124, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.moisture-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(245, 124, 0, 0.44);
}

.moisture-cta-quote {
  margin-top: 18px;
  font-style: italic;
  color: #1e40af;
}

@keyframes moistureWave {
  0%,
  100% {
    transform: translateX(0) translateY(0) scale(1);
  }
  50% {
    transform: translateX(3%) translateY(-12px) scale(1.05);
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 1100px) {
  .moisture-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .moisture-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .moisture-premium-section {
    padding: 74px 0;
  }

  .moisture-feature-grid,
  .moisture-process-grid,
  .moisture-benefits-grid {
    grid-template-columns: 1fr;
  }

  .moisture-glass-card,
  .moisture-process-step,
  .moisture-benefit-card,
  .moisture-cta {
    border-radius: 16px;
  }

  .moisture-cta {
    padding: 26px 18px;
  }
}

.detail-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.detail-label {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(25, 118, 210, 0.2);
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.detail-panel h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 2.4vw, 2.8rem);
  line-height: 1.1;
}

.detail-close {
  min-width: 120px;
  border-radius: 999px;
  border: 1px solid rgba(25, 118, 210, 0.2);
  background: rgba(25, 118, 210, 0.08);
  color: var(--text);
  padding: 14px 18px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.detail-close:hover {
  background: rgba(25, 118, 210, 0.12);
  transform: translateY(-1px);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.detail-grid article {
  background: rgba(25, 118, 210, 0.1);
  border-radius: 26px;
  padding: 24px;
  border: 1px solid rgba(25, 118, 210, 0.2);
}

.detail-grid article h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.detail-grid article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.feature-fire { background-image: linear-gradient(180deg, rgba(25, 118, 210, 0.12), transparent); }
.feature-water { background-image: linear-gradient(180deg, rgba(41, 152, 255, 0.12), transparent); }
.feature-mold { background-image: linear-gradient(180deg, rgba(25, 118, 210, 0.12), transparent); }

.contact-section {
  background: linear-gradient(135deg, #bbdefb 0%, #e3f2fd 100%);
  padding: 60px 30px;
  margin: 80px 0 0;
}

.contact-container {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.contact-section h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--text);
  margin: 0 0 12px;
}

.contact-section > div > p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 40px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.contact-item {
  background: rgba(255, 255, 255, 0.6);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(25, 118, 210, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

.contact-item h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin: 0 0 15px;
}

.contact-item a {
  font-size: 1.1rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #0d47a1;
}

.service-location {
  text-align: center;
  margin-top: 50px;
  padding: 24px 32px;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.12), rgba(66, 165, 245, 0.08));
  border: 2px solid rgba(25, 118, 210, 0.35);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(25, 118, 210, 0.12);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-location:hover {
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.18), rgba(66, 165, 245, 0.14));
  box-shadow: 0 16px 50px rgba(25, 118, 210, 0.18);
  transform: translateY(-4px);
  border-color: rgba(25, 118, 210, 0.5);
}

.location-symbol {
  display: block;
  font-size: 3.2rem;
  margin-bottom: 12px;
  animation: pulse-scale 2.5s ease-in-out infinite;
}

@keyframes pulse-scale {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.95; }
}

.service-location p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy, .hero-media { width: 100%; }
}

@media (max-width: 720px) {
  .hero-wrap { padding: 40px 18px 26px; }
  .hero-copy h1 { font-size: 2.8rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .stat-grid { grid-template-columns: 1fr; }
  .media-card { min-height: 420px; }
  .features { grid-template-columns: 1fr; }
}

.detail-image-small {
  display: flex;
  align-items: right;
  justify-content: right;
  margin-top: 16px;
}

.detail-image-small img {
  width: 300px;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
}

.service-area {
  text-align: center;
  margin-top: 30px;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

/* Mobile-friendly tweaks */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Floating call button for small screens */
.mobile-call-button {
  display: none;
}

@media (max-width: 720px) {
  .hero-copy h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .hero-actions a, .btn-primary, .btn-secondary { width: 100%; padding: 12px 16px; font-size: 1rem; border-radius: 12px; }
  .gallery-grid img, .w-full.h-64 { height: 200px; }
  .media-card { min-height: 320px; padding: 20px; }
  .stat-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; padding: 0 16px; }
  .animate-fade-in-up { transition: none !important; transform: none !important; opacity: 1 !important; }
  .mobile-call-button {
    display: inline-flex;
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: #1976d2;
    color: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    z-index: 60;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-in-up { transition: none !important; }
}

/* New Jersey service areas */
.service-areas-section {
  position: relative;
  background: linear-gradient(165deg, #0b1220 0%, #111827 50%, #1f2937 100%);
  overflow: hidden;
}

.service-areas-bg-shape {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.service-areas-bg-shape-a {
  width: 360px;
  height: 360px;
  left: -140px;
  top: -120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.26), rgba(59, 130, 246, 0));
}

.service-areas-bg-shape-b {
  width: 320px;
  height: 320px;
  right: -130px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.24), rgba(225, 6, 0, 0));
}

#service-areas .max-w-7xl {
  position: relative;
  z-index: 1;
}

.nj-map-wrap {
  margin-bottom: 12px;
}

.nj-map-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.88), rgba(240, 247, 255, 0.78));
  border: 1px solid rgba(25, 118, 210, 0.16);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  padding: 12px;
}

.nj-map-graphic {
  position: relative;
  max-width: 210px;
  margin: 0 auto;
  aspect-ratio: 360 / 520;
}

.nj-outline {
  width: 100%;
  height: 100%;
}

.nj-outline path {
  fill: rgba(25, 118, 210, 0.09);
  stroke: rgba(25, 118, 210, 0.65);
  stroke-width: 2.2;
}

.nj-marker {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #f57c00;
  box-shadow: 0 0 0 0 rgba(245, 124, 0, 0.45);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  animation: markerPulse 2.2s ease-in-out infinite;
}

.nj-marker:hover,
.nj-marker.is-active {
  transform: translate(-50%, -50%) scale(1.18);
  background: #1976d2;
}

.nj-map-note {
  margin: 8px 0 0;
  text-align: center;
  color: #475569;
  font-weight: 600;
  font-size: 0.86rem;
}

.service-area-search-wrap {
  margin-bottom: 10px;
}

.service-area-search {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  font-size: 0.95rem;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.service-area-search::placeholder {
  color: #cbd5e1;
}

.service-area-search:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.service-area-grid {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.service-area-grid::-webkit-scrollbar {
  height: 6px;
}

.service-area-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.service-area-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.72);
  border-radius: 999px;
  padding: 8px 12px;
  text-align: left;
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.86rem;
  scroll-snap-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-area-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.service-area-chip.is-active {
  border-color: rgba(96, 165, 250, 0.8);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.4), rgba(59, 130, 246, 0.2));
}

.service-area-panel {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.86), rgba(30, 41, 59, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
  padding: 16px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.service-area-panel.is-updating {
  opacity: 0.55;
  transform: translateY(4px);
}

.service-area-name {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
  color: #ffffff;
}

.service-area-seo-title {
  margin: 6px 0 0;
  font-weight: 700;
  color: #93c5fd;
  font-size: 0.9rem;
}

.service-area-description {
  margin-top: 8px;
  color: #e2e8f0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.service-area-details-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.service-area-services h4,
.service-area-meta .service-meta-label {
  color: #ffffff;
}

.service-area-services h4 {
  margin: 0 0 10px;
}

.service-bullets {
  margin: 0;
  padding-left: 18px;
  color: #e2e8f0;
  line-height: 1.55;
  font-size: 0.9rem;
}

.service-meta-item {
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.service-meta-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-meta-value {
  display: block;
  margin-top: 4px;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.9rem;
}

.service-area-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.service-area-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.service-area-btn-primary {
  background: linear-gradient(135deg, #f57c00, #ff9800);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(245, 124, 0, 0.32);
}

.service-area-btn-primary:hover {
  transform: translateY(-2px);
}

.service-area-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.service-area-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.service-area-map-wrap {
  margin-top: 10px;
}

.service-area-map {
  width: 100%;
  min-height: 190px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

@keyframes markerPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 124, 0, 0.45);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(245, 124, 0, 0);
  }
}

@media (max-width: 900px) {
  .service-area-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-area-actions {
    flex-direction: column;
  }

  .service-area-btn {
    width: 100%;
  }

  .service-area-name {
    font-size: 1.55rem;
  }
}

/* Premium cinematic global design language */
:root {
  --cin-bg: #050505;
  --cin-red-1: #2a0000;
  --cin-red-2: #4a0000;
  --cin-red-3: #7a0000;
  --cin-accent: #e10600;
  --cin-text: #ffffff;
  --cin-muted: #cfcfcf;
  --cin-border: rgba(225, 6, 0, 0.2);
  --cin-surface: rgba(20, 12, 12, 0.72);
  --cin-shadow: rgba(225, 6, 0, 0.18);
}

body {
  background: url('./house_background.jpg') center center / cover no-repeat fixed !important;
  color: var(--cin-text);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 0.45px, transparent 0.45px);
  background-size: 3px 3px;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)),
    radial-gradient(80% 60% at 70% 12%, rgba(225, 6, 0, 0.24), transparent 62%),
    radial-gradient(70% 55% at 12% 88%, rgba(122, 0, 0, 0.2), transparent 60%);
  z-index: 0;
}

header,
section,
footer,
main {
  position: relative;
  z-index: 1;
}

header {
  background: rgba(6, 6, 6, 0.36) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
  transition: background 0.55s ease, backdrop-filter 0.55s ease, border-color 0.55s ease;
}

header.is-scrolled {
  background: rgba(8, 8, 8, 0.74) !important;
  border-color: rgba(225, 6, 0, 0.22);
  backdrop-filter: blur(16px);
}

header nav a {
  color: #ededed !important;
  position: relative;
}

header nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--cin-accent), transparent);
  transition: transform 0.45s ease;
}

header nav a:hover::after,
header nav a.is-active::after {
  transform: scaleX(1);
}

header nav a:hover,
header nav a.is-active {
  color: #ffffff !important;
}

#mobile-menu {
  background: rgba(10, 8, 8, 0.92);
  border-top: 1px solid var(--cin-border);
}

h1,
h2,
h3,
h4,
h5,
h6,
.text-gray-900,
.text-slate-900 {
  color: var(--cin-text) !important;
}

p,
.text-gray-700,
.text-gray-600,
.text-gray-500,
.text-gray-400,
.text-slate-600,
.text-blue-100 {
  color: var(--cin-muted) !important;
}

.text-white {
  color: #ffffff !important;
}

#home {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-attachment: fixed;
}

#home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

#about,
#services,
#gallery,
#testimonials,
#contact,
#service-areas,
.moisture-premium-section {
  background: transparent !important;
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
}

#services,
#testimonials,
#service-areas,
.moisture-premium-section {
  background: transparent !important;
}

.bg-white,
.bg-gray-50,
.rating-badge,
.testimonial-card,
.review-card,
.feature-card,
.detail-panel,
.service-area-panel,
.service-meta-item,
.moisture-glass-card,
.moisture-process-step,
.moisture-benefit-card,
.nj-map-card {
  background: var(--cin-surface) !important;
  border: 1px solid var(--cin-border) !important;
  box-shadow: 0 18px 42px var(--cin-shadow) !important;
  backdrop-filter: none;
}

/* Do not draw red borders on whole sections (these looked like separator lines). */
section.bg-white,
section.bg-gray-50 {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

footer {
  background: #111827 !important;
  color: #ffffff !important;
}

.rounded-lg,
.rounded-xl,
.rounded-2xl,
.rounded-3xl {
  border-radius: 18px !important;
}

.group.relative.overflow-hidden,
.service-area-chip,
.service-area-search,
.service-area-btn,
.moisture-cta,
.rating-badge,
.testimonial-card,
.review-card {
  transition: transform 0.55s ease, box-shadow 0.55s ease, border-color 0.55s ease, background 0.55s ease, color 0.55s ease;
}

.group.relative.overflow-hidden:hover,
.testimonial-card:hover,
.review-card:hover,
.feature-card:hover,
.service-area-chip:hover,
.service-area-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(225, 6, 0, 0.24) !important;
  border-color: rgba(225, 6, 0, 0.35) !important;
}

a.bg-white.text-blue-600,
.btn-primary,
.moisture-cta-button,
.service-area-btn-primary {
  background: linear-gradient(135deg, var(--cin-red-2), var(--cin-accent)) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 14px 34px rgba(225, 6, 0, 0.28) !important;
}

a.bg-white.text-blue-600:hover,
.btn-primary:hover,
.moisture-cta-button:hover,
.service-area-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.07);
}

a.border-white.text-white,
.btn-secondary,
.service-area-btn-secondary {
  background: rgba(18, 12, 12, 0.74) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}

a.border-white.text-white:hover,
.btn-secondary:hover,
.service-area-btn-secondary:hover {
  background: rgba(36, 14, 14, 0.9) !important;
  border-color: rgba(225, 6, 0, 0.38) !important;
}

.text-primary,
.text-blue-600,
.service-area-seo-title,
#satisfied-count,
.review-stars,
.rating-star {
  color: var(--cin-accent) !important;
}

.service-areas-bg-shape-a {
  background: radial-gradient(circle, rgba(225, 6, 0, 0.24), transparent 70%) !important;
}

.service-areas-bg-shape-b {
  background: radial-gradient(circle, rgba(122, 0, 0, 0.24), transparent 70%) !important;
}

.service-area-search,
.service-area-chip,
.service-area-panel,
.service-meta-item,
.nj-map-card {
  color: #fff !important;
  border-color: rgba(225, 6, 0, 0.26) !important;
}

.service-area-search:focus {
  border-color: rgba(225, 6, 0, 0.45) !important;
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.16) !important;
}

.service-area-chip.is-active {
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.2), rgba(122, 0, 0, 0.2)) !important;
}

.nj-outline path {
  fill: rgba(225, 6, 0, 0.12) !important;
  stroke: rgba(255, 145, 145, 0.65) !important;
}

.nj-marker {
  background: var(--cin-accent) !important;
  box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.4) !important;
}

.nj-marker.is-active,
.nj-marker:hover {
  background: #ff2b2b !important;
}

.animate-fade-in-up,
.reveal-on-scroll {
  transition-duration: 0.65s !important;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

@keyframes premiumGradientShift {
  0% { background-position: 0% 20%; }
  50% { background-position: 100% 80%; }
  100% { background-position: 0% 20%; }
}

#services,
#testimonials,
#service-areas {
  background-size: 180% 180% !important;
  animation: premiumGradientShift 22s ease-in-out infinite;
}

::-webkit-scrollbar-track {
  background: #121212;
}

::-webkit-scrollbar-thumb {
  background: rgba(225, 6, 0, 0.6);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(225, 6, 0, 0.85);
}

button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid rgba(225, 6, 0, 0.6) !important;
  outline-offset: 2px;
}

.mobile-call-button {
  background: linear-gradient(135deg, var(--cin-red-2), var(--cin-accent)) !important;
  color: #fff !important;
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  body {
    background-image: none !important;
    background-attachment: scroll !important;
    background-color: #050505 !important;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 1;
    background-image: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)), url('./house_background.jpg') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: 50% 50% !important;
    transform: translateZ(0);
    will-change: transform;
    z-index: 0;
  }

  body::after {
    display: none !important;
  }

  #home {
    min-height: 100svh;
    min-height: 100dvh;
    background-image: none !important;
    background-attachment: scroll !important;
    background-size: auto !important;
    background-position: 50% 50% !important;
  }

  #home::after {
    display: none !important;
  }
}

@media (max-width: 320px) {
  body::before {
    background-position: 50% 22% !important;
  }
}

@media (min-width: 321px) and (max-width: 360px) {
  body::before {
    background-position: 50% 24% !important;
  }
}

@media (min-width: 361px) and (max-width: 375px) {
  body::before {
    background-position: 50% 25% !important;
  }
}

@media (min-width: 376px) and (max-width: 390px) {
  body::before {
    background-position: 50% 26% !important;
  }
}

@media (min-width: 391px) and (max-width: 414px) {
  body::before {
    background-position: 50% 27% !important;
  }
}

@media (min-width: 415px) and (max-width: 430px) {
  body::before {
    background-position: 50% 28% !important;
  }
}

@media (min-width: 431px) and (max-width: 768px) {
  body::before {
    background-position: 50% 30% !important;
  }
}