/*
Theme Name: Green Consulting
Theme URI: https://www.greenconsultingsrl.com
Author: FreelanceBo S.r.l.s
Author URI: https://www.freelancebo.it
Description: Tema personalizzato per Green Consulting Srl - Energia Solare e Fotovoltaico. Compatibile con Elementor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: green-consulting
Tags: custom-logo, elementor, full-width-template, fotovoltaico, green-energy
*/

/* ============================================
   GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Sora:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --gc-green-dark: #1B5E20;
  --gc-green-mid: #2E7D32;
  --gc-green-light: #4CAF50;
  --gc-green-lighter: #81C784;
  --gc-green-pale: #E8F5E9;
  --gc-green-bg: #f0fdf0;
  --gc-dark: #111827;
  --gc-gray-800: #1f2937;
  --gc-gray-600: #4b5563;
  --gc-gray-400: #9ca3af;
  --gc-gray-200: #e5e7eb;
  --gc-gray-100: #f3f4f6;
  --gc-white: #ffffff;
  --gc-gold: #f59e0b;
  --gc-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --gc-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --gc-shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --gc-radius: 12px;
  --gc-radius-lg: 16px;
  --gc-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gc-font-heading: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--gc-font-body);
  color: var(--gc-dark);
  line-height: 1.6;
  background: var(--gc-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================
   UTILITIES
   ============================================ */
.gc-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.gc-badge {
  display: inline-block;
  background: var(--gc-green-pale);
  color: var(--gc-green-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
}
.gc-section-title {
  font-family: var(--gc-font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gc-dark);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.gc-section-title span { color: var(--gc-green-dark); }
.gc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.gc-btn-primary {
  background: linear-gradient(135deg, var(--gc-green-dark), var(--gc-green-mid));
  color: var(--gc-white);
  box-shadow: 0 4px 16px rgba(27,94,32,0.35);
}
.gc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,94,32,0.4);
  color: var(--gc-white);
}
.gc-btn-secondary {
  background: var(--gc-white);
  color: var(--gc-green-dark);
  border: 2px solid var(--gc-green-dark);
}
.gc-btn-secondary:hover { background: var(--gc-green-pale); }
.gc-btn-white {
  background: var(--gc-white);
  color: var(--gc-green-dark);
  box-shadow: var(--gc-shadow-md);
}
.gc-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes gcFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gcPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.gc-animate { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.gc-animate.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.gc-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: none;
}
.gc-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}
.gc-header-logo img { height: 90px; width: auto; display: inline-block !important; filter: brightness(0) invert(1); }
.gc-header-logo .custom-logo { height: 90px; width: auto; display: inline-block !important; filter: brightness(0) invert(1); }
.gc-header-logo .custom-logo-link { display: inline-block; }
.gc-header-logo a { display: inline-block; }
.gc-header-nav { display: flex; align-items: center; gap: 2.5rem; }
.gc-header-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: #ffffff !important;
  position: relative;
}
.gc-header-nav a:link,
.gc-header-nav a:visited,
.gc-header-nav a:active { color: #ffffff !important; }
.gc-header-nav a:hover { color: #ffffff !important; }
.gc-header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: #ffffff;
  transition: width 0.3s;
}
.gc-header-nav a:hover::after { width: 100%; }
.gc-header-nav a.current-menu-item { color: #ffffff !important; font-weight: 600; }
.gc-header-nav a.current-menu-item::after { width: 100%; }
.gc-header-cta {
  background: linear-gradient(135deg, var(--gc-green-dark), var(--gc-green-mid)) !important;
  color: var(--gc-white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 2px 8px rgba(27,94,32,0.3);
}
.gc-header-cta::after { display: none !important; }
.gc-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27,94,32,0.4) !important;
}
.gc-header-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.gc-header-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: 0.3s;
}
.gc-header-mobile {
  display: none;
  position: fixed;
  top: 100px; left: 0; right: 0;
  background: var(--gc-white);
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  flex-direction: column;
  gap: 0.5rem;
  z-index: 999;
}
.gc-header-mobile.open { display: flex; }
.gc-header-mobile a {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0;
  color: var(--gc-gray-600);
  border-bottom: 1px solid var(--gc-gray-200);
}
.gc-header-mobile a:last-child {
  background: var(--gc-green-dark);
  color: var(--gc-white);
  text-align: center;
  padding: 0.85rem;
  border-radius: 8px;
  margin-top: 0.75rem;
  border: none;
}

/* Non-homepage: green header background */
.gc-page-has-header .gc-header { background: var(--gc-green-dark); }
.gc-page-has-header .gc-header-logo img { filter: brightness(0) invert(1); }

/* ============================================
   FOOTER
   ============================================ */
.gc-footer {
  background: var(--gc-dark);
  color: var(--gc-white);
  padding: 4rem 0 0;
}
.gc-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.gc-footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
}
.gc-footer-brand img { height: 42px; margin-bottom: 0.5rem; filter: brightness(0) invert(1); }
.gc-footer h4 {
  font-family: var(--gc-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.gc-footer-links li { margin-bottom: 0.6rem; }
.gc-footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.gc-footer-links a:hover { color: var(--gc-white); }
.gc-footer-contact li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.gc-footer-contact a { color: rgba(255,255,255,0.6); }
.gc-footer-contact a:hover { color: var(--gc-white); }
.gc-footer-contact svg {
  width: 18px; height: 18px;
  opacity: 0.6;
  flex-shrink: 0;
}
.gc-footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.gc-footer-bottom a { color: rgba(255,255,255,0.4); }
.gc-footer-bottom a:hover { color: var(--gc-white); }
.gc-footer-social { display: flex; gap: 1rem; }
.gc-footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gc-footer-social a:hover { background: var(--gc-green-dark); }
.gc-footer-social svg { width: 18px; height: 18px; fill: var(--gc-white); }

/* ============================================
   HERO (Homepage) - VIDEO BACKGROUND
   ============================================ */
.gc-hero {
  margin-top: 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #000;
}
.gc-hero-video-wrap {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}
.gc-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gc-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.55);
}
.gc-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 5rem;
  position: relative;
  z-index: 2;
}
.gc-hero-content { max-width: 700px; }
.gc-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gc-white);
  margin-bottom: 1.5rem;
  animation: gcFadeUp 0.6s ease-out;
  backdrop-filter: blur(4px);
}
.gc-hero-tag svg { width: 16px; height: 16px; }
.gc-hero h1 {
  font-family: var(--gc-font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--gc-white);
  margin-bottom: 1.5rem;
  animation: gcFadeUp 0.6s ease-out 0.1s both;
}
.gc-hero h1 span { color: var(--gc-green-lighter); }
.gc-hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
  animation: gcFadeUp 0.6s ease-out 0.2s both;
}
.gc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 2rem;
  animation: gcFadeUp 0.6s ease-out 0.25s both;
}
.gc-hero-badge img { width: 40px; height: 40px; border-radius: 8px; }
.gc-hero-badge div strong { display: block; font-size: 0.95rem; color: var(--gc-white); }
.gc-hero-badge div span { font-size: 0.85rem; color: var(--gc-gold); font-weight: 600; }
.gc-hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: gcFadeUp 0.6s ease-out 0.3s both;
}
.gc-btn-outline-white {
  background: transparent;
  color: var(--gc-white);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.gc-btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--gc-white);
  color: var(--gc-white);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.gc-about { padding: 6rem 0; background: var(--gc-white); }
.gc-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.gc-about-img-wrap { position: relative; }
.gc-about-img-wrap img {
  border-radius: var(--gc-radius-lg);
  box-shadow: var(--gc-shadow-lg);
  width: 100%;
  object-fit: cover;
}
.gc-about-img-overlay {
  position: absolute;
  bottom: 20px; right: -20px;
  background: var(--gc-green-dark);
  color: var(--gc-white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--gc-radius);
  box-shadow: var(--gc-shadow-md);
}
.gc-about-img-overlay strong {
  display: block;
  font-family: var(--gc-font-heading);
  font-size: 2rem;
  font-weight: 700;
}
.gc-about-img-overlay span { font-size: 0.85rem; opacity: 0.9; }
.gc-about-icon-float {
  position: absolute;
  top: -20px; left: -20px;
  background: var(--gc-white);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--gc-shadow-lg);
}
.gc-about-icon-float img { width: 60px; height: 60px; }
.gc-about-content .gc-badge { margin-bottom: 1rem; }
.gc-about-content .gc-section-title { margin-bottom: 1.5rem; }
.gc-about-content p { color: var(--gc-gray-600); margin-bottom: 1rem; font-size: 1.02rem; }
.gc-about-features { display: flex; gap: 2rem; margin-top: 2rem; }
.gc-about-feature { display: flex; align-items: center; gap: 0.75rem; }
.gc-about-feature-icon {
  width: 44px; height: 44px;
  background: var(--gc-green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gc-about-feature-icon svg { width: 22px; height: 22px; color: var(--gc-green-dark); }
.gc-about-feature span { font-weight: 600; font-size: 0.9rem; }

/* ============================================
   CTA BANNER
   ============================================ */
.gc-cta-banner {
  background: linear-gradient(135deg, var(--gc-green-dark) 0%, #145218 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.gc-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.gc-cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}
.gc-cta-banner h2 {
  font-family: var(--gc-font-heading);
  color: #ffffff !important;
  font-size: 1.8rem;
  font-weight: 700;
}
.gc-cta-banner p { color: rgba(255,255,255,0.9) !important; font-size: 1rem; margin-top: 0.3rem; }
.gc-cta-banner p strong, .gc-cta-banner p em { color: #ffffff !important; }

/* Force white on ALL text in dark sections */
.gc-cta-banner *, .gc-cta-banner h1, .gc-cta-banner h2, .gc-cta-banner h3, .gc-cta-banner h4 { color: #ffffff !important; }
.gc-cta-banner .gc-btn-white { color: var(--gc-green-dark) !important; }
.gc-config-section h2, .gc-config-section p, .gc-config-section span { color: #ffffff !important; }
.gc-config-section h2 span { color: #81C784 !important; }
.gc-config-section .gc-badge-light { color: #ffffff !important; }

/* ============================================
   BENEFITS
   ============================================ */
.gc-benefits { padding: 6rem 0; background: var(--gc-gray-100); }
.gc-benefits-header { text-align: center; margin-bottom: 3.5rem; }
.gc-benefits-header .gc-badge { margin-bottom: 1rem; }
.gc-benefits-header p { color: var(--gc-gray-600); max-width: 550px; margin: 1rem auto 0; }
.gc-benefits-hero-img {
  max-width: 400px;
  margin: 0 auto 2rem;
  display: block;
}
.gc-benefits-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gc-green-dark);
  margin-bottom: 0.5rem;
}
.gc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.gc-benefit-card {
  background: var(--gc-white);
  border-radius: var(--gc-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid var(--gc-gray-200);
  position: relative;
  overflow: hidden;
}
.gc-benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gc-green-dark), var(--gc-green-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.gc-benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gc-shadow-lg);
  border-color: transparent;
}
.gc-benefit-card:hover::before { opacity: 1; }
.gc-benefit-card img { width: 56px; height: 56px; margin: 0 auto 1.25rem; object-fit: contain; }
.gc-benefit-card h3 {
  font-family: var(--gc-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gc-green-dark);
  margin-bottom: 0.5rem;
}
.gc-benefit-card p { font-size: 0.9rem; color: var(--gc-gray-600); line-height: 1.6; }

/* ============================================
   STATS SECTION (with image)
   ============================================ */
.gc-stats-section { padding: 5rem 0; background: var(--gc-white); }
.gc-stats-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.gc-stats-img { position: relative; }
.gc-stats-img img {
  border-radius: var(--gc-radius-lg);
  box-shadow: var(--gc-shadow-lg);
  width: 100%;
  object-fit: cover;
  min-height: 300px;
  background: var(--gc-green-pale);
}
.gc-stats-img-badge {
  position: absolute;
  bottom: -15px; right: -15px;
  background: var(--gc-green-dark);
  color: var(--gc-white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--gc-radius);
  box-shadow: var(--gc-shadow-md);
  text-align: center;
}
.gc-stats-img-badge strong {
  display: block;
  font-family: var(--gc-font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gc-white);
}
.gc-stats-img-badge span { font-size: 0.85rem; color: rgba(255,255,255,0.9); line-height: 1.4; }
.gc-stats-content { }
.gc-stats-content .gc-section-title { margin-bottom: 2.5rem; }
.gc-stats-grid { display: flex; flex-direction: column; gap: 2rem; }
.gc-stat-item { }
.gc-stat-item strong {
  display: block;
  font-family: var(--gc-font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gc-green-dark);
  line-height: 1.1;
}
.gc-stat-item span { font-size: 1rem; color: var(--gc-gray-600); font-weight: 500; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.gc-testimonials { padding: 6rem 0; background: linear-gradient(180deg, var(--gc-gray-100), var(--gc-white)); }
.gc-testimonials-header { text-align: center; margin-bottom: 3rem; }
.gc-testimonials-header .gc-badge { margin-bottom: 1rem; }
.gc-testimonials-header p { color: var(--gc-gray-600); margin-top: 0.75rem; }
.gc-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gc-testimonial {
  background: var(--gc-white);
  border-radius: var(--gc-radius-lg);
  padding: 0;
  border: 1px solid var(--gc-gray-200);
  transition: all 0.3s;
  overflow: hidden;
}
.gc-testimonial:hover { transform: translateY(-4px); box-shadow: var(--gc-shadow-lg); }
.gc-testimonial-top { position: relative; }
.gc-testimonial-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.gc-testimonial-platform {
  position: absolute;
  bottom: -16px; right: 20px;
  width: 32px !important;
  height: 32px !important;
  background: var(--gc-white);
  border-radius: 50%;
  padding: 4px;
  box-shadow: var(--gc-shadow-sm);
}
.gc-testimonial-stars { margin-bottom: 1rem; color: var(--gc-gold); font-size: 1.1rem; }
.gc-testimonial p {
  font-size: 0.92rem;
  color: var(--gc-gray-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
  padding: 1.5rem 1.5rem 0;
}
.gc-testimonial-author {
  padding: 0 1.5rem 1.5rem;
}
.gc-testimonial-author strong { font-size: 0.95rem; color: var(--gc-dark); }

/* ============================================
   FAQ
   ============================================ */
.gc-faq { padding: 6rem 0; background: var(--gc-white); }
.gc-faq-header { text-align: center; margin-bottom: 3rem; }
.gc-faq-list { max-width: 800px; margin: 0 auto; }
.gc-faq-item {
  border: 1px solid var(--gc-gray-200);
  border-radius: var(--gc-radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all 0.3s;
}
.gc-faq-item:hover { border-color: var(--gc-green-light); }
.gc-faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gc-dark);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.gc-faq-question:hover { color: var(--gc-green-dark); }
.gc-faq-question svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--gc-gray-400);
}
.gc-faq-item.open .gc-faq-question svg { transform: rotate(180deg); color: var(--gc-green-dark); }
.gc-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.gc-faq-item.open .gc-faq-answer { max-height: 500px; }
.gc-faq-answer-inner { padding: 0 1.5rem 1.25rem; color: var(--gc-gray-600); font-size: 0.95rem; line-height: 1.7; }

/* ============================================
   CONFIGURATOR SECTION
   ============================================ */
.gc-config-section {
  padding: 5rem 0 6rem;
  background: linear-gradient(135deg, var(--gc-green-dark) 0%, #145218 100%);
  position: relative;
  overflow: hidden;
}
.gc-config-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}
.gc-config-header { text-align: center; margin-bottom: 2.5rem; position: relative; z-index: 2; }
.gc-badge-light {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--gc-white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.gc-config-header h2 {
  font-family: var(--gc-font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.gc-config-header h2 span { color: #81C784 !important; }
.gc-config-header p { color: rgba(255,255,255,0.85) !important; max-width: 550px; margin: 0.75rem auto 0; font-size: 1.05rem; }

/* ============================================
   PAGE HERO (Chi siamo, Blog)
   ============================================ */
.gc-page-hero {
  margin-top: 100px;
  padding: 5rem 0 4rem;
  background: linear-gradient(165deg, var(--gc-white) 0%, var(--gc-green-pale) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gc-page-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(76,175,80,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.gc-page-hero .gc-badge { margin-bottom: 1rem; }
.gc-page-hero h1 {
  font-family: var(--gc-font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
}
.gc-page-hero p {
  color: var(--gc-gray-600);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1rem auto 0;
  position: relative;
}

/* ============================================
   CHI SIAMO - TAB SECTIONS
   ============================================ */
.gc-chi-siamo { padding: 5rem 0; }
.gc-chi-img {
  border-radius: var(--gc-radius-lg);
  box-shadow: var(--gc-shadow-lg);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.gc-tabs-nav {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.gc-tab-btn {
  padding: 0.7rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gc-gray-600);
  border: 2px solid var(--gc-gray-200);
  transition: all 0.25s;
}
.gc-tab-btn:hover { border-color: var(--gc-green-light); color: var(--gc-green-dark); }
.gc-tab-btn.active {
  background: var(--gc-green-dark);
  color: var(--gc-white);
  border-color: var(--gc-green-dark);
}
.gc-tab-panel { display: none; max-width: 800px; margin: 0 auto; }
.gc-tab-panel.active { display: block; animation: gcFadeUp 0.4s ease-out; }
.gc-tab-panel h2 {
  font-family: var(--gc-font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--gc-dark);
}
.gc-tab-panel p { color: var(--gc-gray-600); font-size: 1.02rem; line-height: 1.8; margin-bottom: 1rem; }
.gc-tab-panel strong { color: var(--gc-dark); }
.gc-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.gc-value-card {
  padding: 1.5rem;
  border-radius: var(--gc-radius);
  border: 1px solid var(--gc-gray-200);
  transition: all 0.3s;
}
.gc-value-card:hover { border-color: var(--gc-green-light); box-shadow: var(--gc-shadow-md); }
.gc-value-card h3 {
  font-family: var(--gc-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gc-green-dark);
  margin-bottom: 0.5rem;
}
.gc-value-card p { font-size: 0.9rem; margin: 0; }
.gc-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.gc-service-card {
  padding: 1.75rem;
  border-radius: var(--gc-radius);
  background: var(--gc-green-pale);
  border-left: 4px solid var(--gc-green-dark);
}
.gc-service-card h3 {
  font-family: var(--gc-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gc-green-dark);
  margin-bottom: 0.75rem;
}
.gc-service-card ul { list-style: none; }
.gc-service-card li {
  font-size: 0.9rem;
  color: var(--gc-gray-600);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.gc-service-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gc-green-dark);
  font-weight: 700;
}

/* ============================================
   BLOG LISTING
   ============================================ */
.gc-blog-section { padding: 4rem 0 6rem; }
.gc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.gc-blog-card {
  background: var(--gc-white);
  border-radius: var(--gc-radius-lg);
  overflow: hidden;
  border: 1px solid var(--gc-gray-200);
  transition: all 0.3s;
}
.gc-blog-card:hover { transform: translateY(-4px); box-shadow: var(--gc-shadow-lg); }
.gc-blog-card-img {
  height: 220px;
  overflow: hidden;
}
.gc-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gc-blog-card:hover .gc-blog-card-img img { transform: scale(1.05); }
.gc-blog-card-body { padding: 1.5rem; }
.gc-blog-card-cat {
  display: inline-block;
  background: var(--gc-green-pale);
  color: var(--gc-green-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.gc-blog-card-body h3 {
  font-family: var(--gc-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gc-dark);
  line-height: 1.3;
}
.gc-blog-card-body p {
  font-size: 0.88rem;
  color: var(--gc-gray-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.gc-blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--gc-gray-200);
}
.gc-blog-card-meta span { font-size: 0.8rem; color: var(--gc-gray-400); }
.gc-blog-card-meta a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gc-green-dark);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.gc-blog-card-meta a:hover { color: var(--gc-green-light); }

/* ============================================
   SINGLE POST
   ============================================ */
.gc-single-post { padding: 5rem 0 6rem; margin-top: 100px; }
.gc-single-post .gc-container { max-width: 800px; }
.gc-single-post-header { margin-bottom: 2.5rem; }
.gc-single-post-header h1 {
  font-family: var(--gc-font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.gc-single-post-header .gc-post-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--gc-gray-400);
  font-size: 0.85rem;
}
.gc-single-post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gc-gray-800);
}
.gc-single-post-content p { margin-bottom: 1.5rem; }
.gc-single-post-content h2 {
  font-family: var(--gc-font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: var(--gc-dark);
}
.gc-single-post-content h3 {
  font-family: var(--gc-font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}
.gc-single-post-content img {
  border-radius: var(--gc-radius);
  margin: 2rem 0;
}
.gc-single-post-content ul, .gc-single-post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.gc-single-post-content li {
  margin-bottom: 0.5rem;
  list-style: disc;
}
.gc-single-post-content blockquote {
  border-left: 4px solid var(--gc-green-dark);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--gc-green-pale);
  border-radius: 0 var(--gc-radius) var(--gc-radius) 0;
  font-style: italic;
  color: var(--gc-gray-600);
}

/* ============================================
   BLOG LATEST (reused in home & chi-siamo)
   ============================================ */
.gc-latest-posts { padding: 6rem 0; background: var(--gc-gray-100); }
.gc-latest-posts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.gc-contact-section {
  padding: 5rem 0 6rem;
  background: var(--gc-white);
}
.gc-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.gc-contact-info .gc-badge { margin-bottom: 1rem; }
.gc-contact-info h2 {
  font-family: var(--gc-font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gc-dark);
}
.gc-contact-info > p { color: var(--gc-gray-600); margin-bottom: 2rem; font-size: 1.02rem; }
.gc-contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.gc-contact-detail-icon {
  width: 48px; height: 48px;
  background: var(--gc-green-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gc-contact-detail-icon svg { width: 22px; height: 22px; color: var(--gc-green-dark); }
.gc-contact-detail a, .gc-contact-detail span {
  font-size: 0.95rem;
  color: var(--gc-gray-600);
}
.gc-contact-detail a:hover { color: var(--gc-green-dark); }

/* ============================================
   ELEMENTOR OVERRIDES
   ============================================ */
/* Elementor pages - full width, no extra margins */
.gc-elementor-page { width: 100%; }
.gc-elementor-page .elementor-section.elementor-section-boxed > .elementor-container { max-width: 1200px; }
.gc-elementor-page .elementor-section.elementor-section-stretched { max-width: 100%; }

/* Homepage hero - video section needs no top margin when built with Elementor */
.gc-front-page,
.gc-lavori-page { margin-top: 0; }

/* Other pages - account for header */
.gc-chi-siamo-page,
.gc-blog-page,
.gc-lavori-page,
.gc-default-page { margin-top: 100px; }

/* When Elementor is full width template */
.elementor-template-full-width .gc-elementor-page { margin-top: 0; }

/* Make Elementor sections truly full width */
.gc-elementor-page .elementor-section-wrap { width: 100%; }
.gc-elementor-page .elementor-inner { width: 100%; }

/* Elementor heading widget - respect theme fonts */
.gc-elementor-page .elementor-heading-title { font-family: var(--gc-font-heading); }

/* Fix Elementor columns on mobile */
@media (max-width: 767px) {
    .gc-elementor-page .elementor-column { width: 100% !important; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .gc-hero h1 { font-size: 2.6rem; }
  .gc-hero-inner { padding: 4rem 2rem; }
  .gc-about-inner { grid-template-columns: 1fr; text-align: center; }
  .gc-about-features { justify-content: center; }
  .gc-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .gc-testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .gc-cta-banner-inner { flex-direction: column; text-align: center; }
  .gc-footer-inner { grid-template-columns: 1fr; text-align: center; }
  .gc-footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .gc-contact-inner { grid-template-columns: 1fr; }
  .gc-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gc-values-grid { grid-template-columns: 1fr; }
  .gc-services-grid { grid-template-columns: 1fr; }
  .gc-stats-section-inner { grid-template-columns: 1fr; text-align: center; }
  .gc-stats-img { max-width: 500px; margin: 0 auto; }
  .gc-stats-grid { flex-direction: row; justify-content: center; gap: 3rem; }
}
@media (max-width: 768px) {
  .gc-header-nav { display: none; }
  .gc-header-burger { display: flex; }
  .gc-hero { min-height: auto; }
  .gc-hero h1 { font-size: 2rem; }
  .gc-section-title { font-size: 1.8rem; }
  .gc-page-hero h1 { font-size: 2rem; }
  .gc-benefits-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .gc-about-features { flex-direction: column; align-items: center; }
  .gc-blog-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
  .gc-latest-posts-header { flex-direction: column; gap: 1rem; }
  .gc-tabs-nav { gap: 0.3rem; }
  .gc-tab-btn { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
  .gc-stats-grid { flex-direction: column; gap: 2rem; }
  .gc-config-header h2 { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .gc-container { padding: 0 1.25rem; }
  .gc-hero h1 { font-size: 1.7rem; }
  .gc-hero-btns { flex-direction: column; }
  .gc-btn, .gc-btn-outline-white { width: 100%; justify-content: center; }
  .gc-hero-tag { font-size: 0.72rem; padding: 0.4rem 0.8rem; }
}

/* ============================================
   WORDPRESS DEFAULTS
   ============================================ */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1.5rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--gc-gray-400); text-align: center; padding: 0.5rem 0; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============================================
   NUCLEAR COLOR OVERRIDES
   These MUST stay at the bottom to win specificity
   ============================================ */

/* HERO - everything white */
.gc-hero h1,
.gc-hero h2,
.gc-hero h3,
.gc-hero p,
.gc-hero span,
.gc-hero strong,
.gc-hero em,
.gc-hero a:not(.gc-btn-primary),
.gc-hero .gc-hero-tag,
.gc-hero .gc-hero-text,
.gc-hero .gc-hero-text strong,
.gc-hero .gc-hero-text em { color: #ffffff !important; }
.gc-hero h1 span { color: #81C784 !important; }
.gc-hero .gc-hero-badge div span { color: #f59e0b !important; }

/* CTA BANNER - everything white */
.gc-cta-banner h1,
.gc-cta-banner h2,
.gc-cta-banner h3,
.gc-cta-banner h4,
.gc-cta-banner p,
.gc-cta-banner span,
.gc-cta-banner strong,
.gc-cta-banner em { color: #ffffff !important; }
.gc-cta-banner .gc-btn-white,
.gc-cta-banner .gc-btn-white strong { color: #1B5E20 !important; }

/* CONFIGURATOR SECTION - everything white */
.gc-config-section h1,
.gc-config-section h2,
.gc-config-section h3,
.gc-config-section h4,
.gc-config-section p,
.gc-config-section span,
.gc-config-section strong,
.gc-config-section em,
.gc-config-section .gc-badge-light,
.gc-config-header h2,
.gc-config-header p { color: #ffffff !important; }
.gc-config-header h2 span { color: #81C784 !important; }

/* FOOTER - headings white, text light gray */
.gc-footer h1,
.gc-footer h2,
.gc-footer h3,
.gc-footer h4,
.gc-footer h5,
.gc-footer h6 { color: #ffffff !important; }
.gc-footer p,
.gc-footer span,
.gc-footer li { color: rgba(255,255,255,0.6) !important; }
.gc-footer a { color: rgba(255,255,255,0.6) !important; }
.gc-footer a:hover { color: #ffffff !important; }
.gc-footer-bottom,
.gc-footer-bottom span,
.gc-footer-bottom a { color: rgba(255,255,255,0.4) !important; }
.gc-footer-bottom a:hover { color: #ffffff !important; }

/* STATS BADGE - white on dark green */
.gc-stats-img-badge strong,
.gc-stats-img-badge span,
.gc-stats-img-badge em { color: #ffffff !important; }

/* BUTTONS - ensure correct colors everywhere */
.gc-btn-primary,
.gc-btn-primary strong,
.gc-btn-primary span { color: #ffffff !important; }
.gc-btn-white,
.gc-btn-white strong { color: #1B5E20 !important; }
.gc-btn-outline-white,
.gc-btn-outline-white span { color: #ffffff !important; }

/* HEADER NAV - ALWAYS WHITE */
header a,
.gc-header a,
.gc-header-nav a,
.gc-header nav a,
header nav a,
#gc-header a,
#gc-header nav a,
.gc-header-nav a:link,
.gc-header-nav a:visited,
.gc-header-nav a:hover,
.gc-header-nav a:active,
.gc-header-cta { color: #ffffff !important; }

/* ============================================
   ELEMENTOR NAV MENU MOBILE DROPDOWN FIX
   ============================================ */
/* Force Elementor header section transparent */
[data-elementor-type="header"] > .elementor-section-wrap > .elementor-section,
[data-elementor-type="header"] > .elementor-section {
    background-color: transparent !important;
    background-image: none !important;
}
[data-elementor-type="header"] .elementor-column-wrap,
[data-elementor-type="header"] .elementor-widget-wrap {
    background: transparent !important;
}
.elementor-nav-menu--dropdown,
.elementor-nav-menu__container {
    background: #0a1f0a !important;
    border: none !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6) !important;
    padding: 10px 0 20px !important;
    margin-top: 8px !important;
}
.elementor-nav-menu--dropdown li {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
.elementor-nav-menu--dropdown li:last-child {
    border-bottom: none !important;
}
.elementor-nav-menu--dropdown a,
.elementor-nav-menu--dropdown .elementor-item {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    padding: 16px 28px !important;
    font-family: 'DM Sans', sans-serif !important;
}
.elementor-nav-menu--dropdown a:hover,
.elementor-nav-menu--dropdown a:focus,
.elementor-nav-menu--dropdown .elementor-item:hover,
.elementor-nav-menu--dropdown .elementor-item:focus {
    background: rgba(76,175,80,0.2) !important;
    color: #ffffff !important;
}
.elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
    background: rgba(76,175,80,0.25) !important;
    color: #ffffff !important;
}
/* Hamburger toggle */
.elementor-menu-toggle {
    padding: 8px 12px !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,0.1) !important;
}
.elementor-menu-toggle svg,
.elementor-menu-toggle i {
    fill: #fff !important;
    color: #fff !important;
}
.elementor-menu-toggle .eicon-menu-bar::before,
.elementor-menu-toggle .eicon-close::before {
    color: #fff !important;
}
