/* =========================================================
   Bulldog Land Management — design system
   Palette: Mississippi State maroon + charcoal, warm off-white.
   ========================================================= */

:root {
  --color-primary: #660000;
  --color-primary-light: #8a2e2e;
  --color-primary-dark: #4a0000;
  --color-accent: #8b1a1a;
  --color-land: #262626;
  --color-land-light: #4d4d4d;
  --color-land-bg: #ececec;
  --color-bg: #f7f5f0;
  --color-bg-alt: #eee9df;
  --color-surface: #ffffff;
  --color-text: #221d1a;
  --color-text-light: #5c554e;
  --color-border: #ded7c9;
  --color-white: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(20, 12, 8, 0.06);
  --shadow: 0 10px 30px rgba(20, 12, 8, 0.10);
  --shadow-lg: 0 20px 50px rgba(20, 12, 8, 0.16);
  --max-width: 1180px;
  --font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

a[href^="mailto"] {
  overflow-wrap: break-word;
  word-break: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Icons ---------- */

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(139, 26, 26, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(139, 26, 26, 0.42);
  background: #a11f1f;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 1px 0 rgba(20, 12, 8, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--color-text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta .btn {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Seasonal banner ---------- */

.seasonal-banner {
  background: var(--color-land);
  color: var(--color-white);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
  letter-spacing: 0.01em;
}

.seasonal-banner .icon {
  vertical-align: -2px;
  margin-right: 4px;
}

.seasonal-banner:empty {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 52%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding: 0;
  overflow: hidden;
}

.hero-terrain {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: auto;
  opacity: 0.35;
  color: var(--color-white);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 88px 24px 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.13rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.badge-inline .icon {
  color: #e8b84b;
}

/* Hero visual panel (stands in for a jobsite photo until real photography is supplied) */
.hero-visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px),
    rgba(0,0,0,0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Drop a real photo in later: <img class="hero-photo" src="..." alt="..." loading="eager">
   as the first child of .hero-visual, in place of .brand-emblem. It fills the same
   panel (same radius/border/shadow/aspect-ratio) with no layout changes required. */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Optional brand-tint overlay to keep hero photos consistent with the maroon palette
   and to protect text/button contrast if copy is ever placed over the image directly.
   Add <div class="hero-photo-overlay"></div> right after .hero-photo when needed. */
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(74, 0, 0, 0.35), rgba(0, 0, 0, 0.15) 60%);
}

.brand-emblem {
  position: relative;
  width: 62%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-emblem-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.brand-emblem-ring::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.brand-emblem-mark {
  width: 54%;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
}

.brand-emblem-label {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Page hero (interior pages) ---------- */

/* Interior-page hero: same dark gradient + terrain divider as the homepage
   hero, single centered column instead of the two-column split. Keeps
   Services/Contact visually part of the same brand as the homepage. */
.hero--compact .hero-grid {
  grid-template-columns: 1fr;
  max-width: 720px;
  padding: 68px 24px 56px;
  text-align: center;
}

.hero--compact .hero-copy {
  margin: 0 auto;
}

.hero--compact .hero-actions,
.hero--compact .hero-trust {
  justify-content: center;
}

.hero--compact p {
  margin-left: auto;
  margin-right: auto;
}

.hero--compact h1 {
  font-size: clamp(2rem, 4.4vw, 2.9rem);
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-item .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item .icon-wrap .icon {
  width: 22px;
  height: 22px;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
}

.trust-item span {
  color: var(--color-text-light);
  font-size: 0.85rem;
}

/* ---------- Sections ---------- */

section {
  padding: 88px 24px;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  color: var(--color-primary);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
}

.section-head p {
  color: var(--color-text-light);
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 28px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card-icon .icon {
  width: 24px;
  height: 24px;
}

/* ---------- Cross-sell banner (services page: ties two categories together) ---------- */

.crosssell {
  background: var(--color-land);
}

.crosssell-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 24px;
  max-width: 880px;
  margin: 0 auto;
}

.crosssell-inner .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.crosssell-inner .icon-wrap .icon {
  width: 22px;
  height: 22px;
}

.crosssell-inner p {
  margin: 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.crosssell-inner strong {
  color: #fff;
}

@media (max-width: 640px) {
  .crosssell-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}

/* ---------- Differentiator (One Crew, Two Trades) ---------- */

.differentiator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.differentiator-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-land);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.differentiator-visual svg {
  width: 78%;
  height: auto;
  color: rgba(255, 255, 255, 0.9);
}

.differentiator-copy h2 {
  color: var(--color-primary);
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
}

.differentiator-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.differentiator-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.differentiator-list .icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.differentiator-list .icon-wrap .icon {
  width: 16px;
  height: 16px;
}

.differentiator-list .icon-wrap.icon-wrap-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

.differentiator-list strong {
  display: block;
  margin-bottom: 2px;
}

.differentiator-list span {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ---------- Service detail blocks ---------- */

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block.reverse .service-media {
  order: 2;
}

.service-media {
  position: relative;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  overflow: hidden;
  border: 1px dashed var(--color-border);
}

/* Drop a real jobsite photo in later: <img class="service-photo" src="..." alt="..."
   loading="lazy"> as the first child, then remove the placeholder <svg> and
   .media-label. Same aspect-ratio/radius/border on every service block keeps a
   consistent, gallery-like crop across the page once photography is in place. */
.service-media.has-photo {
  border-style: solid;
}

.service-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Photo rotator: when a service has more than one good photo, stack them in
   the same slot and auto-crossfade between them (js/main.js). No arrows or
   dots — the rotation itself is the only interaction. Falls back to showing
   just the first photo, statically, if prefers-reduced-motion is set. */
.rotator-slide {
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}

.rotator-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.service-media svg {
  width: 40%;
  height: auto;
  color: var(--color-land-light);
  opacity: 0.5;
}

.service-media .media-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.service-media .media-label .icon {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

.service-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  opacity: 0.6;
  margin-bottom: 10px;
}

.service-copy h3 {
  color: var(--color-primary);
  font-size: 1.5rem;
}

.service-copy ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.service-copy ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-light);
}

.service-copy ul li .icon {
  color: var(--color-primary);
  width: 16px;
  height: 16px;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-dark));
  color: var(--color-white);
  text-align: center;
  padding: 72px 24px;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card,
.form-card {
  min-width: 0;
}

.contact-info-card a,
.contact-team-list a {
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  min-width: 0;
}

.contact-info-card h2 {
  color: var(--color-primary);
}

.card-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 28px 0 24px;
}

.next-steps-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 18px;
}

.contact-info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info-row .icon-wrap {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-row .icon-wrap .icon {
  width: 18px;
  height: 18px;
}

.contact-info-row strong {
  display: block;
}

.contact-team-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.contact-team-list li {
  margin-bottom: 4px;
}

.map-embed {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-embed iframe {
  display: block;
}

.form-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}

.form-card h2 {
  color: var(--color-primary);
}

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

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(102, 0, 0, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-note .icon {
  color: var(--color-primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

#form-success {
  display: flex;
  align-items: center;
  gap: 10px;
}

#form-success .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #161616;
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 24px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h3 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid a:hover {
  color: var(--color-white);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-badge .icon {
  width: 14px;
  height: 14px;
  color: #c98a3e;
}

a.footer-badge,
a.badge-inline {
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

a.footer-badge:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

a.badge-inline:hover {
  background: rgba(255, 255, 255, 0.22);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

/* ---------- Category tiles (homepage "What We Do") ---------- */

.category-tile {
  display: block;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--color-text);
  border-top: 4px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-tile h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.category-tile p {
  color: var(--color-text-light);
}

.category-tile--land {
  border-top-color: var(--color-land);
}

.category-tile--land .card-icon {
  background: var(--color-land-bg);
  color: var(--color-land);
}

.category-tile--land .tile-link {
  color: var(--color-land);
}

.category-tile--lawn {
  border-top-color: var(--color-primary);
}

.category-tile--lawn .card-icon {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.category-tile--lawn .tile-link {
  color: var(--color-primary);
}

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.92rem;
}

.tile-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.category-tile:hover .tile-link .icon {
  transform: translateX(4px);
}

/* ---------- Services page: group headers ---------- */

.services-group-head.group-land h2 {
  color: var(--color-land);
}

.services-group-head.group-lawn h2 {
  color: var(--color-primary);
}

.service-block.group-land .service-copy h3 {
  color: var(--color-land);
}

.service-block.group-land .service-number {
  color: var(--color-land);
  opacity: 0.55;
}

.service-block.group-land .service-copy ul li .icon {
  color: var(--color-land);
}

.service-block.group-land .service-media {
  background: var(--color-land-bg);
}

.service-block.group-land .service-media svg {
  color: var(--color-land-light);
}

/* ---------- Multi-step quote form ---------- */

.quote-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.step-dot.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.step-dot.done {
  background: var(--color-accent);
  color: var(--color-white);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--color-bg-alt);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: step-in 0.3s var(--ease);
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-label {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.quote-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.quote-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.quote-option:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary-light);
}

.quote-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quote-option-icon {
  width: 30px;
  height: 30px;
  color: var(--color-primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-option small {
  color: var(--color-text-light);
  font-size: 0.8rem;
}

.quote-option:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-bg-alt);
}

.quote-option:has(input:focus-visible) {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.step-actions .btn {
  flex: 1;
}

.step-hint {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.85rem;
  margin: 4px 0 0;
}

/* ---------- Sticky mobile CTA bar ---------- */

.mobile-cta-bar {
  display: none;
}

/* ---------- Scroll reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }
  .hero-visual {
    aspect-ratio: 16 / 9;
    order: -1;
  }
  .trust-strip .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .service-block,
  .service-block.reverse { grid-template-columns: 1fr; }
  .service-block.reverse .service-media { order: 0; }
  .differentiator { grid-template-columns: 1fr; }
  .differentiator-visual { order: -1; min-height: 240px; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta .btn-outline-dark {
    display: none;
  }

  .grid-2 { grid-template-columns: 1fr; }

  .trust-strip .container { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  section { padding: 60px 20px; }

  .hero-grid { padding: 44px 20px 40px; }

  .form-card { padding: 28px 22px; }

  .contact-info-card { padding: 26px 22px; }

  /* Sticky bottom CTA bar for mobile — keeps Call + Free Quote reachable
     since the header quote button is hidden behind the hamburger menu. */
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -6px 20px rgba(20, 12, 8, 0.10);
  }

  .mobile-cta-bar .btn {
    flex: 1;
    padding: 13px 16px;
    font-size: 0.92rem;
  }

  body {
    padding-bottom: 68px;
  }
}

@media (max-width: 640px) {
  .quote-options {
    grid-template-columns: 1fr;
  }
  .logo-img {
    height: 46px;
  }
}
