/*
Theme Name: Empire Irrigation
Theme URI: https://empireirrigationny.com
Author: Empire Irrigation NY
Description: Custom theme for Empire Irrigation NY - Professional lawn care and irrigation services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: empire-irrigation
*/

/* ========================================
   CSS VARIABLES / DESIGN TOKENS
   ======================================== */
:root {
  --ei-green-900: #1a1a2e;
  --ei-green-800: #2b2b3d;
  --ei-green-700: #4ade80;
  --ei-green-600: #86efac;
  --ei-green-500: #a7f3d0;
  --ei-green-400: #bbf7d0;
  --ei-green-300: #d1fae5;
  --ei-green-200: #e8e8ee;
  --ei-green-100: #f3f3f8;
  --ei-green-50:  #f8f8fc;
  --ei-dark:      #1a1a2e;
  --ei-gray-700:  #374151;
  --ei-gray-600:  #4b5563;
  --ei-gray-500:  #6b7280;
  --ei-gray-400:  #9ca3af;
  --ei-gray-300:  #d1d5db;
  --ei-gray-200:  #e5e7eb;
  --ei-gray-100:  #f3f4f6;
  --ei-white:     #ffffff;
  --ei-accent:    #f59e0b;
  --ei-radius:    12px;
  --ei-radius-sm: 8px;
  --ei-radius-full: 9999px;
  --ei-shadow:    0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --ei-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --ei-shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --ei-transition: all .3s ease;
  --ei-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ei-font-display: 'Playfair Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ei-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ei-gray-700);
  background: var(--ei-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--ei-transition); }
ul, ol { list-style: none; }

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

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ei-font);
  font-weight: 700;
  color: var(--ei-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ei-green-700);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--ei-green-600);
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--ei-gray-500);
  max-width: 600px;
  line-height: 1.8;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--ei-font);
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--ei-radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--ei-transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ei-green-800);
  color: var(--ei-white);
  border-color: var(--ei-green-800);
}

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

.btn-outline {
  background: transparent;
  color: var(--ei-green-800);
  border-color: var(--ei-green-800);
}

.btn-outline:hover {
  background: var(--ei-green-800);
  color: var(--ei-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--ei-white);
  color: var(--ei-green-800);
  border-color: var(--ei-white);
}

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

.btn-sm {
  padding: 10px 24px;
  font-size: .8125rem;
}

.btn svg, .btn i {
  width: 18px;
  height: 18px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--ei-transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.site-header.scrolled .nav-link { color: var(--ei-dark); }
.site-header.scrolled .header-phone { color: var(--ei-dark); }
.site-header.scrolled .logo-light { display: none; }
.site-header.scrolled .logo-dark { display: block; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  transition: var(--ei-transition);
}

.site-header.scrolled .header-inner { padding: 14px 0; }

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ei-white);
  z-index: 10;
}

.site-header.scrolled .site-logo { color: var(--ei-dark); }

.site-logo svg {
  width: 40px;
  height: 40px;
}

.logo-dark { display: none; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  border-radius: var(--ei-radius-full);
  transition: var(--ei-transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--ei-white);
  background: rgba(255,255,255,.15);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
  color: var(--ei-green-800);
  background: var(--ei-green-100);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ei-white);
  font-size: .9375rem;
}

.header-phone svg {
  width: 20px;
  height: 20px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ei-white);
  border-radius: 2px;
  transition: var(--ei-transition);
}

.site-header.scrolled .mobile-toggle span { background: var(--ei-dark); }

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--ei-green-900) 0%, var(--ei-green-800) 50%, var(--ei-green-700) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,160L48,170.7C96,181,192,203,288,197.3C384,192,480,160,576,154.7C672,149,768,171,864,181.3C960,192,1056,192,1152,176C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom center;
  background-size: cover;
  opacity: .5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-content { color: var(--ei-white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: var(--ei-radius-full);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ei-green-300);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,.1);
}

.hero h1 {
  color: var(--ei-white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--ei-green-400);
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-features {
  display: flex;
  gap: 32px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 500;
}

.hero-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--ei-green-400);
}

.hero-visual {
  position: relative;
}

.hero-image-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--ei-shadow-xl);
}

.hero-image-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -40px;
  background: var(--ei-white);
  border-radius: var(--ei-radius);
  padding: 20px 24px;
  box-shadow: var(--ei-shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-floating-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ei-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-floating-icon svg {
  width: 24px;
  height: 24px;
  color: var(--ei-green-700);
}

.hero-floating-card .stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ei-dark);
  line-height: 1;
}

.hero-floating-card .stat-label {
  font-size: .75rem;
  color: var(--ei-gray-500);
  font-weight: 500;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  padding: 100px 0;
  background: var(--ei-white);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-desc {
  margin: 0 auto;
}

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

.service-card {
  background: var(--ei-white);
  border-radius: var(--ei-radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--ei-gray-200);
  transition: var(--ei-transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--ei-green-600);
  transform: scaleX(0);
  transition: transform .3s ease;
}

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

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

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--ei-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ei-transition);
}

.service-card:hover .service-icon {
  background: var(--ei-green-800);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--ei-green-700);
  transition: var(--ei-transition);
}

.service-card:hover .service-icon svg {
  color: var(--ei-white);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: .9375rem;
  color: var(--ei-gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--ei-green-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover { gap: 12px; }

.service-link svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   ABOUT / WHY CHOOSE US
   ======================================== */
.about {
  padding: 100px 0;
  background: var(--ei-green-50);
}

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--ei-shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid var(--ei-white);
  box-shadow: var(--ei-shadow-lg);
}

.about-img-secondary img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.about-experience {
  position: absolute;
  top: -20px;
  right: 20px;
  background: var(--ei-green-800);
  color: var(--ei-white);
  padding: 20px 24px;
  border-radius: var(--ei-radius);
  text-align: center;
  box-shadow: var(--ei-shadow-lg);
}

.about-experience .number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.about-experience .label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .9;
}

.about-content .section-title { margin-bottom: 20px; }

.about-text {
  color: var(--ei-gray-600);
  margin-bottom: 32px;
  line-height: 1.8;
}

.about-list {
  margin-bottom: 36px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-weight: 500;
  color: var(--ei-gray-700);
}

.about-list li svg {
  width: 22px;
  height: 22px;
  color: var(--ei-green-600);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
  padding: 100px 0;
  background: var(--ei-white);
}

.how-header {
  text-align: center;
  margin-bottom: 70px;
}

.how-header .section-desc { margin: 0 auto; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--ei-green-300), var(--ei-green-600), var(--ei-green-300));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--ei-green-800);
  color: var(--ei-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  position: relative;
  box-shadow: 0 0 0 8px var(--ei-green-100);
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: var(--ei-radius);
  background: var(--ei-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: 28px;
  height: 28px;
  color: var(--ei-green-700);
}

.step-card h3 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.step-card p {
  font-size: .875rem;
  color: var(--ei-gray-500);
  line-height: 1.7;
}

/* ========================================
   PROJECTS / GALLERY
   ======================================== */
.projects {
  padding: 100px 0;
  background: var(--ei-green-900);
  color: var(--ei-white);
}

.projects .section-label { color: var(--ei-green-400); }
.projects .section-label::before { background: var(--ei-green-400); }
.projects .section-title { color: var(--ei-white); }
.projects .section-desc { color: rgba(255,255,255,.7); }

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

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

.project-card {
  border-radius: var(--ei-radius);
  overflow: hidden;
  position: relative;
  group: true;
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform .5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,67,50,.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity .3s ease;
}

.project-card:hover .project-overlay { opacity: 1; }

.project-tag {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ei-green-400);
  margin-bottom: 8px;
}

.project-overlay h3 {
  color: var(--ei-white);
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.project-overlay p {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
}

/* ========================================
   STATS
   ======================================== */
.stats {
  padding: 80px 0;
  background: var(--ei-green-800);
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,67,50,.3), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: var(--ei-white);
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  color: var(--ei-green-400);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

/* ========================================
   FEATURES
   ======================================== */
.features {
  padding: 100px 0;
  background: var(--ei-white);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.feature-card {
  padding: 40px 32px;
  border-radius: var(--ei-radius);
  background: var(--ei-green-50);
  border: 1px solid var(--ei-green-200);
  transition: var(--ei-transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ei-shadow-lg);
  background: var(--ei-white);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--ei-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ei-transition);
}

.feature-card:hover .feature-icon {
  background: var(--ei-green-800);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
  color: var(--ei-green-700);
  transition: var(--ei-transition);
}

.feature-card:hover .feature-icon svg {
  color: var(--ei-white);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  font-size: .9375rem;
  color: var(--ei-gray-500);
  line-height: 1.7;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  padding: 100px 0;
  background: var(--ei-green-50);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-desc { margin: 0 auto; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--ei-white);
  border-radius: var(--ei-radius);
  padding: 36px;
  box-shadow: var(--ei-shadow);
  transition: var(--ei-transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ei-shadow-lg);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--ei-accent);
  fill: var(--ei-accent);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--ei-gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ei-green-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ei-green-800);
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  color: var(--ei-dark);
  font-size: .9375rem;
}

.testimonial-role {
  font-size: .8125rem;
  color: var(--ei-gray-400);
}

.testimonial-quote-icon {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 40px;
  height: 40px;
  color: var(--ei-green-200);
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--ei-green-900) 0%, var(--ei-green-700) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--ei-white);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ========================================
   BLOG
   ======================================== */
.blog-section {
  padding: 100px 0;
  background: var(--ei-white);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  border-radius: var(--ei-radius);
  overflow: hidden;
  background: var(--ei-white);
  border: 1px solid var(--ei-gray-200);
  transition: var(--ei-transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ei-shadow-lg);
  border-color: transparent;
}

.blog-card-image {
  height: 220px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 28px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: .8125rem;
  color: var(--ei-gray-400);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta svg {
  width: 14px;
  height: 14px;
}

.blog-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  transition: var(--ei-transition);
}

.blog-card:hover h3 { color: var(--ei-green-700); }

.blog-card p {
  font-size: .9375rem;
  color: var(--ei-gray-500);
  line-height: 1.7;
  margin-bottom: 18px;
}

.blog-read-more {
  font-size: .875rem;
  font-weight: 600;
  color: var(--ei-green-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-read-more:hover { gap: 12px; }

.blog-read-more svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--ei-dark);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--ei-white);
  margin-bottom: 20px;
}

.footer-logo svg {
  width: 36px;
  height: 36px;
}

.footer-desc {
  font-size: .9375rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ei-transition);
}

.footer-social a:hover {
  background: var(--ei-green-700);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,.7);
}

.footer-social a:hover svg { color: var(--ei-white); }

.footer-col h4 {
  color: var(--ei-white);
  font-size: 1.0625rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--ei-green-600);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: .9375rem;
  transition: var(--ei-transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--ei-green-400);
  padding-left: 4px;
}

.footer-links a svg {
  width: 14px;
  height: 14px;
  color: var(--ei-green-600);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: .9375rem;
}

.footer-contact li svg {
  width: 20px;
  height: 20px;
  color: var(--ei-green-500);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8125rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover { color: var(--ei-green-400); }

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 140px 0 60px; }
  .hero-visual { max-width: 500px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
  .main-nav { 
    display: none;
    position: fixed;
    inset: 0;
    background: var(--ei-green-900);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 999;
  }
  .main-nav.active { display: flex; }
  .nav-link { font-size: 1.25rem; color: var(--ei-white); }
  .mobile-toggle { display: flex; }
  .header-phone { display: none; }
  .hero-features { flex-direction: column; gap: 16px; }
  .hero-buttons { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-floating-card { display: none; }
  .about-img-secondary { display: none; }
  .about-experience { position: static; display: inline-block; margin-bottom: 20px; }
}

/* ========================================
   WORDPRESS DEFAULTS
   ======================================== */
.wp-block-image img { border-radius: var(--ei-radius-sm); }
.entry-content { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.entry-content h2 { margin: 40px 0 16px; }
.entry-content p { margin-bottom: 20px; }
.entry-content ul, .entry-content ol { margin: 0 0 20px 20px; }
.entry-content li { list-style: disc; margin-bottom: 8px; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }

/* Page templates */
.page-header { padding: 160px 0 60px; background: var(--ei-green-900); text-align: center; }
.page-header h1 { color: var(--ei-white); }
.page-header p { color: rgba(255,255,255,.7); font-size: 1.125rem; margin-top: 12px; }
