/* =========================================================
   Protiva — PestCorex visual recreation
   Orange #F15A24 · Black #111 · White · Soft #F7F7F5
   ========================================================= */
:root {
  --orange: #F15A24;
  --orange-bright: #FF702D;
  --black: #111111;
  --charcoal: #242424;
  --white: #FFFFFF;
  --soft: #F7F7F5;
  --gray: #777777;
  --line: #EAEAEA;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --wrap: min(1180px, calc(100% - 48px));
  --radius: 24px;
  --shadow: 0 24px 50px rgba(0,0,0,0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: var(--wrap); margin-inline: auto; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__loc,
.topbar__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #fff;
}
.topbar__contacts {
  display: flex;
  gap: 22px;
}
.topbar__contacts a:hover { opacity: 0.9; text-decoration: underline; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo__text strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo__text small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.logo__text--light strong { color: #fff; }
.logo__text--light small { color: rgba(255,255,255,0.55); }

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}
.nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
}
.nav a:hover { color: var(--orange); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--black);
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(241, 90, 36, 0.32);
}
.btn--orange:hover { background: var(--orange-bright); }
.btn--full { width: 100%; }
.btn--nav {
  min-height: 44px;
  padding: 0 18px;
  font-size: 11px;
}

/* ---------- Labels / Type ---------- */
.label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.label--orange { color: var(--orange); }
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

h1, h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.05;
}
h1 {
  font-size: clamp(34px, 4.8vw, 58px);
  color: #fff;
  max-width: 12ch;
}
h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  color: var(--black);
}
h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section { padding: 96px 0; }
.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.muted { color: var(--gray); font-size: 14px; margin: 10px 0 0; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: visible;
  background: #1a1a1a;
  padding: 56px 0 200px;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  animation: hero-ken 18s ease-in-out infinite alternate;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0.25) 70%, rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 30%, rgba(0,0,0,0.45) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.hero__lead {
  margin: 18px 0 0;
  max-width: 42ch;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.84);
  line-height: 1.65;
  text-transform: none;
  letter-spacing: 0;
}
.hero__content .btn { margin-top: 22px; }

.hero__reviews {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.g-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
}
.hero__reviews strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}
.hero__reviews span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.avatars {
  display: flex;
  margin-left: 8px;
}
.avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  background:
    linear-gradient(135deg, #f5c6a0, #d4916a);
}
.avatars span:nth-child(2) { background: linear-gradient(135deg, #c9b8a8, #8a7a6c); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #e8d5b7, #b8956c); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #b8c4ce, #6f7f8c); }

/* Floating circle — signature */
.hero__circle {
  position: absolute;
  left: max(24px, calc((100% - 1180px) / 2));
  bottom: -20px;
  z-index: 5;
  width: min(280px, 28vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 10px solid #fff;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  background: #333;
}
.hero__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Diagonal organic white wave */
.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}
.hero__wave svg {
  width: 100%;
  height: 160px;
  display: block;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 100px 0 90px;
  background: #fff;
  position: relative;
  z-index: 2;
}
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.about__copy > p:not(.label) {
  margin: 18px 0 0;
  color: var(--gray);
  font-size: 16px;
  max-width: 46ch;
  line-height: 1.7;
}
.about__stats {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 36px;
}
.about__stat strong {
  display: block;
  font-size: 64px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.about__stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}
.about__divider {
  width: 1px;
  height: 80px;
  background: var(--line);
}
.about__stat-text p {
  margin: 0 0 16px;
  color: var(--gray);
  font-size: 14px;
  max-width: 28ch;
}
.about__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd;
}
.about__photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

/* ---------- SERVICES (dark + carousel) ---------- */
.services {
  position: relative;
  padding: 72px 0 0;
  overflow: visible;
  background: var(--charcoal);
  color: #fff;
}
.services__wave {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
}
.services__wave svg {
  width: 100%;
  height: 80px;
  display: block;
}
.services__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.services__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.2) contrast(1.05);
  opacity: 0.45;
}
.services__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17,17,17,0.88) 0%, rgba(17,17,17,0.72) 50%, rgba(17,17,17,0.95) 100%);
}
.services__head,
.carousel {
  position: relative;
  z-index: 1;
}
.services__head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}
.services h2 { color: #fff; }
.services__aside p {
  margin: 0 0 20px;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.65;
}

.carousel {
  padding-bottom: 48px;
}
.carousel__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(24px, calc((100% - 1180px) / 2)) 28px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }

.scard {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
  background: #fff;
  color: var(--black);
  border-radius: 22px;
  overflow: visible;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 18px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.scard:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 50px rgba(0,0,0,0.18);
}
.scard__img {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #1a1a1a;
  overflow: hidden;
  border: 4px solid var(--orange);
  box-shadow: 0 12px 28px rgba(241, 90, 36, 0.25);
  flex-shrink: 0;
}
.scard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.scard__img--cutout {
  background: #f4f4f2;
  display: grid;
  place-items: center;
}
.scard__img--cutout img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}
.scard:hover .scard__img img { transform: scale(1.1); }
.scard__icon {
  position: absolute;
  right: -4px;
  bottom: -4px;
  left: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  border: 3px solid #fff;
  z-index: 2;
}
.scard h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}
.scard p {
  margin: 0 0 14px;
  color: var(--gray);
  font-size: 13px;
  flex: 1;
}
.scard a {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
}
.carousel__nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  width: var(--wrap);
  margin: 0 auto;
  padding-bottom: 8px;
}
.carousel__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}
.carousel__btn:hover { background: var(--orange); border-color: var(--orange); }

/* ---------- Pests grid ---------- */
.pests { background: var(--soft); }
.pests__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pests__grid article {
  background: #fff;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
  padding: 28px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pests__grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
.pest-thumb {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #1a1a1a;
  overflow: hidden;
  border: 4px solid var(--orange);
  box-shadow: 0 10px 24px rgba(241, 90, 36, 0.22);
  flex-shrink: 0;
}
.pest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pest-thumb--cutout {
  background: #f4f4f2;
  display: grid;
  place-items: center;
}
.pest-thumb--cutout img {
  width: 68%;
  height: 68%;
  object-fit: contain;
}
.pests__grid article:hover .pest-thumb img { transform: scale(1.1); }
.pests__grid h3 { margin: 18px 0 6px; }
.pests__grid p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
}

/* ---------- Process ---------- */
.process { background: #fff; }
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.process__grid article {
  background: var(--soft);
  border-radius: 18px;
  padding: 28px 24px;
  border-top: 4px solid var(--orange);
}
.process__num {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.process__grid p {
  margin: 10px 0 0;
  color: var(--gray);
  font-size: 14px;
}

/* ---------- Why ---------- */
.why { background: var(--soft); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why__grid article {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.why__grid h3 {
  margin-bottom: 8px;
  font-size: 16px;
}
.why__grid p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
}

/* ---------- Property ---------- */
.property {
  padding: 96px 0;
  background: #fff;
}
.property__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.property__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.property__photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.property__copy p:not(.label) {
  margin: 16px 0 24px;
  color: var(--gray);
  max-width: 42ch;
}

/* ---------- Before/After ---------- */
.ba-section { background: var(--soft); }
.ba {
  position: relative;
  width: min(100%, 900px);
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}
.ba__after,
.ba__before {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba__before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid var(--orange);
}
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: var(--orange);
}
.ba__handle::after {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.ba__tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ba__tag--b { left: 14px; }
.ba__tag--a { right: 14px; }

/* ---------- Reviews ---------- */
.reviews { background: #fff; }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.reviews__grid blockquote {
  margin: 0;
  background: var(--soft);
  border-radius: 18px;
  padding: 26px 22px;
}
.stars { color: #f5b400; letter-spacing: 2px; }
.reviews__grid p {
  margin: 12px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}
.reviews__grid footer {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
}

/* ---------- FAQ ---------- */
.faq { background: var(--soft); }
.faq__wrap { max-width: 760px; }
.accordion details {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 10px;
  padding: 4px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.accordion summary {
  cursor: pointer;
  font-weight: 800;
  padding: 16px 0;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion p {
  margin: 0 0 16px;
  color: var(--gray);
  font-size: 14px;
}

/* ---------- Estimate ---------- */
.estimate {
  padding: 96px 0;
  background: #fff;
}
.estimate__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.estimate__grid > div > p {
  margin: 16px 0 0;
  color: var(--gray);
  max-width: 40ch;
}
.estimate__contacts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.estimate__contacts a {
  font-size: 18px;
  font-weight: 800;
}
.estimate__contacts a:hover { color: var(--orange); }
.estimate__form {
  background: var(--soft);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
}
.estimate__form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
}
.estimate__form input,
.estimate__form select,
.estimate__form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  outline: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--black);
}
.estimate__form textarea { min-height: 110px; resize: vertical; }
.estimate__form input:focus,
.estimate__form select:focus,
.estimate__form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.15);
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--black);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.final-cta h2 {
  color: #fff;
  margin-bottom: 24px;
}

/* ---------- Footer ---------- */
.footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.7);
  padding: 56px 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 28px;
}
.footer__grid > div {
  display: grid;
  gap: 8px;
  align-content: start;
}
.footer__grid > div > p {
  margin: 12px 0 0;
  max-width: 28ch;
  font-size: 14px;
}
.footer h4 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.footer a {
  font-size: 14px;
  font-weight: 500;
}
.footer a:hover { color: #fff; }
.footer__bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer__bottom p { margin: 0; font-size: 13px; }

.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
  animation: fab-pulse 2.8s ease-in-out infinite;
}

/* ---------- Animations ---------- */
.anim-fade {
  opacity: 0;
  transform: translateY(22px);
  animation: fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}
.anim-fade.anim-fade--on {
  /* keep animation; fallback if interrupted */
}
.anim-float {
  animation: float-y 5s ease-in-out infinite;
}
.hero__shade { pointer-events: none; }
.label .dot {
  animation: blink-dot 1.8s ease-in-out infinite;
}
.btn--orange {
  position: relative;
  overflow: hidden;
}
.btn--orange::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: none;
}
.btn--orange:hover::after {
  animation: shine 0.7s ease;
}
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
.scard {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.process__num {
  transition: transform 0.3s ease;
}
.process__grid article:hover .process__num {
  transform: scale(1.08);
  color: var(--orange-bright);
}

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes hero-ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.08) translate(-1.5%, 0); }
}
@keyframes blink-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
@keyframes shine {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55), 0 0 0 10px rgba(37, 211, 102, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
  .anim-fade,
  .anim-float,
  .hero__media img,
  .label .dot,
  .wa-fab,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Mobile action bar (hidden on desktop) ---------- */
.mobile-bar { display: none; }

/* ---------- Responsive: tablet ---------- */
@media (max-width: 1100px) {
  .nav { gap: 14px; }
  .nav a { font-size: 10px; }
  .header__inner { gap: 12px; }
}

@media (max-width: 980px) {
  :root { --wrap: calc(100% - 40px); }
  .about__grid,
  .services__head,
  .property__grid,
  .estimate__grid,
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pests__grid {
    grid-template-columns: 1fr 1fr;
  }
  .process__grid,
  .why__grid,
  .reviews__grid {
    grid-template-columns: 1fr 1fr;
  }
  .about__stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about__divider { display: none; }
  .hero__circle {
    width: min(200px, 34vw);
    left: max(16px, calc((100% - min(1180px, 100% - 40px)) / 2));
    bottom: 8px;
  }
  .hero {
    padding: 48px 0 160px;
    min-height: auto;
    align-items: flex-start;
  }
  .hero__content { max-width: 560px; padding-top: 12px; }
  .about__photo img,
  .property__photo img { height: min(420px, 55vw); }
  .services__head { align-items: start; }
  .carousel__track {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ---------- Responsive: phone / iPhone ---------- */
@media (max-width: 780px) {
  :root { --wrap: calc(100% - 32px); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }

  .topbar {
    font-size: 11px;
    padding-top: env(safe-area-inset-top, 0px);
  }
  .topbar__inner {
    min-height: 36px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 6px 0;
  }
  .topbar__loc { display: none; }
  .topbar__contacts {
    gap: 14px;
    width: 100%;
    justify-content: center;
  }
  .topbar__contacts a {
    font-size: 11px;
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header { top: 0; }
  .header__inner {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    gap: 10px;
  }
  .header__inner > .btn { display: none; }
  .logo__text strong { font-size: 20px; }
  .nav-toggle {
    display: flex;
    justify-self: end;
    width: 44px;
    height: 44px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 6px 16px 14px;
    gap: 0;
    max-height: calc(100svh - 64px);
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    letter-spacing: 0.06em;
  }
  .nav a:last-child { border-bottom: 0; }

  .hero {
    padding: 36px 0 150px;
    min-height: min(92svh, 780px);
  }
  .hero__content {
    max-width: none;
    position: relative;
    z-index: 4;
  }
  h1 {
    max-width: none;
    font-size: clamp(30px, 9.2vw, 42px);
    line-height: 1.08;
  }
  .hero__lead {
    font-size: 14px;
    max-width: 36ch;
  }
  .hero__content .btn {
    width: 100%;
    max-width: 320px;
  }
  .hero__reviews {
    gap: 10px;
  }
  .hero__circle {
    width: min(148px, 38vw);
    left: 16px;
    bottom: 4px;
    border-width: 6px;
  }
  .hero__wave svg { height: 90px; }
  .anim-float { animation: none; }

  .section { padding: 64px 0; }
  .section__head { margin-bottom: 32px; }
  h2 { font-size: clamp(26px, 7.5vw, 36px); }

  .about { padding: 72px 0 56px; }
  .about__photo img { height: 320px; border-radius: 18px; }
  .about__stat strong { font-size: 52px; }
  .about__stat-text .btn {
    width: 100%;
  }

  .services { padding-top: 48px; }
  .services__wave svg { height: 56px; }
  .scard {
    flex: 0 0 min(230px, 72vw);
    padding: 22px 14px 18px;
  }
  .scard__img {
    width: 120px;
    height: 120px;
  }
  .carousel__nav {
    width: var(--wrap);
    justify-content: center;
    gap: 12px;
  }
  .carousel__btn {
    width: 48px;
    height: 48px;
  }

  .pests__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .pests__grid article {
    padding: 20px 10px 16px;
  }
  .pest-thumb {
    width: 108px;
    height: 108px;
    border-width: 3px;
  }
  .pests__grid h3 { font-size: 15px; }
  .pests__grid p { font-size: 12px; line-height: 1.4; }

  .process__grid,
  .why__grid,
  .reviews__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .property { padding: 56px 0; }
  .property__photo img { height: 260px; }
  .property__copy .btn { width: 100%; }

  .ba {
    border-radius: 14px;
    aspect-ratio: 4 / 3;
  }

  .estimate { padding: 56px 0; }
  .estimate__form { padding: 20px; }
  .estimate__contacts a { font-size: 16px; word-break: break-word; }

  .final-cta { padding: 56px 0; }
  .final-cta .btn { width: min(100%, 320px); }

  .footer__grid { gap: 24px; }
  .footer { padding-bottom: 28px; }

  /* Hide desktop WA fab on phones — use bottom bar */
  .wa-fab { display: none; }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.08);
  }
  .mobile-bar a {
    display: grid;
    place-items: center;
    min-height: 46px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }
  .mobile-bar__call {
    background: var(--soft);
    color: var(--black);
    border: 1px solid var(--line);
  }
  .mobile-bar__wa {
    background: #25d366;
    color: #fff;
  }
  .mobile-bar__cta {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 8px 18px rgba(241, 90, 36, 0.3);
  }
}

/* ---------- Small phones (iPhone SE / compact) ---------- */
@media (max-width: 390px) {
  :root { --wrap: calc(100% - 24px); }
  h1 { font-size: clamp(28px, 8.8vw, 34px); }
  .hero { padding-top: 28px; padding-bottom: 140px; }
  .hero__circle { width: 120px; }
  .pest-thumb { width: 96px; height: 96px; }
  .scard__img { width: 108px; height: 108px; }
  .topbar__contacts a:first-child {
    /* keep phone; shorten email visually via max-width */
    max-width: 42vw;
  }
  .mobile-bar {
    grid-template-columns: 0.9fr 1fr 1.2fr;
    gap: 6px;
    padding-inline: 8px;
  }
  .mobile-bar a { font-size: 11px; min-height: 44px; padding: 0 6px; }
}

/* ---------- Large desktop polish ---------- */
@media (min-width: 1400px) {
  :root { --wrap: min(1240px, calc(100% - 64px)); }
  .hero { min-height: 90vh; }
  .hero__circle { width: 300px; }
}

/* Prevent horizontal scroll */
html, body { overflow-x: clip; max-width: 100%; }

@media (hover: none) {
  .scard:hover,
  .pests__grid article:hover {
    transform: none;
  }
}
