/* MR SERVICE — site styles
   Palette from the company logo: navy #1B2450, red #C8102E. */

:root {
  --bg: #F4F5F8;
  --surface: #FFFFFF;
  --surface-2: #EAECF2;
  --ink: #161C3A;
  --ink-2: #4B5270;
  --ink-3: #7A809B;
  --line: #DCDFE8;
  --navy: #1B2450;
  --navy-2: #232D62;
  --on-navy: #F4F5F8;
  --on-navy-2: #B8BDD6;
  --red: #C8102E;
  --red-hover: #A80D26;
  --on-red: #FFFFFF;
  --focus: #1B2450;
  --ok: #1E9E5A;
  --font-display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: clip;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
  font-weight: 700;
}
p { margin: 0; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red);
}
.h2 { font-size: clamp(28px, 3.2vw, 38px); margin-top: 8px; }
.lead { color: var(--ink-2); font-size: 17px; max-width: 62ch; margin-top: 14px; }
.section { padding: 80px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; }
.icon { width: 20px; height: 20px; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: 0.02em;
  border-radius: 3px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn-primary { background: var(--red); color: var(--on-red); }
.btn-primary:hover { background: var(--red-hover); color: var(--on-red); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-outline-light { background: transparent; color: var(--on-navy); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: #fff; }

/* Top bar */
.topbar { background: var(--navy); color: var(--on-navy-2); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 20px; }
.topbar ul { display: flex; gap: 24px; }
.topbar li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar .icon { width: 14px; height: 14px; }
.topbar a { color: var(--on-navy); font-weight: 500; }
.topbar a:hover { color: #fff; text-decoration: underline; }

/* Header */
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: 0.03em; line-height: 1; display: block; }
.brand-sub { font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; display: block; }
.nav { display: flex; gap: 26px; }
.nav a { font-weight: 500; font-size: 15px; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; white-space: nowrap; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }

/* Hero */
.hero { background: var(--navy); color: var(--on-navy); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr); gap: 56px; padding-top: 72px; padding-bottom: 72px; align-items: start; }
.hero-eyebrow { color: var(--on-navy-2); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); }
.hero-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero h1 { font-size: clamp(38px, 4.8vw, 60px); margin-top: 18px; color: #fff; }
.hero-lead { color: var(--on-navy-2); font-size: 18px; max-width: 56ch; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.contact-card { background: var(--surface); color: var(--ink); border-radius: 4px; padding: 26px 28px 28px; box-shadow: 0 24px 60px rgba(0,0,0,0.28); }
.contact-card h2 { font-size: 22px; }
.contact-card > p { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.phone-big { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--ink); font-variant-numeric: tabular-nums; }
.phone-big .icon { width: 26px; height: 26px; color: var(--red); }
.availability { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }

/* Forms */
form.lead-form { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.04em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 3px; min-height: 46px; padding: 8px 12px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(27,36,80,0.15); }
.field textarea { min-height: 110px; resize: vertical; }
.fineprint { font-size: 12px; color: var(--ink-3); }
.form-status { font-size: 14px; color: var(--ink-2); min-height: 1em; }

/* Pest identification strip */
.pests { background: var(--surface); border-bottom: 1px solid var(--line); }
.pests .wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.pests-label { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.15; }
.pests-label span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.pests ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pests a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; border-radius: 4px; color: var(--ink); font-weight: 500; font-size: 14px; text-align: center; border: 1px solid transparent; transition: border-color 120ms ease, background-color 120ms ease; }
.pests a:hover { border-color: var(--line); background: var(--bg); color: var(--red); }
.pests svg { width: 44px; height: 44px; color: var(--navy); }
.pests a:hover svg { color: var(--red); }

/* Trust strip */
.trust ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.trust li { display: flex; gap: 14px; padding: 24px 24px 24px 0; align-items: flex-start; border-right: 1px solid var(--line); }
.trust li + li { padding-left: 24px; }
.trust li:last-child { border-right: 0; }
.trust .icon { width: 26px; height: 26px; color: var(--red); margin-top: 2px; }
.trust strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.trust span { color: var(--ink-2); font-size: 14px; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.service { background: var(--surface); padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 14px; transition: background-color 120ms ease; }
.service:hover { background: var(--surface-2); }
.service .icon { width: 30px; height: 30px; color: var(--red); }
.service h3 { font-size: 22px; }
.service p { color: var(--ink-2); font-size: 15px; }
.service .more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.service .more .icon { width: 16px; height: 16px; color: currentColor; }

/* Segments (pre koho) */
.segments-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 44px; }
.segment { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 3px solid var(--navy); }
.segment h3 { font-size: 23px; }
.segment p { color: var(--ink-2); font-size: 15px; }
.segment ul { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.segment li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.segment li .icon { width: 18px; height: 18px; color: var(--red); margin-top: 4px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; color: var(--red); }
.step h3 { font-size: 20px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* Price on request */
.price-box { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: start; margin-top: 40px; }
.price-box ul { display: flex; flex-direction: column; gap: 12px; }
.price-box li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.price-box li .icon { width: 18px; height: 18px; color: var(--red); margin-top: 4px; }
.price-cta { background: var(--navy); color: var(--on-navy); padding: 30px; border-radius: 4px; display: flex; flex-direction: column; gap: 14px; }
.price-cta h3 { color: #fff; font-size: 24px; }
.price-cta p { color: var(--on-navy-2); font-size: 15px; }

/* About block */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-grid .lead { margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts li { background: var(--surface); padding: 24px; }
.facts strong { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.facts span { display: block; color: var(--ink-2); font-size: 14px; margin-top: 8px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); border: 1px solid var(--navy); padding: 6px 12px; border-radius: 2px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 18px; height: 18px; color: var(--ink-3); transition: transform 150ms ease; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-2); font-size: 15px; padding: 0 0 20px; max-width: 62ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-top: 40px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { width: 22px; height: 22px; color: var(--red); margin-top: 3px; }
.contact-list strong { font-family: var(--font-display); font-weight: 700; font-size: 18px; display: block; }
.contact-list span { color: var(--ink-2); font-size: 15px; }
.map { border: 1px solid var(--line); background: var(--surface-2); aspect-ratio: 4 / 3; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* CTA band */
.cta-band { background: var(--red); color: var(--on-red); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); color: #fff; }
.cta-band p { color: rgba(255,255,255,0.86); margin-top: 6px; }
.cta-band .btn { background: #fff; color: var(--red); }
.cta-band .btn:hover { background: var(--navy); color: #fff; }

/* Footer */
.footer { background: var(--navy); color: var(--on-navy-2); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 40px; }
.footer h2 { color: #fff; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--on-navy-2); }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }
.footer .brand-sub { color: var(--on-navy-2); }
.footer address { font-style: normal; line-height: 1.7; margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }

/* Subpage layout */
.page-hero { background: var(--navy); color: var(--on-navy); }
.page-hero .wrap { padding-top: 52px; padding-bottom: 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr); gap: 48px; align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--on-navy-2); }
.crumbs a { color: var(--on-navy-2); }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,0.3); }
.page-hero h1 { font-size: clamp(34px, 4.2vw, 52px); color: #fff; margin-top: 18px; }
.page-hero .hero-lead { margin-top: 16px; }
.page-hero .hero-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.page-hero .hero-side .phone-big { color: #fff; margin-top: 0; }
.page-hero .hero-side .phone-big .icon { color: var(--red); }
.page-hero .hero-side .availability { color: var(--on-navy-2); }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 28px; margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin-top: 28px; }
.prose p { margin-top: 14px; color: var(--ink-2); }
.prose p.intro { font-size: 18px; color: var(--ink); }
.prose ul, .prose ol { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.prose ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.prose ul li .icon { width: 18px; height: 18px; color: var(--red); margin-top: 5px; }
.prose ol { list-style: decimal; padding-left: 22px; color: var(--ink-2); }
.prose ol li { padding-left: 4px; }
.prose ol li strong { color: var(--ink); }
.prose .note { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--red); padding: 16px 20px; margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.prose .note strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.prose th { text-align: left; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 0 12px 10px 0; border-bottom: 2px solid var(--ink); }
.prose td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.prose td:first-child { color: var(--ink); font-weight: 500; }

.aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.aside .contact-card { box-shadow: none; border: 1px solid var(--line); }
.aside-links { background: var(--surface); border: 1px solid var(--line); padding: 20px 22px; }
.aside-links h2 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.aside-links ul { display: flex; flex-direction: column; gap: 8px; }
.aside-links a { font-weight: 500; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.aside-links a[aria-current="page"] { color: var(--red); }

/* Cards grid (pest overview) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card svg.pict { width: 48px; height: 48px; color: var(--navy); }
.card h3 { font-size: 22px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.card .more .icon { width: 16px; height: 16px; }

/* Mobile call bar */
.callbar { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .article { grid-template-columns: 1fr; gap: 40px; }
  .aside { position: static; }
  .pests .wrap { grid-template-columns: 1fr; gap: 12px; }
  .pests ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 28px 16px; box-shadow: 0 16px 32px rgba(0,0,0,0.08); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--red); }
  .header.is-open .nav { display: flex; }
  .header-cta .btn { display: none; }
}
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .page-hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .trust ul { grid-template-columns: 1fr; }
  .trust li { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); }
  .trust li:last-child { border-bottom: 0; }
  .segments-grid { grid-template-columns: 1fr; }
  .services-grid, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-box, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .services-grid, .cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  body { padding-bottom: 64px; }
  .topbar ul li:not(:first-child) { display: none; }
  .topbar .wrap > a { display: none; }
  .topbar .wrap { justify-content: center; }
  .header-phone span { display: none; }
  .brand-sub { display: none; }
  .section { padding: 56px 0; }
  .pests ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .pests a { font-size: 13px; padding: 10px 4px; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { padding-left: 20px; padding-right: 20px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }
  .callbar a.call { background: var(--red); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .topbar, .header-cta, .nav-toggle, .callbar, .cta-band, .contact-card form { display: none !important; }
}

/* Pest photos */
.pest-photo { margin: 0 0 8px; }
.pest-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); background: var(--surface-2); }
.pest-photo figcaption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.pest-photo figcaption .credit { color: var(--ink-3); font-size: 12px; }
.pest-photo figcaption .credit a { color: inherit; text-decoration: underline; }
.card img { width: calc(100% + 52px); margin: -26px -26px 4px; max-width: none; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--line); }



/* Decorative pest illustrations — whole, at section edges, "walking in" when scrolled into view */
.hero, .page-hero, .section, .pests { position: relative; overflow: hidden; }
.hero > .wrap, .page-hero > .wrap, .section > .wrap, .pests > .wrap { position: relative; z-index: 1; }
.hero .wrap > div:first-child { position: relative; }
.decor {
  position: absolute; z-index: 0; height: auto; pointer-events: none; user-select: none;
  --op: 0.5; --rot: 0deg; --flip: 1; --from-x: -160px; --from-y: 0px;
  opacity: var(--op);
  transform: rotate(var(--rot)) scaleX(var(--flip));
  will-change: translate, rotate, opacity;
}
.decor-dark  { --op: 0.5;  filter: saturate(0.85); }
.decor-light { --op: 0.2;  filter: saturate(0.7) contrast(1.05); }
.decor-rat.decor-light { --op: 0.18; filter: brightness(0.55) saturate(0.4); }
.decor-rat.decor-dark  { --op: 0.45; filter: brightness(0.9) saturate(0.6); }

/* Before entering the viewport (JS present) the pest waits outside; on entry it walks in. */
html.js .decor:not(.in-view) { opacity: 0; translate: var(--from-x) var(--from-y); }
@media (prefers-reduced-motion: no-preference) {
  html.js .decor.in-view { animation: decor-in 2.6s cubic-bezier(0.25, 0.8, 0.25, 1) both, decor-step 0.28s ease-in-out 9 alternate; }
  html.js .decor.in-view.decor-walk  { animation: decor-in 2.6s cubic-bezier(0.25, 0.8, 0.25, 1) both, decor-step 0.28s ease-in-out 9 alternate, decor-wander 14s ease-in-out 2.6s infinite alternate; }
  html.js .decor.in-view.decor-fly   { animation: decor-in 2.2s ease-out both, decor-hover 3.4s ease-in-out 2.2s infinite alternate; }
  html.js .decor.in-view.decor-bird  { animation: decor-in 2.6s cubic-bezier(0.25, 0.8, 0.25, 1) both, decor-peck 2.8s ease-in-out 2.6s infinite; }
}
@keyframes decor-in {
  0%   { opacity: 0; translate: var(--from-x) var(--from-y); }
  20%  { opacity: var(--op); }
  100% { opacity: var(--op); translate: 0 0; }
}
@keyframes decor-step { from { rotate: -4deg; } to { rotate: 4deg; } }
@keyframes decor-wander {
  0%   { translate: 0 0; rotate: 0deg; }
  30%  { translate: calc(26px * var(--dir, 1)) -6px; rotate: 3deg; }
  55%  { translate: calc(14px * var(--dir, 1)) 4px; rotate: -2deg; }
  100% { translate: calc(40px * var(--dir, 1)) -2px; rotate: 2deg; }
}
@keyframes decor-hover {
  0%   { translate: 0 0; rotate: -5deg; }
  50%  { translate: 10px -14px; rotate: 4deg; }
  100% { translate: -6px -6px; rotate: -3deg; }
}
@keyframes decor-peck {
  0%, 60%, 100% { translate: 0 0; }
  70% { translate: 0 5px; }
  80% { translate: 0 0; }
  90% { translate: 0 5px; }
}
@media (max-width: 960px) { .decor { scale: 0.7; } .decor-hide-m { display: none; } }

/* Certificates strip */
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.cert { background: var(--surface); border: 1px solid var(--line); padding: 24px 26px; display: flex; align-items: center; gap: 22px; }
.cert img { width: 140px; height: 86px; object-fit: contain; flex: none; }
.cert strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.cert span { display: block; color: var(--ink-2); font-size: 14px; margin-top: 4px; }
@media (max-width: 960px) {
  .certs { grid-template-columns: 1fr; gap: 16px; }
  .cert { flex-direction: column; text-align: center; gap: 14px; padding: 26px 20px; }
  .cert img { width: 160px; height: 90px; }
}

/* City links on homepage */
.city-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.city-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 3px; font-weight: 500; font-size: 15px; color: var(--ink); }
.city-links a:hover { border-color: var(--navy); color: var(--red); }
.city-links a.primary { border-color: var(--navy); background: var(--navy); color: #fff; }
.city-links a.primary:hover { background: var(--red); border-color: var(--red); }
