/* Ponderosa Pest Control — rebuilt from the original Wix design */
:root {
  --green-dark: #0d3c01;
  --green: #054d01;
  --orange: #e16300;
  --orange-hover: #c55600;
  --text: #333333;
  --gray: #e8e6e6;
  --charcoal: #333333;
  --white: #ffffff;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1010px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; margin: 0 0 .5em; line-height: 1.22; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 15px; }
/* Fluid containers, matching the Wix layout: 90% wide (5% gutters) or full-bleed */
.wrap-wide { width: max(90%, min(980px, calc(100% - 30px))); max-width: 1720px; margin: 0 auto; }
.full { width: 100%; }
/* Left offset that grows with the screen (≈0 at 1024px, ≈110px at 1600px) */
:root { --inset: clamp(0px, calc(19vw - 195px), 140px); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--orange); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; }

/* ---------- Typography helpers ---------- */
.eyebrow { color: var(--orange); font-weight: 700; text-transform: uppercase; font-size: 18px; margin: 0 0 .6em; letter-spacing: .01em; }
.eyebrow.sm { font-size: 14px; }
.h-display { font-size: 60px; line-height: 1.22; }
.h-xl { font-size: 43px; line-height: 1.4; }
.h-lg { font-size: 38px; line-height: 1.4; }
.h-md { font-size: 30px; line-height: 1.4; }
.h-sm { font-size: 25px; line-height: 1.3; }
.h-xs { font-size: 21px; line-height: 1.4; }
.lead { font-size: 18px; }
.text-green { color: var(--green); }
.text-white { color: #fff; }
.center { text-align: center; }
.strong-line { font-weight: 700; font-size: 18px; color: #000; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 28px;
  font: 700 15px/1.1 var(--font); text-transform: uppercase; text-decoration: none;
  background: var(--orange); color: #fff; border: 2px solid var(--orange);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn-green { background: var(--green-dark); border-color: var(--green-dark); }
.btn-green:hover, .btn-green:focus-visible { background: var(--green); border-color: var(--green); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover, .btn-outline:focus-visible { background: #fff; color: #000; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header { background: var(--green-dark); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 95px; gap: 16px; }
.logo { display: block; padding: 6px 0 6px 40px; flex-shrink: 0; }
.logo img { width: 138px; height: auto; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding: 14px 0 8px; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-actions .btn { min-height: 34px; padding: 8px 12px; font-size: 14px; font-weight: 400; }
.btn-review { background: #fff; border-color: #fff; color: var(--green-dark); font-weight: 700 !important; }
.btn-review:hover, .btn-review:focus-visible { background: var(--gray); border-color: var(--gray); color: var(--green-dark); }
.btn-review .stars { color: #f5b301; letter-spacing: 1px; font-size: 13px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav li { position: relative; }
.main-nav a {
  display: block; padding: 4px 14px; color: #fff; text-decoration: none;
  font-size: 15px; line-height: 26px; text-transform: uppercase;
}
.main-nav li:last-child > a { padding-right: 0; }
.main-nav a:hover, .main-nav a[aria-current="page"], .main-nav .is-parent > a { color: var(--orange); }
.main-nav .has-sub > a::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; vertical-align: 1px; }
.main-nav .sub {
  display: block; position: absolute; left: 0; top: 100%; min-width: 220px;
  background: var(--green-dark); padding: 6px 0; box-shadow: 0 6px 14px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { padding: 8px 16px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }
.nav-toggle svg { width: 30px; height: 30px; display: block; }

/* ---------- Generic sections ---------- */
.section { padding: 56px 0; }
.section.tight { padding: 40px 0; }
.bg-black { background: #000; color: #fff; }
.bg-green-dark { background: var(--green-dark); color: #fff; }
.bg-green { background: var(--green); color: #fff; }
.bg-gray { background: var(--gray); }
.bg-charcoal { background: var(--charcoal); color: #fff; }
.bg-black h1, .bg-black h2, .bg-black h3, .bg-green-dark h2, .bg-green-dark h3, .bg-green h2, .bg-green h3, .bg-charcoal h2 { color: #fff; }

.narrow { max-width: 660px; margin: 0 auto; }
.narrow-lg { max-width: 780px; margin: 0 auto; }

/* Hero: split text / image */
.hero { display: grid; grid-template-columns: 1fr 1fr; }
.hero-text { padding: 56px 40px 56px var(--inset); display: flex; flex-direction: column; justify-content: center; }
.hero-media { position: relative; min-height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-home .hero-text { padding-top: 48px; padding-bottom: 48px; }
.hero-home .h-display { color: var(--text); }
.hero-dark { background: #000; color: #fff; }
.hero-dark .hero-media { background: var(--green); }
.hero-dark h1 { color: #fff; }
.hero-wrap { width: max(90%, min(980px, calc(100% - 30px))); max-width: 1720px; margin: 0 auto; }
.hero-text > * { max-width: 520px; }
.hero-dark .hero-wrap { background: #000; }

/* Two-column intro */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split > div { max-width: 500px; width: 100%; }
.split > div:first-child { margin-left: var(--inset); }
.split > div:last-child { justify-self: center; }

/* Feature row (home) */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature svg { width: 52px; height: 52px; color: var(--green-dark); margin-bottom: 10px; }
.feature h3 { font-size: 21px; margin-bottom: 6px; }
.feature p { font-size: 15px; }

/* Pest icon strip */
.pest-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-top: 30px; align-items: center; }
.pest-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pest-strip a { display: block; transition: transform .2s; }
.pest-strip a:hover { transform: translateY(-3px); }

/* Icon service cards */
.icon-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--gray); border: 2px solid var(--gray); }
.icon-card { background: #fff; padding: 22px 14px 26px; text-align: center; }
.icon-card img { width: 92px; height: 92px; margin: 0 auto 10px; object-fit: contain; }
.icon-card h3 { font-size: 21px; margin-bottom: 8px; }
.icon-card p { font-size: 15px; }
.icon-card a { color: var(--green); font-weight: 700; }
.icon-card h3 a { color: inherit; text-decoration: none; }
.icon-card h3 a:hover { color: var(--orange); }

/* Gray grid (pests / businesses) */
.gray-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.gray-card { background: var(--gray); padding: 22px 18px 26px; text-align: center; }
.gray-card img { width: 100%; max-width: 210px; height: 118px; margin: 0 auto 12px; object-fit: cover; }
.gray-card.biz img { width: 138px; height: 135px; object-fit: contain; }
.gray-card h3 { font-size: 21px; margin-bottom: 8px; }
.gray-card h3 a { text-decoration: none; color: inherit; border-bottom: 2px solid var(--orange); }
.gray-card p { font-size: 15px; }

/* Image cards (dark green) */
.image-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.image-card { background: var(--green-dark); color: #fff; padding: 8px 8px 26px; }
.image-card .frame { background: #fff; border: 8px solid #fff; box-shadow: 0 0 5px rgba(0,0,0,.1); aspect-ratio: 233 / 229; margin-bottom: 18px; }
.image-card .frame img { width: 100%; height: 100%; object-fit: cover; }
.image-card h3 { font-size: 25px; color: #fff; padding: 0 6px; text-transform: uppercase; }
.image-card p { padding: 0 6px; }

/* Steps / FAQ on black with image */
.steps { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.steps h3.step { color: var(--orange); font-size: 25px; margin: 26px 0 6px; }
.steps .media img { width: 100%; height: auto; }

/* Two dark/white panels (rodent page) */
.panels { display: grid; grid-template-columns: 1fr 1fr; }
.panel { padding: 50px 40px; }
.panel h2 { font-size: 38px; }

/* About / CTA with photo */
.photo-split { display: grid; grid-template-columns: 31% 1fr; gap: clamp(30px, calc(37vw - 380px), 210px); align-items: stretch; }
.photo-split .copy { max-width: 700px; padding-right: 20px !important; }
.photo-split .photo { background: var(--charcoal); }
.photo-split .photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-split .copy { padding: 40px 0; }

/* Reviews */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.review { padding-left: calc(30px + var(--inset)) !important; padding-right: 40px !important; }
.review > * { max-width: 520px; }
.review { background: var(--green-dark); color: #fff; padding: 36px 30px 32px; margin: 0; }
.review img { width: 130px; margin-bottom: 14px; }
.review blockquote { margin: 0 0 18px; font-size: 16px; }
.review figcaption { font-size: 16px; }
.review figcaption strong { display: block; font-weight: 400; }
.reviews-footer { text-align: center; margin-top: 26px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
.reviews-footer a.text-link { color: var(--green); font-weight: 700; }

/* FAQ list (light) */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #ddd; padding: 20px 0; }
.faq-item h3 { font-size: 21px; color: var(--green-dark); margin-bottom: 8px; }

/* ---------- Quote form ---------- */
.quote { background: var(--gray); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.quote-form { background: #fff; padding: 30px; box-shadow: 0 0 5px rgba(0,0,0,.1); border-top: 6px solid var(--orange); }
.quote-form h3 { font-size: 25px; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 5px; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; font: 16px var(--font); color: var(--text);
  border: 1px solid #b9b6b6; background: #fff; padding: 11px 12px; border-radius: 0;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #333 50%), linear-gradient(135deg, #333 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.field textarea { min-height: 90px; resize: vertical; }
.quote-form .btn { width: 100%; }
.form-note { font-size: 13px; color: #666; margin-top: 10px; text-align: center; }
.hidden { position: absolute; left: -9999px; }
.contact-lines { font-size: 18px; }
.contact-lines a { color: var(--green); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { color: #fff; }
.footer-main { position: relative; background: var(--green-dark) url("/images/footer-bg.jpg") center / cover no-repeat; }
.footer-main::before { content: ""; position: absolute; inset: 0; background: rgba(13, 60, 1, .55); }
.footer-main .wrap { position: relative; padding-top: 34px; padding-bottom: 40px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer-brand img { width: 125px; }
.footer-blurb { text-align: right; font-size: 15px; }
.footer-blurb a { color: #fff; }
.footer-bottom-row { display: grid; grid-template-columns: 1fr auto; gap: 30px; margin-top: 26px; align-items: end; }
.footer-bottom-row .eyebrow { margin-bottom: 4px; }
.footer-bottom-row h3 { font-size: 38px; color: #fff; margin-bottom: 8px; }
.footer-contact p { margin: 0; font-size: 16px; }
.footer-contact a { color: #fff; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; text-align: right; }
.footer-nav a { color: #fff; text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 17px; line-height: 1.8; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--orange); }
.footer-bar { background: var(--green-dark); text-align: center; font-size: 14px; padding: 18px 15px; }

/* ---------- Thank you / 404 ---------- */
.simple-page { padding: 90px 0; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .main-nav a { padding: 4px 9px; font-size: 14px; }
  .logo { padding-left: 0; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-inner { min-height: 76px; flex-wrap: wrap; }
  .logo img { width: 96px; }
  .header-right { display: contents; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { padding: 7px 10px; font-size: 13px; }
  .nav-toggle { order: 2; }
  .main-nav { display: none; width: 100%; order: 3; padding-bottom: 12px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a, .main-nav li:last-child > a { padding: 10px 0; font-size: 16px; border-top: 1px solid rgba(255,255,255,.12); }
  .main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; background: transparent; }
  .main-nav .has-sub > a::after { display: none; }
  .h-display { font-size: 42px; }
  .h-xl { font-size: 34px; }
  .h-lg { font-size: 30px; }
  .h-md { font-size: 26px; }
  .hero, .split, .steps, .panels, .quote-grid, .footer-top, .footer-bottom-row { grid-template-columns: 1fr; }
  .hero-wrap, .wrap-wide { width: 100%; padding: 0 15px; }
  .split > div:first-child { margin-left: 0; }
  .split > div, .split > div:last-child { max-width: none; justify-self: stretch; }
  .photo-split .copy { padding: 30px 15px !important; }
  .review { padding-left: 24px !important; padding-right: 24px !important; }
  .hero-text { padding: 40px 0; }
  .hero-media { min-height: 340px; margin: 0 -15px; }
  .hero-dark .hero-media { margin: 0 -15px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .pest-strip { grid-template-columns: repeat(4, 1fr); }
  .icon-cards { grid-template-columns: repeat(2, 1fr); }
  .icon-card:last-child { grid-column: 1 / -1; }
  .gray-grid, .image-cards { grid-template-columns: repeat(2, 1fr); }
  .photo-split { grid-template-columns: 1fr; gap: 0; }
  .photo-split .photo { max-height: 420px; overflow: hidden; }
  .reviews { grid-template-columns: 1fr; }
  .footer-blurb, .footer-nav ul { text-align: left; }
  .panel { padding: 36px 20px; }
}
@media (max-width: 520px) {
  .header-actions .btn-call .label-long { display: none; }
  .header-actions .btn-review .label-long { display: none; }
  .header-inner { gap: 8px; flex-wrap: wrap; }
  .logo img { width: 70px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 7px 8px; font-size: 12.5px; }
  .nav-toggle { padding: 6px; }
  .h-display { font-size: 36px; }
  .features, .gray-grid, .image-cards { grid-template-columns: 1fr; }
  .icon-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 22px 18px; }
  .btn-row .btn { width: 100%; }
  .footer-bottom-row h3 { font-size: 30px; }
}

@media (max-width: 400px) {
  .btn-review .stars { display: none; }
}
