/*
Theme Name: Death Row Pest
Theme URI: https://deathrowpest.com
Author: Death Row Pest Control
Author URI: https://deathrowpest.com
Description: Orange/black/white custom theme matching the Death Row Pest Control HQ preview. Click-to-call 931-500-6969. Shield Stripe buttons. Three office cards, staff-only labels.
Version: 1.6.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: death-row-pest
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom, one-column, custom-menu, featured-images
*/

:root {
  --orange: #ff5a00;
  --orange-2: #ff8a1a;
  --black: #0b0b0b;
  --ink: #141414;
  --card: #1a1a1a;
  --paper: #f3efe6;
  --muted: #c4b8a8;
  --line: #3a3a3a;
  --danger: #ff5a00;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: "Barlow", "Arial Narrow", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  padding-bottom: 72px;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--orange); }
h1, h2, h3, .display {
  font-family: "Bebas Neue", "Oswald", Impact, sans-serif;
  letter-spacing: .04em;
  line-height: .95;
  margin: 0 0 .4em;
  font-weight: 400;
}
h1 { font-size: clamp(2.4rem, 8vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); color: var(--orange); }
h3 { font-size: 1.5rem; }

.bars {
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    #000 0 10px,
    var(--orange) 10px 20px
  );
}
header {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: .55rem .85rem;
  padding: .6rem 1rem;
  background: #000;
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  flex: 0 1 auto;
  text-decoration: none;
  color: var(--paper);
}
header .logo { height: 52px; width: 52px; flex-shrink: 0; }
.brand-name {
  font-family: "Bebas Neue", "Oswald", Impact, sans-serif;
  font-size: clamp(1rem, 3.8vw, 1.45rem);
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--paper);
  white-space: normal;
}
header nav {
  display: none;
  gap: 0;
  margin-left: auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
}
header nav a {
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .72rem;
  white-space: nowrap;
  padding: .45rem .55rem;
  flex: 1 1 auto;
  text-align: center;
}
header nav a[aria-current="page"] { color: var(--orange); }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  padding: 0;
  border: 2px solid var(--orange);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--orange);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
header.is-open nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-left: 0;
  background: #000;
  border-bottom: 3px solid var(--orange);
  padding: .75rem 1rem 1rem;
  gap: .15rem;
  z-index: 21;
}
header.is-open nav a {
  display: block;
  padding: .65rem .4rem;
  font-size: .9rem;
}
.btn {
  display: inline-block;
  background: var(--orange);
  color: #000;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .63rem 1rem;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
}
.btn.ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--orange);
  box-shadow: 4px 4px 0 var(--orange);
}
.btn.call-head {
  display: none;
  margin-left: auto;
  white-space: nowrap;
  font-size: .85rem;
  flex-shrink: 0;
}
.card .btn {
  margin-top: auto;
  display: block;
  text-align: center;
}
.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  align-items: center;
  justify-items: center;
  background: #000 center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 20%, rgba(0,0,0,.88) 100%);
}
.hero .inner {
  position: relative;
  z-index: 1;
  padding: 2rem 1rem 2.4rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.kicker {
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  margin-bottom: .4rem;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 2rem 1rem; }
.grid { display: grid; gap: 1rem; }
.cards { display: grid; gap: 1rem; align-items: stretch; }
.card {
  background: var(--card);
  border: 2px solid var(--line);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}
.card.featured { border-color: var(--orange); }
.card .price {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
}
.card ul { padding-left: 1.1rem; margin: .6rem 0 1rem; text-align: left; }
.card li { margin: .25rem 0; text-align: left; }
ul, ol {
  text-align: left;
  list-style-position: outside;
  padding-left: 1.25em;
}
li {
  text-align: left;
  text-align-last: left;
}
.quote {
  background: var(--ink);
  border-left: 6px solid var(--orange);
  padding: 1rem 1.1rem;
  margin: 0;
}
.quote footer { color: var(--muted); margin-top: .6rem; font-size: .9rem; }
.offices { display: grid; gap: 1rem; }
.offices article {
  border: 2px dashed var(--orange);
  padding: 1rem;
  background: #111;
}
.photo-row { display: grid; gap: .6rem; }
.photo-row img { width: 100%; object-fit: cover; max-height: 280px; border: 2px solid #000; }
label { display: block; font-weight: 700; text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; margin: .8rem 0 .3rem; }
input, textarea {
  width: 100%;
  background: #000;
  color: var(--paper);
  border: 2px solid var(--line);
  padding: .7rem;
  font: inherit;
}
.sticky-call {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--orange);
  color: #000;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.sticky-call a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .9rem .4rem;
  line-height: 1.15;
  color: #000;
  text-decoration: none;
  border-right: 2px solid #000;
}
.sticky-call a span { display: block; }
.sticky-call a:last-child { border-right: 0; background: #000; color: var(--orange); }
footer.site {
  background: #000;
  border-top: 3px solid var(--orange);
  padding: 2rem 1rem 6rem;
  color: var(--muted);
  font-size: .95rem;
}
footer.site strong { color: var(--paper); }
footer.site a { color: var(--paper); }
.note { font-size: .85rem; color: var(--muted); }
.preview-flag {
  background: var(--orange);
  color: #000;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  padding: .25rem;
}
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .offices { grid-template-columns: repeat(3, 1fr); }
  .photo-row { grid-template-columns: repeat(3, 1fr); }
  .split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: start; }
  body { padding-bottom: 0; }
  .sticky-call { display: none; }
}
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  header nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    overflow-x: auto;
    max-width: min(100%, 62vw);
  }
  header .brand { flex: 0 0 auto; }
  .brand-name { font-size: 1.15rem; white-space: nowrap; }
  header.is-open nav {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
  }
  header.is-open nav a { padding: .45rem .5rem; font-size: .7rem; }
  .btn.call-head { display: inline-block; margin-left: 1rem; }
}

.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(78vh, 640px);
  background: #000;
  align-items: stretch;
  border-bottom: 3px solid var(--orange);
}
.split-hero-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #000;
}
.split-hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
}
.split-hero-copy {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 72px 40px 80px;
  background: #000;
  color: var(--paper);
}
.split-hero-copy h1 { color: var(--paper); max-width: 14ch; }
.split-hero-copy .accent { color: var(--orange); }
.split-hero-copy .lede { color: var(--muted); max-width: 36ch; margin-left: auto; margin-right: auto; }
.split-hero-copy .hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
@media (max-width: 980px) {
  .split-hero { grid-template-columns: 1fr; min-height: 0; }
  .split-hero-media { min-height: 280px; aspect-ratio: 16 / 10; }
  .split-hero-copy { text-align: center; padding: 40px 20px 36px; justify-items: center; }
  .split-hero-copy h1 { max-width: none; }
  .split-hero-copy .hero-actions { justify-content: center; }
}

.intro-hero { background:#000; border-bottom:3px solid var(--orange); }
.intro-hero > img { width:100%; height:auto; max-height:none; object-fit:contain; object-position:center; display:block; background:#000; }
.intro-hero .intro-copy { text-align:center; max-width:920px; margin:0 auto; padding:1.5rem 1rem 2.2rem; }
.intro-hero .lede { color:var(--paper); max-width:46ch; margin:0 auto 1rem; }
.sister-line { margin-top:1.05rem; font-size:.95rem; color:var(--muted); max-width:52ch; margin-left:auto; margin-right:auto; }
.sister-line a { color:var(--orange); }
.work-grid { display:grid; gap:.7rem; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); }
.work-grid figure { margin:0; background:#111; border:2px solid var(--line); }
.work-grid img { width:100%; height:220px; object-fit:cover; }
.work-grid figcaption { padding:.55rem .7rem; font-size:.85rem; color:var(--muted); }
.sister-card { border:2px solid var(--orange); background:#111; padding:1.25rem; margin:1rem 0; }
.sister-card img { width:100%; max-height:320px; object-fit:cover; margin-bottom:1rem; border:2px solid #000; }
.footer-maps { display:grid; gap:.7rem; margin:1.2rem 0; grid-template-columns:1fr; }
.footer-maps iframe {
  width:100%;
  height:220px;
  min-height:220px;
  display:block;
  border:2px solid var(--line);
  background:#111;
}
.map-frame { min-width:0; }
.map-label { margin:0 0 .3rem; font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color:var(--orange); font-weight:800; }
.social-icons { display:flex; gap:.65rem; align-items:center; margin:.85rem 0; }
.social-icons a { display:inline-flex; width:44px; height:44px; align-items:center; justify-content:center; background:var(--orange); color:#000; border-radius:8px; }
.social-icons svg { width:22px; height:22px; display:block; }
@media (min-width:900px) {
  .footer-maps { grid-template-columns:repeat(3,1fr); }
}

.sister-box {
  display: grid;
  gap: 1rem;
  border: 2px solid var(--orange);
  background: #111;
  padding: 1.15rem 1.2rem;
  margin: 1.6rem 0 1.2rem;
  align-items: center;
}
.sister-box .sister-logo {
  width: auto;
  max-height: 88px;
  max-width: 180px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  margin: 0 auto;
  display: block;
  border: 2px solid #000;
}
.sister-box h2 { margin: 0 0 .35em; }
.sister-box p { margin: 0 0 .55em; }
@media (min-width: 720px) {
  .sister-box { grid-template-columns: 160px 1fr; }
}

.faq-list { display:grid; gap:.55rem; margin:1.2rem 0 1.6rem; }
.faq-list details {
  background:#111; border:2px solid var(--line); padding:.2rem 1rem;
}
.faq-list details[open] { border-color: var(--orange); }
.faq-list summary {
  cursor:pointer; font-weight:800; text-transform:uppercase; letter-spacing:.04em;
  padding:.7rem 0; font-size:.92rem;
}
.faq-list details p { color:var(--paper); }

@media (max-width: 719px) {
  body,
  .hero .inner,
  footer.site,
  .intro-hero .intro-copy,
  section.hero {
    text-align: center;
  }
  .wrap {
    text-align: left;
  }
  .wrap > h1,
  .wrap > h2,
  .wrap > h3,
  .wrap > .kicker,
  .card h3,
  .card .price {
    text-align: center;
  }
  /* Bullets and numbers: text sits next to the marker, never centered/justified. */
  ul, ol,
  .wrap ul, .wrap ol,
  .card ul, .card ol {
    display: block !important;
    width: 100%;
    max-width: none;
    margin: .6rem 0 1rem 0 !important;
    padding-left: 1.2em !important;
    text-align: left !important;
    list-style-position: outside;
    align-self: stretch;
  }
  li {
    text-align: left !important;
    text-align-last: left !important;
  }
  header {
    padding: .45rem .7rem;
    gap: .4rem;
    max-width: 100%;
  }
  header .logo { height: 40px; }
  .brand-name { font-size: .95rem; line-height: 1.05; }
  .wrap { padding: 1.2rem .75rem; }
  .split-hero,
  .split-hero-media,
  .split-hero-copy,
  .intro-hero,
  .cards,
  .card,
  footer.site {
    max-width: 100%;
  }
  .split-hero { grid-template-columns: 1fr; }
  .split-hero-copy { padding: 1.4rem .9rem 1.6rem; }
  .split-hero-copy h1,
  h1 { font-size: clamp(1.7rem, 8.5vw, 2.35rem); }
  .split-hero-copy .hero-actions {
    width: 100%;
  }
  .split-hero-copy .hero-actions .btn,
  .wrap > p .btn {
    box-shadow: 3px 3px 0 #000;
  }
  .card { padding: 1rem .9rem; }
  .sticky-call a {
    font-size: .78rem;
    letter-spacing: .04em;
    padding: .75rem .3rem;
  }
  iframe { max-width: 100%; }
  .sister-box .sister-logo {
    margin-left: auto;
    margin-right: auto;
  }
  .hero .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
  .wrap p:has(.btn),
  .hero .inner p:has(.btn),
  .intro-copy p:has(.btn) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem;
  }
  .social-icons {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Orange neon — truck colors, dark shop, glow. */
body {
  background:
    radial-gradient(1100px 480px at 50% -90px, rgba(255, 90, 0, 0.18), transparent 55%),
    radial-gradient(700px 360px at 0% 30%, rgba(255, 138, 26, 0.08), transparent 50%),
    #070707;
}
h1, h2, h3 {
  text-shadow: 0 0 16px rgba(255, 90, 0, 0.35);
}
.bars {
  box-shadow: 0 6px 22px rgba(255, 90, 0, 0.45);
}
header {
  background: rgba(8, 8, 8, 0.94) !important;
  border-bottom: 2px solid #ff8a1a !important;
  box-shadow:
    0 0 0 1px rgba(255, 90, 0, 0.35),
    0 8px 28px rgba(255, 90, 0, 0.32),
    0 0 40px rgba(255, 138, 26, 0.18);
}
header .logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  padding: 3px;
  background: #000;
  border: 2px solid #ff8a1a;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow:
    0 0 12px #ff5a00,
    0 0 24px rgba(255, 90, 0, 0.45);
  animation: neonPulseOrange 3.2s ease-in-out infinite;
}
.nav-toggle {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(255, 90, 0, 0.45);
}
header .brand-name {
  text-shadow: 0 0 10px rgba(255, 90, 0, 0.55);
}
header nav a:hover,
header nav a[aria-current="page"] {
  color: #ff8a1a !important;
  text-shadow: 0 0 12px #ff5a00;
}
.hero img,
.split-hero img,
.hero {
  box-shadow:
    0 0 0 2px rgba(255, 138, 26, 0.7),
    0 0 28px rgba(255, 90, 0, 0.4);
}
.btn, .btn.call-head {
  box-shadow:
    0 0 0 1px rgba(255, 138, 26, 0.65),
    0 0 18px rgba(255, 90, 0, 0.55);
}
.btn:hover, .btn.call-head:hover {
  box-shadow:
    0 0 0 1px #ffd0a8,
    0 0 28px #ff8a1a,
    0 0 48px rgba(255, 90, 0, 0.7);
}
.btn.ghost {
  border-color: #ff8a1a !important;
  color: #ffd0a8 !important;
  box-shadow: 0 0 14px rgba(255, 90, 0, 0.4);
}
.card, .office-card, .plan, .plans .card {
  border-color: rgba(255, 138, 26, 0.4) !important;
  box-shadow: 0 0 18px rgba(255, 90, 0, 0.2);
}
.card:hover, .plan:hover {
  box-shadow: 0 0 28px rgba(255, 90, 0, 0.45);
  border-color: #ff8a1a !important;
}
footer, .site-footer {
  border-top: 2px solid #ff8a1a;
  box-shadow: 0 -8px 28px rgba(255, 90, 0, 0.22);
}
.callbar, .sticky-call {
  box-shadow: 0 -6px 28px rgba(255, 90, 0, 0.55);
}
@keyframes neonPulseOrange {
  0%, 100% { box-shadow: 0 0 0 2px #ff8a1a, 0 0 14px #ff5a00, 0 0 28px rgba(255, 90, 0, 0.4); }
  50% { box-shadow: 0 0 0 2px #ffd0a8, 0 0 26px #ff8a1a, 0 0 48px rgba(255, 90, 0, 0.7); }
}
@media (prefers-reduced-motion: reduce) {
  header .logo { animation: none; }
}

.sticky-call {
  background: #080808 !important;
  border-top: 2px solid #ff8a1a;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  box-shadow:
    0 -8px 28px rgba(255, 90, 0, 0.55),
    0 0 32px rgba(255, 138, 26, 0.25) !important;
}
.sticky-call a {
  background: #ff5a00 !important;
  color: #000 !important;
  border: 2px solid #ffd0a8 !important;
  border-radius: 10px;
  border-right: 2px solid #ffd0a8 !important;
  box-shadow:
    0 0 0 1px #ff8a1a,
    0 0 16px rgba(255, 90, 0, 0.75);
}
.sticky-call a:last-child {
  background: #000 !important;
  color: #ff8a1a !important;
  border-color: #ff8a1a !important;
  box-shadow:
    0 0 0 1px #ff8a1a,
    0 0 18px rgba(255, 90, 0, 0.7);
}
.sticky-call a:hover,
.sticky-call a:focus-visible {
  background: #ff8a1a !important;
  color: #000 !important;
  box-shadow: 0 0 28px #ff8a1a;
}
