/* 2026 accessibility, performance, and responsive refinements */
:root {
  --focus-ring: #ffd54a;
  --surface-soft: rgba(255, 255, 255, 0.07);
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  overflow-wrap: break-word;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100000;
  padding: 12px 18px;
  color: #111;
  background: #fff;
  border: 3px solid #d70006;
  border-radius: 6px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring) !important;
  outline-offset: 4px;
}

button,
[role="button"],
.btn-one,
.btn-two,
.btn-three {
  touch-action: manipulation;
}

img {
  max-width: 100%;
}

.service-photo,
.wptb-item--image img {
  object-fit: cover;
}

.wptb-item--image img {
  aspect-ratio: 4 / 3;
}

.contact-note {
  margin-top: 14px;
  font-size: 0.92rem;
  opacity: 0.85;
}

.form-control::placeholder {
  opacity: 0.72;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.required-note {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 12px 28px;
  flex-wrap: wrap;
  margin: 24px auto 0;
  padding: 16px 20px;
  max-width: 980px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

.trust-strip span::before {
  content: "✓";
  margin-right: 8px;
  color: #ef2028;
  font-weight: 800;
}

.gallery-item img {
  background: #171717;
  content-visibility: auto;
}

@media (max-width: 767px) {
  .header .logo img {
    max-width: 190px;
  }

  .wptb-page-heading.container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .wptb-item--button .btn-wrap,
  .btn-one,
  .btn-two,
  .btn-three {
    min-height: 48px;
  }

  .trust-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #preloader,
  .wptb-marquee {
    display: none !important;
  }
}
