/*
Theme Name: Resolute Pest Management
Theme URI: https://resolutepest.com/
Author: Resolute Pest Management
Description: Custom commercial-first WordPress theme for Resolute Pest Management.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: resolute-pest
*/


:root {
  --navy: #14273A;
  --navy-2: #0D1C2A;
  --olive: #707A49;
  --olive-dark: #5E673D;
  --cream: #F4F1E9;
  --cream-2: #EDE9DE;
  --white: #FFFFFF;
  --ink: #14273A;
  --muted: #5C6873;
  --line: rgba(20, 39, 58, .14);
  --shadow: 0 18px 50px rgba(14, 28, 42, .12);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--white); color: var(--navy); padding: 10px 14px; z-index: 9999;
}
.skip-link:focus { left: 10px; top: 10px; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 92px 0; }
.section-sm { padding: 58px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--olive-dark);
}
.eyebrow::before { content:""; width: 34px; height: 2px; background: var(--olive); }
h1, h2, h3 { margin: 0 0 18px; line-height: 1.05; letter-spacing: -.025em; }
h1 { font-size: clamp(2.75rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.55rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 18px; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.7; color: #D9E0E5; max-width: 760px; }
.lead-dark { color: var(--muted); font-size: 1.12rem; line-height: 1.75; max-width: 760px; }
.kicker { font-weight: 750; color: var(--olive-dark); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 20px; border-radius: 9px; text-decoration: none;
  font-weight: 800; border: 1px solid transparent; transition: .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-primary { background: var(--olive); color: var(--white); }
.btn-primary:hover { background: #7D8754; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.07); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: #1D344A; transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--cream); }
.text-link { font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 241, 233, .96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 310px; height: auto; max-height: 70px; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 19px; }
.nav a { text-decoration: none; font-size: .91rem; font-weight: 700; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--olive-dark); }
.nav .nav-cta { background: var(--navy); color: var(--white); padding: 11px 16px; border-radius: 8px; }
.nav .nav-cta:hover { color: var(--white); background: #1D344A; }
.menu-toggle {
  display: none; background: transparent; border: 0; width: 44px; height: 44px; padding: 8px;
}
.menu-toggle span { display:block; height:2px; background:var(--navy); margin:6px 0; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--white);
  padding: 92px 0 80px;
}
.hero::before {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(90deg, transparent 0 64%, rgba(255,255,255,.03) 64% 64.2%, transparent 64.2%),
    linear-gradient(0deg, transparent 0 68%, rgba(255,255,255,.025) 68% 68.2%, transparent 68.2%);
  pointer-events:none;
}
.hero::after {
  content:""; position:absolute; width:540px; height:540px; border:1px solid rgba(112,122,73,.25);
  border-radius:50%; right:-210px; top:-190px;
}
.hero-grid { position: relative; display:grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items:center; }
.hero .eyebrow { color: #BAC39A; }
.hero h1 { max-width: 820px; }
.hero h1 span { color: #BCC59C; }
.hero-panel {
  position: relative; min-height: 500px; border:1px solid rgba(255,255,255,.12);
  border-radius: 28px; background: rgba(255,255,255,.045); padding: 40px;
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
}
.hero-shield {
  width: 210px; margin: 6px auto 28px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.18));
}
.facility-card {
  background: var(--cream); color: var(--navy); border-radius: 16px; padding: 23px;
}
.facility-top { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom:20px; }
.facility-title { font-size:1.05rem; font-weight:850; }
.status { display:inline-flex; align-items:center; gap:7px; font-size:.77rem; font-weight:800; color:var(--olive-dark); }
.status::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--olive); }
.facility-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:10px; }
.facility-chip {
  border:1px solid var(--line); padding:13px; border-radius:10px; font-size:.88rem; font-weight:700;
  display:flex; align-items:center; gap:9px;
}
.dot { width:8px; height:8px; background:var(--olive); border-radius:2px; flex:0 0 auto; }
.hero-note { margin-top:18px; color:#B8C3CC; font-size:.88rem; text-align:center; }

.trust-strip { background: var(--white); border-bottom:1px solid var(--line); }
.trust-grid {
  min-height:84px; display:grid; grid-template-columns: repeat(4,1fr); align-items:center;
}
.trust-item {
  text-align:center; font-size:.84rem; font-weight:850; letter-spacing:.08em; text-transform:uppercase;
  padding:12px; border-right:1px solid var(--line);
}
.trust-item:last-child { border-right:0; }

/* General content */
.split { display:grid; grid-template-columns: 1fr 1fr; gap:72px; align-items:center; }
.cards { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:38px; }
.card {
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; box-shadow:0 8px 30px rgba(20,39,58,.05);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); transition:.2s ease; }
.icon-box {
  width:48px; height:48px; display:grid; place-items:center; border-radius:12px;
  background:rgba(112,122,73,.12); margin-bottom:22px; color:var(--olive-dark);
}
.icon-box svg { width:24px; height:24px; }
.card p { color:var(--muted); }
.card a { color:var(--navy); }
.dark-section { background:var(--navy); color:var(--white); }
.dark-section .eyebrow { color:#BAC39A; }
.dark-section .lead-dark, .dark-section .muted { color:#BAC5CE; }

.feature-list { display:grid; gap:20px; margin-top:30px; }
.feature {
  display:grid; grid-template-columns:46px 1fr; gap:16px; align-items:start;
}
.feature-num {
  width:42px; height:42px; border-radius:50%; display:grid; place-items:center;
  background:rgba(112,122,73,.14); color:var(--olive-dark); font-weight:900;
}
.dark-section .feature-num { background:rgba(255,255,255,.08); color:#CBD3B4; }
.feature h3 { margin-bottom:7px; }
.feature p { color:var(--muted); }
.dark-section .feature p { color:#B9C4CC; }


.warehouse-visual {
  border-radius:24px;
  min-height:460px;
  overflow:hidden;
  position:relative;
  background: linear-gradient(145deg, #E8E3D8, #F7F4EC);
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  padding:26px;
}
.warehouse-visual img {
  width:100%;
  height:auto;
  display:block;
  border-radius:16px;
}
.warehouse-visual .roof,
.warehouse-visual .building,
.warehouse-visual .door,
.warehouse-visual .perimeter,
.warehouse-visual .label { display:none; }


/* Process */
.process { display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:44px; border:1px solid var(--line); border-radius:20px; overflow:hidden; }
.step { background:var(--white); padding:30px; border-right:1px solid var(--line); }
.step:last-child { border-right:0; }
.step-no { font-size:.8rem; font-weight:900; color:var(--olive-dark); letter-spacing:.1em; margin-bottom:18px; }

/* Page hero */
.page-hero { background:var(--navy); color:var(--white); padding:78px 0 70px; }
.page-hero .eyebrow { color:#BAC39A; }
.page-hero h1 { font-size:clamp(2.7rem,5vw,4.8rem); max-width:900px; }
.page-hero .lead { max-width:850px; }

.service-detail { display:grid; grid-template-columns: .9fr 1.1fr; gap:70px; align-items:start; }
.sticky-aside {
  position:sticky; top:108px; background:var(--white); border:1px solid var(--line);
  border-radius:20px; padding:28px;
}
.check-list { list-style:none; padding:0; margin:22px 0 0; display:grid; gap:13px; }
.check-list li { position:relative; padding-left:29px; }
.check-list li::before {
  content:"✓"; position:absolute; left:0; top:0; width:20px; height:20px; border-radius:50%;
  display:grid; place-items:center; color:white; background:var(--olive); font-size:.72rem; font-weight:900;
}
.content-block + .content-block { margin-top:45px; }
.content-block h2 { font-size:clamp(1.8rem,3vw,2.6rem); }
.content-block h3 { margin-top:28px; }
.bullet-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:22px; }
.bullet {
  background:var(--white); border:1px solid var(--line); border-radius:12px; padding:17px 18px;
  font-weight:750;
}

/* CTA */
.cta-band { background:var(--olive); color:var(--white); }
.cta-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:50px; align-items:center; }
.cta-band h2 { max-width:780px; }
.cta-band p { color:#F2F3EB; max-width:760px; }

/* Forms */
.form-card {
  background:var(--white); border:1px solid var(--line); border-radius:24px; padding:34px; box-shadow:var(--shadow);
}
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.field { display:grid; gap:7px; }
.field.full { grid-column:1/-1; }
label { font-size:.85rem; font-weight:800; }
input, textarea, select {
  width:100%; border:1px solid #C8CEC9; background:#FBFAF6; color:var(--navy);
  border-radius:9px; padding:13px 14px; outline:none;
}
input:focus, textarea:focus, select:focus { border-color:var(--olive); box-shadow:0 0 0 3px rgba(112,122,73,.13); }
textarea { min-height:125px; resize:vertical; }
.form-note { color:var(--muted); font-size:.82rem; margin-top:12px; }
.form-status { display:none; margin-top:13px; font-weight:750; color:var(--olive-dark); }

/* Contact */
.contact-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:30px; }
.contact-card { background:var(--white); border:1px solid var(--line); border-radius:16px; padding:24px; }
.contact-card strong { display:block; margin-bottom:7px; }
.contact-card a { color:var(--navy); font-weight:760; }

/* Footer */
.footer { background:var(--navy-2); color:#D8E0E5; padding:54px 0 28px; }
.footer-grid { display:grid; grid-template-columns:1.4fr .8fr .8fr; gap:50px; }
.footer-brand img { width:330px; filter:brightness(0) invert(1); opacity:.96; }
.footer h3 { color:white; font-size:1rem; margin-bottom:13px; letter-spacing:.03em; }
.footer a { color:#D8E0E5; text-decoration:none; }
.footer a:hover { color:white; }
.footer-links { display:grid; gap:9px; }
.footer-bottom {
  margin-top:42px; padding-top:22px; border-top:1px solid rgba(255,255,255,.12);
  display:flex; justify-content:space-between; gap:20px; font-size:.82rem; color:#AEBAC3;
}

/* Mobile call button */
.mobile-call {
  display:none; position:fixed; left:16px; right:16px; bottom:16px; z-index:80;
  background:var(--olive); color:white; border-radius:12px; min-height:52px;
  align-items:center; justify-content:center; text-decoration:none; font-weight:900;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
}

@media (max-width: 980px) {
  .nav { display:none; position:absolute; top:86px; left:0; right:0; background:var(--cream); padding:20px; border-bottom:1px solid var(--line); flex-direction:column; align-items:stretch; gap:0; }
  .nav.open { display:flex; }
  .nav a { padding:13px 0; border-bottom:1px solid var(--line); }
  .nav .nav-cta { margin-top:12px; text-align:center; border-bottom:0; }
  .menu-toggle { display:block; }
  .brand img { width:260px; max-height:66px; }
  .hero-grid, .split, .service-detail, .cta-grid { grid-template-columns:1fr; }
  .hero-panel { min-height:auto; max-width:600px; }
  .cards { grid-template-columns:repeat(2,1fr); }
  .process { grid-template-columns:repeat(2,1fr); }
  .step { border-bottom:1px solid var(--line); }
  .step:nth-child(2) { border-right:0; }
  .sticky-aside { position:static; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
}
@media (max-width: 680px) {
  .container { width:min(calc(100% - 28px), var(--max)); }
  .section { padding:68px 0; }
  .hero { padding:65px 0 58px; }
  .hero-grid { gap:42px; }
  h1 { font-size:clamp(2.55rem,13vw,4rem); }
  .hero-panel { padding:25px; border-radius:20px; }
  .hero-shield { width:155px; }
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right:0; }
  .trust-item:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .cards, .contact-cards, .bullet-grid, .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .process { grid-template-columns:1fr; }
  .step { border-right:0; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand { grid-column:auto; }
  .footer-bottom { flex-direction:column; }
  .mobile-call { display:flex; }
  body { padding-bottom:78px; }
  .brand img { width:220px; max-height:60px; }
}


/* v1.2 premium card refinements */
.hero-panel {
  min-height: 500px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.05);
}
.hero-panel::before,
.hero-panel::after { content:none; }
.hero-note { display:none; }
.hero-shield { display:none; }
.hero-premium-card {
  width: 100%;
  max-width: 470px;
  background: var(--cream);
  color: var(--navy);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 55px rgba(0,0,0,.18);
  padding: 28px;
}
.hero-card-top {
  display:grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}
.shield-badge {
  width: 88px; height: 88px;
  display:grid; place-items:center;
  border-radius: 18px;
  background: #FBFAF6;
  border: 1px solid var(--line);
}
.hero-badge-shield {
  width: 52px; height: auto;
}
.hero-card-overline {
  display:inline-flex; align-items:center; gap:8px;
  color: var(--olive-dark);
  font-size: .74rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 6px;
}
.hero-card-overline::before { content:""; width:24px; height:2px; background: var(--olive); }
.hero-premium-card .facility-title { font-size: 1.52rem; font-weight: 850; line-height: 1.15; }
.hero-premium-card .muted { color: #52606C; }
.service-pill-row {
  display:flex; flex-wrap:wrap; gap:10px; margin: 10px 0 18px;
}
.service-pill {
  display:inline-flex; align-items:center; min-height: 36px;
  padding: 0 12px; border-radius: 999px;
  background: rgba(112,122,73,.11);
  color: var(--navy); border:1px solid rgba(112,122,73,.18);
  font-size: .86rem; font-weight: 780;
}
.hero-mini-benefits { display:grid; gap: 12px; margin-top: 14px; }
.hero-mini-benefit {
  display:grid; grid-template-columns: 34px 1fr; gap: 12px; align-items:start;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.hero-mini-benefit:first-child { border-top: 0; }
.hero-mini-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display:grid; place-items:center; background: rgba(112,122,73,.12);
  color: var(--olive-dark); font-size:.78rem; font-weight: 900;
}
.hero-mini-benefit strong { display:block; margin-bottom: 3px; font-size: .96rem; }
.hero-mini-benefit span { color: #5C6873; font-size: .9rem; line-height: 1.55; }
.hero-card-footer {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .9rem; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; color: var(--olive-dark);
}

.warehouse-visual {
  min-height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display:block;
}
.operations-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(20,39,58,.08);
  padding: 32px;
}
.ops-card-top {
  display:grid; grid-template-columns: 76px 1fr; gap:18px; align-items:center;
  margin-bottom: 18px;
}
.ops-shield {
  width:76px; height:76px; border-radius:16px; border:1px solid var(--line);
  background: #FBFAF6; display:grid; place-items:center;
}
.ops-shield img { width:46px; height:auto; }
.ops-overline {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.74rem; font-weight:850; text-transform:uppercase; letter-spacing:.1em; color: var(--olive-dark);
  margin-bottom:6px;
}
.ops-overline::before { content:""; width:22px; height:2px; background: var(--olive); }
.operations-card h3 { font-size: 1.75rem; margin-bottom: 10px; }
.operations-card p { color: var(--muted); }
.ops-list { display:grid; gap:16px; margin:24px 0 22px; }
.ops-item {
  display:grid; grid-template-columns: 42px 1fr; gap:14px; align-items:start;
  padding: 16px; border-radius: 16px; background:#FBFAF6; border:1px solid rgba(20,39,58,.08);
}
.ops-num {
  width:32px; height:32px; border-radius:50%;
  display:grid; place-items:center; background: rgba(112,122,73,.12); color: var(--olive-dark); font-weight: 900; font-size: .82rem;
}
.ops-item strong { display:block; margin-bottom:4px; }
.ops-item span { color: var(--muted); font-size: .93rem; line-height: 1.55; }
.ops-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top: 18px; }
.ops-tag {
  display:inline-flex; align-items:center; min-height: 36px; padding: 0 12px;
  border-radius:999px; background: rgba(20,39,58,.05); border:1px solid rgba(20,39,58,.08);
  color: var(--navy); font-size: .84rem; font-weight: 780;
}
@media (max-width: 680px) {
  .hero-card-top, .ops-card-top { grid-template-columns: 1fr; }
  .shield-badge, .ops-shield { width:72px; height:72px; }
  .hero-premium-card, .operations-card { padding: 24px; }
}


/* v1.4 simplified premium cards */
.hero-panel {
  padding: 34px;
}
.hero-premium-card {
  max-width: 480px;
  padding: 30px;
}
.hero-card-top {
  grid-template-columns: 82px 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
.shield-badge {
  width: 82px;
  height: 82px;
}
.hero-badge-shield { width: 50px; }
.hero-premium-card .facility-title {
  font-size: 1.62rem;
  line-height: 1.12;
  margin-bottom: 5px;
}
.hero-card-subtitle {
  color: #5C6873;
  font-size: .98rem;
  line-height: 1.55;
}
.hero-premium-card .service-pill-row {
  gap: 10px;
  margin: 22px 0 0;
}
.hero-premium-card .service-pill {
  min-height: 38px;
  padding: 0 13px;
  font-size: .87rem;
}
.hero-mini-benefits { display:none; }
.hero-card-footer {
  margin-top: 24px;
  padding-top: 18px;
  font-size: .78rem;
  line-height: 1.4;
  white-space: nowrap;
}

.operations-card {
  padding: 34px;
}
.ops-card-top {
  grid-template-columns: 74px 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
.ops-shield {
  width:74px;
  height:74px;
}
.ops-shield img { width:44px; }
.operations-card h3 {
  font-size: 2rem;
  line-height: 1.08;
  margin-bottom: 12px;
}
.operations-card .ops-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0;
}
.ops-list { display:none; }
.ops-tags {
  margin-top: 26px;
  gap: 10px;
}
.ops-tag {
  min-height: 38px;
  padding: 0 13px;
  font-size: .86rem;
}
.ops-promise {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display:flex;
  align-items:center;
  gap:12px;
  color: var(--navy);
  font-size: .98rem;
  font-weight: 800;
}
.ops-promise::before {
  content:"";
  width:36px;
  height:3px;
  background:var(--olive);
  flex:0 0 auto;
}
@media (max-width: 680px) {
  .hero-card-footer { white-space: normal; }
  .operations-card h3 { font-size: 1.75rem; }
}


/* v1.5 polish and icon refinements */
.hero-panel {
  min-height: 430px;
  padding: 28px;
}
.hero-premium-card {
  max-width: 458px;
  padding: 28px;
}
.hero-card-top {
  margin-bottom: 20px;
}
.hero-card-footer {
  margin-top: 20px;
  padding-top: 16px;
}
.operations-card .ops-overline {
  margin-bottom: 8px;
}
.operations-card h3 {
  font-size: 1.9rem;
}
.icon-box svg {
  width: 24px;
  height: 24px;
  overflow: visible;
}
.card .icon-box {
  color: var(--olive-dark);
}
@media (max-width: 680px) {
  .hero-panel {
    min-height: auto;
    padding: 22px;
  }
}


/* v1.6 small-format service icon refinements */
.card .icon-box svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.9;
}

/* v1.7 commodity fumigation + header refinements */
.service-page-icon {
  width:64px; height:64px; margin-bottom:18px;
}
.service-page-icon svg { width:32px; height:32px; }
@media (max-width: 1120px) and (min-width: 981px) {
  .nav { gap:14px; }
  .nav a { font-size:.86rem; }
  .brand img { max-height:64px; }
}


/* v1.8 typography polish */
.services-intro {
  max-width: 980px;
}
.phrase-lock {
  white-space: nowrap;
}
@media (max-width: 680px) {
  .services-intro {
    max-width: 100%;
  }
  .phrase-lock {
    white-space: normal;
  }
}


/* v1.9 services headline + semi-trailer refinements */
.services-heading {
  font-size: clamp(2.1rem, 4.05vw, 4.15rem);
  line-height: 1.03;
  max-width: 22ch;
  text-wrap: balance;
}
.services-heading-line {
  display: block;
}
@media (max-width: 680px) {
  .services-heading {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.06;
    max-width: none;
    text-wrap: pretty;
  }
  .services-heading-line {
    display: inline;
  }
  .services-heading-line + .services-heading-line::before {
    content: " ";
  }
}


/* v2.0 AJAX quote form */
.resolute-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.quote-submit:disabled {
  opacity: .7;
  cursor: wait;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: .9rem;
  font-weight: 750;
}

.form-status-success {
  background: rgba(112, 122, 73, .12);
  color: #4F5A31;
  border: 1px solid rgba(112, 122, 73, .22);
}

.form-status-error {
  background: rgba(130, 42, 42, .08);
  color: #7B2F2F;
  border: 1px solid rgba(130, 42, 42, .18);
}


/* v2.1 mobile quote-form readability fix */
.form-card {
  color: var(--navy);
}

.quote-form .field {
  min-width: 0;
}

.quote-form .field label {
  display: block;
  color: var(--navy);
  font-size: .88rem;
  line-height: 1.35;
  font-weight: 800;
  margin: 0;
  opacity: 1;
  visibility: visible;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  color: var(--navy);
  background: #FBFAF6;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #75808A;
  opacity: 1;
}

@media (max-width: 680px) {
  .quote-form.form-card {
    padding: 24px 20px;
  }

  .quote-form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .quote-form .field,
  .quote-form .field.full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    grid-column: auto;
  }

  .quote-form .field label {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    clip-path: none;
    overflow: visible;
    white-space: normal;
    font-size: .92rem;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    min-height: 48px;
    width: 100%;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  .quote-form textarea {
    min-height: 130px;
  }

  .quote-form .quote-submit {
    width: 100%;
    margin-top: 4px;
  }

  .quote-form .form-note {
    line-height: 1.5;
  }
}
