/*
Theme Name: Aone Buffalo Tree & Landscaping
Theme URI: https://aonetreeservicelandscapingbuffalo.com/
Author: Aone Team
Description: Custom premium WordPress theme for Aone Tree Services & Landscaping Buffalo NY.
Version: 1.6.0
Text Domain: aone-buffalo
*/

/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --dark-bg: #093315;
  --primary-blue: #1d4ed8;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --transition-normal: 0.3s ease;

  /* Colors */
  --primary-green: #093315;     /* Dark Forest Green for Top Bar & Footer */
  --accent-green: #27601e;      /* Buttons and active links */
  --bright-green: #3e8e23;      /* "TREE SERVICES" text highlight */
  --blue-grad-start: #113661;   /* Snow section start */
  --blue-grad-end: #0947a1;     /* Snow section end */
  
  --light-bg: #f8fafc;
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-light: #f8fafc;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Details */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition: 0.2s ease-in-out;

  /* Cinematic pass */
  --cine-black: #0b0e11;
  --cine-amber: #e8a33d;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1750px;
  margin: 0 auto;
  padding: 0 40px;
}

.text-center { text-align: center; }
.mt-5 { margin-top: 3rem; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  border: none;
}

.btn i { font-size: 1.1em; }

.btn-primary {
  background-color: var(--accent-green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-green);
}

.btn-outline {
  background-color: #111111;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.btn-white {
  background-color: var(--white);
  color: var(--blue-grad-end);
}

.btn-white:hover {
  background-color: #f1f5f9;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background-color: #000000;
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-phone {
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-bar-phone:hover {
  color: #facc15;
}

.top-bar-item i {
  color: var(--bright-green);
  margin-right: 5px;
}

.top-socials {
  display: flex;
  gap: 12px;
}

.top-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--white);
  color: var(--primary-green);
  border-radius: 50%;
  font-size: 0.75rem;
}

.top-socials a:hover {
  background-color: var(--bright-green);
  color: var(--white);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo-area {
  position: relative;
  display: flex;
  align-items: center;
}

.logo-glow {
  display: none;
}

.header-logo {
  max-width: 140px;
  margin-top: 15px;
  margin-bottom: -35px; /* Creates the overhang downwards */
  position: relative;
  z-index: 10;
}

.desktop-nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  text-transform: uppercase;
  position: relative;
  padding: 10px 0;
}

.nav-link.active, .nav-link:hover {
  color: var(--accent-green);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-green);
}

.menu-item-has-children {
  position: relative;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  flex-direction: column;
  padding: 10px 0;
  border-radius: var(--radius-sm);
}

.menu-item-has-children:hover .sub-menu {
  display: flex;
}

.sub-menu li a {
  padding: 10px 20px;
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
}

.sub-menu li a:hover {
  background-color: var(--light-bg);
  color: var(--accent-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-icon {
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  font-size: 1rem;
}

.phone-text {
  display: flex;
  flex-direction: column;
}

.phone-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
}

.phone-number {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-green);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 700px;
  background: url('assets/hero_mixed_services.webp') 60% center/cover no-repeat;
}

.hero-overlay-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 150px; /* extra padding to make room for absolute trust bar */
}

.hero-content {
  max-width: 800px;
}

.hero-card-wrapper {
  width: 450px;
  flex-shrink: 0;
}

.hero-badge-top {
  display: inline-block;
  background-color: var(--accent-green);
  color: var(--white);
  padding: 6px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title .text-highlight {
  color: #4ade80;
}

.hero-description {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 600px;
  margin-bottom: 40px;
}

.btn-hero-phone {
  background-color: var(--accent-green);
  color: var(--white);
  font-size: 1.1rem;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-ctas .btn {
  white-space: nowrap;
}

/* Estimate Form */
.hero-form-outer {
  background-color: #091a2b;
  border-radius: var(--radius-md);
  border: 3px solid #fff;
  position: relative;
  padding: 3px;
  box-shadow: var(--shadow-lg);
}

.form-leaf-decor {
  position: absolute;
  top: -10px;
  right: -10px;
  color: #4ade80;
  font-size: 2.2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  z-index: 10;
}

.card-header-dark {
  color: var(--white);
  padding: 25px 20px;
  text-align: center;
}

.card-header-dark h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.card-header-dark p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.quick-contact-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.card-form {
  padding: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.card-form input, .card-form select, .card-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: #f8fafc;
}

.card-form input:focus, .card-form select:focus, .card-form textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(39, 96, 30, 0.1);
}

.btn-submit-request {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  margin-top: 10px;
}

.privacy-note {
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 15px;
}

.privacy-note i {
  color: var(--text-dark);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 80px 0;
  background-color: var(--white);
}

.section-subtitle {
  display: block;
  color: var(--accent-green);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.services-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-card-new {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 30px 15px;
  text-align: center;
  background-color: var(--white);
  transition: all var(--transition);
}

.service-card-new:hover {
  border-color: var(--accent-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.service-icon-new {
  font-size: 2.5rem;
  color: var(--accent-green);
  margin-bottom: 15px;
}

.service-card-new h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.service-card-new p {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
}

/* ==========================================================================
   EQUIPMENT SECTION (SLANTED)
   ========================================================================== */
.equipment-section {
  background-color: var(--primary-green);
  color: var(--white);
  overflow: hidden;
}

.equipment-container {
  display: flex;
  align-items: stretch;
  padding: 0;
}

.equipment-content {
  flex: 0 0 35%;
  padding: 60px 40px 60px 20px;
}

.equipment-subtitle {
  color: var(--bright-green);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.equipment-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
}

.equipment-list li {
  margin-bottom: 15px;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.equipment-list li i {
  color: var(--bright-green);
  margin-top: 4px;
}

.equipment-images {
  flex: 1;
  display: flex;
}

.eq-image-col {
  flex: 1;
  position: relative;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  margin-left: -15%;
  transition: transform var(--transition);
}

.eq-image-col:first-child {
  margin-left: -5%;
}

.eq-image-col:hover {
  transform: scale(1.05);
  z-index: 10;
}

.eq-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.eq-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--accent-green);
  color: var(--white);
  text-align: center;
  padding: 10px 0;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* ==========================================================================
   SNOW PLOWING SECTION
   ========================================================================== */
.snow-feature-section {
  background: linear-gradient(90deg, var(--blue-grad-start) 0%, var(--blue-grad-end) 100%);
  color: var(--white);
}

.snow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.snow-image {
  flex: 0 0 30%;
}

.snow-image img {
  width: 100%;
  height: auto;
}

.snow-content {
  flex: 1;
  padding: 40px 0;
}

.snow-subtitle {
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
  color: #93c5fd;
}

.snow-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
}

.snow-list {
  flex: 1;
  padding: 40px 0;
}

.snow-list ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.snow-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
}

.snow-list li i {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.snow-cta {
  flex: 0 0 auto;
  padding: 40px 0;
}

/* ==========================================================================
   PROJECTS & REVIEWS
   ========================================================================== */
.projects-reviews-section {
  padding: 80px 0;
  background-color: var(--white);
}

.pr-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.pr-subtitle {
  color: var(--accent-green);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.recent-projects h2, .google-reviews h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.projects-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.review-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.google-logo {
  height: 40px;
}

.rating-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.rating-stars i {
  color: #fbbc05;
  font-size: 1.2rem;
}

.rating-text {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 5px;
}

.review-card {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 30px;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 2rem;
  color: rgba(39, 96, 30, 0.1);
}

.review-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-indent: 40px;
}

.review-author {
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--primary-green);
  color: var(--white);
  padding-top: 60px;
}

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

.footer-logo img {
  max-width: 160px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
}

.footer-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
}

.footer-socials a:hover {
  background-color: var(--accent-green);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
}

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

.footer-col ul li a {
  color: #cbd5e1;
  font-size: 0.85rem;
}

.footer-col ul li a:hover {
  color: var(--bright-green);
}

.footer-col-areas p {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col-areas a {
  color: #cbd5e1;
  text-decoration: underline;
  text-decoration-color: rgba(203, 213, 225, 0.35);
  text-underline-offset: 2px;
}

.footer-col-areas a:hover {
  color: var(--bright-green);
  text-decoration-color: currentColor;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: #cbd5e1;
  font-size: 0.85rem;
}

.footer-contact-item i {
  color: var(--white);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-links a {
  margin-left: 15px;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE OVERRIDES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-trust-badges { justify-content: center; flex-wrap: wrap; }
  .hero-ctas { justify-content: center; }
  .hero-title { font-size: 3rem; }
  .services-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .equipment-container { flex-direction: column; }
  .eq-image-col { min-height: 250px; clip-path: none; margin: 0; }
  .equipment-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 20px; }
  .snow-container { flex-wrap: wrap; text-align: center; }
  .pr-container { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .header-actions .header-phone, .header-actions .btn-header-estimate { display: none; }
  .desktop-nav { display: none; }
  .mobile-toggle { display: flex; }
  .hero-title { font-size: 2.2rem; }
  .services-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr; }
}
/* Mobile Menu & Sub Menu Fixes */
.sub-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  flex-direction: column;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  z-index: 9999;
}
.menu-item-has-children:hover .sub-menu {
  display: flex !important;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--dark-bg);
  z-index: 10000;
  overflow-y: auto;
  padding: 90px 30px 40px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.35);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
body.overflow-hidden {
  overflow: hidden;
}
.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav .mobile-link {
  display: block;
  padding: 14px 2px;
  color: #f8fafc;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav .mobile-link:hover,
.mobile-nav .mobile-link:active {
  color: var(--bright-green);
}
.mobile-contact-info {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-contact-info .btn.w-full {
  width: 100%;
  justify-content: center;
}
.mobile-email {
  color: #cbd5e1;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   HERO TRUST BAR & MISC
   ========================================================================== */
.hero-trust-bar {
  background-color: var(--primary-green);
  padding: 15px 0;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-trust-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.trust-icon {
  font-size: 2.2rem;
  color: #facc15;
}
.trust-text-stack {
  display: flex;
  flex-direction: column;
}
.trust-text-stack strong {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  line-height: 1.2;
}
.trust-text-stack span {
  color: #cbd5e1;
  font-size: 0.8rem;
  line-height: 1.3;
}
.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
  font-size: 0.8rem;
  color: #64748b;
}
@media (max-width: 992px) {
  .hero-trust-container {
    flex-wrap: wrap;
  }
  .trust-item {
    min-width: 250px;
    margin-bottom: 15px;
  }
}

/* ==========================================================================
   GENERATED LANDING PAGES, CORE PAGES & FORMS
   ========================================================================== */
.aone-generated-content {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.75;
}

.aone-generated-content > * + * {
  margin-top: 1.15rem;
}

.aone-generated-content .aone-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

.aone-generated-content h2 {
  margin-top: 2.25rem;
  color: var(--primary-green);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
}

.aone-generated-content h3 {
  margin-top: 1.4rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.aone-generated-content a:not(.btn) {
  color: var(--accent-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aone-check-list,
.aone-process-list {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 1.5rem;
  padding: 0;
}

.aone-check-list li,
.aone-process-list li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.6rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  background: #f8fafc;
}

.aone-check-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: var(--accent-green);
  font-weight: 800;
}

.aone-process-list {
  counter-reset: aone-step;
}

.aone-process-list li {
  counter-increment: aone-step;
}

.aone-process-list li::before {
  content: counter(aone-step);
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--accent-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.aone-landing-form {
  margin: 2.5rem 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #dbe4dc;
  border-top: 5px solid var(--accent-green);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.aone-landing-form h3 {
  margin-top: 0;
  color: var(--primary-green);
  font-size: 1.55rem;
}

.aone-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.aone-form-grid label {
  display: grid;
  gap: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.aone-form-grid input,
.aone-form-grid select,
.aone-form-grid textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: var(--text-primary);
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.aone-form-grid input:focus,
.aone-form-grid select:focus,
.aone-form-grid textarea:focus {
  outline: 3px solid rgba(39, 96, 30, 0.16);
  border-color: var(--accent-green);
}

.aone-form-wide {
  grid-column: 1 / -1;
}

.aone-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.aone-faq-list {
  border-top: 1px solid #e2e8f0;
}

.aone-faq-list h3 {
  margin-top: 0;
  padding-top: 1.2rem;
}

.aone-faq-list p {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #e2e8f0;
}

.aone-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.aone-area-grid a {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid #dbe4dc;
  border-radius: 6px;
  background: #f8fafc;
  font-weight: 700;
  text-decoration: none !important;
}

.aone-area-grid a:hover,
.aone-area-grid a:focus {
  border-color: var(--accent-green);
  background: #eef7ec;
}

.review-summary-note,
.review-empty-state {
  padding: 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  background: #f8fafc;
  color: var(--text-secondary);
  text-align: center;
}

/* Persistent mobile conversion actions. */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .aone-form-grid {
    grid-template-columns: 1fr;
  }

  .aone-form-wide {
    grid-column: auto;
  }

  .page-content .container {
    padding: 24px !important;
  }

  body {
    padding-bottom: 64px;
  }

  .mobile-cta-bar {
    position: fixed;
    z-index: 9999;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60px;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.2);
  }

  .mobile-cta-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 0.6rem;
    background: var(--primary-green);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.86rem;
  }

  .mobile-cta-bar a:last-child {
    background: var(--accent-green);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }
}

/* ==========================================================================
   V10 REFERENCE-MATCH HEADER + HERO
   Matches the supplied desktop design while keeping the WordPress content,
   navigation and working estimate form intact.
   ========================================================================== */
.top-bar {
  min-height: 36px;
  padding: 0;
  background: linear-gradient(90deg, #0b470f 0%, #06360a 52%, #041f08 100%);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.top-bar .container,
.main-header .container,
.hero-section .container {
  width: min(100%, 1280px);
  max-width: 1280px;
  padding-left: 26px;
  padding-right: 26px;
}

.top-bar-container {
  min-height: 36px;
}

.top-bar-left,
.top-bar-right {
  gap: 22px;
}

.top-bar-item,
.top-bar-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.top-bar-item i,
.top-bar-phone i {
  margin: 0;
  color: #fff !important;
  font-size: 0.88rem;
}

.top-bar-left .top-bar-item i {
  color: #f7d21b !important;
}

.top-socials {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding-left: 2px;
}

.top-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 20px;
  color: #fff;
  font-size: 0.85rem;
}

.main-header {
  height: 84px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  overflow: visible;
}

.header-container {
  height: 84px;
  overflow: visible;
}

.header-logo {
  width: 178px;
  max-width: 178px;
  flex: 0 0 178px;
  margin: 15px 0 -74px;
  position: relative;
  z-index: 20;
}

.header-logo img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.desktop-nav {
  margin-left: auto;
}

.desktop-nav > ul {
  gap: 27px;
}

.nav-link {
  padding: 31px 0 27px;
  font-family: var(--font-heading);
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1;
  color: #171717;
  letter-spacing: 0;
}

.nav-link.active::after {
  bottom: 16px;
  height: 2px;
}

.header-actions {
  gap: 12px;
  margin-left: 24px;
}

.btn-header-estimate {
  min-height: 39px;
  padding: 10px 18px;
  border-radius: 7px;
  background: #1f6a1c;
  font-size: 0.72rem;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
}

/* Hero image begins behind the centre/right, leaving a clean white copy area. */
.hero-section {
  position: relative;
  min-height: 540px;
  background: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-section::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 75.5%;
  background: url('assets/hero_mixed_services.webp') 57% center / cover no-repeat;
}

.hero-overlay-fade {
  z-index: 1;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 24%,
    rgba(255,255,255,0.99) 31%,
    rgba(255,255,255,0.88) 37%,
    rgba(255,255,255,0.50) 45%,
    rgba(255,255,255,0.08) 55%,
    rgba(255,255,255,0) 64%
  );
}

.hero-container {
  min-height: 540px;
  padding-top: 0;
  padding-bottom: 0;
  align-items: flex-start;
}

.hero-content {
  width: 420px;
  max-width: 420px;
  padding-top: 83px;
  position: relative;
  z-index: 3;
}

.hero-title {
  margin: 0 0 16px;
  max-width: 415px;
  color: #1a1a1a;
  font-size: clamp(2.25rem, 3.05vw, 2.78rem);
  font-weight: 900;
  line-height: 0.99;
  letter-spacing: -0.035em;
}

.hero-title .text-highlight {
  color: #238327;
}

.hero-description {
  max-width: 405px;
  margin: 0 0 21px;
  color: #2d2d2d;
  font-size: 0.79rem;
  font-weight: 500;
  line-height: 1.58;
}

.hero-ctas {
  gap: 16px;
}

.hero-ctas .btn {
  min-height: 43px;
  padding: 10px 22px;
  border-radius: 7px;
  font-size: 0.71rem;
  letter-spacing: 0.01em;
}

.btn-hero-phone {
  background: #0d4d14;
  border: 1px solid #0d4d14;
}

.hero-ctas .btn-outline {
  background: #fff;
  color: #174e18;
  border: 1px solid #174e18;
}

.hero-ctas .btn-outline:hover {
  background: #174e18;
  color: #fff;
}

.hero-card-wrapper {
  width: 294px;
  margin-left: auto;
  margin-right: 0;
  padding-top: 8px;
  position: relative;
  z-index: 8;
}

.hero-form-outer {
  padding: 4px;
  overflow: visible;
  background: #063a0e;
  border: 3px solid #0a4e14;
  border-radius: 15px;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.28);
}

.form-leaf-decor {
  top: -12px;
  right: -4px;
  color: #58b72f;
  font-size: 1.85rem;
}

.card-header-dark {
  min-height: 105px;
  padding: 24px 16px 17px;
  background: #063a0e;
  border-radius: 9px 9px 0 0;
}

.card-header-dark h3 {
  margin-bottom: 5px;
  font-size: 1.27rem;
  line-height: 1.05;
}

.card-header-dark p {
  color: #fff;
  font-size: 0.74rem;
  line-height: 1.35;
}

.quick-contact-card {
  border-radius: 8px;
}

.card-form {
  padding: 10px 10px 12px;
}

.card-form .form-group {
  margin-bottom: 7px;
}

.card-form input,
.card-form select,
.card-form textarea {
  min-height: 36px;
  padding: 8px 10px;
  border-color: #d1d5db;
  border-radius: 5px;
  background: #fff;
  color: #303030;
  font-size: 0.72rem;
  line-height: 1.2;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.035);
}

.card-form textarea {
  min-height: 58px;
  resize: vertical;
}

.btn-submit-request {
  min-height: 40px;
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 5px;
  background: #147117;
  font-size: 0.75rem;
}

.privacy-note {
  justify-content: center;
  margin-top: 10px;
  color: #4b5563;
  font-size: 0.62rem;
  line-height: 1.35;
  text-align: left;
}

.privacy-note i {
  color: #0e6b1b !important;
  margin-top: 2px;
}

.hero-trust-bar {
  z-index: 5;
  bottom: 13px;
  padding: 0;
  background: transparent;
  border: 0;
}

.hero-trust-container {
  min-height: 82px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 13px 324px 13px 16px !important;
  background: linear-gradient(90deg, #198118 0%, #0b6512 52%, #06460d 100%);
  border-radius: 9px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.18);
}

.trust-item {
  min-width: 0;
  gap: 10px;
  padding: 0 13px;
  border-right: 1px solid rgba(255,255,255,0.19);
}

.trust-item:first-child {
  padding-left: 4px;
}

.trust-item:nth-child(5) {
  border-right: 0;
}

.trust-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #f1d21a;
  border-radius: 50%;
  color: #f1d21a;
  font-size: 1.04rem;
}

.trust-text-stack strong {
  margin-bottom: 2px;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.trust-text-stack span {
  color: #fff;
  font-size: 0.60rem;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 1210px) {
  .desktop-nav > ul { gap: 18px; }
  .nav-link { font-size: 0.63rem; }
  .header-actions { margin-left: 15px; }
  .btn-header-estimate { padding-inline: 13px; }
  .header-logo { width: 160px; flex-basis: 160px; }
  .hero-trust-container { padding-right: 306px !important; }
}

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: flex; }
  .header-actions .btn-header-estimate { display: inline-flex; }
  .header-logo { width: 158px; flex-basis: 158px; }
  .hero-content { width: 390px; max-width: 390px; }
  .hero-title { font-size: 2.32rem; }
  .hero-card-wrapper { width: 286px; }
  .hero-trust-container {
    padding-right: 300px !important;
  }
  .trust-item { padding-inline: 8px; gap: 7px; }
  .trust-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .trust-text-stack strong { font-size: 0.56rem; }
  .trust-text-stack span { font-size: 0.54rem; }
}

@media (max-width: 768px) {
  .main-header,
  .header-container {
    height: 72px;
  }

  .header-logo {
    width: 122px;
    max-width: 122px;
    flex-basis: 122px;
    margin: 7px 0 -28px;
  }

  .header-actions .btn-header-estimate {
    display: none;
  }

  .hero-section {
    min-height: 0;
    background: #fff;
  }

  .hero-section::before {
    width: 100%;
    background-position: 61% center;
  }

  .hero-overlay-fade {
    background: linear-gradient(90deg, rgba(0,0,0,0.70), rgba(0,0,0,0.28));
  }

  .hero-container {
    min-height: 0;
    flex-direction: column;
    padding-top: 76px;
    padding-bottom: 32px;
    text-align: left;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding-top: 0;
  }

  .hero-title {
    max-width: 520px;
    color: #fff;
    font-size: clamp(2rem, 10.4vw, 3rem);
    line-height: 1;
    text-shadow: 0 2px 11px rgba(0,0,0,0.28);
  }

  .hero-title .text-highlight {
    color: #75db58;
  }

  .hero-description {
    max-width: 520px;
    color: #fff;
    font-size: 0.9rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-card-wrapper {
    width: min(100%, 390px);
    margin: 34px auto 0;
    padding-top: 0;
  }

  .hero-trust-bar {
    position: relative;
    bottom: auto;
    left: auto;
    padding: 0 16px 18px;
    background: #fff;
  }

  .hero-trust-container {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 0;
    padding: 17px 12px !important;
  }

  .trust-item,
  .trust-item:first-child {
    min-width: 0;
    margin: 0;
    padding: 0 10px;
  }

  .trust-item:nth-child(even) {
    border-right: 0;
  }

  .trust-item:nth-child(5) {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .trust-text-stack strong { font-size: 0.62rem; }
  .trust-text-stack span { font-size: 0.59rem; }
}

@media (max-width: 430px) {
  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn {
    width: 100%;
  }

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

  .trust-item,
  .trust-item:first-child,
  .trust-item:nth-child(5) {
    grid-column: auto;
    justify-content: flex-start;
    border-right: 0;
    padding: 0 12px;
  }
}

/* Final desktop proportion tuning for the supplied 1307 × 647 reference. */
@media (min-width: 769px) {
  .top-bar,
  .top-bar-container { min-height: 34px; }
  .main-header,
  .header-container { height: 86px; }
  .hero-section,
  .hero-container { min-height: 527px; }
  .hero-content { padding-top: 80px; }
  .card-header-dark { min-height: 110px; }
  .card-form { padding: 13px 11px 15px; }
  .card-form .form-group { margin-bottom: 8px; }
  .card-form input,
  .card-form select { min-height: 38px; }
  .card-form textarea { min-height: 64px; }
  .btn-submit-request { min-height: 42px; }
}

/* Use the full hero photograph beneath the white fade for reliable rendering. */
.hero-section {
  background: #fff url('assets/hero_mixed_services.webp') center center / cover no-repeat;
}
.hero-section::before { display: none; }

/* Pixel-match refinements from the supplied reference. */
@media (min-width: 1041px) {
  .header-logo {
    width: 172px;
    max-width: 172px;
    flex-basis: 172px;
    margin-top: 22px;
  }

  .desktop-nav {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 88px;
  }

  .desktop-nav > ul {
    justify-content: flex-end;
    gap: 22px;
    flex-wrap: nowrap;
  }

  .nav-link {
    white-space: nowrap;
  }

  .hero-content {
    width: 448px;
    max-width: 448px;
  }

  .hero-title {
    max-width: 445px;
    font-size: 44px;
  }

  .hero-description {
    max-width: 420px;
  }

  .hero-card-wrapper {
    padding-top: 4px;
  }

  .hero-form-outer {
    min-height: 488px;
  }

  .quick-contact-card {
    min-height: 370px;
  }

  .card-form {
    min-height: 370px;
  }

  .hero-trust-container {
    width: calc(100% - 80px) !important;
    max-width: 1227px !important;
    height: 82px;
  }
}

/* Lock the hero heading to the same four-line composition as the reference. */
.hero-title {
  font-family: 'Roboto Condensed', 'Liberation Sans Narrow', 'Arial Narrow', sans-serif;
  font-stretch: condensed;
}
.hero-title-line {
  display: block;
  white-space: nowrap;
}
@media (min-width: 1041px) {
  .hero-title {
    font-size: 41px;
    line-height: 0.98;
    letter-spacing: -0.025em;
  }
}
@media (max-width: 430px) {
  .hero-title-line { white-space: normal; }
}

/* Final alignment against the supplied desktop screenshot. */
@media (min-width: 1041px) {
  .main-header,
  .header-container { height: 98px; }

  .hero-section,
  .hero-container { min-height: 515px; }

  .header-logo { margin-top: 25px; }

  .desktop-nav > ul { justify-content: flex-start; }

  .btn-header-estimate { min-width: 195px; }

  .hero-container { z-index: 6; }
  .hero-content { padding-top: 84px; }
  .hero-title { font-size: 43px; }

  .hero-trust-bar { bottom: 7px; }
  .hero-trust-container { height: 76px; min-height: 76px; }
}

/* Match the tighter, more photographic hero crop in the supplied reference. */
@media (min-width: 1041px) {
  .header-logo {
    width: 190px;
    max-width: 190px;
    flex-basis: 190px;
  }

  .desktop-nav { margin-left: 70px; }

  .hero-section {
    background-size: 150% auto;
    background-position: right 45%;
  }

  .hero-overlay-fade {
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 22%,
      rgba(255,255,255,0.99) 27%,
      rgba(255,255,255,0.82) 32%,
      rgba(255,255,255,0.45) 38%,
      rgba(255,255,255,0.08) 45%,
      rgba(255,255,255,0) 50%
    );
  }
}

@media (min-width: 1041px) {
  .hero-section {
    background-size: 136% auto;
    background-position: right 45%;
  }

  .btn-hero-phone { min-width: 180px; }
  .hero-ctas .btn-outline { min-width: 210px; }
}

/* ==========================================================================
   V12 FULL-WIDTH HEADER + CLEAR HERO IMAGE
   Removes the large desktop side gutter and prevents the hero photograph
   from being excessively enlarged, which made it appear soft on wide screens.
   ========================================================================== */
@media (min-width: 1041px) {
  .top-bar .container,
  .main-header .container,
  .hero-section .container {
    width: 100%;
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-section {
    background-image: url('assets/hero_mixed_services-hd.webp');
    background-size: cover;
    background-position: center 43%;
    background-repeat: no-repeat;
  }

  .hero-overlay-fade {
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 18%,
      rgba(255,255,255,0.99) 24%,
      rgba(255,255,255,0.90) 30%,
      rgba(255,255,255,0.62) 37%,
      rgba(255,255,255,0.22) 45%,
      rgba(255,255,255,0.03) 53%,
      rgba(255,255,255,0) 58%
    );
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-card-wrapper {
    margin-right: 0;
  }

  .hero-trust-container {
    width: calc(100% - 48px) !important;
    max-width: none !important;
  }
}

/* Keep sensible gutters on very large monitors without recreating the gap. */
@media (min-width: 1900px) {
  .top-bar .container,
  .main-header .container,
  .hero-section .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero-trust-container {
    width: calc(100% - 64px) !important;
  }
}

/* ========================================================================== 
   V13 SERVICE-PAGE HERO FORMS + BATCH 3 UNIQUE IMAGE PAIRS
   ========================================================================== */
.aone-page-hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  isolation: isolate;
  background-image: var(--aone-page-hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.aone-page-hero-overlay {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.99) 23%,
      rgba(255,255,255,0.92) 34%,
      rgba(255,255,255,0.58) 46%,
      rgba(255,255,255,0.10) 61%,
      rgba(0,38,10,0.15) 100%);
}

.aone-page-hero-layout {
  position: relative;
  z-index: 2;
  width: min(100%, 1280px);
  max-width: 1280px;
  min-height: 570px;
  padding: 42px 26px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.aone-page-hero-copy {
  max-width: 610px;
}

.aone-page-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: #186c21;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.aone-page-hero-copy h1 {
  max-width: 620px;
  margin: 0 0 18px;
  color: #171717;
  font-family: var(--font-heading);
  font-size: clamp(2.65rem, 4.5vw, 4.6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.aone-page-hero-copy > p {
  max-width: 570px;
  margin: 0;
  color: #202820;
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.65;
}

.aone-page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.aone-page-hero-actions .btn {
  min-width: 205px;
  min-height: 50px;
  justify-content: center;
}

.aone-page-hero-actions .btn-outline {
  border: 1px solid #1f6a1c;
  background: rgba(255,255,255,0.94);
  color: #145719;
}

.aone-page-hero-form {
  width: 100%;
  align-self: center;
}

.aone-page-hero-form .aone-landing-form {
  margin: 0;
  padding: 24px 13px 13px;
  border: 2px solid #18812b;
  border-top-width: 2px;
  border-radius: 15px;
  background: linear-gradient(180deg, #064719 0%, #073611 100%);
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
  color: #fff;
}

.aone-page-hero-form .aone-landing-form h3 {
  margin: 0 8px 5px;
  color: #fff;
  font-size: 1.65rem;
  text-align: center;
  text-transform: uppercase;
}

.aone-page-hero-form .aone-landing-form > p {
  margin: 0 20px 15px;
  color: rgba(255,255,255,0.94);
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}

.aone-page-hero-form .aone-ajax-form {
  padding: 12px;
  border-radius: 9px;
  background: #fff;
}

.aone-page-hero-form .aone-form-grid {
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 0;
}

.aone-page-hero-form .aone-form-grid label,
.aone-page-hero-form .aone-form-wide {
  grid-column: auto;
}

.aone-page-hero-form .aone-form-grid label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.aone-page-hero-form .aone-form-grid input,
.aone-page-hero-form .aone-form-grid select,
.aone-page-hero-form .aone-form-grid textarea {
  min-height: 43px;
  padding: 0.68rem 0.8rem;
  border-color: #cfd7d0;
  border-radius: 6px;
  font-size: 0.88rem;
}

.aone-page-hero-form .aone-form-grid textarea {
  min-height: 72px;
  resize: vertical;
}

.aone-page-hero-form .aone-form-grid button {
  min-height: 46px;
  margin-top: 1px;
  border-radius: 6px;
}

.page-content {
  padding: 64px 0 76px;
  background: #f7faf7;
}

.aone-page-content-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid #e1e8e1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20,60,24,0.07);
}

.aone-service-support-image {
  margin: 34px 0 38px;
  overflow: hidden;
  border-radius: 14px;
  background: #eef4ee;
  box-shadow: 0 12px 30px rgba(16,55,20,0.14);
}

.aone-service-support-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 980px) {
  .aone-page-hero-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .aone-page-hero-copy h1 {
    font-size: clamp(2.35rem, 5.5vw, 3.8rem);
  }
}

@media (max-width: 780px) {
  .aone-page-hero {
    min-height: auto;
    background-position: 62% center;
  }

  .aone-page-hero-overlay {
    background: linear-gradient(180deg,
      rgba(255,255,255,0.98) 0%,
      rgba(255,255,255,0.93) 38%,
      rgba(255,255,255,0.75) 59%,
      rgba(4,45,13,0.40) 100%);
  }

  .aone-page-hero-layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 18px 34px;
  }

  .aone-page-hero-copy {
    max-width: none;
  }

  .aone-page-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 11vw, 3.45rem);
  }

  .aone-page-hero-actions .btn {
    flex: 1 1 190px;
    min-width: 0;
  }

  .aone-page-hero-form {
    max-width: 480px;
    margin: 0 auto;
  }

  .page-content {
    padding: 38px 14px 86px;
  }

  .aone-page-content-shell {
    padding: 24px 20px;
  }
}

/* ========================================================================== 
   LANDSCAPING & HARDSCAPING HOMEPAGE FEATURES — v15
   ========================================================================== */
.property-feature-section {
  color: var(--white);
  overflow: hidden;
}

.landscaping-feature-section {
  background: linear-gradient(110deg, #0b4b24 0%, #17692f 100%);
}

.hardscaping-feature-section {
  background: linear-gradient(110deg, #1f2933 0%, #354250 100%);
}

.property-feature-container {
  display: grid;
  grid-template-columns: minmax(360px, 42%) minmax(0, 58%);
  align-items: stretch;
  padding: 0;
  min-height: 520px;
}

.property-feature-reverse {
  grid-template-columns: minmax(0, 58%) minmax(360px, 42%);
}

.property-feature-reverse .property-feature-content {
  grid-column: 2;
  grid-row: 1;
}

.property-feature-reverse .property-feature-visual {
  grid-column: 1;
  grid-row: 1;
}

.property-feature-content {
  padding: 58px 48px 56px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.property-feature-reverse .property-feature-content {
  padding: 58px 22px 56px 48px;
}

.property-feature-subtitle {
  display: block;
  color: #9fe870;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hardscaping-feature-section .property-feature-subtitle {
  color: #f0c878;
}

.property-feature-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 18px;
  max-width: 620px;
}

.property-feature-content > p {
  color: rgba(255,255,255,0.86);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 650px;
}

.property-feature-list {
  display: grid;
  gap: 13px;
  margin: 0 0 30px;
}

.property-feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.94rem;
  line-height: 1.45;
}

.property-feature-list i {
  color: #79d34c;
  margin-top: 4px;
}

.hardscaping-feature-section .property-feature-list i {
  color: #f0c878;
}

.property-feature-cta {
  align-self: flex-start;
  min-width: 230px;
  justify-content: center;
  color: #123d1d;
}

.hardscaping-feature-section .property-feature-cta {
  color: #27313c;
}

.property-feature-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.property-feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(11,75,36,0.35) 0%, rgba(11,75,36,0) 28%);
}

.property-feature-reverse .property-feature-visual::before {
  background: linear-gradient(270deg, rgba(31,41,51,0.45) 0%, rgba(31,41,51,0) 30%);
}

.property-feature-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-feature-section:hover .property-feature-visual img {
  transform: scale(1.025);
}

.property-feature-tags {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(7, 68, 27, 0.95);
  border-top: 1px solid rgba(255,255,255,0.18);
}

.hardscaping-feature-section .property-feature-tags {
  background: rgba(27,35,44,0.96);
}

.property-feature-tags span {
  min-height: 62px;
  padding: 11px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--white);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.property-feature-tags span:last-child {
  border-right: 0;
}

.property-feature-tags i {
  color: #b6ef79;
  font-size: 1.05rem;
}

.hardscaping-feature-section .property-feature-tags i {
  color: #f0c878;
}

@media (max-width: 1100px) {
  .property-feature-container,
  .property-feature-reverse {
    grid-template-columns: 1fr;
  }
  .property-feature-content,
  .property-feature-reverse .property-feature-content,
  .property-feature-reverse .property-feature-visual {
    grid-column: 1;
    grid-row: auto;
  }
  .property-feature-content,
  .property-feature-reverse .property-feature-content {
    padding: 50px 34px;
  }
  .property-feature-visual,
  .property-feature-visual img {
    min-height: 430px;
  }
}

@media (max-width: 650px) {
  .property-feature-content,
  .property-feature-reverse .property-feature-content {
    padding: 42px 20px;
  }
  .property-feature-content h2 {
    font-size: 2.05rem;
  }
  .property-feature-visual,
  .property-feature-visual img {
    min-height: 360px;
  }
  .property-feature-tags {
    grid-template-columns: repeat(3, 1fr);
  }
  .property-feature-tags span:nth-child(4),
  .property-feature-tags span:nth-child(5) {
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  .property-feature-tags span:nth-child(3) {
    border-right: 0;
  }
}


/* ==========================================================================
   V16 — WHITE LOGO OVERLAY
   Keeps the oversized header logo readable when it overlaps dark homepage
   sections. The overlay is visual only and does not change header spacing.
   ========================================================================== */
.header-logo {
  isolation: isolate;
}

.header-logo::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -16px;
  right: -22px;
  bottom: -24px;
  left: -22px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 68%,
    rgba(255, 255, 255, 0.99) 80%,
    rgba(255, 255, 255, 0.94) 100%
  );
  border-radius: 0 0 34px 34px;
  box-shadow:
    0 8px 12px rgba(255, 255, 255, 0.96),
    0 18px 28px rgba(255, 255, 255, 0.72),
    0 4px 14px rgba(7, 50, 20, 0.08);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.header-logo::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -30px;
  bottom: -31px;
  left: -30px;
  height: 48px;
  pointer-events: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  filter: blur(11px);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.main-header.scrolled .header-logo::before,
.main-header.scrolled .header-logo::after {
  opacity: 1;
  transform: translateY(0);
}

.header-logo img {
  position: relative;
  z-index: 2;
}

@media (max-width: 1040px) {
  .header-logo::before {
    top: -12px;
    right: -17px;
    bottom: -19px;
    left: -17px;
    border-radius: 0 0 28px 28px;
  }

  .header-logo::after {
    right: -23px;
    bottom: -25px;
    left: -23px;
    height: 40px;
    filter: blur(9px);
  }
}

@media (max-width: 768px) {
  .header-logo::before {
    top: -8px;
    right: -12px;
    bottom: -12px;
    left: -12px;
    border-radius: 0 0 22px 22px;
    box-shadow:
      0 6px 10px rgba(255, 255, 255, 0.92),
      0 13px 20px rgba(255, 255, 255, 0.66),
      0 3px 10px rgba(7, 50, 20, 0.07);
  }

  .header-logo::after {
    right: -16px;
    bottom: -17px;
    left: -16px;
    height: 30px;
    filter: blur(7px);
  }
}


/* V19 — overlay only after scroll and restored spider lift tile */
@media (min-width: 1041px) {
  .equipment-images { min-width: 0; }
  .eq-label { font-size: 0.72rem; }
}


/* V20 — clickable Facebook and Instagram icons */
.top-socials a.top-social-icon {
  background: transparent;
  border-radius: 0;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.top-socials a.top-social-icon:hover,
.top-socials a.top-social-icon:focus-visible {
  background: transparent;
  color: #f7d21b;
  transform: translateY(-1px);
  outline: none;
}


/* ==========================================================================
   V21 — SNOW PLOWING IMAGE BANNER
   ========================================================================== */
.snow-feature-section {
  background: #ffffff;
  padding: 26px 0 34px;
}

.snow-banner-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(13, 33, 70, 0.16);
}

.snow-banner-link {
  display: block;
}

.snow-banner-image {
  display: block;
  width: 100%;
  height: auto;
}

.snow-banner-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

@media (max-width: 768px) {
  .snow-feature-section {
    padding: 20px 0 28px;
  }

  .snow-banner-card {
    border-radius: 16px;
  }

  .snow-banner-actions {
    justify-content: stretch;
  }

  .snow-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   CINEMATIC PASS — SITE-WIDE FILM TREATMENT (applies to every template)
   ========================================================================== */

/* --- Widescreen frame: opens like a curtain on load, then settles thin.
   Pure CSS (animation ... both) — the previous version depended on app.js
   adding a body class to shrink it, which meant any script delay or
   failure left it stuck at full size, covering the header/logo below it
   (this is what was visible in the reported screenshot). The opening
   size is also much smaller now so even mid-animation it can't reach
   down over the logo. --- */
.cine-frame-bar {
  position: fixed;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--cine-black);
  z-index: 9999;
  pointer-events: none;
}
.cine-frame-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cine-amber) 50%, transparent);
  opacity: 0.7;
}
.cine-frame-top { top: 0; }
.cine-frame-top::after { bottom: 0; }
.cine-frame-bottom { bottom: 0; }
.cine-frame-bottom::after { top: 0; }

@media (prefers-reduced-motion: no-preference) {
  .cine-frame-bar {
    animation: cineCurtainOpen 1s cubic-bezier(.65, 0, .35, 1) both;
  }
}
@keyframes cineCurtainOpen {
  0%   { height: 2.5vh; }
  100% { height: 8px; }
}

/* --- Homepage hero background: a dedicated, always-visible layer ---
   (an earlier attempt animated .hero-section::before, but a later,
   unrelated rule sets `.hero-section::before { display: none; }`
   site-wide, which silently killed that animation on every device.
   This uses a real element instead, so it can't be hidden that way.) */
.cine-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('assets/hero_mixed_services.webp') center center / cover no-repeat;
}
@media (min-width: 1041px) {
  .cine-hero-bg {
    background-image: url('assets/hero_mixed_services-hd.webp');
    background-position: center 43%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .cine-hero-bg {
    animation: cineKenBurns 16s ease-in-out infinite alternate;
    transform-origin: 60% 40%;
  }
}
@keyframes cineKenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.16); }
}

/* Extra filmic depth on mobile, where the photo runs full-bleed behind
   the headline with less of the white fade to carry the frame. */
@media (max-width: 768px) {
  .hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(120% 90% at 50% 25%, transparent 50%, rgba(0, 0, 0, 0.38) 100%);
  }
}

/* --- Cinematic color grade for every interior/location/service page hero ---
   .aone-page-hero is the shared template used by every service and location
   page (page.php), so this one rule reaches the entire site's inner pages. */
.aone-page-hero { isolation: isolate; }
.aone-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: color;
  background: linear-gradient(135deg,
    rgba(11, 45, 64, 0.45) 0%,
    rgba(9, 51, 21, 0.25) 55%,
    rgba(232, 163, 61, 0.12) 100%);
}

/* Gallery archive hero gets the same restrained grade, applied as a filter
   since its text sits in normal flow rather than a z-indexed layer. */
.gallery-hero {
  filter: saturate(0.9) contrast(1.06) brightness(0.97);
}

/* --- Photography grade for content imagery site-wide (logos/icons excluded) --- */
.eq-img,
.property-feature-visual img,
.projects-grid img,
.snow-banner-image,
.aone-generated-content img,
.review-card img,
.project-content img {
  filter: saturate(0.92) contrast(1.06) brightness(0.98);
  transition: filter 0.4s ease;
}

/* --- Scroll-reveal utility, driven by app.js --- */
.cine-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.22,.61,.36,1), transform 0.8s cubic-bezier(.22,.61,.36,1);
}
.cine-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .cine-reveal { opacity: 1; transform: none; transition: none; }
  .cine-hero-bg { animation: none; }
}

@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .cine-frame-bar {
    animation-name: cineCurtainOpenMobile;
  }
}
@keyframes cineCurtainOpenMobile {
  0%   { height: 1.8vh; }
  100% { height: 5px; }
}
@media (max-width: 768px) {
  .cine-frame-bar { height: 5px; }
}

/* ==========================================================================
   CINEMATIC PASS — TEXT & UI ELEMENTS (buttons, headings, nav, cards, forms)
   ========================================================================== */

/* --- Hero title: staggered line-by-line entrance, synced with the curtain-open moment.
   Pure CSS (animation ... both) so the headline can never get stuck hidden if JS fails. --- */
@media (prefers-reduced-motion: no-preference) {
  .hero-title-line {
    animation: cineTitleIn 0.9s cubic-bezier(.22, .61, .36, 1) both;
  }
  .hero-title-line:nth-child(1) { animation-delay: 0.15s; }
  .hero-title-line:nth-child(2) { animation-delay: 0.32s; }
  .hero-title-line:nth-child(3) { animation-delay: 0.49s; }
  .hero-title-line:nth-child(4) { animation-delay: 0.66s; }
}
@keyframes cineTitleIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Section headings: small amber accent mark + wider tracking on eyebrow text --- */
.section-subtitle,
.pr-subtitle,
.equipment-subtitle,
.property-feature-subtitle {
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
}
.section-subtitle::before,
.pr-subtitle::before,
.equipment-subtitle::before,
.property-feature-subtitle::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  margin-right: 10px;
  background: var(--cine-amber);
}

/* --- Buttons: cinematic lift + amber glow on hover --- */
.btn {
  letter-spacing: 0.04em;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(232, 163, 61, 0.28);
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* --- Desktop nav: amber underline sweep on hover (the active item keeps its own underline) --- */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: var(--cine-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover::after {
  transform: scaleX(1);
}

/* --- Service cards: amber icon glow on hover --- */
.service-icon-new {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.service-card-new:hover .service-icon-new {
  color: var(--cine-amber);
  text-shadow: 0 0 18px rgba(232, 163, 61, 0.45);
}

/* --- Recent-project thumbnails: hover zoom, matching the equipment strip treatment --- */
.projects-grid img {
  transition: transform 0.4s ease;
}
.projects-grid img:hover {
  transform: scale(1.06);
  position: relative;
  z-index: 2;
}

/* --- Review cards: gentle lift on hover --- */
.review-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* --- Form fields: smoother, more deliberate focus transition --- */
.card-form input,
.card-form select,
.card-form textarea,
.aone-form-grid input,
.aone-form-grid select,
.aone-form-grid textarea {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
  .service-card-new:hover,
  .projects-grid img:hover,
  .review-card:hover,
  .eq-image-col:hover {
    transform: none;
  }
}

/* --- Interior/location page heroes (.aone-page-hero is shared by every
   service and location page): same eyebrow accent + headline entrance,
   pure CSS so it can never get stuck hidden if JS fails --- */
.aone-page-eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 8px;
  background: var(--cine-amber);
}
@media (prefers-reduced-motion: no-preference) {
  .aone-page-eyebrow {
    animation: cineTitleIn 0.7s cubic-bezier(.22, .61, .36, 1) both;
  }
  .aone-page-hero-copy h1 {
    animation: cineTitleIn 0.9s cubic-bezier(.22, .61, .36, 1) both;
    animation-delay: 0.15s;
  }
}
