/*
 Theme Name: Caizergues Custom
 Description: Pepinieres Caizergues - Theme standalone professionnel vert foret
 Version: 3.0
 Author: Thillion Agency
 Author URI: https://thillion-agency.com
 License: Proprietary
 Text Domain: caizergues-custom
 Requires at least: 6.0
 Tested up to: 6.9
 Requires PHP: 8.0
*/

/* ============================================
   DESIGN TOKENS / CSS VARIABLES
   ============================================ */
:root {
  /* Primary - Forest Green */
  --forest-50: #f0fdf4;
  --forest-100: #dcfce7;
  --forest-200: #bbf7d0;
  --forest-300: #86efac;
  --forest-400: #4ade80;
  --forest-500: #22c55e;
  --forest-600: #16a34a;
  --forest-700: #15803d;
  --forest-800: #166534;
  --forest-900: #14532d;
  --forest-950: #0a3d29;

  /* Primary brand (original site) */
  --brand-primary: #1a472a;
  --brand-secondary: #2d5a3f;
  --brand-light: #f0fdf4;
  --brand-accent: #dcfce7;

  /* Earth / Mocha tones */
  --mocha-50: #d7ccc8;
  --mocha-100: #bcaaa4;
  --mocha-200: #a1887f;
  --mocha-800: #4e342e;
  --mocha-900: #3e2723;

  /* Neutral / Stone */
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;

  /* Semantic */
  --success: #22c55e;
  --warning: #f59e0b;
  --info: #0ea5e9;
  --danger: #ef4444;
  --white: #ffffff;

  /* Border radius */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-md: 0 6px 12px -2px rgba(0,0,0,0.1), 0 3px 5px -3px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --shadow-green: 0 4px 14px rgba(22,101,52,0.35);
  --shadow-green-lg: 0 8px 25px rgba(22,101,52,0.45);
  --shadow-inner: inset 0 2px 4px 0 rgba(0,0,0,0.06);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-wide: 1400px;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--stone-700);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background: var(--white);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest-950);
  margin-top: 0;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

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

a:hover {
  color: var(--forest-800);
}

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

/* Selection highlight */
::selection {
  background: var(--forest-200);
  color: var(--forest-950);
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--forest-500);
  outline-offset: 2px;
}

/* ============================================
   ANIMATIONS / KEYFRAMES
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes leafFloat {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translate(100px, 300px) rotate(360deg); opacity: 0; }
}

/* Animation utility classes */
.animate-fadeIn { animation: fadeIn 0.6s ease-out both; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out both; }
.animate-fadeInDown { animation: fadeInDown 0.6s ease-out both; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s ease-out both; }
.animate-fadeInRight { animation: fadeInRight 0.6s ease-out both; }
.animate-scaleIn { animation: scaleIn 0.5s ease-out both; }
.animate-float { animation: float 4s ease-in-out infinite; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }


/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: linear-gradient(90deg, var(--forest-950), var(--brand-primary));
  padding: 8px 24px;
  font-size: 0.82rem;
  transition: all 0.3s ease;
  overflow: hidden;
  max-height: 40px;
  position: relative;
  z-index: 1001;
}

.top-bar.hidden {
  max-height: 0;
  padding: 0 24px;
  opacity: 0;
}

.top-bar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 24px;
}

.top-bar-right {
  display: flex;
  gap: 16px;
}

.top-bar-item {
  color: var(--forest-300);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.top-bar-item svg,
.top-bar-item .top-icon {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.top-bar-item a {
  color: var(--forest-200);
  text-decoration: none;
  transition: var(--transition);
}

.top-bar-item a:hover {
  color: var(--white);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.custom-header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(231,229,228,0.8);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.custom-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  border-bottom-color: transparent;
  background: rgba(255,255,255,0.95);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--transition);
}

.header-brand:hover {
  opacity: 0.85;
}

.header-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  transition: var(--transition);
}

.header-brand:hover .header-logo {
  transform: scale(1.05);
}

.header-brand-text {
  display: flex;
  flex-direction: column;
}

.header-brand-name {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--forest-950);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.header-brand-tagline {
  font-size: 0.72rem;
  color: var(--stone-400);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Navigation links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  color: var(--stone-600);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--forest-700);
  background: var(--forest-50);
}

.nav-link.active {
  color: var(--forest-700);
  background: var(--forest-50);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--forest-600), var(--forest-500));
  border-radius: 2px;
}

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

.header-cta {
  padding: 10px 24px !important;
  font-size: 0.88rem !important;
  border-radius: 10px !important;
}

/* Mobile hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: var(--forest-50);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest-950);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-link {
  display: block;
  padding: 14px 16px;
  color: var(--forest-950);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  transition: var(--transition);
}

.mobile-link:hover {
  background: var(--forest-50);
  color: var(--forest-700);
}

.mobile-link.active {
  background: var(--forest-50);
  color: var(--forest-700);
  font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  line-height: 1.5;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-800));
  color: var(--white);
  box-shadow: var(--shadow-green);
}

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

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-green);
}

.btn-secondary {
  background: transparent;
  color: var(--forest-800);
  border: 2px solid var(--stone-200);
}

.btn-secondary:hover {
  border-color: var(--forest-600);
  background: var(--forest-50);
  transform: translateY(-2px);
  color: var(--forest-800);
}

.btn-white {
  background: var(--white);
  color: var(--forest-800);
  box-shadow: var(--shadow);
}

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--forest-700);
  padding: 10px 20px;
}

.btn-ghost:hover {
  background: var(--forest-50);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: 14px;
}

.btn-icon {
  padding: 12px;
  border-radius: 12px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--forest-50) 0%, var(--white) 50%, rgba(22,197,94,0.03) 100%);
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative background elements */
.hero-section::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(22,163,74,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(22,163,74,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(22,163,74,0.08), rgba(21,128,61,0.08));
  color: var(--forest-700);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 32px;
  border: 1px solid rgba(22,163,74,0.15);
  animation: fadeInDown 0.6s ease-out both;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forest-500);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--forest-950);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--forest-600), var(--forest-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--forest-200);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.6;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--stone-500);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Hero with background image variant */
.hero-image {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,61,41,0.85), rgba(26,71,42,0.7));
}

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

.hero-image .hero-title {
  color: var(--white);
}

.hero-image .hero-subtitle {
  color: rgba(255,255,255,0.8);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 60px auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--stone-100);
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stats-bar-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.stat-item:hover {
  background: var(--forest-50);
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--stone-200);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.4rem;
  transition: var(--transition);
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
}

.stat-icon.green { background: rgba(22,163,74,0.1); }
.stat-icon.amber { background: rgba(245,158,11,0.1); }
.stat-icon.blue { background: rgba(14,165,233,0.1); }
.stat-icon.rose { background: rgba(244,63,94,0.1); }

.stat-number {
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--forest-800);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-weight: 700;
  color: var(--forest-950);
  font-size: 1rem;
  margin-bottom: 4px;
}

.stat-desc {
  color: var(--stone-500);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ============================================
   GENERAL SECTIONS
   ============================================ */
.section {
  padding: 100px 24px;
  position: relative;
}

.section-green {
  background: var(--forest-50);
}

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

.section-cream {
  background: linear-gradient(180deg, var(--stone-50), var(--white));
}

.section-dark {
  background: linear-gradient(135deg, var(--forest-950) 0%, var(--forest-900) 100%);
  color: var(--white);
}

.section-gradient {
  background: linear-gradient(180deg, var(--forest-50) 0%, var(--white) 100%);
}

.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.section-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-700);
  background: rgba(22,163,74,0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(22,163,74,0.12);
}

.section-dark .section-badge {
  background: rgba(34,197,94,0.15);
  color: var(--forest-300);
  border-color: rgba(34,197,94,0.2);
}

.section-title {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--forest-950);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--stone-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: var(--forest-300);
}

/* Decorative leaf pattern for sections */
.section-decorated::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(22,163,74,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ============================================
   SERVICE / FEATURE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--stone-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--forest-500), var(--forest-700));
  opacity: 0;
  transition: var(--transition);
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--forest-50), var(--forest-100));
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-3deg);
}

.service-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--forest-950);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--stone-500);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--forest-600);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
  text-decoration: none;
  transition: var(--transition);
}

.service-link:hover {
  gap: 10px;
  color: var(--forest-800);
}

/* ============================================
   CATALOGUE - SEARCH & FILTERS
   ============================================ */
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  align-items: center;
}

.catalog-search {
  flex: 1;
  min-width: 250px;
  padding: 12px 16px 12px 44px;
  border: 2px solid var(--stone-200);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") 14px center no-repeat;
}

.catalog-search:focus {
  outline: none;
  border-color: var(--forest-500);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.1);
}

.catalog-search::placeholder {
  color: var(--stone-400);
}

.catalog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-filter {
  padding: 10px 18px;
  border: 2px solid var(--stone-200);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--stone-600);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.catalog-filter:hover {
  border-color: var(--forest-500);
  color: var(--forest-700);
}

.catalog-filter.active {
  background: var(--forest-700);
  color: var(--white);
  border-color: var(--forest-700);
  font-weight: 600;
}

.catalog-count {
  font-size: 0.85rem;
  color: var(--stone-500);
  margin-left: auto;
  font-weight: 500;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-sort select {
  padding: 10px 36px 10px 16px;
  border: 2px solid var(--stone-200);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--stone-600);
  background: var(--white);
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* ============================================
   CATALOGUE - PRODUCT GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stone-100);
  transition: var(--transition);
  text-decoration: none;
  display: block;
  position: relative;
}

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

.product-card:hover .product-img img,
.product-card:hover .product-img-placeholder {
  transform: scale(1.05);
}

.product-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--forest-50), var(--forest-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--forest-300);
  transition: transform 0.5s ease;
}

/* Wishlist / Quick actions overlay */
.product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  font-size: 0.9rem;
}

.product-action-btn:hover {
  background: var(--forest-50);
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
}

.product-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--forest-700);
  background: var(--forest-50);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-name {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest-950);
  margin-bottom: 4px;
  line-height: 1.3;
  transition: var(--transition);
}

.product-card:hover .product-name {
  color: var(--forest-700);
}

.product-latin {
  font-size: 0.82rem;
  color: var(--stone-400);
  font-style: italic;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--stone-500);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--stone-100);
}

.product-price {
  font-weight: 700;
  color: var(--forest-800);
  font-size: 1.15rem;
}

.product-price .from {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--stone-500);
}

.product-badge {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-badge.available {
  background: rgba(22,163,74,0.1);
  color: var(--forest-700);
}

.product-badge.limited {
  background: rgba(245,158,11,0.1);
  color: #d97706;
}

.product-badge.out {
  background: rgba(239,68,68,0.1);
  color: #dc2626;
}

.product-badge.new {
  background: var(--forest-700);
  color: var(--white);
}

/* No results message */
.no-results {
  text-align: center;
  padding: 80px 24px;
  grid-column: 1 / -1;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.4;
}

.no-results h3 {
  color: var(--stone-600);
  margin-bottom: 8px;
}

.no-results p {
  color: var(--stone-400);
}

/* ============================================
   WOOCOMMERCE PRODUCT STYLES
   ============================================ */
.woocommerce ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products li.product,
ul.products li.product {
  background: var(--white) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  border: 1px solid var(--stone-100) !important;
  transition: var(--transition) !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  float: none !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-xl) !important;
  border-color: transparent !important;
}

.woocommerce ul.products li.product img,
ul.products li.product img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
  font-family: "Inter", sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--forest-950) !important;
  padding: 16px 20px 4px !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product .price,
ul.products li.product .price {
  color: var(--forest-800) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  padding: 0 20px !important;
  margin: 8px 0 !important;
}

.woocommerce ul.products li.product .price del {
  color: var(--stone-400) !important;
  font-weight: 400 !important;
  font-size: 0.9rem !important;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
  font-weight: 700 !important;
  color: var(--forest-700) !important;
}

.woocommerce ul.products li.product .button,
ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, var(--forest-700), var(--forest-800)) !important;
  color: var(--white) !important;
  padding: 12px 24px !important;
  margin: 12px 20px 20px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  border: none !important;
  transition: var(--transition) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: var(--shadow-green) !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-green-lg) !important;
}

/* WooCommerce badges */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  background: var(--forest-700) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  padding: 4px 12px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.5 !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
}

/* WooCommerce star ratings */
.woocommerce .star-rating {
  color: #f59e0b !important;
}

/* WooCommerce single product */
.woocommerce div.product {
  padding: 40px 24px !important;
  max-width: var(--container-max) !important;
  margin: 0 auto !important;
}

.woocommerce div.product .product_title {
  font-family: "Playfair Display", "Georgia", serif !important;
  font-size: 2rem !important;
  color: var(--forest-950) !important;
  margin-bottom: 12px !important;
}

.woocommerce div.product p.price {
  color: var(--forest-800) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

.woocommerce div.product .woocommerce-product-gallery {
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
}

/* WooCommerce cart & checkout */
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--stone-200) !important;
  padding: 24px !important;
}

.woocommerce table.shop_table {
  border-radius: var(--radius) !important;
  border: 1px solid var(--stone-200) !important;
  overflow: hidden !important;
}

.woocommerce table.shop_table th {
  background: var(--forest-50) !important;
  color: var(--forest-950) !important;
  font-weight: 600 !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 2px solid var(--stone-200) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  transition: var(--transition) !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--forest-500) !important;
  box-shadow: 0 0 0 4px rgba(22,163,74,0.1) !important;
  outline: none !important;
}

/* WooCommerce notices */
.woocommerce-message {
  border-top-color: var(--forest-600) !important;
  background: var(--forest-50) !important;
  border-radius: var(--radius) !important;
}

.woocommerce-message::before {
  color: var(--forest-600) !important;
}

.woocommerce-info {
  border-top-color: var(--info) !important;
  border-radius: var(--radius) !important;
}

.woocommerce-error {
  border-top-color: var(--danger) !important;
  border-radius: var(--radius) !important;
}

/* ============================================
   VALUES GRID (dark sections)
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.value-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  background: rgba(34,197,94,0.15);
  transition: var(--transition);
}

.value-card:hover .value-icon {
  transform: scale(1.1);
  background: rgba(34,197,94,0.2);
}

.value-card h3 {
  font-family: "Inter", sans-serif;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--forest-300);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--stone-100);
  transition: var(--transition);
  position: relative;
}

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

.testimonial-card::before {
  content: "\201C";
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  color: var(--forest-200);
  position: absolute;
  top: 16px;
  left: 28px;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--stone-600);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--forest-100);
}

.testimonial-name {
  font-weight: 600;
  color: var(--forest-950);
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--stone-400);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* ============================================
   TIMELINE / HISTORY
   ============================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--forest-600), var(--forest-300));
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--forest-600);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--forest-200);
}

.timeline-year {
  font-weight: 800;
  color: var(--forest-700);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.timeline-title {
  font-weight: 700;
  color: var(--forest-950);
  font-size: 1rem;
  margin-bottom: 8px;
}

.timeline-desc {
  color: var(--stone-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--forest-50);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.contact-info-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  border-color: var(--stone-100);
  transform: translateX(4px);
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22,163,74,0.1), rgba(22,163,74,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info-card h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--forest-950);
  margin-bottom: 2px;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--stone-500);
  font-size: 0.9rem;
  text-decoration: none;
  margin: 0;
  line-height: 1.5;
}

.contact-info-card a:hover {
  color: var(--forest-600);
}

/* Contact form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-950);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--danger);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--stone-200);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--forest-950);
  transition: var(--transition);
  font-family: inherit;
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--stone-400);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--forest-500);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-success {
  background: var(--forest-50);
  border: 1px solid var(--forest-200);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--forest-800);
  font-weight: 500;
}

/* WordPress Contact Form 7 overrides */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--stone-200);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--forest-500);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.1);
}

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--forest-700), var(--forest-800));
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-green);
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-green-lg);
}

.wpcf7-not-valid-tip {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 4px;
}

.wpcf7-response-output {
  border-radius: var(--radius) !important;
  padding: 16px 20px !important;
}

/* ============================================
   MAP / LOCATION
   ============================================ */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 32px;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--forest-950) 0%, var(--forest-800) 50%, var(--forest-700) 100%);
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(34,197,94,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.cta-section h2 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

/* CTA with image side variant */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  text-align: left;
}

.cta-split .cta-text h2 {
  text-align: left;
}

.cta-split .cta-text p {
  margin-left: 0;
}

.cta-split .cta-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cta-split .cta-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ============================================
   FEATURES / BENEFITS SECTION
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--forest-50), var(--forest-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--forest-100), var(--forest-200));
}

.feature-content h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest-950);
  margin-bottom: 6px;
}

.feature-content p {
  color: var(--stone-500);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   IMAGE GALLERY / PHOTO GRID
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,61,41,0.6) 100%);
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 1;
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* WordPress block gallery override */
.wp-block-gallery {
  gap: 16px !important;
}

.wp-block-gallery .wp-block-image {
  border-radius: var(--radius) !important;
  overflow: hidden !important;
}

/* ============================================
   BLOG / ARTICLES
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stone-100);
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

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

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--forest-700);
  background: var(--forest-50);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.blog-card-title {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest-950);
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-excerpt {
  color: var(--stone-500);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--stone-100);
}

.blog-card-date {
  font-size: 0.82rem;
  color: var(--stone-400);
}

.blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card-link:hover {
  gap: 8px;
  color: var(--forest-800);
}

/* Single post styles */
.single-post .entry-content {
  max-width: var(--container-narrow) !important;
  margin: 0 auto !important;
  padding: 40px 24px !important;
}

.single-post .entry-content h2 {
  margin-top: 48px;
}

.single-post .entry-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--stone-700);
}

.single-post .entry-content img {
  border-radius: var(--radius);
}

.single-post .entry-content blockquote {
  border-left: 4px solid var(--forest-500);
  background: var(--forest-50);
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--forest-800);
}

/* ============================================
   FAQ / ACCORDION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--forest-200);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--forest-950);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--forest-600);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--stone-500);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
  animation: slideDown 0.3s ease-out;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  padding: 16px 24px;
  background: var(--stone-50);
  border-bottom: 1px solid var(--stone-100);
}

.breadcrumbs-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--stone-500);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--forest-600);
}

.breadcrumbs .separator {
  color: var(--stone-300);
}

.breadcrumbs .current {
  color: var(--forest-700);
  font-weight: 500;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.pagination a {
  background: var(--white);
  border: 1px solid var(--stone-200);
  color: var(--stone-600);
}

.pagination a:hover {
  border-color: var(--forest-500);
  color: var(--forest-700);
  background: var(--forest-50);
}

.pagination .current {
  background: var(--forest-700);
  color: var(--white);
  border: 1px solid var(--forest-700);
}

/* ============================================
   TAGS / BADGES
   ============================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-green {
  background: var(--forest-50);
  color: var(--forest-700);
}

.tag-amber {
  background: rgba(245,158,11,0.1);
  color: #d97706;
}

.tag-blue {
  background: rgba(14,165,233,0.1);
  color: #0284c7;
}

.tag-red {
  background: rgba(239,68,68,0.1);
  color: #dc2626;
}

/* ============================================
   NEWSLETTER / SUBSCRIBE
   ============================================ */
.newsletter-box {
  background: linear-gradient(135deg, var(--forest-50), var(--white));
  border: 1px solid var(--forest-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.newsletter-box h3 {
  font-family: "Playfair Display", serif;
  color: var(--forest-950);
  margin-bottom: 8px;
}

.newsletter-box p {
  color: var(--stone-500);
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--stone-200);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--forest-500);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.1);
}

/* ============================================
   ABOUT PAGE - TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stone-100);
  text-align: center;
  transition: var(--transition);
}

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

.team-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card-body {
  padding: 24px;
}

.team-card-name {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest-950);
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 0.85rem;
  color: var(--forest-600);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card-bio {
  font-size: 0.88rem;
  color: var(--stone-500);
  line-height: 1.6;
}

/* ============================================
   DEVIS / QUOTE REQUEST
   ============================================ */
.devis-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.devis-steps {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.devis-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--stone-400);
}

.devis-step.active {
  color: var(--forest-700);
  font-weight: 600;
}

.devis-step .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--stone-100);
  color: var(--stone-500);
}

.devis-step.active .step-num {
  background: var(--forest-700);
  color: var(--white);
}

.devis-step.done .step-num {
  background: var(--forest-100);
  color: var(--forest-700);
}

/* ============================================
   FOOTER
   ============================================ */
.custom-footer {
  background: var(--forest-950);
  padding: 64px 24px 0;
  position: relative;
  overflow: hidden;
}

.custom-footer::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34,197,94,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.footer-brand .brand-name {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  color: var(--forest-300);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-300);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-col ul li a {
  color: var(--forest-300);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-col ul li {
  color: var(--forest-300);
  font-size: 0.9rem;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 48px auto 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--forest-400);
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--forest-400);
  text-decoration: none;
}

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

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ============================================
   LOADING / SKELETON
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, var(--stone-100) 25%, var(--stone-50) 50%, var(--stone-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 16px;
  margin-bottom: 8px;
  width: 100%;
}

.skeleton-title {
  height: 24px;
  margin-bottom: 12px;
  width: 60%;
}

.skeleton-img {
  height: 200px;
  width: 100%;
  border-radius: var(--radius);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--forest-700);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--forest-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 500px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-2xl);
  z-index: 9999;
  animation: fadeInUp 0.5s ease-out;
  border: 1px solid var(--stone-100);
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--stone-600);
  margin-bottom: 16px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .top-bar,
  .custom-header,
  .custom-footer,
  .mobile-menu,
  .back-to-top,
  .cookie-banner {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding: 24px 0;
  }

  .product-card,
  .service-card {
    break-inside: avoid;
    border: 1px solid #ddd;
    box-shadow: none;
  }
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-split {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .cta-split .cta-text h2 {
    text-align: center;
  }

  .cta-split .cta-text p {
    margin: 0 auto 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RESPONSIVE - MOBILE LANDSCAPE (max-width: 900px)
   ============================================ */
@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .header-cta {
    display: none !important;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .top-bar-left {
    gap: 12px;
  }

  .top-bar-item:nth-child(2) {
    display: none;
  }
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  .hero-section {
    padding: 80px 20px 60px;
    min-height: auto;
  }

  .hero-image {
    min-height: 50vh;
    padding: 80px 20px;
    background-attachment: scroll;
  }

  .section {
    padding: 64px 20px;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .stats-bar-4 {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stat-item:not(:last-child) {
    border-bottom: 1px solid var(--stone-200);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn,
  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto !important;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .footer-brand p {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .footer-col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }

  .footer-links-bottom {
    justify-content: center;
  }

  .catalog-controls {
    flex-direction: column;
  }

  .catalog-search {
    min-width: 100%;
  }

  .catalog-filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-filter {
    flex-shrink: 0;
  }

  .catalog-count {
    margin-left: 0;
  }

  .devis-form {
    padding: 32px 20px;
  }

  .devis-steps {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .map-container iframe {
    height: 280px;
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }

  .timeline {
    padding-left: 32px;
  }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .header-brand-tagline {
    display: none;
  }

  .header-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .header-inner {
    height: 60px;
  }

  .mobile-menu {
    top: 60px;
  }

  .top-bar {
    font-size: 0.75rem;
    padding: 6px 16px;
  }

  .top-bar-right {
    display: none;
  }

  .hero-section {
    padding: 60px 16px 48px;
  }

  .section {
    padding: 48px 16px;
  }

  .stats-bar-4 {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 24px 20px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .service-card {
    padding: 28px 20px;
  }

  .value-card {
    padding: 28px 20px;
  }

  .product-img,
  .woocommerce ul.products li.product img {
    height: 180px !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ============================================
   HIGH CONTRAST / REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-image {
    background-attachment: scroll;
  }
}

@media (prefers-contrast: high) {
  :root {
    --stone-200: #999;
    --stone-400: #555;
    --stone-500: #333;
  }

  .nav-link {
    font-weight: 600;
  }

  .product-desc,
  .service-card p,
  .value-card p {
    color: var(--stone-600);
  }
}

/* ============================================
   DARK MODE SUPPORT (optional)
   ============================================ */
@media (prefers-color-scheme: dark) {
  /* Only apply if admin enables dark mode support */
  .dark-mode-enabled body {
    background: var(--stone-900);
    color: var(--stone-200);
  }
}

/* ============================================
   WORDPRESS GUTENBERG BLOCK OVERRIDES
   ============================================ */
.wp-block-cover {
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
}

.wp-block-columns {
  gap: 24px !important;
}

.wp-block-button__link {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-800)) !important;
  color: var(--white) !important;
  border-radius: 12px !important;
  padding: 14px 32px !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  box-shadow: var(--shadow-green) !important;
}

.wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-green-lg) !important;
}

.is-style-outline .wp-block-button__link {
  background: transparent !important;
  border: 2px solid var(--forest-700) !important;
  color: var(--forest-700) !important;
  box-shadow: none !important;
}

.is-style-outline .wp-block-button__link:hover {
  background: var(--forest-50) !important;
}

.wp-block-separator {
  border-color: var(--stone-200) !important;
}

.wp-block-quote {
  border-left: 4px solid var(--forest-500) !important;
  padding-left: 20px !important;
  font-style: italic !important;
  color: var(--stone-600) !important;
}

.wp-block-table table {
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  border: 1px solid var(--stone-200) !important;
}

.wp-block-table th {
  background: var(--forest-50) !important;
  color: var(--forest-950) !important;
  font-weight: 600 !important;
}

/* WordPress admin bar fix */
body.admin-bar .custom-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .custom-header {
    top: 46px;
  }
}
