/* Prompt Pest Services - colours taken from the logo (black, red, white) */
:root {
  --red: #d7141a;
  --red-dark: #b00f14;
  --ink: #161616;
  --text: #2b2b2b;
  --muted: #5c5c5c;
  --paper: #ffffff;
  --wash: #f5f4f2;
  --line: #e4e2de;
  --radius: 10px;
  --font: "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--wash);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

a { color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 3px; }

.wrap { width: min(100% - 32px, 960px); margin-inline: auto; }

/* Header */
.site-header {
  background: var(--paper);
  border-top: 6px solid var(--red);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 24px;
  text-align: center;
}
.site-header img { width: min(100%, 340px); height: auto; display: inline-block; }

/* Hero */
.hero {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 56px 0 60px;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.hero h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 18px auto 0;
  background: var(--red);
  border-radius: 2px;
}
.hero .lede { margin: 0 auto 28px; color: #c9c9c9; max-width: 60ch; }
.hero h3 {
  margin: 0 auto;
  max-width: 44ch;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  font-weight: 400;
  line-height: 1.5;
}
.hero h3 a { color: #fff; font-weight: 700; text-decoration-color: var(--red); white-space: nowrap; }
.hero h3 a:hover { color: #ffd9da; }
.hero h3 a.email { white-space: normal; overflow-wrap: anywhere; }

/* About */
.about { padding: 56px 0 8px; }
.about .wrap { max-width: 720px; }
.about p { margin: 0 0 1.2em; }

/* Services list */
.services { padding: 16px 0 56px; }
.services .wrap { max-width: 820px; }
.services ul {
  list-style: none;
  margin: 0;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
}
.services li { position: relative; padding-left: 32px; color: var(--ink); }
.services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* Closing call to action */
.cta {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 36px 0;
}
.cta p { margin: 0; font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 700; }

@media (max-width: 520px) {
  .hero { padding: 44px 0 48px; }
  .about { padding-top: 40px; }
  .services ul { padding: 22px 18px; }
}

/* Areas we cover */
.areas { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0; }
.areas .wrap { max-width: 820px; }
.areas h2 {
  margin: 0 0 12px;
  text-align: center;
  color: var(--ink);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.2;
}
.areas h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 14px auto 0;
  background: var(--red);
  border-radius: 2px;
}
.areas-intro { margin: 0 auto 28px; max-width: 60ch; text-align: center; color: var(--muted); }
.area-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
}
.area-group {
  background: var(--wash);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
}
.area-group h3 { margin: 0 0 6px; color: var(--ink); font-size: 1.05rem; }
.area-group ul { list-style: none; margin: 0; padding: 0; color: var(--text); }
.area-group li { display: inline; white-space: nowrap; }
.area-group li:not(:last-child)::after { content: "\00a0· "; white-space: normal; color: var(--red); font-weight: 700; }
.areas-outro { margin: 24px 0 0; text-align: center; color: var(--muted); }
.areas-outro a { font-weight: 700; white-space: nowrap; }
