@import 'variables.css';

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-body);
  color: var(--color-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.text-center {
  text-align: center;
}

.justify-center {
  justify-content: center;
}

.items-center {
  align-items: center;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.white {
  color: white !important;
}

.white-90 {
  color: rgba(255, 255, 255, 0.9) !important;
}

.white-80 {
  color: rgba(255, 255, 255, 0.8) !important;
}

.white-70 {
  color: rgba(255, 255, 255, 0.7) !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Skeleton Loading State */
@keyframes skeleton-pulse {
  0% {
    background-color: rgba(255, 255, 255, 0.05);
  }

  50% {
    background-color: rgba(255, 255, 255, 0.1);
  }

  100% {
    background-color: rgba(255, 255, 255, 0.05);
  }
}

.hero__form-wrapper {
  background-color: transparent;
  border-radius: var(--radius-xl);
  /* min-height removed to prevent CLS pop */
}

.hero__form-wrapper iframe {
  background: transparent;
  opacity: 1;
}

.hero__form-wrapper iframe.loaded {
  opacity: 1;
}

.badge-light {
  background: var(--color-bg-light-gray) !important;
  color: var(--color-primary) !important;
}

/* Legal / Document Styles */
.legal-content {
  max-width: 850px;
  margin: 0 auto;
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  color: var(--color-text-body);
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  color: var(--color-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-content h1 {
  margin-top: 0;
  font-size: 2.5rem;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.legal-content p {
  margin-bottom: var(--space-md);
  color: #444;
}

.legal-content ul {
  list-style: disc;
  margin-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content li {
  margin-bottom: var(--space-xs);
  color: #444;
}

.legal-date {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  display: block;
}

@media (max-width: 768px) {
  .legal-content {
    padding: var(--space-lg);
  }

  .legal-content h1 {
    font-size: 2rem;
  }
}

.max-w-600 {
  max-width: 600px !important;
}

.max-w-700 {
  max-width: 700px !important;
}

.max-w-800 {
  max-width: 800px !important;
}

.mb-1 {
  margin-bottom: 1rem !important;
}

.mb-1-5 {
  margin-bottom: 1.5rem !important;
}

.mb-2 {
  margin-bottom: 2rem !important;
}

.mb-space-md {
  margin-bottom: var(--space-md) !important;
}

.footer__legal {
  margin-top: 1rem;
}

.mt-1 {
  margin-top: 1rem !important;
}

.mt-2 {
  margin-top: 2rem !important;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gap-8 {
  gap: 2rem;
}

.py-3xl {
  padding-top: 180px !important;
  padding-bottom: var(--space-3xl) !important;
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-accent {
  color: var(--color-accent-light) !important;
  -webkit-text-fill-color: var(--color-accent-light) !important;
}

/* Ensure accent text is visible in hero with text shadow */
.hero__title .text-accent {
  color: var(--color-accent-light) !important;
  -webkit-text-fill-color: var(--color-accent-light) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

@media (max-width: 992px) {
  .grid--2 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

@media (max-width: 768px) {

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 0.5rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }
}

.btn--primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--accent {
  background-color: var(--color-accent);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn--accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

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

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

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

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .btn--lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* --- Header --- */
.header {
  background-color: transparent;
  padding: var(--space-md) 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10001;
  /* Ensure header (and toggle) is above mobile nav */
  transition: all var(--transition-normal);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  /* Increase touch target */
  position: relative;
  z-index: 10002;
  /* Extra safety above header */
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary-dark);
  z-index: 10000;
  /* Above everything else (CTA bar is 9999) */
  padding: var(--space-3xl) var(--space-lg);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  visibility: hidden;
}



.header.scrolled {
  background-color: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-lg);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .header {
    padding-top: max(var(--space-sm), env(safe-area-inset-top));
    padding-bottom: var(--space-sm);
  }

  .header.scrolled {
    padding-top: max(var(--space-xs), env(safe-area-inset-top));
    padding-bottom: var(--space-xs);
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .header__inner {
    gap: var(--space-sm);
  }
}

.nav__list {
  display: flex;
  gap: var(--space-lg);
}

.nav__link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-normal);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active {
  color: white;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 65px !important;
  width: auto;
  transition: transform var(--transition-normal);
}

.header__logo:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .header__logo img {
    height: 65px !important;
  }
}

@media (max-width: 480px) {
  .header__logo img {
    height: 55px !important;
  }
}

.header__phone {
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.header__phone svg {
  flex-shrink: 0;
  display: block;
}

@media (max-width: 768px) {
  .header__phone {
    font-size: 0.85rem;
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  /* Increase touch target */
  position: relative;
  z-index: 1002;
  /* Ensure button itself is high including padding */
}

.menu-toggle__bar {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.menu-toggle.active .menu-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary-dark);
  z-index: 10000;
  /* Above everything else (CTA bar is 9999) */
  padding: var(--space-3xl) var(--space-lg);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  visibility: hidden;
}

.mobile-nav.active {
  transform: translateX(0);
  visibility: visible !important;
  display: block !important;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.mobile-nav__link {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
  color: var(--color-accent);
}

@media (max-width: 900px) {

  .nav,
  .header__actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
    z-index: 1002;
    position: relative;
  }

  .mobile-nav {
    display: block;
  }
}

/* --- Sticky Mobile CTA Bar --- */
.mobile-cta-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(20, 25, 20, 0.85);
  /* Deep forest dark pulse */
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  padding: 12px 16px;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.mobile-cta-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.mobile-cta-bar__btn--call {
  background-color: var(--color-primary);
  color: white !important;
}

.mobile-cta-bar__btn--book {
  background-color: var(--color-accent);
  color: white !important;
}

.mobile-cta-bar__btn:active {
  transform: scale(0.98);
}

.mobile-cta-bar .btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
  }

  /* Add padding to body to prevent content from being hidden behind the bar */
  body {
    padding-bottom: 80px;
  }
}


/* --- Impact Hero --- */
.hero {
  position: relative;
  padding-top: 180px;
  /* Added spacing for fixed header */
  padding-bottom: var(--space-3xl);
  background-color: var(--color-primary-dark);
  color: white;
  overflow: hidden;
  min-height: 800px;
  /* Increased min-height */
  display: flex;
  align-items: center;
}

/* Background Image */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/land-clearing-hero.png');
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}

/* Very transparent black overlay for text readability */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-3xl);
}

@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero__layout {
    gap: var(--space-lg);
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
  color: white !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: white !important;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.4);
  font-weight: 800;
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
  }

  .hero {
    min-height: 550px;
    padding-top: 140px !important;
    /* Mobile fixed header spacing */
    padding-bottom: var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
    line-height: 1.15;
  }

  .hero {
    min-height: 450px;
    padding-top: 130px !important;
    /* Small mobile fixed header spacing */
    padding-bottom: var(--space-xl);
  }
}

.hero__subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: var(--space-xl);
  max-width: 100%;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero__cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero__cta {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero__cta .btn {
    width: 100%;
  }
}

.hero__highlights {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero__highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero__highlight svg {
  width: 22px;
  height: 22px;
  fill: var(--color-accent-light) !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
  .hero__highlights {
    gap: 1rem;
    flex-direction: column;
    margin-top: 2rem;
  }
}

/* Hero Form */
.hero__form {
  position: relative;
  z-index: 1;
}

.hero__form-wrapper {
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  height: 100%;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__form-wrapper iframe {
  flex: 1;
  min-height: 550px;
  border-radius: var(--radius-md);
  border: none;
}

@media (max-width: 900px) {
  .hero__form {
    margin-top: var(--space-xl);
  }

  .hero__form-wrapper {
    min-height: 450px;
  }

  .hero__form-wrapper iframe {
    min-height: 450px;
  }
}

@media (max-width: 768px) {
  .hero__form-wrapper {
    padding: 0;
    min-height: 400px;
  }

  .hero__form-wrapper iframe {
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .hero__form-wrapper {
    padding: 0;
    min-height: 350px;
  }

  .hero__form-wrapper iframe {
    min-height: 350px;
  }
}

/* --- Bento Grid (Features) --- */
.section {
  padding: var(--space-3xl) 0;
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--space-xl) 0;
  }
}

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

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .section-header {
    margin-bottom: var(--space-lg);
  }
}

.section-header__label {
  display: block;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}

@media (max-width: 480px) {
  .section-header__label {
    font-size: 0.8rem;
  }
}

.section-header__title {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  .section-header__title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .section-header__title {
    font-size: 1.75rem;
  }
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.bento-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .bento-card {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .bento-card {
    padding: var(--space-md);
  }
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.bento-card:hover::before {
  transform: scaleX(1);
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.bento-card--featured {
  /* grid-column: span 2; Removed for symmetry (2x2 grid) */
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: white;
  border: none;
}

@media (max-width: 992px) {
  .bento-card--featured {
    grid-column: span 1;
  }
}

.bento-card--featured::before {
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}

.bento-card--featured .bento-card__title {
  color: white;
}

.bento-card--featured .bento-card__text {
  color: rgba(255, 255, 255, 0.95);
}

.bento-card--featured .bento-card__icon {
  fill: var(--color-accent);
}

.bento-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
  fill: var(--color-accent);
  transition: transform var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.bento-card__icon svg {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .bento-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-md);
  }

  .bento-card__icon svg {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 480px) {
  .bento-card__icon {
    width: 48px;
    height: 48px;
  }

  .bento-card__icon svg {
    width: 48px;
    height: 48px;
  }
}

.bento-card:hover .bento-card__icon svg {
  transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
}

.bento-card__title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  .bento-card__title {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .bento-card__title {
    font-size: 1.15rem;
  }
}

.bento-card__text {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .bento-card__text {
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
  }
}

.bento-card__link {
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
  margin-top: auto;
}

.bento-card__link:hover {
  color: var(--color-accent);
  gap: 0.75rem;
}

.bento-card--featured .bento-card__link {
  color: var(--color-accent-light);
}

.bento-card--featured .bento-card__link:hover {
  color: white;
}

/* --- Footer --- */
.footer {
  background-color: #000000;
  color: white;
  padding: var(--space-3xl) 0 var(--space-xl);
}

@media (max-width: 768px) {
  .footer {
    padding: var(--space-2xl) 0 var(--space-lg);
  }
}

@media (max-width: 480px) {
  .footer {
    padding: var(--space-xl) 0 var(--space-md);
  }
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
  }
}

.footer__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  color: white;
}

@media (max-width: 768px) {
  .footer__title {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
  }
}

.footer__links li {
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .footer__links li {
    margin-bottom: 0.5rem;
  }

  .footer__links a {
    font-size: 0.9rem;
  }
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
  }
}

/* Section with primary background */
.section--primary {
  background: linear-gradient(135deg, #1A3D1A 0%, #0D1F0D 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.section--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/land-clearing-hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: overlay;
  z-index: 0;
}

.section--primary>.container {
  position: relative;
  z-index: 1;
}

/* Gallery Image Cards */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-card:hover::after {
  opacity: 1;
}

/* Improved Image Handling */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* Icon Alignment */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Icons in flex containers */
li svg,
li>svg,
.flex svg,
[style*="display: flex"] svg {
  flex-shrink: 0;
  align-self: center;
  vertical-align: middle;
}

/* Icons in buttons */
.btn svg {
  flex-shrink: 0;
  vertical-align: middle;
  display: inline-block;
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity var(--transition-normal);
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Scroll Reveal Animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Typography */
@media (max-width: 768px) {
  .hero__subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: var(--space-md);
  }

  .section-header__label {
    font-size: 0.8rem;
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }
}

/* Improved Mobile Image Handling */
@media (max-width: 768px) {
  img {
    border-radius: var(--radius-lg);
  }

  .gallery-card {
    border-radius: var(--radius-lg);
  }
}

/* Better Mobile Spacing for Hero Badge */
@media (max-width: 768px) {
  .hero__badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.875rem;
    margin-bottom: var(--space-md);
  }
}

/* Improved Mobile Navigation */
@media (max-width: 900px) {
  .mobile-nav__list {
    gap: var(--space-md);
  }

  .mobile-nav__link {
    font-size: 1.1rem;
    padding: var(--space-sm) 0;
  }
}

@media (min-width: 901px) {
  .mobile-cta-bar {
    display: none !important;
  }
}

/* --- Reviews System --- */
.reviews-section-header {
  margin-bottom: 3rem;
}

.reviews-masonry {
  margin-bottom: 3rem;
}

.review-card {
  padding: 2rem;
  break-inside: avoid;
  margin-bottom: 2rem;
  display: inline-block;
  width: 100%;
}

.review-card__rating {
  margin-bottom: 1rem;
}

.review-card__image-wrapper {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.review-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.review-card__text {
  color: var(--color-dark-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A7C43 0%, #2D5A27 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.review-card__name {
  font-weight: 600;
  color: var(--color-dark-gray);
}

.review-card__location {
  font-size: 0.875rem;
  color: var(--color-medium-gray);
}

/* ========================================
   SERVICE AREAS - Premium City Grid
   ======================================== */

/* Container Grid */
.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .service-areas-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .service-areas-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
}

/* Base Service Area Card */
.service-area-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-dark-gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.service-area-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.service-area-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(74, 124, 67, 0.15);
  border-color: var(--color-primary);
}

.service-area-item:hover::before {
  transform: scaleY(1);
}

/* Icon styling */
/* Base Card - Used in City Pages */
.card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(74, 124, 67, 0.12);
  border-color: var(--color-primary);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: rgba(74, 124, 67, 0.1);
  color: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.service-area-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.service-area-item:hover .service-area-item__icon {
  transform: scale(1.15);
}

.service-state-section {
  margin-bottom: 3rem;
}

.state-title {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
  color: var(--color-primary);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Rome - Primary Highlight */
.service-area-item--rome {
  background: linear-gradient(135deg, var(--color-primary) 0%, #3d6837 100%);
  color: white;
  border-color: transparent;
  grid-column: span 2;
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.service-area-item--rome::before {
  display: none;
}

.service-area-item--rome .service-area-item__icon {
  color: white;
  width: 28px;
  height: 28px;
}

.service-area-item--rome:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 32px rgba(74, 124, 67, 0.3);
}

/* Alabama Styling */
.service-area-item--alabama {
  border: 2px dashed var(--color-primary);
  background: rgba(74, 124, 67, 0.03);
}

.service-area-item--alabama:hover {
  background: rgba(74, 124, 67, 0.08);
}

/* More Cities CTA */
.service-area-item--more {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-weight: 700;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  cursor: default;
}

.service-area-item--more::before {
  display: none;
}

.service-area-item--more .service-area-item__icon {
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

/* Hero Badge Fix - Smaller checkmark, proper styling */
.hero__trust-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: white !important;
  /* Force white for hero context */
}

/* Thank You Page */
.thank-you-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.thank-you-steps {
  text-align: left;
  margin-top: 2rem;
}

.thank-you-step {
  margin-bottom: 1.5rem;
}

.thank-you-urgent {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
}

.thank-you-more {
  margin-top: 3rem;
}

.header__logo img {
  height: 65px;
}

.footer__legal-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

/* Utility / Page Content */
.h-65 {
  height: 65px;
}

.text-medium-gray {
  color: var(--color-medium-gray);
}

.max-w-700 {
  max-width: 700px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-3 {
  margin-top: 3rem;
}

.grid-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-responsive-sm {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer__legal-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer__legal-separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0.5rem;
}

.footer__legal-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer__legal-link:hover {
  text-decoration: underline;
  color: white;
}

.text-white {
  color: white;
}

.text-white-90 {
  color: rgba(255, 255, 255, 0.9);
}

.text-white-70 {
  color: rgba(255, 255, 255, 0.7);
}

.text-white-60 {
  color: rgba(255, 255, 255, 0.6);
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5);
}

.no-decoration {
  text-decoration: none;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-date {
  color: var(--color-medium-gray);
  margin: 1rem 0 2rem;
}

.legal-list {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-contact {
  margin-top: 1rem;
}

.pt-fixed-header {
  padding-top: calc(72px + 3rem);
}

.fw-600 {
  font-weight: 600;
}

.text-dark-gray {
  color: var(--color-dark-gray);
}

.text-medium-gray {
  color: var(--color-medium-gray);
}

/* Footer Inline Replacements */
.footer__contact-info {
  margin-top: 1rem;
  text-align: center;
}

.footer__contact-list {
  justify-content: center;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.list-nowrap {
  white-space: nowrap;
}

.white-70 {
  color: rgba(255, 255, 255, 0.7);
}

.list-white {
  color: white;
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mobile-nav__cta-container {
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.img-feature {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.items-center {
  align-items: center;
}

.gap-4xl {
  gap: 4rem;
}

.fs-3xl {
  font-size: 3rem;
}

.fs-2rem {
  font-size: 2rem;
}

.mb-1-5 {
  margin-bottom: 1.5rem;
}

.flex-row {
  flex-direction: row;
}

.gap-md {
  gap: var(--space-md);
}

.p-lg {
  padding: var(--space-lg);
}

.bento-icon {
  margin: 0;
  width: 40px;
  height: 40px;
}

.bento-card-clean {
  padding: 0;
  overflow: hidden;
  min-height: 800px;
}

.iframe-full {
  width: 100%;
  height: 100%;
  min-height: 800px;
  border: none;
}

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

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-700 {
  max-width: 700px;
}

.fs-0-9 {
  font-size: 0.9rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-1 {
  margin-top: 1rem;
}

.white-90 {
  color: rgba(255, 255, 255, 0.9);
}

.white-60 {
  color: rgba(255, 255, 255, 0.6);
}

.white-50 {
  color: rgba(255, 255, 255, 0.5);
}

.justify-center {
  justify-content: center;
}

.mx-0-5 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.fs-0-875 {
  font-size: 0.875rem;
}

.no-underline {
  text-decoration: none;
}

.max-w-600 {
  max-width: 600px;
}

.max-w-800 {
  max-width: 800px;
}

.mt-0-5 {
  margin-top: 0.5rem;
}

/* ========================================
   UI ENHANCEMENTS - Added Feb 2026
   ======================================== */

/* --- Additional Utility Classes --- */
.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.gap-4 {
  gap: var(--space-xl);
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.white {
  color: white !important;
}

.white-80 {
  color: rgba(255, 255, 255, 0.8) !important;
}

.fs-2-5 {
  font-size: 2.5rem;
}

.line-height-1-8 {
  line-height: 1.8;
}

.text-body {
  color: var(--color-text-body);
}

.list-disc {
  list-style: disc;
  padding-left: 1.5rem;
}

.list-decimal {
  list-style: decimal;
  padding-left: 1.5rem;
}

.mb-0-5 {
  margin-bottom: 0.5rem;
}

.mb-space-md {
  margin-bottom: var(--space-md);
}

.py-3xl {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

/* --- Hero Floating Badge Animation --- */
.hero__badge {
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* --- Text Gradient Accent --- */
.text-accent {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Enhanced Button Glow --- */
.btn--primary:hover,
.btn--accent:hover {
  box-shadow:
    var(--shadow-lg),
    0 0 30px rgba(74, 124, 67, 0.35);
}

/* --- Bento Card Icon Enhancement --- */
.bento-card__icon {
  transition: all var(--transition-smooth);
}

.bento-card:hover .bento-card__icon {
  transform: scale(1.15) rotate(8deg);
  filter: drop-shadow(0 4px 12px rgba(74, 124, 67, 0.25));
}

.bento-card:hover .bento-card__icon svg {
  transform: translate(-50%, -50%) scale(1.1);
}

/* --- Enhanced Bento Card Glow --- */
.bento-card:hover {
  box-shadow:
    var(--shadow-xl),
    0 0 50px rgba(74, 124, 67, 0.08);
}

/* --- Content Box Styling (Service Pages) --- */
.content-box-highlight {
  background: linear-gradient(135deg,
      rgba(74, 124, 67, 0.04),
      rgba(45, 90, 39, 0.07));
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.content-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.content-box-text {
  color: var(--color-text-body);
  margin-bottom: var(--space-md);
}

.content-box-grid {
  display: grid;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
}

.content-box-grid li {
  color: var(--color-text-body);
  line-height: 1.6;
}

/* --- Process List Styling --- */
.process-list {
  counter-reset: process-step;
  list-style: none;
  padding-left: 0;
}

.process-list li {
  counter-increment: process-step;
  position: relative;
  padding-left: 2.75rem;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.process-list li::before {
  content: counter(process-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

/* --- Mobile CTA Bar Enhancement --- */
.mobile-cta-bar {
  background: linear-gradient(to top, white 0%, rgba(255, 255, 255, 0.98) 100%);
  border-top: 3px solid var(--color-primary);
}

.mobile-cta-bar__btn:active {
  transform: scale(0.95);
  transition: transform 80ms ease;
}

/* --- About Hero Image Styling --- */
.about-hero-image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  width: 100%;
  max-height: 500px;
}

/* --- Section Header Titles White --- */
.section--primary .section-header__title,
.section--primary h1,
.section--primary h2 {
  color: white !important;
}

/* --- Performance Optimizations ---
   NOTE: content-visibility:auto + a fixed contain-intrinsic-size was
   collapsing every below-the-fold section to a 500px placeholder, which
   broke SEO previews, headless screenshots, IntersectionObserver-driven
   reveals, and any tall section (gallery, FAQ, etc). Disabled. The (small)
   perf win is not worth shipping content that the browser refuses to
   render until scroll. */
.section:not(.hero) {
  content-visibility: visible;
}

.bento-card,
.btn,
.hero__badge {
  will-change: transform;
}

/* --- Reduced Motion Support --- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__badge {
    animation: none;
  }
}

/* --- Smooth Scroll Reveal --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


.white {
  color: white;
}

.items-start {
  align-items: flex-start;
}

.mb-3 {
  margin-bottom: 3rem;
}

.gap-4rem {
  gap: 4rem;
}

.mb-0-25 {
  margin-bottom: 0.25rem;
}

.fs-1-25rem {
  font-size: 1.25rem;
}

.fw-700 {
  font-weight: 700;
}

.text-primary {
  color: var(--color-primary);
}

.fs-1-1rem {
  font-size: 1.1rem;
}

.iframe-contact {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 3px;
}

.badge-primary {
  color: white;
  background-color: var(--color-primary);
}

.fs-2-5rem {
  font-size: 2.5rem;
}

.text-body {
  color: var(--color-text-body);
}

.grid-list {
  display: grid;
  gap: 1rem;
}

.gap-sm {
  gap: 0.5rem;
}

.items-center {
  align-items: center;
}

.flex-col {
  flex-direction: column;
}

.gap-1 {
  gap: 1rem;
}

/* --- Feature Badge (Why Choose Us) --- */
.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.my-1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* --- Check List Styling --- */
.check-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  line-height: 1.5;
}

.check-list svg {
  flex-shrink: 0;
}

/* --- Why Choose Us Section --- */
.why-section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-section-text {
  margin-bottom: 2rem;
  color: var(--color-text-body);
}

/* --- Services Index Page Styles --- */
.service-hero {
  background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.7)), url('../images/commercial-landscaping-1.jpg');
  background-size: cover;
  background-position: center;
  padding: 180px 0 100px;
  /* Offset for fixed header */
  color: white;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1.1;
  color: white;
}

.service-hero__text {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.service-card {
  padding: 0 !important;
  /* Override standard .card padding to allow full-width image */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card__image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-card__image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__image-container img {
  transform: scale(1.08);
}

.service-card__content {
  padding: var(--space-xl);
  flex-grow: 1;
}

.service-list {
  list-style: none;
  margin: var(--space-lg) 0;
  padding: 0;
}

.service-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-body);
  font-size: 0.95rem;
  line-height: 1.4;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 900;
}

/* Gradients for Service Cards */
.bg-gradient-clearing {
  background: linear-gradient(135deg, var(--color-primary) 0%, #4a7c43 100%);
}

.bg-gradient-grading {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #455a64 100%);
}

.bg-gradient-walls {
  background: linear-gradient(135deg, #1a3d1a 0%, var(--color-primary) 100%);
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-primary);
  /* Brand Color */
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.card__text {
  font-size: 1rem;
  color: var(--color-text-body);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.bg-accent {
  background: var(--color-accent) !important;
}

@media (max-width: 768px) {
  .service-hero {
    padding: 140px 0 60px;
  }
}
/* === City link grid (homepage internal SEO block) === */
.city-link-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
}
.city-link-grid li a {
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  color: #222;
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 0.2s, transform 0.2s;
}
.city-link-grid li a:hover {
  border-color: var(--color-accent, #B8860B);
  transform: translateY(-2px);
}

/* === FAQ accordion (homepage, mirrors FAQPage schema) === */
.faq-list { display: grid; gap: 0.5rem; }
.faq-list details {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  background: #fff;
}
.faq-list details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}
.faq-list details summary::-webkit-details-marker { display: none; }
.faq-list details summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  color: var(--color-accent, #B8860B);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  margin-top: 0.75rem;
  color: #444;
  line-height: 1.6;
}
.faq-section-narrow { max-width: 900px; }

/* === Before & After project gallery === */
.ba-pair { margin-top: 2.5rem; }
.ba-pair:first-of-type { margin-top: 1rem; }
.ba-pair__header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.ba-pair__num {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--color-accent, #B8860B);
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(184, 134, 11, 0.1);
}
.ba-pair__title {
  font-size: 1.4rem;
  margin: 0;
  line-height: 1.2;
  color: var(--color-heading, #1a1a1a);
}
.ba-pair__desc {
  color: #555;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}
.ba-pair__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ba-frame {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  background: #f5f5f5;
  aspect-ratio: 3 / 2;
}
.ba-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-frame--placeholder {
  background:
    repeating-linear-gradient(
      45deg,
      #f0f0f0 0,
      #f0f0f0 12px,
      #e8e8e8 12px,
      #e8e8e8 24px
    );
}
.ba-frame--placeholder::after {
  content: 'Awaiting render';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
}
.ba-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.ba-tag--before {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.3);
}
.ba-tag--after {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.3);
}
@media (max-width: 768px) {
  .ba-pair__grid { grid-template-columns: 1fr; }
  .ba-pair__title { font-size: 1.15rem; }
}

/* ============================================================
   GLOBAL SAFETY NET (applied site-wide, every page inherits)
   ============================================================ */

/* Sections must always grow to contain their children, never clip */
.section,
.section > .container {
  min-height: 0;
  height: auto;
  overflow: visible;
}

/* Scroll-reveal must never trap content invisible.
   Default to visible. Real users with JS still get the smooth fade
   because main.js sets the initial inline opacity right before
   IntersectionObserver fires; this CSS just makes sure that if JS
   never runs (SEO crawlers, slow nets, errors, headless renderers),
   content is shown rather than hidden behind opacity 0. */
.scroll-reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1 !important; transform: none !important; }
}

