/* ========================================
   VIP Pest & Termites Control
   Mobile-first · Conversion-focused
   ======================================== */

:root {
  --primary: #163A2B;
  --primary-deep: #0F281D;
  --secondary: #2E7D32;
  --secondary-soft: #3B8F40;
  --accent: #F4B400;
  --accent-hover: #E0A500;
  --bg: #F7FAF8;
  --bg-alt: #EEF5F0;
  --text: #17231C;
  --text-muted: #4A5A50;
  --white: #FFFFFF;
  --border: #D7E4DB;
  --shadow: 0 8px 24px rgba(22, 58, 43, 0.08);
  --shadow-lg: 0 16px 40px rgba(22, 58, 43, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 64px;
  --container: 1120px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page-pad: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--secondary);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--primary);
}

ul, ol {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--primary);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.7;
}

button,
input,
select,
textarea,
a,
.btn {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--accent);
  color: var(--primary-deep);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - (var(--page-pad) * 2), var(--container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 1.6rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-deep);
  color: var(--white);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary-deep);
  box-shadow: 0 8px 20px rgba(244, 180, 0, 0.28);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: var(--primary-deep);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
}

.link-cta::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.link-cta:hover::after {
  transform: translateX(3px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow.dark {
  color: var(--secondary);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(22, 58, 43, 0.08);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  transition: min-height 0.25s ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--primary);
  min-width: 0;
}

.logo:hover {
  color: var(--primary);
}

.logo-mark {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo-name {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 148px;
}

.logo-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 0.15rem;
  list-style: none;
}

.nav-desktop a {
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  background: var(--bg-alt);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-cta {
  display: none;
}

.header-cta-mobile {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  min-height: 40px;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.menu-bar {
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 1rem 1rem 1.25rem;
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile ul {
  list-style: none;
  margin-bottom: 1rem;
}

.nav-mobile a {
  display: block;
  padding: 0.85rem 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--bg-alt);
}

.nav-mobile .btn {
  margin-top: 0.6rem;
}

body.menu-open {
  overflow: hidden;
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 0 2.75rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 40, 29, 0.55) 0%, rgba(15, 40, 29, 0.78) 55%, rgba(15, 40, 29, 0.92) 100%),
    linear-gradient(90deg, rgba(15, 40, 29, 0.75) 0%, rgba(15, 40, 29, 0.35) 70%, rgba(15, 40, 29, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 0.5rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 5.5vw, 3.1rem);
  max-width: 16ch;
  margin-bottom: 1rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 54ch;
  font-size: 1rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.hero-phone:hover {
  color: #ffd666;
}

.trust-badges {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.trust-badges li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
}

.trust-badges .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Trust strip */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.25rem;
}

.trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  color: var(--secondary);
}

.trust-title {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
  color: var(--primary);
  line-height: 1.35;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
}

.section-header p {
  margin-bottom: 0;
}

/* Services */
.services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #c5d9cb;
}

.service-card h3 {
  font-size: 1.1rem;
  margin: 0;
}

.service-card p {
  margin: 0;
  font-size: 0.92rem;
  flex-grow: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #E8F3EA, #F7FAF8);
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

/* Termite feature */
.termite-feature {
  background: var(--white);
}

.termite-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.termite-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.termite-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.termite-copy p {
  max-width: 52ch;
}

/* Process */
.process {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.process-timeline {
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: none;
}

.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.4rem 1.35rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.process-step h3 {
  font-size: 1.05rem;
}

.process-step p {
  margin: 0;
  font-size: 0.92rem;
}

/* Why us */
.why-us {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.why-card h3 {
  font-size: 1.05rem;
}

.why-card p {
  margin: 0;
  font-size: 0.92rem;
}

/* Residential */
.residential {
  background: var(--bg);
}

.residential-layout {
  display: grid;
  gap: 2rem;
}

.property-cards {
  display: grid;
  gap: 1rem;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.property-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.property-card > h3,
.property-card > p {
  padding: 0 1.15rem;
}

.property-card > h3 {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.property-card > p {
  padding-bottom: 1.15rem;
  margin: 0;
  font-size: 0.9rem;
}

.property-icon-card {
  padding: 1.5rem 1.25rem;
  color: var(--secondary);
}

.property-icon-card h3 {
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

.property-icon-card p {
  margin: 0;
  font-size: 0.9rem;
}

/* Commercial */
.commercial {
  background: var(--white);
}

.commercial-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.commercial-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.commercial-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.chip-list li {
  background: var(--bg-alt);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
}

/* Areas */
.areas {
  background: var(--bg);
}

.areas-intro {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.1rem;
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.area-card:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.area-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.area-card p {
  margin: 0;
  font-size: 0.88rem;
}

/* Location */
.location {
  background: var(--white);
}

.location-grid {
  display: grid;
  gap: 1.5rem;
}

.biz-name {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.location-phone {
  margin: 1.25rem 0;
}

.location-phone a {
  color: var(--primary);
  text-decoration: none;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map-placeholder {
  background: linear-gradient(145deg, var(--bg-alt), #e2eee6);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem 1.25rem;
  color: var(--secondary);
}

.map-placeholder p {
  margin: 0;
  color: var(--text-muted);
  max-width: 28ch;
}

/* Testimonials */
.testimonials {
  background: var(--bg);
}

.reviews-grid {
  display: grid;
  gap: 1rem;
}

.review-card {
  background: var(--white);
  border: 1px dashed #c5d4ca;
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  min-height: 120px;
  display: grid;
  place-items: center;
}

.review-placeholder {
  margin: 0;
  color: #7a8a80;
  font-style: italic;
  text-align: center;
}

.reviews-cta {
  text-align: center;
  margin-top: 1.75rem;
}

/* FAQ */
.faqs {
  background: var(--white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
  font-size: 1rem;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.05rem 1.1rem;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 10px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 10px;
  transition: opacity 0.2s ease;
}

.faq-trigger[aria-expanded="true"] .faq-icon::after {
  opacity: 0;
}

.faq-panel {
  padding: 0 1.1rem 1.1rem;
}

.faq-panel[hidden] {
  display: none;
}

.faq-panel p {
  margin: 0;
  font-size: 0.95rem;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, #0F281D 0%, #163A2B 45%, #2E7D32 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  max-width: 18ch;
  margin-inline: auto;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 48ch;
  margin: 0 auto 1.5rem;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Contact */
.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-details {
  margin: 1.5rem 0;
}

.contact-details > div {
  margin-bottom: 1rem;
}

.contact-details dt {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-details dd {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.contact-details a {
  color: var(--primary);
  text-decoration: none;
  word-break: break-word;
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 0.5rem;
}

.form-title {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.form-note {
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
  background: var(--white);
}

.form-field .is-invalid {
  border-color: #c0392b;
}

.field-error {
  display: block;
  min-height: 1.1em;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: #c0392b;
}

/* Footer */
.site-footer {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(46, 125, 50, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 20%, rgba(244, 180, 0, 0.08), transparent 50%),
    linear-gradient(180deg, #123226 0%, var(--primary-deep) 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 0 0 calc(1.25rem + env(safe-area-inset-bottom));
  overflow: hidden;
}

.footer-cta-band {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(46, 125, 50, 0.22), rgba(22, 58, 43, 0.15));
  padding: 1.35rem 0;
}

.footer-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer-cta-label {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-cta-title {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-wa:hover {
  color: var(--primary) !important;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
  padding-top: 3rem;
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand-link:hover {
  color: var(--white);
}

.footer-brand-link .logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--secondary), var(--accent));
  color: var(--primary-deep);
  font-size: 0.78rem;
}

.footer-logo {
  display: block;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0;
}

.footer-tag {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.footer-brand > p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  max-width: 36ch;
  margin-bottom: 1rem;
}

.footer-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.footer-highlights span {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.footer-social-actions {
  display: flex;
  gap: 0.6rem;
}

.footer-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white) !important;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-action-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(244, 180, 0, 0.45);
  color: var(--accent) !important;
  transform: translateY(-1px);
}

.footer-action-btn.whatsapp:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: rgba(37, 211, 102, 0.45);
  color: #6dffab !important;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.site-footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col li a:hover {
  color: var(--accent);
  padding-left: 3px;
}

.footer-services {
  columns: 1;
}

.footer-contact {
  display: grid;
  gap: 0.85rem;
}

.footer-contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
  line-height: 1.55;
}

.footer-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(244, 180, 0, 0.12);
  color: var(--accent);
  margin-top: 0.05rem;
}

.footer-contact a {
  font-weight: 600;
  color: var(--white);
}

.footer-directions {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent) !important;
}

.footer-directions:hover {
  color: #ffd666 !important;
}

.footer-areas {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-areas-title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-area-chips span {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

.footer-credit {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.footer-credit a:hover {
  color: #ffd666;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Sticky Call & WhatsApp */
.sticky-contact {
  position: fixed;
  right: 14px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(22, 58, 43, 0.28);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}

.sticky-btn:hover {
  color: var(--white);
  transform: translateY(-2px) scale(1.05);
  filter: brightness(1.06);
}

.sticky-btn:active {
  transform: scale(0.96);
}

.sticky-call {
  background: var(--primary);
}

.sticky-whatsapp {
  background: #25D366;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Tablet+ */
@media (min-width: 640px) {
  .logo-name {
    max-width: none;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .trust-badges {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .property-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-bottom-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .footer-credit {
    text-align: right;
  }

  .hero {
    align-items: center;
    padding: 5rem 0 4.5rem;
  }
}

@media (min-width: 768px) {
  .sticky-contact {
    right: 20px;
    bottom: 24px;
  }

  .sticky-btn {
    width: 58px;
    height: 58px;
  }

  .header-cta {
    display: inline-flex;
  }

  .header-cta-mobile {
    display: none;
  }

  .header-cta-desktop {
    display: inline-flex;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .termite-grid,
  .commercial-layout,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
  }

  .process-timeline::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--secondary), var(--border));
    z-index: 0;
  }

  .process-step {
    text-align: center;
    padding-top: 1.5rem;
    z-index: 1;
  }

  .step-num {
    margin-inline: auto;
  }

  .residential-layout {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }

  .footer-services {
    columns: 2;
    column-gap: 1.5rem;
  }
}

@media (min-width: 980px) {
  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: block;
  }

  .nav-mobile {
    display: none !important;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .areas-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .section {
    padding: 5rem 0;
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ========================================
   Mobile-friendly refinements
   ======================================== */
@media (max-width: 767px) {
  :root {
    --header-h: 60px;
    --page-pad: 0.9rem;
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 8px);
    -webkit-text-size-adjust: 100%;
  }

  body {
    font-size: 15px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    font-size: 0.7rem;
    border-radius: 10px;
  }

  .logo-name {
    font-size: 0.78rem;
    max-width: 132px;
    line-height: 1.2;
  }

  .logo-tag {
    font-size: 0.62rem;
  }

  .header-inner {
    min-height: var(--header-h);
    gap: 0.5rem;
  }

  .nav-mobile {
    max-height: calc(100vh - var(--header-h) - env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem var(--page-pad) 1.25rem;
  }

  .nav-mobile a {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 1.75rem 0 2rem;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
    max-width: none;
    margin-bottom: 0.75rem;
  }

  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0.25rem;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    width: 100%;
    margin: 1.15rem 0 0.85rem;
  }

  .hero-ctas .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .hero-phone {
    font-size: 1rem;
    margin-bottom: 1.15rem;
  }

  .trust-badges {
    gap: 0.5rem;
  }

  .trust-badges li {
    font-size: 0.82rem;
    padding: 0.65rem 0.75rem;
  }

  .trust-strip {
    padding: 1rem 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .trust-item {
    padding: 0.55rem 0.15rem;
  }

  .trust-title {
    font-size: 0.86rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-header {
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .services-grid,
  .why-grid,
  .areas-grid,
  .reviews-grid,
  .property-cards {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .service-card,
  .why-card,
  .area-card {
    padding: 1.15rem 1rem;
  }

  .termite-grid,
  .residential-layout,
  .commercial-layout,
  .location-grid,
  .contact-grid {
    gap: 1.35rem;
  }

  .termite-copy .btn,
  .residential-copy .btn,
  .commercial-copy .btn,
  .location-actions .btn,
  .contact-quick .btn,
  .final-cta-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .location-actions,
  .contact-quick,
  .final-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .process-step {
    padding: 1.15rem 1rem;
  }

  .chip-list {
    gap: 0.4rem;
  }

  .chip-list li {
    font-size: 0.78rem;
    padding: 0.35rem 0.7rem;
  }

  .final-cta {
    padding: 2.75rem 0;
  }

  .final-cta h2 {
    font-size: 1.4rem;
  }

  .contact-form {
    padding: 1.25rem 1rem;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px; /* prevents iOS zoom */
    min-height: 48px;
    border-radius: 12px;
  }

  .form-field textarea {
    min-height: 110px;
  }

  .btn-lg {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }

  .faq-trigger {
    padding: 1rem 0.9rem;
    font-size: 0.92rem;
    gap: 0.75rem;
    min-height: 52px;
  }

  .map-placeholder {
    min-height: 220px;
    padding: 1.5rem 1rem;
  }

  .footer-cta-band {
    padding: 1.15rem 0;
  }

  .footer-cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-cta-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .footer-grid {
    gap: 1.75rem;
    padding-top: 2.25rem;
  }

  .footer-bottom-inner {
    gap: 0.85rem;
  }

  .sticky-contact {
    right: 12px;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .sticky-btn {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 380px) {
  .logo-name {
    max-width: 110px;
    font-size: 0.72rem;
  }

  .logo-tag {
    display: none;
  }

  .header-cta-mobile {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
