:root {
  --red: #e1062c;
  --red-dark: #b10522;
  --black: #09090b;
  --ink: #141416;
  --white: #ffffff;
  --muted: #6f6f76;
  --line: #ececef;
  --card: #f4f4f6;
  --bug: #cfcfd4;
  --bug-soft: #d9d9de;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background: #f7f7f8;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

h1,
h2,
.brand {
  font-family: Syne, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.page-insects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.float-bug {
  position: absolute;
  width: 88px;
  height: 88px;
  color: var(--bug);
  opacity: 0.28;
  animation: drift 18s ease-in-out infinite;
}

.b1 { top: 12%; left: 4%; transform: rotate(-18deg); }
.b2 { top: 28%; right: 6%; width: 64px; animation-delay: -3s; }
.b3 { top: 58%; left: 8%; width: 72px; transform: rotate(22deg); animation-delay: -6s; }
.b4 { top: 72%; right: 12%; width: 70px; animation-delay: -8s; }
.b5 { top: 40%; left: 46%; width: 60px; opacity: 0.18; }
.b6 { bottom: 8%; left: 22%; width: 92px; transform: rotate(12deg); }
.b7 { top: 18%; right: 28%; width: 68px; }
.b8 { bottom: 18%; right: 4%; width: 96px; transform: rotate(-28deg); animation-delay: -11s; }

@keyframes drift {
  0%,
  100% { translate: 0 0; }
  50% { translate: 10px -14px; }
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 9, 11, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header .container {
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand span {
  color: var(--red);
}

.brand small {
  display: block;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-family: Manrope, sans-serif;
}

.menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu a {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.menu a:hover {
  color: #ffd0d8;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #ff2a4a, var(--red));
  color: var(--white) !important;
  box-shadow: 0 10px 24px rgba(225, 6, 44, 0.28);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  min-height: 100svh;
  display: grid;
  align-items: center;
  z-index: 1;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 72% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.72) 42%, rgba(9, 9, 11, 0.38) 100%),
    linear-gradient(180deg, rgba(9, 9, 11, 0.2), rgba(9, 9, 11, 0.55));
}

.hero-bugs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bugs svg {
  position: absolute;
  color: #d8d8de;
  opacity: 0.12;
  width: 140px;
  height: 140px;
}

.hero-bugs svg:nth-child(1) { top: 8%; left: 6%; transform: rotate(-24deg); }
.hero-bugs svg:nth-child(2) { top: 18%; right: 8%; width: 110px; }
.hero-bugs svg:nth-child(3) { bottom: 16%; left: 18%; width: 90px; transform: rotate(18deg); }
.hero-bugs svg:nth-child(4) { bottom: 8%; right: 22%; width: 150px; opacity: 0.12; }
.hero-bugs svg:nth-child(5) { top: 46%; left: 42%; width: 70px; opacity: 0.1; }
.hero-bugs svg:nth-child(6) { top: 62%; right: 6%; width: 88px; }

.hero-grid,
.split,
.contact-grid,
.feature-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  position: relative;
  grid-template-columns: 1.25fr 0.75fr;
  padding: 96px 0 72px;
}

.eyebrow {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 10px;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(34px, 6vw, 68px);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.03em;
}

.lead {
  max-width: 58ch;
  color: #cfcfd4;
  font-size: 1.05rem;
}

.hero-actions,
.hero-stats,
.checklist,
.contact-list {
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-stats {
  color: #c9c9ce;
}

.hero-stats li {
  min-width: 110px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats strong {
  display: block;
  color: var(--white);
  font-size: 22px;
}

.hero-card,
.card,
.product,
.feature,
.contact-form {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  background: rgba(20, 20, 22, 0.86);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.quote-card {
  z-index: 2;
  overflow: visible;
  padding: 32px 28px 24px;
  background: rgba(10, 10, 12, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.quote-form {
  display: grid;
  gap: 14px;
}

.quote-kicker {
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.quote-form h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.quote-form label {
  color: #d8d8de;
  font-size: 14px;
  font-weight: 600;
}

.quote-form select {
  position: relative;
  z-index: 3;
  margin-top: 8px;
  appearance: none;
  background: #141416 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23cfcfd4' d='M4 6l4 5 4-5z'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--white);
  border: 0;
  border-radius: 12px;
  padding: 14px 42px 14px 16px;
}

.quote-form select:invalid,
.quote-form select:required:invalid {
  color: #cfcfd4;
}

.quote-form select option {
  color: #111;
}

.quote-form select.is-invalid {
  outline: 2px solid var(--red);
}

.quote-submit {
  width: 100%;
  margin-top: 6px;
  padding: 15px 18px;
  border-radius: 999px;
}

.quote-note {
  margin: 2px 0 0;
  color: #b8b8be;
  font-size: 12px;
  font-weight: 500;
}

.quote-error {
  margin: 0;
  color: #ffb3bf;
  font-size: 13px;
  font-weight: 600;
}

.badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.checklist {
  flex-direction: column;
}

.checklist li {
  position: relative;
  padding-left: 22px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.pest-strip {
  position: relative;
  z-index: 1;
  background: #efeff2;
  border-block: 1px solid #e4e4e8;
  padding: 22px 0;
  overflow: hidden;
}

.pest-track {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.pest {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #8d8d96;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pest svg,
.pest-image {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.pest svg {
  color: var(--bug);
}

.section {
  position: relative;
  z-index: 1;
  padding: 92px 0;
}

.textured::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image: url("../assets/pattern.svg");
  background-repeat: repeat;
  background-size: 640px 640px;
}

.section-alt {
  background: var(--card);
}

.section-dark {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 0%, rgba(225, 6, 44, 0.22), transparent 30%),
    var(--black);
  color: var(--white);
}

.section-head {
  margin-bottom: 28px;
}

.section-head > p:last-child:not(.eyebrow) {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
}

.process-section {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 8% 18%, rgba(255, 181, 71, 0.2), transparent 32%),
    radial-gradient(ellipse at 92% 78%, rgba(80, 202, 190, 0.18), transparent 34%),
    #fff9f3;
}

.process-experience {
  position: relative;
  z-index: 1;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.process-step {
  --step-color: #e1062c;
  --step-tint: #fff0f2;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 18px;
  text-align: left;
  color: var(--ink);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(20, 20, 22, 0.07);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.process-step:nth-child(2) {
  --step-color: #bd6b00;
  --step-tint: #fff2d8;
}

.process-step:nth-child(3) {
  --step-color: #087f8c;
  --step-tint: #def7f4;
}

.process-step:nth-child(4) {
  --step-color: #427b34;
  --step-tint: #e8f5df;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(20, 20, 22, 0.12);
}

.process-step.is-active {
  border-color: var(--step-color);
  box-shadow: 0 14px 30px rgba(20, 20, 22, 0.12);
}

.process-step:focus-visible,
.process-cta:focus-visible {
  outline: 3px solid var(--step-color, var(--red));
  outline-offset: 4px;
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.process-step-number {
  color: var(--step-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-step-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--step-color);
  background: var(--step-tint);
  border-radius: 14px;
  font-size: 24px;
  font-weight: 800;
}

.process-step-icon svg {
  width: 22px;
  height: 22px;
}

.process-step-title {
  font-size: 16px;
  font-weight: 800;
}

.process-step-caption {
  color: var(--muted);
  font-size: 12px;
}

.process-panel {
  --step-color: #e1062c;
  --step-tint: #fff0f2;
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 30px;
  min-height: 240px;
  padding: 34px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(20, 20, 22, 0.06);
  border-radius: 28px;
  box-shadow: 0 22px 54px rgba(20, 20, 22, 0.1);
  transition: background 0.25s ease;
}

.process-panel[data-step="1"] {
  --step-color: #bd6b00;
  --step-tint: #fff2d8;
}

.process-panel[data-step="2"] {
  --step-color: #087f8c;
  --step-tint: #def7f4;
}

.process-panel[data-step="3"] {
  --step-color: #427b34;
  --step-tint: #e8f5df;
}

.process-panel-mark {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  color: var(--step-color);
  background:
    radial-gradient(circle at 70% 25%, var(--white) 0 8%, transparent 9%),
    var(--step-tint);
  border-radius: 42% 58% 64% 36% / 43% 42% 58% 57%;
  transform: rotate(-8deg);
  transition: background 0.25s ease, color 0.25s ease;
}

.process-panel-mark span {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.08em;
  transform: rotate(8deg);
}

.process-panel-copy {
  max-width: 660px;
}

.process-panel-kicker {
  margin: 0 0 8px;
  color: var(--step-color);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-panel-copy h3 {
  margin: 0 0 10px;
  font-family: Syne, sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.process-panel-copy > p:not(.process-panel-kicker) {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.process-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--step-color);
  font-weight: 800;
  text-decoration: none;
}

.process-cta span {
  transition: transform 0.2s ease;
}

.process-cta:hover span {
  transform: translateX(5px);
}

@media (prefers-reduced-motion: reduce) {
  .process-step,
  .process-panel,
  .process-panel-mark,
  .process-cta span {
    transition: none;
  }
}

.split,
.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.cards {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

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

.cards > .card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.carousel-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(225, 6, 44, 0.2);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--red-dark);
  transform: scale(1.06);
}

.carousel-arrow:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.card,
.product,
.feature {
  border: 1px solid #ececf0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.product:hover,
.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.card-bug {
  width: 42px;
  height: 42px;
  color: var(--bug-soft);
  margin-bottom: 12px;
}

.service-illustration {
  width: 76px;
  height: 76px;
  padding: 14px;
  margin-bottom: 16px;
  color: var(--red);
  background: #fff0f2;
  border-radius: 22px;
}

.service-photo {
  max-width: none;
  width: calc(100% + 48px);
  height: 180px;
  margin: -24px -24px 20px;
  object-fit: cover;
  object-position: center;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-bugs svg {
  position: absolute;
  width: 160px;
  height: 160px;
  color: #d0d0d6;
  opacity: 0.12;
}

.contact-bugs svg:nth-child(1) { top: 20px; right: 8%; }
.contact-bugs svg:nth-child(2) { bottom: 30px; left: 6%; width: 120px; }
.contact-bugs svg:nth-child(3) { top: 40%; right: 28%; width: 90px; }

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #fafafa;
  -webkit-user-select: text;
  user-select: text;
}

.footer {
  position: relative;
  z-index: 1;
  background: #070708;
  color: #bdbdc4;
  padding: 24px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.chat-toggle,
.chatbot {
  position: fixed;
  z-index: 50;
  right: 18px;
}

.chat-toggle {
  bottom: 18px;
  background: var(--red);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.chatbot {
  bottom: 76px;
  width: min(360px, calc(100% - 24px));
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.chatbot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--black);
  color: var(--white);
  padding: 14px 16px;
}

.chatbot-head span {
  display: block;
  font-size: 12px;
  color: #cfcfcf;
}

.chatbot-head button {
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

.chatbot-messages {
  height: 280px;
  overflow: auto;
  padding: 14px;
  display: grid;
  gap: 10px;
  background: #fafafa;
}

.msg {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
}

.msg.bot {
  background: #111;
  color: var(--white);
}

.msg.user {
  margin-left: auto;
  background: var(--red);
  color: var(--white);
}

.chatbot-form {
  display: flex;
  gap: 8px;
  padding: 12px;
}

@media (max-width: 1100px) {
  .menu {
    gap: 10px;
  }

  .menu a:not(.btn) {
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: #111;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    z-index: 30;
  }

  .menu.open {
    display: flex;
  }

  .menu .btn {
    width: 100%;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-panel {
    grid-template-columns: 130px 1fr;
    gap: 22px;
    padding: 28px;
  }

  .process-panel-mark {
    width: 120px;
    height: 120px;
  }

  .cards > .card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .hero-actions,
  .hero-stats,
  .footer-row {
    flex-direction: column;
  }

  .hero-photo {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(9, 9, 11, 0.78) 0%, rgba(9, 9, 11, 0.7) 55%, rgba(9, 9, 11, 0.82) 100%);
  }

  .hero-grid {
    padding: 56px 0 48px;
  }

  .section {
    padding: 64px 0;
  }

  .page-insects,
  .hero-bugs,
  .contact-bugs {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1140px, calc(100% - 20px));
  }

  h1 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .btn {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    gap: 10px;
  }

  .process-step {
    padding: 14px;
  }

  .process-step-title {
    font-size: 14px;
  }

  .process-step-caption {
    font-size: 11px;
  }

  .process-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .process-panel-mark {
    width: 82px;
    height: 82px;
  }

  .process-panel-mark span {
    font-size: 30px;
  }

  .cards {
    gap: 16px;
  }

  .cards > .card {
    flex-basis: 100%;
  }

  .pest svg,
  .pest-image {
    width: 42px;
    height: 42px;
  }

  .chat-toggle,
  .chatbot {
    right: 12px;
  }

  .chat-toggle {
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .chatbot {
    bottom: calc(70px + env(safe-area-inset-bottom));
    width: min(360px, calc(100% - 16px));
  }
}
