/* =========================================================
   BIO-TECH | Modern Agriculture Website
   Design System - Vanilla CSS
   Color Palette inspired by Duchefa Biochemie template
   ========================================================= */

/* ---- GOOGLE FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  /* Core Brand Colors */
  --green-primary:   #007A3D;
  --green-dark:      #005A2D;
  --green-deeper:    #003D1F;
  --green-accent:    #8DC63F;
  --green-light:     #A8D85A;
  --green-pale:      #E8F5E9;
  --green-bg:        #F4F9F6;

  /* Neutrals */
  --white:           #FFFFFF;
  --off-white:       #FAFCFA;
  --charcoal:        #1E293B;
  --slate:           #334155;
  --muted:           #64748B;
  --border:          #D1E8D7;
  --border-light:    #EAF4EC;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,60,30,.10), 0 2px 6px rgba(0,60,30,.06);
  --shadow-lg:   0 10px 40px rgba(0,60,30,.14), 0 4px 12px rgba(0,60,30,.08);
  --shadow-xl:   0 24px 60px rgba(0,60,30,.18), 0 8px 24px rgba(0,60,30,.10);
  --shadow-green:0 8px 32px rgba(0,122,61,.25);

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full:9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --transition: 0.28s var(--ease-out);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font-body); }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--green-pale); }
::-webkit-scrollbar-thumb { background: var(--green-primary); border-radius: 99px; }

/* ================================================
   HEADER / NAVIGATION
   ================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,60,30,.10);
  transition: box-shadow var(--transition);
}
#site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,60,30,.16);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
}
.logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
/* Logo hover animation removed */
.logo-icon svg { width: 30px; height: 30px; }
.logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.logo-text .brand-name span { color: var(--green-accent); }
.logo-text .brand-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--slate);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 50%; right: 50%;
  height: 2px;
  background: var(--green-accent);
  border-radius: 99px;
  transition: left var(--transition), right var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--green-primary);
  background: var(--green-pale);
}
.nav-link.active::after,
.nav-link:hover::after {
  left: 18px; right: 18px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--green-pale); }
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--green-primary);
  border-radius: 99px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 12px 24px 20px;
  gap: 4px;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: 1rem;
  padding: 12px 16px;
}

/* ================================================
   PAGE TRANSITIONS / SPA VIEWS
   ================================================ */
.page-view {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   UTILITIES
   ================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green-primary);
  background: var(--green-pale);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green-accent);
  border-radius: 50%;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.section-title span { color: var(--green-primary); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}
.btn:hover::before { background: rgba(255,255,255,0.10); }

.btn-primary {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,122,61,.35);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(0,122,61,.45);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--green-accent), var(--green-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(141,198,63,.35);
}
.btn-accent:hover {
  box-shadow: 0 8px 32px rgba(141,198,63,.45);
  transform: translateY(-2px);
}

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

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* ================================================
   HOME PAGE — HERO SECTION
   ================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-deeper);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-banner.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(1.2);
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.10); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,61,31,.88) 0%,
    rgba(0,90,45,.60) 50%,
    rgba(0,40,20,.70) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(141,198,63,.18);
  border: 1px solid rgba(141,198,63,.40);
  color: var(--green-light);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
  animation: fadeSlideUp 0.7s var(--ease-out) both;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--green-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -1.5px;
  max-width: none;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.8s 0.1s var(--ease-out) both;
}
.hero-title .accent { color: var(--green-accent); }

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.80);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
  animation: fadeSlideUp 0.8s 0.2s var(--ease-out) both;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 0.3s var(--ease-out) both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 0.5s var(--ease-out) both;
}
.hero-stat {
  border-left: 3px solid var(--green-accent);
  padding-left: 16px;
}
.hero-stat .stat-num {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.60);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.45);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
  z-index: 2;
}
.scroll-cue svg { width: 20px; height: 20px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ================================================
   HOME — WELCOME / INTRO SECTION
   ================================================ */
.welcome-section { background: var(--white); }
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.welcome-grid-full {
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 32px;
}
.welcome-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.welcome-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.welcome-image-wrap:hover img { transform: scale(1.04); }
.welcome-image-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.welcome-image-badge-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-accent));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.welcome-image-badge-icon svg { width: 22px; height: 22px; color: white; }
.welcome-image-badge-text .badge-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--charcoal);
}
.welcome-image-badge-text .badge-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.welcome-text .section-label { margin-bottom: 16px; }
.welcome-body {
  font-size: 1.02rem;
  color: var(--slate);
  line-height: 1.8;
  margin-top: 20px;
}
.welcome-body + .welcome-body { margin-top: 14px; }
.welcome-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.feature-icon {
  width: 36px; height: 36px;
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-icon svg { width: 18px; height: 18px; color: var(--green-primary); }
.feature-text .ft-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.feature-text .ft-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.welcome-cta { margin-top: 36px; }

/* ================================================
   HOME — PILLARS / CARDS
   ================================================ */
.pillars-section { background: var(--green-bg); }
.pillars-header { text-align: center; margin-bottom: 56px; }
.pillars-header .section-subtitle { margin: 12px auto 0; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-accent));
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.pillar-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.pillar-icon.green-1 { background: linear-gradient(135deg, var(--green-primary), var(--green-dark)); }
.pillar-icon.green-2 { background: linear-gradient(135deg, var(--green-accent), var(--green-light)); }
.pillar-icon.green-3 { background: linear-gradient(135deg, #2e7d32, #43a047); }
.pillar-icon svg { width: 32px; height: 32px; color: white; }
.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.pillar-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}
.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green-primary);
  transition: gap var(--transition);
}
.pillar-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.pillar-card:hover .pillar-link svg { transform: translateX(4px); }
.pillar-link:hover { gap: 10px; }

/* ================================================
   HOME — CTA BANNER
   ================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--green-deeper) 0%, var(--green-primary) 60%, var(--green-dark) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(141,198,63,.15) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text .cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.cta-text .cta-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,.72);
  margin-top: 10px;
  max-width: 420px;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ================================================
   PRODUCTS PAGE
   ================================================ */
.products-hero {
  background: linear-gradient(135deg, var(--green-deeper), var(--green-primary));
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.products-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.products-hero .section-label { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: var(--green-accent); }
.products-hero .section-title { color: var(--white); }
.products-hero .section-subtitle { color: rgba(255,255,255,.75); margin: 12px auto 0; }

/* Filter Tabs */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 40px 0 8px;
}
.filter-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--slate);
  transition: all var(--transition);
  letter-spacing: 0.3px;
}
.filter-btn:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
  background: var(--green-pale);
}
.filter-btn.active {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
  box-shadow: 0 4px 16px rgba(0,122,61,.30);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(5px, 360px));
  justify-content: center;
  gap: 32px;
  padding: 40px 0 88px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.product-card-image {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--green-bg);
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.product-card:hover .product-card-image img { transform: scale(1.08); }
.product-category-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(0,122,61,.90);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-code {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: red;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}
.product-desc {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.product-card-footer {
  padding: 0 20px 20px;
  display: flex;
  gap: 10px;
}
.btn-inquire {
  flex: 1;
  justify-content: center;
  font-size: 0.85rem;
  padding: 11px 16px;
}

/* ================================================
   MODAL
   ================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,20,10,.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: modalIn 0.35s var(--ease-out) both;
}
@keyframes modalIn {
  from { transform: scale(0.92) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-header {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
}
.modal-close {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  color: var(--white);
}
.modal-close:hover { background: rgba(255,255,255,.30); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 28px; }
.modal-product-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--green-pale);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.modal-product-info svg { width: 20px; height: 20px; color: var(--green-primary); }
.modal-product-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.modal-product-code {
  font-size: 0.75rem;
  color: var(--muted);
}
.modal-body .form-group { margin-bottom: 16px; }
.modal-body .form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--slate);
  margin-bottom: 6px;
}
.modal-body .form-input,
.modal-body .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.modal-body .form-input:focus,
.modal-body .form-textarea:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(0,122,61,.12);
  background: var(--white);
}
.modal-body .form-textarea { resize: vertical; min-height: 100px; }
.modal-footer {
  padding: 0 28px 28px;
  display: flex;
  gap: 12px;
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-hero {
  background: linear-gradient(135deg, var(--green-deeper), var(--green-primary));
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.contact-hero .section-label { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: var(--green-accent); }
.contact-hero .section-title { color: var(--white); }
.contact-hero .section-subtitle { color: rgba(255,255,255,.75); margin: 12px auto 0; }

.contact-section { background: var(--green-bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: flex-start;
}

/* Info Cards */
.contact-info-cards { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}
.info-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 22px; height: 22px; color: white; }
.info-content .info-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.info-content .info-detail {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.info-content .info-detail a {
  color: inherit;
  font-weight: inherit;
  transition: color var(--transition);
}
.info-content .info-detail a:hover { color: var(--green-primary); }

.contact-socials-row {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.contact-socials-row a {
  transition: transform var(--transition);
}
.contact-socials-row a:hover {
  transform: scale(1.1);
}
.info-detail.contact-socials-row a.social-whatsapp { color: #25D366; }
.info-detail.contact-socials-row a.social-facebook { color: #1877F2; }
.info-detail.contact-socials-row a.social-instagram { color: #E1306C; }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}
.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.contact-form-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.83rem;
  color: var(--slate);
  margin-bottom: 7px;
}
.form-label span { color: #E53935; }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: #9CADB8; }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 4px rgba(0,122,61,.10);
  background: var(--white);
}
.form-textarea { resize: vertical; min-height: 140px; }

/* Success State */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success.visible { display: block; }
.form-success .success-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  animation: popIn 0.5s var(--ease-out) both;
}
.form-success .success-icon svg { width: 34px; height: 34px; color: white; }
@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.form-success p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--green-deeper);
  color: rgba(255,255,255,.75);
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding: 72px 0 48px;
}
.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.footer-brand .brand-name span { color: var(--green-accent); }
.footer-brand .brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.40);
  margin-bottom: 18px;
}
.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(255,255,255,.60);
}
.footer-socials {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 15px;
}
.footer-socials a {
  transition: transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-socials a:hover {
  transform: scale(1.1);
}
.footer-socials .social-whatsapp { color: #25D366; }
.footer-socials .social-facebook { color: #1877F2; }
.footer-socials .social-instagram { color: #E1306C; }
.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.60);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,.60);
  margin-bottom: 12px;
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--green-accent); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,.40);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,.40);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.80); }

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

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ================================================
   RESPONSIVE — TABLET & MOBILE
   ================================================ */
@media (max-width: 1024px) {
  .welcome-grid { grid-template-columns: 1fr; gap: 44px; }
  .welcome-grid-full { grid-template-columns: 1fr; gap: 0; }
  .welcome-grid-full .welcome-image-wrap { min-height: 260px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-info-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Header */
  .header-inner { height: 72px; padding: 0 16px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .logo-icon { height: 56px !important; max-width: 160px !important; }
  .logo-text .brand-name { font-size: 1rem !important; }

  /* Layout */
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }

  /* Hero */
  .hero { min-height: 70vh; }
  .hero-content { padding: 48px 16px; }
  .hero-stats { gap: 20px; margin-top: 40px; }
  .hero-stat .stat-num { font-size: 1.4rem; }

  /* Welcome / About */
  .welcome-grid-full { max-width: 100%; padding: 0; }
  .welcome-grid-full .welcome-image-wrap { min-height: 220px; border-radius: 0; box-shadow: none; }
  .welcome-text { padding: 36px 20px !important; }

  /* Products */
  .filter-bar { gap: 8px; flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .filter-btn { font-size: 0.78rem; padding: 8px 14px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { padding: 16px; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 16px; }
  .info-card { flex-direction: row; align-items: flex-start; }

  /* CTA */
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-socials { justify-content: flex-start; }

  /* Modal */
  .modal-footer { flex-direction: column; }
  .modal-inner { padding: 24px 16px; margin: 12px; border-radius: var(--radius-lg); }
}

@media (max-width: 480px) {
  /* Header */
  .logo-text .brand-tagline { display: none; }
  .logo-icon { height: 44px !important; max-width: 120px !important; }
  .logo-text .brand-name { font-size: 0.82rem !important; }

  /* Buttons */
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .btn { padding: 13px 20px; width: 100%; justify-content: center; }

  /* Hero */
  .hero { min-height: 60vh; }
  .hero-stats { flex-direction: column; gap: 16px; }

  /* About section: stack images vertically */
  .welcome-grid-full { grid-template-columns: 1fr !important; }
  .welcome-grid-full .welcome-image-wrap { min-height: 180px; }

  /* Products filter: full-width pills */
  .filter-btn { width: 100%; text-align: center; }
  .filter-bar { flex-direction: column; align-items: stretch; }

  /* Contact cards */
  .info-card { flex-direction: column; }

  /* Footer socials centered on small screens */
  .footer-socials { justify-content: center; }
  .footer-brand { text-align: center; }
  .footer-brand > div:first-child { justify-content: center !important; }
}

