/* ============================================================
   Warden — Pest control template
   Vigilant clinical · Mist white + deep slate + wasp amber
   Barlow Condensed (display) + Barlow (body)

   ────────────────────────────────────────────────
   ─── TO REBRAND ───
   Edit the variables in :root below.
   --slate, --amber drive the palette on mist white.
   --font-display / --font-body drive the type system.
   Best for pest control: wasps, rodents, bedbugs, bird
   proofing, commercial contracts. Vigilant and discreet —
   not alarmist, not cartoonish, not municipal (ironclad).
   ────────────────────────────────────────────────
   ============================================================ */

:root {
  --ink: #20262b;
  --ink-2: #4d555c;
  --mist: #f4f5f2;
  --mist-2: #e8eae4;
  --white: #fcfcfa;
  --slate: #252e36;
  --slate-2: #38434d;
  --amber: #eea71f;
  --amber-deep: #c98a10;
  --amber-soft: #fbedcd;
  --muted: #828a90;
  --line: #dcdfd7;
  --container: 1240px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); background: var(--mist); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* Type */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em; line-height: 0.98; text-transform: uppercase; }
h1 { font-size: clamp(48px, 6.6vw, 92px); }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: 22px; letter-spacing: 0.02em; }
p { margin: 0; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 56ch; line-height: 1.7; }
.eyebrow { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--amber-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 11px; height: 11px; border: 2.5px solid var(--amber); border-radius: 50%; box-shadow: 0 0 0 3px var(--amber-soft); }
.accent { color: var(--amber-deep); }

/* Nav */
.nav { background: var(--slate); color: var(--mist); position: sticky; top: 0; z-index: 50; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); }
.logo-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: var(--slate); display: grid; place-items: center; position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 7px; border: 2px solid var(--slate); border-radius: 50%; }
.logo-mark::before { content: ""; position: absolute; width: 4px; height: 4px; background: var(--slate); border-radius: 50%; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 600; color: #c4cad0; padding: 9px 13px; border-radius: 5px; transition: all .15s; }
.nav-links a:hover { background: var(--slate-2); color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: 0.03em; color: var(--white); }
.nav-phone .sub { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.nav-toggle { display: none; background: none; border: 2px solid var(--mist); border-radius: 5px; padding: 8px 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: 6px; font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: transparent; color: var(--ink); border: 2px solid var(--ink); transition: all .16s; }
.btn:hover { background: var(--ink); color: var(--mist); }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--slate); }
.btn-amber:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: var(--white); }
.btn-ghost-light { border-color: var(--mist); color: var(--mist); }
.btn-ghost-light:hover { background: var(--mist); color: var(--slate); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Hero — slate, with radar */
.hero { background: var(--slate); color: var(--mist); padding: 76px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--amber); margin-bottom: 20px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero .lead { color: #b9c1c8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-ticks { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 30px; font-size: 14px; font-weight: 600; color: #b9c1c8; }
.hero-ticks span { display: inline-flex; align-items: center; gap: 8px; }
.hero-ticks span::before { content: ""; width: 9px; height: 9px; background: var(--amber); border-radius: 50%; }

/* Radar */
.radar-stage { display: grid; place-items: center; }
.radar { position: relative; width: min(320px, 78%); aspect-ratio: 1; border-radius: 50%; border: 2px solid #3d4954; background:
  radial-gradient(circle, transparent 0 32%, #3d4954 32% calc(32% + 1px), transparent calc(32% + 1px) 65%, #3d4954 65% calc(65% + 1px), transparent calc(65% + 1px)),
  linear-gradient(#3d4954, #3d4954) center/100% 1px no-repeat,
  linear-gradient(90deg, #3d4954, #3d4954) center/1px 100% no-repeat;
}
.radar .beam { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(238,167,31,0.45), transparent 70deg); }
body.motion .radar .beam { animation: sweep 4.5s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar .blip { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
body.motion .radar .blip { animation: ping 4.5s ease-out infinite; }
.radar .blip.b1 { top: 24%; left: 60%; animation-delay: .9s; }
.radar .blip.b2 { top: 62%; left: 30%; animation-delay: 2.3s; }
.radar .blip.b3 { top: 44%; left: 76%; animation-delay: 3.4s; }
@keyframes ping {
  0%, 100% { box-shadow: 0 0 0 0 rgba(238,167,31,0.5); opacity: .5; }
  12% { opacity: 1; box-shadow: 0 0 0 12px rgba(238,167,31,0); }
  30% { opacity: .6; }
}
.radar-caption { margin-top: 22px; text-align: center; font-family: var(--font-display); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: #8e979e; }

/* Cleared list (hero/right or banner) */
.clear-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; font-family: var(--font-display); font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase; color: #b9c1c8; }
.clear-list li { position: relative; display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.clear-list li::before { content: ""; width: 8px; height: 8px; background: var(--amber); border-radius: 50%; }
.clear-list li .strike { position: relative; }
.clear-list li .strike::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid var(--amber); transform-origin: left; transform: scaleX(1); }
.clear-list li .ok { color: var(--amber); font-size: 14px; opacity: 1; }
/* motion: strike + ok start hidden, applied in sequence by JS */
body.motion .clear-list li .strike::after { transform: scaleX(0); transition: transform .4s cubic-bezier(.3, .7, .2, 1); }
body.motion .clear-list li .ok { opacity: 0; transition: opacity .3s ease .25s; }
body.motion .clear-list li.cleared .strike::after { transform: scaleX(1); }
body.motion .clear-list li.cleared .ok { opacity: 1; }

/* Cert band */
.cert-band { background: var(--amber); color: var(--slate); padding: 18px 0; }
.cert-band .row { display: flex; justify-content: space-between; gap: 14px 36px; flex-wrap: wrap; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; }

/* Sections */
.section { padding: 96px 0; }
.section.white { background: var(--white); }
.section.slate { background: var(--slate); color: var(--mist); }
.section.slate .eyebrow { color: var(--amber); }
.section.slate .lead { color: #b9c1c8; }
.section.slate h2 { color: var(--white); }
.section-head { max-width: 660px; margin-bottom: 50px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 14px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 1.5px solid var(--line); border-left: 4px solid var(--amber); border-radius: 8px; padding: 28px 26px; display: flex; flex-direction: column; gap: 11px; transition: transform .16s, box-shadow .16s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -18px rgba(32,38,43,.4); }
.section.white .card { background: var(--mist); }
.card h3 { }
.card p { font-size: 14.5px; color: var(--ink-2); }
.card .more { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--amber-deep); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { padding-top: 18px; border-top: 2px solid var(--amber); }
.step .num { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; color: var(--amber-deep); margin-bottom: 8px; text-transform: uppercase; }
.section.slate .step .num { color: var(--amber); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); }
.section.slate .step p { color: #b9c1c8; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-figure { border-radius: 10px; aspect-ratio: 5/4; background: var(--mist-2) center/cover; border: 1.5px solid var(--line); }
.split h2 { margin: 14px 0 18px; }
.split ul { margin: 22px 0 0; padding: 0; list-style: none; }
.split li { padding: 9px 0 9px 30px; position: relative; font-weight: 600; color: var(--ink-2); }
.split li::before { content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 12px; background: var(--amber); border-radius: 50%; box-shadow: 0 0 0 3px var(--amber-soft); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; padding: 28px 26px; display: flex; flex-direction: column; gap: 13px; }
.review .stars { color: var(--amber-deep); letter-spacing: 3px; font-size: 14px; }
.review p { font-size: 15px; color: var(--ink-2); }
.review .who { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; margin-top: auto; }
.review .who small { display: block; font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }

/* Pricing table + plans */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.price-table th { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; text-align: left; background: var(--slate); color: var(--mist); padding: 14px 20px; }
.price-table td { padding: 15px 20px; border-bottom: 1px solid var(--line); font-weight: 500; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { font-family: var(--font-display); font-size: 17px; color: var(--amber-deep); white-space: nowrap; }
.price-table td .sub { display: block; font-size: 13px; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; padding: 34px 28px; display: flex; flex-direction: column; gap: 8px; }
.plan.featured { background: var(--slate); color: var(--mist); border-color: var(--slate); }
.plan .tier { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber-deep); }
.plan.featured .tier { color: var(--amber); }
.plan .price { font-family: var(--font-display); font-weight: 700; font-size: 44px; }
.plan.featured .price { color: var(--white); }
.plan .price small { font-size: 15px; font-family: var(--font-body); font-weight: 600; color: var(--muted); }
.plan.featured .price small { color: #b9c1c8; }
.plan .blurb { font-size: 14.5px; color: var(--ink-2); }
.plan.featured .blurb { color: #b9c1c8; }
.plan ul { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; font-weight: 500; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: var(--amber); border-radius: 50%; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.featured .btn { border-color: var(--mist); color: var(--mist); }
.plan.featured .btn:hover { background: var(--mist); color: var(--slate); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s; }
.post:hover { transform: translateY(-3px); }
.post .ph { aspect-ratio: 16/9; background: var(--mist-2) center/cover; }
.post .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post .tag { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber-deep); }
.post h3 { font-size: 19px; line-height: 1.15; }
.post p { font-size: 14.5px; color: var(--ink-2); }
.post .date { margin-top: auto; padding-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* CTA strip */
.cta-strip { background: var(--slate); color: var(--mist); padding: 62px 0; border-top: 4px solid var(--amber); }
.cta-strip .inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-strip h2 { color: var(--white); }
.cta-strip .ph-num { font-family: var(--font-display); font-weight: 700; font-size: 38px; letter-spacing: 0.03em; color: var(--amber); }
.cta-strip .sub { font-size: 14px; color: #b9c1c8; font-weight: 600; }

/* Page banner */
.page-banner { padding: 68px 0 54px; background: var(--slate); color: var(--mist); }
.page-banner .eyebrow { color: var(--amber); margin-bottom: 14px; }
.page-banner h1 { color: var(--white); }
.page-banner p { margin-top: 16px; color: #b9c1c8; }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.form textarea { min-height: 130px; resize: vertical; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-card { background: var(--white); border: 1.5px solid var(--line); border-left: 4px solid var(--amber); border-radius: 8px; padding: 26px 24px; margin-bottom: 18px; }
.contact-card h3 { margin-bottom: 6px; }
.contact-card p { font-size: 15px; color: var(--ink-2); }
.contact-card .big { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: 0.03em; color: var(--slate); margin-top: 6px; }

/* Footer */
.footer { background: var(--slate); color: #aab2b9; padding: 70px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid #38434d; }
.footer-brand p { font-size: 14.5px; margin-top: 16px; max-width: 32ch; }
.footer h4 { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; color: #79828a; }

/* ── Signature motion (classes added by JS only when motion allowed) ── */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  body.motion .radar .beam, body.motion .radar .blip { animation: none; }
  body.motion .clear-list li .strike::after { transform: scaleX(1); transition: none; }
  body.motion .clear-list li .ok { opacity: 1; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .cards, .reviews, .plans, .posts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; background: var(--slate); border-bottom: 2px solid var(--amber); flex-direction: column; align-items: stretch; padding: 16px 24px 24px; gap: 4px; }
  .nav-links.open { display: flex; }
}
@media (max-width: 640px) {
  .cards, .reviews, .plans, .posts, .steps, .form-row, .footer-top { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .price-table th, .price-table td { padding: 12px 14px; }
}

/* ── Safari-safe selects ─────────────────────────────────────────────
   Safari ignores padding/height/width on a native <select> unless
   appearance is reset, which is why the dropdown rendered as a tiny
   default-styled control. Resetting appearance restores the field's own
   sizing; the caret is redrawn with currentColor so it matches each
   field's text colour on any theme. */
.form select, .field select, .book-card select,
.booking select, .reserve-form select, .shop-results-head select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
