/* Copied from project root styles.css for the WP theme. */

:root {
  --color-bg: #050816;
  --color-bg-alt: #0c1224;
  --color-surface: #111827;
  --color-surface-alt: #141b2f;
  --color-accent: #ff9b25;
  --color-accent-soft: rgba(255, 155, 37, 0.16);
  --color-text: #f9fafb;
  --color-text-soft: #d1d5db;
  --color-border: #1f2937;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--color-text);
  background: radial-gradient(circle at top left, #1f2937 0, #020617 50%),
    radial-gradient(circle at bottom right, #111827 0, #020617 50%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

section {
  position: relative;
}

section[hidden] {
  display: none !important;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.95),
    rgba(2, 6, 23, 0.85),
    rgba(2, 6, 23, 0.7)
  );
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 16px;
  background: radial-gradient(circle at 20% 20%, #ffffff, #f97316 60%, #b45309);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  padding: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: #e5e7eb;
  border-bottom-color: rgba(248, 250, 252, 0.7);
}

.header-cta {
  display: flex;
  align-items: center;
}

.phone-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #f97316, #ea580c 60%, #9a3412);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.phone-link.large {
  padding: 0.75rem 1.4rem;
}

.phone-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.phone-number {
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.28rem;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 999px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background-color: #e5e7eb;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(2px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-2px) rotate(-45deg);
}

.hero {
  padding: 3.25rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a5b4fc;
  margin: 0 0 0.35rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(251, 191, 36, 0.9);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.9);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fef9c3;
  margin: 0 0 0.6rem;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #facc15;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.35);
}

h1,
h2,
h3 {
  font-family: "Fredoka", system-ui, sans-serif;
  margin: 0 0 0.7rem;
}

h1 {
  font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3rem);
  line-height: 1.05;
}

.highlight {
  display: block;
  color: var(--color-accent);
}

.hero-lead {
  margin: 0.75rem 0 1.1rem;
  color: var(--color-text-soft);
  font-size: 0.98rem;
  max-width: 34rem;
}

.hero-points {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.hero-points li::before {
  content: "•";
  color: #a5b4fc;
  margin-right: 0.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn-primary {
  background: radial-gradient(circle at 20% 0, #f97316, #ea580c 60%, #b91c1c);
  color: #0b1120;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.75);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.8);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(30, 64, 175, 0.45);
  border-color: rgba(191, 219, 254, 0.9);
}

.btn.full-width {
  width: 100%;
}

.hero-visual {
  position: relative;
  min-height: 260px;
}

.hero-blob {
  position: absolute;
  inset: -14%;
  background: radial-gradient(circle at 10% 20%, #f97316 0, transparent 45%),
    radial-gradient(circle at 80% 80%, #6366f1 0, transparent 48%),
    radial-gradient(circle at 40% 100%, #22d3ee 0, transparent 40%);
  filter: blur(28px);
  opacity: 0.7;
}

.hero-card {
  position: relative;
  background: linear-gradient(145deg, #020617, #020617, #111827);
  border-radius: 26px;
  padding: 0.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.28);
  max-width: 380px;
  margin-left: auto;
  overflow: visible;
}

.hero-image {
  display: block;
  border-radius: 24px;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: radial-gradient(circle at 10% 0, #0b1120, #020617 60%);
}

.bug-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.zapper-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 12;
}

.zapper {
  position: absolute;
  width: 220px;
  height: auto;
  transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg));
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.7));
  opacity: 0;
}

.zapper img {
  width: 100%;
  height: auto;
  display: block;
}

.zapper.is-flipped img {
  transform: scaleX(-1);
}

.zapper.is-entering {
  animation: zapper-enter 1.8s ease-out forwards;
}

.zapper.is-hovering {
  opacity: 1;
  animation: zapper-hover 1.1s ease-in-out infinite alternate;
}

.zapper.is-exiting {
  animation: zapper-exit 1.6s ease-in forwards;
}

@keyframes zapper-enter {
  from {
    opacity: 0;
    transform: translate(var(--x, 0), var(--y, 0))
      translateX(var(--enter-x, -120vw)) scale(0.92) rotate(var(--rot, 0deg));
  }
  to {
    opacity: 1;
    transform: translate(var(--x, 0), var(--y, 0)) scale(1)
      rotate(var(--rot, 0deg));
  }
}

@keyframes zapper-hover {
  from {
    transform: translate(var(--x, 0), var(--y, 0)) translateY(-6px)
      rotate(var(--rot, 0deg));
  }
  to {
    transform: translate(var(--x, 0), var(--y, 0)) translateY(6px)
      rotate(var(--rot, 0deg));
  }
}

@keyframes zapper-exit {
  from {
    opacity: 1;
    transform: translate(var(--x, 0), var(--y, 0)) scale(1)
      rotate(var(--rot, 0deg));
  }
  to {
    opacity: 0;
    transform: translate(var(--x, 0), var(--y, 0))
      translateX(var(--exit-x, 120vw)) scale(0.94) rotate(var(--rot, 0deg));
  }
}

.laser-sweep {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: laser-sweep 0.24s linear forwards;
}

.laser-sweep::before {
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  width: 160%;
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(34, 197, 94, 0.0),
    rgba(34, 197, 94, 0.85),
    rgba(34, 197, 94, 1),
    rgba(187, 247, 208, 0.9),
    rgba(34, 197, 94, 0.85),
    rgba(34, 197, 94, 0.0),
    transparent
  );
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.65);
  transform: rotate(var(--laser-rot, -8deg));
  transform-origin: center;
}

@keyframes laser-sweep {
  from {
    opacity: 0;
    transform: translateY(-10vh);
  }
  25% {
    opacity: 1;
  }
  to {
    opacity: 0.95;
    transform: translateY(110vh);
  }
}

.spark {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #bbf7d0, #22c55e 55%, rgba(34, 197, 94, 0));
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.8);
  opacity: 0;
  animation: spark-pop 0.45s ease-out forwards;
}

@keyframes spark-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  35% {
    opacity: 1;
    transform: scale(1.2);
  }
  to {
    opacity: 0;
    transform: scale(0.7);
  }
}

.bug.is-zapped {
  animation: bug-zapped 0.75s ease-in forwards !important;
}

@keyframes bug-zapped {
  0% {
    opacity: 0.9;
    filter: saturate(1);
  }
  15% {
    opacity: 1;
    filter: saturate(2.1) brightness(1.25);
  }
  100% {
    opacity: 0;
    transform: rotate(720deg) scale(0.2);
    filter: blur(1px);
  }
}

.bug {
  position: absolute;
  width: 44px;
  height: 26px;
  opacity: 0.85;
  animation-name: bug-move;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}

.bug svg {
  width: 100%;
  height: 100%;
  fill: #020617;
  stroke: #f97316;
  stroke-width: 1.7;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.9));
}

.bug .leg {
  transform-origin: 50% 50%;
  animation-name: leg-wiggle;
  animation-timing-function: ease-in-out;
  animation-duration: 0.22s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.bug .leg:nth-of-type(2n) {
  animation-duration: 0.26s;
}

.bug .leg:nth-of-type(3n) {
  animation-duration: 0.3s;
}

@keyframes bug-move {
  from {
    transform: translate(var(--start-x, 0), var(--start-y, 0))
      rotate(var(--angle, 0deg));
  }
  to {
    transform: translate(var(--end-x, 0), var(--end-y, 0))
      rotate(var(--angle, 0deg));
  }
}

@keyframes leg-wiggle {
  from {
    transform: rotate(-28deg);
  }
  to {
    transform: rotate(28deg);
  }
}

.section {
  padding: 3rem 0 3.2rem;
}

.section-alt {
  background: radial-gradient(circle at top, #020617 0, #020617 30%, #020617),
    radial-gradient(circle at top right, #0b1120 0, #020617 45%);
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.section-header.align-left {
  text-align: left;
  margin-inline: 0 0;
}

.section-header p {
  margin: 0.4rem 0 0;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.75);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.service-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #f97316, #ea580c 60%, #b45309);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9),
    0 8px 18px rgba(15, 23, 42, 0.9);
}

.service-icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.split-text p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.check-list li::before {
  content: "✔";
  color: #22c55e;
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.photo-stack {
  position: relative;
  max-width: 380px;
  margin-inline: auto;
}

.photo-stack img {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.photo-stack img:last-child {
  position: absolute;
  width: 68%;
  right: -10%;
  bottom: -12%;
}

.areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0.8rem 0 0;
  list-style: none;
}

.pill-list li {
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(30, 64, 175, 0.55);
  border: 1px solid rgba(191, 219, 254, 0.7);
  font-size: 0.78rem;
}

.areas-note {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.areas-note img {
  border-radius: 16px;
  margin-bottom: 0.7rem;
}

.areas-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.3rem 1.3rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  margin: 0;
}

.review-card blockquote {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  color: var(--color-text-soft);
}

.review-card figcaption {
  font-size: 0.83rem;
  color: #9ca3af;
}

.contact-split {
  align-items: flex-start;
}

.contact-details {
  margin-top: 1.3rem;
}

.contact-note {
  margin: 0.8rem 0 0;
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

.split-form {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.3rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.75);
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  gap: 0.25rem;
}

.form-row label {
  font-size: 0.82rem;
  color: #e5e7eb;
}

.form-row input,
.form-row textarea {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.95);
  padding: 0.55rem 0.9rem;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.9rem;
}

.form-row textarea {
  border-radius: 16px;
  resize: vertical;
  min-height: 90px;
}

.form-row input:focus-visible,
.form-row textarea:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 1px;
}

.form-disclaimer {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: #9ca3af;
}

.form-status {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  color: #e5e7eb;
}

.form-status.is-success {
  color: #bbf7d0;
}

.form-status.is-error {
  color: #fecaca;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding: 1.2rem 0 1.6rem;
  background: #020617;
}

.footer-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-brand {
  margin: 0 0 0.15rem;
  font-weight: 500;
}

.footer-copy {
  margin: 0;
}

.back-to-top {
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  font-size: 0.78rem;
  color: #e5e7eb;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: rgba(30, 64, 175, 0.6);
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 0;
  }

  .main-nav {
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: fixed;
    inset-inline: 1rem;
    top: 70px;
    flex-direction: column;
    padding: 0.85rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(55, 65, 81, 0.9);
    transform: scale(0.97) translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-list.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 2.3rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.3rem;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
    max-width: 380px;
    margin-inline: auto;
  }

  .section {
    padding-block: 2.4rem;
  }

  .split,
  .areas-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .photo-stack img:last-child {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
  }

  .split-form {
    padding-inline: 1.1rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, 640px);
  }

  .services-grid,
  .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bug,
  .bug .leg,
  .zapper,
  .laser-sweep,
  .spark {
    animation: none !important;
  }
  .bug-layer,
  .zapper-layer {
    display: none !important;
  }
}
