/*
Theme Name: Greentar Renewables
Theme URI: https://greentar.com.ng
Author: Greentar Renewables Limited
Author URI: https://greentar.com.ng
Description: Premium WordPress theme for Greentar Renewables Limited — a renewable energy company specialising in solar, lighting, and energy audit solutions across Nigeria.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
License URI: https://greentar.com.ng
Text Domain: greentar
Tags: renewable-energy, solar, business, woocommerce, custom-post-types
*/

/* ===================================================
   GREENTAR RENEWABLES — MASTER STYLESHEET
   greentar.com.ng
   Design: Deep Forest Green + Warm White + Amber Gold
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ─── CSS VARIABLES ─────────────────────────────────── */
:root {
  --green-deep:    #0d4a2f;
  --green-mid:     #1a6e45;
  --green-light:   #2d9e64;
  --green-pale:    #e8f5ee;
  --amber:         #e8a020;
  --amber-light:   #f5c560;
  --amber-dark:    #b87a10;
  --white:         #ffffff;
  --off-white:     #f9faf8;
  --text-dark:     #1a1f1c;
  --text-mid:      #3d4d45;
  --text-light:    #6b7c73;
  --border:        #d4e4da;
  --shadow-sm:     0 2px 8px rgba(13,74,47,0.08);
  --shadow-md:     0 6px 24px rgba(13,74,47,0.12);
  --shadow-lg:     0 16px 48px rgba(13,74,47,0.16);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     24px;
  --radius-full:   999px;
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', sans-serif;
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container:     1200px;
  --section-pad:   100px;
}

/* ─── RESET & BASE ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-mid); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--amber); }
ul { list-style: none; }
button, input, textarea, select { font-family: var(--font-body); }

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.3rem; }
p { margin-bottom: 1.2rem; color: var(--text-mid); }

/* ─── LAYOUT UTILITIES ───────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: var(--section-pad) 0; }
.section-pad-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-green-deep { background: var(--green-deep); }
.bg-green-pale { background: var(--green-pale); }
.bg-off-white { background: var(--off-white); }

/* ─── SECTION LABELS ─────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--amber);
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-title span { color: var(--green-mid); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}
.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-amber {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-amber:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--green-mid);
  border-color: var(--green-mid);
}
.btn-outline:hover {
  background: var(--green-mid);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--green-deep);
  border-color: var(--white);
}
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }

/* ─── HEADER ─────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
#site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.site-logo img { height: 48px; width: auto; }
.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-deep);
}
.site-logo-text span { color: var(--amber); }

/* Primary Navigation */
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.primary-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a {
  color: var(--green-mid);
  background: var(--green-pale);
}

/* Dropdown */
.primary-nav ul li { position: relative; }
.primary-nav ul li ul {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  flex-direction: column;
  gap: 2px;
}
.primary-nav ul li:hover > ul { display: flex; }
.primary-nav ul li ul li a {
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 12px; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
  border-radius: 2px;
}

/* ─── HERO SECTION ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--green-deep) 0%, #0a3520 50%, #122d1e 100%);
  overflow: hidden;
  padding-top: 78px;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(45,158,100,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232,160,32,0.15) 0%, transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232,160,32,0.15);
  border: 1px solid rgba(232,160,32,0.3);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  color: var(--amber-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}
.hero h1 span { color: var(--amber-light); }
.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber-light);
  display: block;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  display: block;
}
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
.hero-scroll-hint svg { width: 20px; height: 20px; }

/* ─── SERVICES OVERVIEW ──────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-pale);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px;
  height: 60px;
  background: var(--green-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--green-mid);
  font-size: 1.6rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--green-mid);
  color: var(--white);
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.service-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--text-light);
}
.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link:hover { gap: 10px; color: var(--amber); }

/* ─── WHY CHOOSE US ──────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.why-feature {
  display: flex;
  gap: 14px;
}
.why-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  font-size: 1.1rem;
}
.why-feature h4 { font-size: 0.95rem; margin-bottom: 4px; }
.why-feature p { font-size: 0.85rem; margin-bottom: 0; }
.why-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.why-image-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
}
.why-image-badge strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-deep);
  display: block;
}
.why-image-badge span {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ─── PRODUCTS / SHOP ────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--green-pale);
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--amber);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-badge.new { background: var(--green-mid); }
.product-info { padding: 22px; }
.product-category {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-deep);
  font-family: var(--font-display);
}
.product-price del {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 400;
  margin-left: 6px;
}
.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* ─── TESTIMONIALS ───────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-pale);
}
.testimonial-quote {
  font-size: 4rem;
  line-height: 1;
  font-family: var(--font-display);
  color: var(--green-pale);
  position: absolute;
  top: 20px;
  right: 28px;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}
.testimonial-stars span { color: var(--amber); font-size: 1.1rem; }
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.8;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--green-pale);
}
.testimonial-author-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
}
.testimonial-author-role {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ─── TEAM ───────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}
.team-card {
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); }
.team-photo-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--green-pale);
  transition: var(--transition);
}
.team-card:hover .team-photo-wrap { border-color: var(--green-mid); }
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-social-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,74,47,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transition: var(--transition);
  border-radius: 50%;
}
.team-card:hover .team-social-overlay { opacity: 1; }
.team-social-overlay a {
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}
.team-social-overlay a:hover { color: var(--amber-light); transform: scale(1.2); }
.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.team-role {
  font-size: 0.82rem;
  color: var(--green-mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.team-bio {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ─── ABOUT PAGE ─────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  padding: 140px 0 80px;
  text-align: center;
}
.page-hero {
  background: linear-gradient(135deg, var(--green-deep), #1a5c38);
  padding: 140px 0 80px;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 12px auto 0; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--amber-light); }
.breadcrumb-sep { color: rgba(255,255,255,0.4); }

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: var(--green-mid);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--green-pale);
  top: 8px;
  z-index: 1;
}
.timeline-content {
  width: calc(50% - 30px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.timeline-year {
  font-size: 0.78rem;
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-content h4 { font-size: 1rem; margin-bottom: 8px; }
.timeline-content p { font-size: 0.88rem; margin: 0; }

/* ─── CONTACT PAGE ───────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info-card {
  background: var(--green-deep);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
}
.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 8px;
}
.contact-info-card > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(45,158,100,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-light);
  font-size: 1.1rem;
}
.contact-item-text strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 3px;
}
.contact-item-text span { color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}
.contact-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}
.contact-social a:hover {
  background: var(--amber);
  color: var(--white);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-mid);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,110,69,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ─── BLOG ───────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--white);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--green-pale);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 26px; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.blog-cat {
  background: var(--green-pale);
  color: var(--green-mid);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.blog-date {
  font-size: 0.78rem;
  color: var(--text-light);
}
.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  transition: var(--transition);
}
.blog-card:hover h3 a { color: var(--green-mid); }
.blog-card-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ─── ENERGY AUDIT PAGE ──────────────────────────────── */
.audit-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.audit-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  position: relative;
  transition: var(--transition);
  counter-increment: step;
}
.audit-step:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.audit-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--green-mid);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}
.audit-step h4 { margin-bottom: 10px; }
.audit-step p { font-size: 0.88rem; margin: 0; }

/* ─── PROJECTS / PORTFOLIO ───────────────────────────── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  group: true;
}
.project-card-img {
  height: 280px;
  overflow: hidden;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.08); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,74,47,0.92) 0%, transparent 60%);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.project-tag {
  display: inline-block;
  background: rgba(232,160,32,0.85);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
  width: fit-content;
}
.project-overlay h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 6px; }
.project-overlay p { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin: 0; }

/* ─── CTA BANNER ─────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(232,160,32,0.1) 0%, transparent 50%);
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.78); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── PARTNERS / LOGOS ───────────────────────────────── */
.partners-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partner-logo {
  filter: grayscale(100%) opacity(0.5);
  transition: var(--transition);
  height: 36px;
  width: auto;
}
.partner-logo:hover { filter: grayscale(0%) opacity(1); }

/* ─── FOOTER ─────────────────────────────────────────── */
#site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
}
.footer-main {
  padding: 72px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand .site-logo-text { color: var(--white); }
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin: 16px 0 24px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--amber);
  color: var(--white);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-links li a:hover { color: var(--amber-light); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact-item svg,
.footer-contact-item i {
  color: var(--amber);
  margin-top: 3px;
  font-size: 0.9rem;
  min-width: 16px;
}
.footer-contact-item span {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  line-height: 1.5;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}
.footer-bottom a { color: var(--amber-light); }

/* ─── WHATSAPP FLOAT ─────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  background: #128c7e;
  color: var(--white);
  transform: scale(1.1);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,0.3);
  animation: pulse-wa 2s infinite;
}
@keyframes pulse-wa {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 0; }
}

/* ─── ANIMATIONS ─────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── PAGINATION ─────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.pagination a,
.pagination span {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  transition: var(--transition);
}
.pagination a:hover,
.pagination span.current {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}

/* ─── SIDEBAR ────────────────────────────────────────── */
.has-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 28px;
}
.sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-pale);
}

/* ─── FILTER TABS ────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 9px 22px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  background: none;
  color: var(--text-mid);
  transition: var(--transition);
}
.filter-tab.active,
.filter-tab:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
}

/* ─── STATS BAR ──────────────────────────────────────── */
.stats-bar {
  background: var(--green-deep);
  padding: 52px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--amber-light);
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* ─── MOBILE RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { display: none; }
  .has-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --section-pad: 60px; }
  .primary-nav, .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-visual { opacity: 0.15; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .why-features { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; }
  .timeline-content { width: 100%; }
  .timeline-dot { display: none; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
}

/* ─── MOBILE NAV OPEN ────────────────────────────────── */
body.nav-open .primary-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 24px;
  overflow-y: auto;
  z-index: 999;
}
body.nav-open .primary-nav ul {
  flex-direction: column;
  gap: 4px;
}
body.nav-open .primary-nav ul li a {
  padding: 14px 16px;
  font-size: 1.05rem;
}

/* ─── WOOCOMMERCE OVERRIDES ──────────────────────────── */
.woocommerce .products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; gap: 28px !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: 100% !important; float: none !important; }
.woocommerce .woocommerce-ordering select, .woocommerce .woocommerce-result-count { font-family: var(--font-body); }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: var(--green-mid) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  font-family: var(--font-body) !important;
  transition: var(--transition) !important;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
  background: var(--green-deep) !important;
}
.woocommerce .price { color: var(--green-deep) !important; font-family: var(--font-display) !important; }
