/* PaulCare Limited — mobile-first stylesheet.
   Colour roles: royal blue = brand/structure, vibrant green = action only,
   deep black = text, dark teal = deep surfaces, pale tints = section bands.
   The diagonal blue/green band echoes the PAULCARE shield and is the
   site's signature element (flat colour bands, no gradient blends). */

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --blue: #19419A;
  --blue-deep: #122F73;
  --blue-tint: #EAF0FB;
  --green: #159E2C;
  --green-btn: #0E8220;
  --green-deep: #0B6819;
  --green-tint: #E6F5E9;
  --ink: #010407;
  --ink-soft: #333B43;
  --muted: #55606B;
  --paper: #F3F7F5;
  --line: #D7E0DD;
  --teal: #092828;
  --white: #FFFFFF;
  --ratio-photo: 4/3;
  --ratio-square: 1/1;
  --radius-card: 6px;
  --radius-btn: 5px;
  --radius-chip: 3px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.75rem, 5.4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 3.6vw, 1.7rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-deep); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 60;
  background: var(--blue); color: var(--white);
  padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 8px; }

/* ----- signature diagonal band (flat colour blocks, no blends) ----- */
.stripe {
  height: 10px;
  background:
    linear-gradient(115deg,
      var(--blue) 0 38%,
      var(--green) 38% 74%,
      var(--ink) 74% 100%);
}
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 8px; flex: none;
  background: linear-gradient(115deg, var(--blue) 0 45%, var(--green) 45% 100%);
}

/* ---------- buttons (green = action only) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px;
  background: var(--green-btn); color: var(--white);
  font: inherit; font-weight: 700; font-size: 0.95rem;
  border: 2px solid var(--green-btn); border-radius: var(--radius-btn);
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-outline {
  background: var(--white); color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue-tint); color: var(--blue-deep); }
.btn-invert {
  background: transparent; color: var(--white); border-color: var(--white);
}
.btn-invert:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-lg { min-height: 52px; padding: 13px 26px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 7px 16px; font-size: 0.88rem; }
.btn-block { display: flex; width: 100%; margin-bottom: 10px; }

.linklike {
  background: none; border: 0; padding: 0; font: inherit;
  color: var(--blue); text-decoration: underline; cursor: pointer;
  min-height: 44px;
}
.more {
  font-weight: 700; font-size: 0.92rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.more::after { content: "\2192"; }

/* ---------- topbar & header ---------- */
.topbar { background: var(--ink); color: var(--white); font-size: 0.82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar-tag { margin: 0; font-weight: 600; color: #9FB3C8; display: none; }
.topbar-links { display: flex; gap: 18px; margin-left: auto; }
.topbar-links a:last-child { display: none; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; white-space: nowrap; }

.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.brand { flex: none; }
.brand img { display: block; height: 40px; width: auto; }

.hsearch { display: none; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cart-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--ink); text-decoration: none;
  border-radius: 50%;
}
.cart-link:hover { background: var(--paper); }
.cart-count {
  position: absolute; top: 2px; right: 0;
  background: var(--green); color: var(--white);
  font-size: 0.68rem; font-weight: 700; line-height: 1;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.btn-quote { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 1px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav { display: none; }

.mobilenav {
  position: sticky; top: 65px; z-index: 49;
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 16px;
}
.mobilenav nav { display: flex; flex-direction: column; }
.mobilenav nav a {
  display: flex; align-items: center; min-height: 48px;
  font-weight: 600; font-size: 1.05rem; text-decoration: none;
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.msearch { display: flex; gap: 8px; margin-bottom: 8px; }
.msearch input {
  flex: 1; min-height: 44px; font: inherit; font-size: 16px;
  border: 2px solid var(--line); border-radius: var(--radius-btn); padding: 8px 12px;
}
.mobilenav-cta { margin-top: 14px; display: flex; gap: 10px; }
.mobilenav-cta .btn { flex: 1 1 0; min-width: 0; margin-bottom: 0; }

.flashbar { background: var(--green-tint); border-bottom: 1px solid var(--green); }
.flashbar .wrap { padding-top: 12px; padding-bottom: 12px; font-weight: 600; color: var(--ink); }

/* ---------- hero ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 44px; }
.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 58ch; }
.hero-cta { display: flex; flex-wrap: nowrap; gap: 10px; margin: 22px 0 18px; }
.hero-points { list-style: none; margin: 0; padding: 0; }
.hero-points li {
  padding: 7px 0 7px 30px; position: relative; font-weight: 600; font-size: 0.95rem;
}
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 18px; height: 8px;
  background: linear-gradient(115deg, var(--blue) 0 45%, var(--green) 45% 100%);
}
.hero-media img {
  width: 100%; aspect-ratio: var(--ratio-photo); object-fit: cover;
  background: var(--blue-tint); border-radius: var(--radius-card);
}

/* ---------- sections ---------- */
.section { padding: 44px 0; }
.section-tint { background: var(--paper); }
.section-tight { padding-top: 8px; }
.section-head { margin-bottom: 26px; max-width: 62ch; }
.section-head p { color: var(--muted); margin: 0; }
.section-head-row { max-width: none; }
.section-head-row .more { flex: none; }

.pagehead { background: var(--blue-tint); padding: 34px 0 38px; border-bottom: 1px solid var(--line); }
.pagehead-tight { padding-top: 20px; padding-bottom: 20px; }
.pagehead h1 { margin-bottom: 0.35em; }
.pagehead .lede { margin-bottom: 0; }
.pagehead-cta { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 20px; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--blue); }

/* ---------- cards & grids ---------- */
.svc-grid { display: grid; gap: 18px; }
.svc-card { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.svc-card-img img { width: 100%; aspect-ratio: var(--ratio-photo); object-fit: cover; background: var(--blue-tint); }
.svc-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-card-body h3 { margin: 0; font-size: 1.1rem; }
.svc-card-body h3 a { color: var(--ink); text-decoration: none; }
.svc-card-body h3 a:hover { color: var(--blue); }
.svc-card-body p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.svc-card-body .more { margin-top: auto; padding-top: 6px; }

.svc-list { display: grid; gap: 22px; }
.svc-row { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); overflow: hidden; display: grid; }
.svc-row-img img { width: 100%; height: 100%; aspect-ratio: var(--ratio-photo); object-fit: cover; background: var(--blue-tint); }
.svc-row-body { padding: 20px; }
.svc-row-body h2 { font-size: 1.3rem; margin-bottom: 6px; }
.svc-row-body h2 a { color: var(--ink); text-decoration: none; }
.svc-row-body h2 a:hover { color: var(--blue); }
.svc-row-body > p { color: var(--ink-soft); font-size: 0.95rem; }
.svc-price { font-size: 0.9rem; color: var(--muted); }
.svc-price strong { color: var(--ink); }
.svc-row-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 12px; }

/* pest list strip */
.pest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pest-list li {
  border: 1px solid var(--line); border-radius: var(--radius-card);
  background: var(--white);
}
.pest-list li:hover { border-color: var(--blue); background: var(--paper); }
.pest-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 12px 14px; text-decoration: none; color: var(--ink);
}
.pest-list a:hover { color: var(--blue); }
.pest-name { font-weight: 700; font-size: 1.05rem; }
.pest-arrow { color: var(--green); font-weight: 700; font-size: 1.2rem; }
.pest-all a { color: var(--blue); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
.steps li {
  border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 18px; background: var(--white);
}
.steps li::before {
  content: ""; display: block;
  width: 26px; height: 5px; margin-bottom: 12px;
  border-radius: 2px;
  background: linear-gradient(115deg, var(--blue) 0 50%, var(--green) 50% 100%);
}
.steps li h3 { margin-bottom: 6px; }
.steps li p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.steps-vert { gap: 14px; }

/* products */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.prod-card { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.prod-img img { width: 100%; aspect-ratio: var(--ratio-square); object-fit: cover; background: var(--blue-tint); }
.prod-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); margin: 0; }
.prod-body h2, .prod-body h3 { margin: 0; font-size: 0.98rem; font-weight: 700; }
.prod-body h2 a, .prod-body h3 a { color: var(--ink); text-decoration: none; }
.prod-body h2 a:hover, .prod-body h3 a:hover { color: var(--blue); }
.prod-targets { font-size: 0.8rem; color: var(--muted); margin: 0; }
.prod-price { margin: 0; font-size: 0.95rem; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.prod-price strong { font-size: 1.05rem; }
.prod-price s { color: var(--muted); font-size: 0.82rem; }
.prod-body form { margin-top: auto; padding-top: 4px; }
.prod-price-lg strong { font-size: 1.7rem; }
.prod-targets-lg { font-size: 0.95rem; }
.incart { font-size: 0.9rem; color: var(--green-deep); font-weight: 600; }

/* trust split */
.trust-grid { display: grid; gap: 30px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 16px; height: 9px;
  border-left: 3px solid var(--green); border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}
.ticks-warn li::before { border-color: var(--blue); }
.client-list { list-style: none; margin: 0; padding: 0; }
.client-list li {
  padding: 10px 0; border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline;
}
.client-list strong { font-size: 1rem; }
.client-list span { font-size: 0.85rem; color: var(--muted); }
.client-list-grid { border-top: 1px solid var(--line); }

/* testimonials */
.quotes { display: grid; gap: 16px; }
.quote {
  margin: 0; padding: 22px; background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.quote p { font-size: 1.02rem; margin-bottom: 14px; }
.quote footer { font-weight: 700; font-size: 0.9rem; }
.quote footer span { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }

/* ---------- reviews reel (single line, infinite loop) ---------- */
.reviews { overflow: clip; }
.reel {
  overflow: hidden;
  padding: 4px 0;
}
.reel-track {
  display: flex; width: max-content;
  animation: reel-move 75s linear infinite;
}
.reel-track.reel-paused,
.reel:hover .reel-track,
.reel:focus-within .reel-track { animation-play-state: paused; }
@keyframes reel-move {
  to { transform: translateX(-50%); }
}
.rev {
  flex: none; width: 274px; margin: 0 16px 0 0;
  padding: 18px; background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  display: flex; flex-direction: column; gap: 8px;
}
.rev-svc {
  align-self: flex-start;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--blue);
  background: var(--blue-tint); border-radius: var(--radius-chip); padding: 3px 8px;
}
.rev-stars { color: var(--green); font-size: 0.85rem; letter-spacing: 2px; }
.rev p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); flex: 1; }
.rev footer { font-weight: 700; font-size: 0.88rem; }
.rev footer span { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.reel-toggle {
  flex: none; min-height: 44px; padding: 8px 18px;
  font: inherit; font-weight: 700; font-size: 0.85rem;
  color: var(--blue); background: var(--white);
  border: 2px solid var(--blue); border-radius: var(--radius-btn); cursor: pointer;
}
.reel-toggle:hover { background: var(--blue-tint); }
.reel-toggle[aria-pressed="true"] { background: var(--blue); color: var(--white); }
@media (prefers-reduced-motion: reduce) {
  .reel-track { animation: none; }
}

/* faqs */
.faqs details { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); margin-bottom: 10px; }
.faqs summary {
  cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600;
  list-style: none; position: relative; min-height: 48px; display: flex; align-items: center;
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%); font-size: 1.3rem; color: var(--blue); font-weight: 700;
}
.faqs details[open] summary::after { content: "\2013"; }
.faqs details p { padding: 0 16px 16px; margin: 0; color: var(--ink-soft); }
.faq-wrap { max-width: 780px; }

/* cta band */
.cta-band { background: var(--teal); color: var(--white); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #B7C9C7; margin: 0; }
.cta-in { padding: 40px 0; display: grid; gap: 20px; }
.cta-actions { display: flex; flex-wrap: nowrap; gap: 10px; align-items: center; }

/* ---------- detail pages ---------- */
.detail-grid { display: grid; gap: 30px; }
.detail-img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  background: var(--blue-tint); border-radius: var(--radius-card); margin-bottom: 20px;
}
.detail-intro { font-size: 1.08rem; color: var(--ink-soft); }
.detail-main h2 { margin-top: 30px; }
.detail-side { display: grid; gap: 16px; align-content: start; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; background: var(--white); }
.side-card h2 { font-size: 1.1rem; margin-bottom: 10px; }
.side-card h2::before {
  content: ""; display: block; width: 22px; height: 4px; margin-bottom: 8px;
  border-radius: 2px;
  background: linear-gradient(115deg, var(--blue) 0 50%, var(--green) 50% 100%);
}
.side-card p { font-size: 0.92rem; color: var(--ink-soft); }
.side-price strong { font-size: 1.15rem; color: var(--ink); }
.side-note { font-size: 0.82rem !important; color: var(--muted) !important; margin: 4px 0 0; }
.side-wa {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; text-decoration: none; color: var(--green-deep);
}
.side-wa::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5.1-1.3A10 10 0 1 0 12 2zm5.2 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.4-.7-2.9-1.2-4.7-4.1-4.9-4.3-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.4l.9 2.1c.1.2.1.4 0 .6l-.4.6-.5.5c-.2.2-.3.4-.1.7.2.3.9 1.5 2 2.4 1.4 1.2 2.5 1.6 2.9 1.8.3.2.5.1.7-.1l1-1.2c.2-.3.4-.2.7-.1l2 1c.3.1.5.2.6.4 0 .1 0 .8-.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5.1-1.3A10 10 0 1 0 12 2zm5.2 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.4-.7-2.9-1.2-4.7-4.1-4.9-4.3-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.4l.9 2.1c.1.2.1.4 0 .6l-.4.6-.5.5c-.2.2-.3.4-.1.7.2.3.9 1.5 2 2.4 1.4 1.2 2.5 1.6 2.9 1.8.3.2.5.1.7-.1l1-1.2c.2-.3.4-.2.7-.1l2 1c.3.1.5.2.6.4 0 .1 0 .8-.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: block; padding: 10px 0; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.side-prods { list-style: none; margin: 0 0 12px; padding: 0; }
.side-prods li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.side-prods li:last-child { border-bottom: 0; }
.side-prods a { text-decoration: none; font-weight: 600; }
.side-prods span { white-space: nowrap; }
.side-total { font-size: 1.05rem; color: var(--ink) !important; display: flex; justify-content: space-between; margin: 8px 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list span { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 700; text-decoration: none; font-size: 1.02rem; }

.callout {
  background: var(--blue-tint); border: 1px solid var(--blue);
  border-radius: var(--radius-card);
  padding: 18px 20px; margin: 26px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout .btn { margin-top: 12px; }

/* ---------- pests ---------- */
.pestgrid { display: grid; gap: 14px; }
.pest-card {
  border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 20px; text-decoration: none; color: var(--ink); background: var(--white);
  display: flex; flex-direction: column; gap: 8px;
}
.pest-card:hover { border-color: var(--blue); background: var(--paper); }
.pest-card:hover h2 { color: var(--blue); }
.pest-card h2 { margin: 0; font-size: 1.15rem; }
.pest-card p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); flex: 1; }

/* ---------- shop ---------- */
.shop-grid { display: grid; gap: 26px; }
.shop-side { display: grid; gap: 18px; align-content: start; }
.shop-search label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.searchrow { display: flex; gap: 8px; }
.searchrow input {
  flex: 1; min-height: 44px; font: inherit; font-size: 16px;
  border: 2px solid var(--line); border-radius: var(--radius-btn); padding: 8px 12px;
}
.shop-help { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px; background: var(--white); }
.shop-help h2 { font-size: 1rem; margin-bottom: 6px; }
.shop-help p { font-size: 0.88rem; color: var(--ink-soft); }
.shop-count { font-weight: 600; margin-bottom: 16px; }
.shop-count a { margin-left: 10px; font-weight: 400; }

.product-grid { display: grid; gap: 26px; }
.product-media img { width: 100%; aspect-ratio: var(--ratio-square); object-fit: cover; background: var(--blue-tint); border-radius: var(--radius-card); }
.product-info h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 8px; }
.buy-row { display: flex; gap: 12px; align-items: end; margin: 20px 0 10px; }
.buy-row label { font-weight: 700; font-size: 0.85rem; display: block; }
.buy-row input {
  width: 76px; min-height: 52px; font: inherit; font-size: 16px; text-align: center;
  border: 2px solid var(--line); border-radius: var(--radius-btn); padding: 8px;
}
.buy-row .btn { flex: 1; }
.product-facts { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; }
.product-facts h2 { font-size: 1.05rem; margin-bottom: 6px; }
.product-facts p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- cart / checkout ---------- */
.cart-head { display: none; }
.cart-row {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.cart-prod { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; }
.cart-prod img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-card); background: var(--blue-tint); }
.cart-prod a { font-weight: 700; text-decoration: none; }
.cart-qty input {
  width: 68px; min-height: 44px; font: inherit; font-size: 16px; text-align: center;
  border: 2px solid var(--line); border-radius: var(--radius-btn);
}
.cart-line { font-weight: 700; }
.cart-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 0; flex-wrap: wrap; }
.cart-total { margin: 0; font-size: 1.1rem; }
.cart-total strong { font-size: 1.3rem; }
.cart-next { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; max-width: 620px; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field input[type="search"], .field select, .field textarea {
  width: 100%; min-height: 50px; font: inherit; font-size: 16px;
  border: 2px solid var(--line); border-radius: var(--radius-btn); padding: 10px 14px;
  background: var(--white); color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); outline: 3px solid var(--blue-tint); outline-offset: 0;
}
.field [aria-invalid="true"] { border-color: #B3261E; }
.err { color: #B3261E; font-size: 0.85rem; font-weight: 600; margin: 6px 0 0; }
.opt { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field-pair { display: grid; gap: 18px; }
.radios { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.radios legend { font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; padding: 0; }
.radio {
  display: flex; gap: 12px; align-items: flex-start;
  border: 2px solid var(--line); border-radius: var(--radius-card);
  padding: 14px; cursor: pointer; min-height: 44px;
}
.radio:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.radio input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-btn); }
.form-note { font-size: 0.85rem; color: var(--muted); }

/* ---------- order confirm / thanks ---------- */
.confirm-box { border: 1px solid var(--green); border-radius: var(--radius-card); padding: 22px; margin-bottom: 20px; background: var(--green-tint); }
.confirm-box h2 { margin-top: 0; }
.paysteps { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.thanks-wrap { max-width: 720px; }

/* ---------- empty states ---------- */
.empty {
  border: 2px dashed var(--line); border-radius: var(--radius-card);
  padding: 40px 24px; text-align: center; background: var(--white);
}
.empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 18px; }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: nowrap; }

/* ---------- search ---------- */
.search-big { display: flex; gap: 10px; margin-top: 16px; max-width: 560px; }
.search-big input {
  flex: 1; min-height: 52px; font: inherit; font-size: 16px;
  border: 2px solid var(--line); border-radius: var(--radius-btn); padding: 10px 14px;
}
.search-h { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 28px 0 10px; }
.sresults { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sresults a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
}
.sresults a:hover { background: var(--paper); }
.sresults strong { color: var(--blue); }
.sresults span { color: var(--muted); font-size: 0.88rem; }

/* ---------- posts / guides ---------- */
.post-grid { display: grid; gap: 18px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.post-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--blue-tint); }
.post-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body h2 { font-size: 1.15rem; margin: 0; }
.post-body h2 a { color: var(--ink); text-decoration: none; }
.post-body h2 a:hover { color: var(--blue); }
.post-body p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.post-body .more { margin-top: auto; padding-top: 6px; }

.article { max-width: 70ch; }
.article p, .article li { color: var(--ink-soft); }
.article h2 { margin-top: 28px; }
.article.narrow { max-width: 70ch; }
.dtable { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 0.92rem; }
.dtable th, .dtable td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.dtable th { background: var(--blue-tint); font-weight: 700; }

/* ---------- 404 ---------- */
.nf-grid { display: grid; gap: 14px; }
.nf-card {
  border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px;
  text-decoration: none; color: var(--ink);
}
.nf-card:hover { border-color: var(--blue); background: var(--paper); }
.nf-card h2 { font-size: 1.15rem; margin-bottom: 6px; }
.nf-card p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.nf-call { margin-top: 26px; font-size: 1.02rem; }

/* ---------- floating action buttons (call + WhatsApp) ---------- */
.fabs {
  position: fixed; right: 16px; bottom: 16px; z-index: 55;
  display: flex; flex-direction: column; gap: 12px;
}
.fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); text-decoration: none;
  border: 2px solid var(--white);
}
.fab:hover { color: var(--white); }
.fab-call { background: var(--blue); }
.fab-call:hover { background: var(--blue-deep); }
.fab-wa { background: #25D366; }
.fab-wa:hover { background: #1DA851; }
.fab svg { display: block; }

/* ---------- footer ---------- */
.footer { background: var(--teal); color: #C4D4D2; font-size: 0.92rem; }
.footer .stripe { margin-bottom: 0; }
.footer-grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 30px; }
.fcol h2 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.fcol a { color: var(--white); text-decoration: none; display: block; padding: 4px 0; }
.fcol a:hover { color: var(--green); text-decoration: underline; }
.fcol address { font-style: normal; line-height: 1.6; margin-bottom: 10px; }
.flogo { margin-bottom: 14px; }
.fsocial { display: flex; gap: 18px; }
.fsocial a { display: inline; }
.fhours { margin-top: 10px; color: #9FB8B6; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  border-top: 1px solid #163B3B; padding-top: 18px; padding-bottom: 22px;
  font-size: 0.82rem; color: #9FB8B6;
}
.footer-base p { margin: 0; }
.foot-dev { margin-left: auto; }
.foot-dev a { color: var(--white); text-decoration: none; font-weight: 600; }
.foot-dev a:hover { color: var(--green); text-decoration: underline; }

/* ---------- pest detail ---------- */

/* =====================================================================
   <640px — mobile density pass
   Card grids run 2-per-line. Every horizontal spacing layer in those
   grids is 6px: screen edge -> card (wrap 8 + grid -2), card gap and
   card padding. Layouts that stay single-column (steps, forms, rows,
   long-form) keep an 8px screen edge. All overrides live in this block.
===================================================================== */
@media (max-width: 639px) {
  /* page container: 8px screen edge everywhere (single-column default) */
  .wrap { padding: 0 8px; }
  .mobilenav { padding: 12px 8px; }

  /* 2-per-line card grids: margin -2 pulls cards to a 6px screen edge,
     gap between cards is the same 6px */
  .svc-grid,
  .prod-grid,
  .pestgrid,
  .post-grid,
  .nf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-left: -2px;
    margin-right: -2px;
  }
  .pest-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-left: -2px;
    margin-right: -2px;
  }
  .pest-all { grid-column: 1 / -1; }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 18px;
  }
  .footer-grid .fcol:first-child,
  .footer-grid .fcol:last-child { grid-column: 1 / -1; }

  /* 6px card padding inside the grids */
  .svc-card-body { padding: 6px; }
  .prod-body { padding: 6px; }
  .pest-card { padding: 10px 6px; }
  .post-body { padding: 6px; }
  .nf-card { padding: 10px 6px; }

  /* paired CTAs stay on one line, evenly sized, single-line text */
  .hero-cta .btn,
  .pagehead-cta .btn,
  .cta-actions .btn,
  .empty-actions .btn,
  .mobilenav-cta .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 46px;
    padding: 8px 12px;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* =====================================================================
   640px+ — large phones / small tablets
===================================================================== */
@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .topbar-tag { display: block; }
  .topbar-links a:last-child { display: inline; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .pest-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .field-pair { grid-template-columns: 1fr 1fr; }
  .pestgrid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .nf-grid { grid-template-columns: repeat(2, 1fr); }
  .client-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .cart-head { display: grid; grid-template-columns: 1fr 100px 80px 110px 70px; gap: 14px; padding: 0 0 10px; border-bottom: 2px solid var(--ink); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
  .cart-row { grid-template-columns: 1fr 100px 80px 110px 70px; gap: 14px; }
  .cart-prod { grid-column: auto; }
  .cart-price { color: var(--muted); }
}

/* =====================================================================
   900px+ — tablets & laptops: full nav, sidebars appear
===================================================================== */
@media (min-width: 900px) {
  :root { --radius-card: 8px; --radius-btn: 6px; }
  body { font-size: 17px; }
  .nav-toggle, .mobilenav { display: none; }
  .btn-quote { display: inline-flex; }
  .hsearch {
    display: flex; flex: 1; max-width: 340px; margin-left: 20px;
  }
  .hsearch input {
    flex: 1; min-height: 42px; font: inherit; font-size: 0.9rem;
    border: 2px solid var(--line); border-right: 0;
    border-radius: var(--radius-btn) 0 0 var(--radius-btn); padding: 8px 12px;
  }
  .hsearch button {
    width: 46px; min-height: 42px; border: 2px solid var(--line); border-left: 0;
    border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
    background: var(--paper); color: var(--ink); cursor: pointer;
  }
  .hsearch button:hover { background: var(--blue-tint); }
  .nav { display: block; border-top: 1px solid var(--line); }
  .nav-in { display: flex; gap: 4px; }
  .nav-in a {
    display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--ink);
    border-bottom: 3px solid transparent;
  }
  .nav-in a:hover { color: var(--blue); }
  .nav-in a.active { color: var(--blue); border-bottom-color: var(--green); }

  .hero-in { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; padding: 56px 0; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .svc-row { grid-template-columns: 280px 1fr; }
  .svc-row-img img { aspect-ratio: auto; }
  .prod-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .prod-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .trust-grid { grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
  .detail-grid { grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
  .detail-side { position: sticky; top: 140px; }
  .shop-grid { grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
  .shop-side { position: sticky; top: 140px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .cta-in { grid-template-columns: 1fr auto; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
  .pestgrid { grid-template-columns: repeat(3, 1fr); }
  .pagehead { padding: 44px 0 48px; }
}

/* =====================================================================
   1280px+ — desktop
===================================================================== */
@media (min-width: 1280px) {
  body { font-size: 18px; }
  .wrap { padding: 0 32px; }
  .detail-grid { grid-template-columns: 1fr 340px; gap: 60px; }
  .pestgrid { grid-template-columns: repeat(4, 1fr); }
  .nf-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =====================================================================
   Reduced motion / print niceties
===================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
