:root {
  --shell: 1200px;
  --white: #ffffff;
  --bg-light: #f8faf9;
  --eco-forest: #06241a;
  --eco-emerald: #064e3b;
  --eco-leaf: #10b981;
  --eco-leaf-soft: rgba(16, 185, 129, 0.08);
  --eco-leaf-deep: #065f46;
  --accent-gold: #f59e0b;
  --accent-gold-soft: rgba(245, 158, 11, 0.1);
  --ink: #0b1d14;
  --ink-soft: #4b5563;
  --ink-dim: #9ca3af;
  --glass: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(6, 78, 59, 0.08);
  --card-bg: var(--white);
  --card-border: rgba(6, 78, 59, 0.08);
  --radius-sm: 0.6rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --radius-full: 999px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow: 0 15px 35px -10px rgba(6, 78, 59, 0.12), 0 5px 15px -5px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 30px 60px -15px rgba(6, 78, 59, 0.18), 0 10px 20px -5px rgba(0, 0, 0, 0.05);
  --transition: 500ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --glow-leaf: 0 0 30px rgba(16, 185, 129, 0.25);
  --ink-dark: #0b1d14;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 90%; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg-light);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  color: var(--eco-forest);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

img { display: block; max-width: 100%; transition: opacity 0.5s ease; }

a, button, input, select, textarea {
  transition: all var(--transition);
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

::selection { background: var(--eco-leaf-soft); color: var(--eco-forest); }

/* === LAYOUT === */
.site-shell { width: min(calc(100% - 2rem), var(--shell)); margin-inline: auto; }

.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.grid-2-alt { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .grid-2-alt { grid-template-columns: 350px 1fr; } }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .75rem 1.25rem; border-radius: var(--radius-full);
  background: var(--eco-leaf); color: var(--white); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* === HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition);
}

.site-header.scrolled {
  padding-block: 0.15rem;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.4rem 0;
  gap: 1rem;
}

.brand { display: flex; align-items: center; text-decoration: none; min-width: max-content; }

.brand-logo {
  display: block;
  height: 1.7rem;
  width: auto;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .brand-logo { height: 1.4rem; }
}

@media (max-width: 480px) {
  .brand-logo { height: 1.15rem; }
}

.brand-text { display: flex; flex-direction: column; line-height: 1; }

.brand-tagline {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.15em;
  color: #22c55e; text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 0.75rem; }

.nav-link {
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full); font-size: 1rem; font-weight: 700;
  color: var(--ink-soft); text-decoration: none;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active, .nav-link.is-active { color: var(--eco-forest); background: var(--eco-leaf-soft); }

.nav-link-accent {
  background: var(--eco-forest);
  color: #fff !important;
}
.nav-link-accent:hover { background: var(--eco-emerald); }

.nav-admin { color: var(--ink-dim); font-size: 0.75rem; }

.cart-toggle {
  position: relative; width: 2rem; height: 2rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--glass-border);
  color: var(--eco-forest); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.cart-toggle:hover { background: var(--eco-leaf-soft); border-color: var(--eco-leaf); transform: translateY(-2px); }
.cart-badge {
  position: absolute; top: -5px; right: -5px; min-width: 1.25rem; height: 1.25rem;
  background: var(--eco-leaf); color: white; border-radius: var(--radius-full);
  font-size: 0.7rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
  padding: 0 4px; box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.cart-modal {
  width: min(100%, 500px); padding: 2rem;
}
.cart-item {
  display: flex; gap: 1rem; align-items: center; padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border); margin-bottom: 1rem;
}
.cart-item-img { width: 4rem; height: 4rem; border-radius: var(--radius-sm); object-fit: contain; background: #f9fafb; border: 1px solid var(--glass-border); }
.cart-item-info { flex: 1; }
.cart-item-title { font-size: 1rem; font-weight: 800; color: var(--eco-forest); }
.cart-item-price { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }
.cart-item-qty { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.cart-qty-btn { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #cbd5e1; background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.cart-item-remove { color: #dc2626; font-size: 0.75rem; font-weight: 700; cursor: pointer; background: none; border: none; margin-left: auto; }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--glass-border);
  color: var(--eco-forest); cursor: pointer;
}

@media (max-width: 767px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; }
  .main-nav.is-open {
    display: flex; flex-direction: column; position: absolute;
    top: calc(100% + .5rem); left: 1rem; right: 1rem;
    padding: 1.5rem; border-radius: var(--radius-lg);
    background: var(--white); border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
  }
}

/* === SECTIONS === */
.section { padding: 3.5rem 0; position: relative; }
.section-alt { background: #fdfdfd; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }

.section-label { 
  display: block; width: fit-content; font-size: 0.75rem; font-weight: 800; color: var(--eco-leaf-deep); 
  text-transform: uppercase; letter-spacing: 0.25em; margin-bottom: 1rem;
  background: var(--eco-leaf-soft); padding: 0.35rem 0.85rem; border-radius: var(--radius-sm);
}
.section-title { 
  font-size: 2.375rem; 
  margin-bottom: 0.5rem; 
  max-width: 650px; 
  letter-spacing: -0.01em; 
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--eco-leaf), var(--accent-gold));
  border-radius: 2px;
}

.section-title:only-child::after {
  display: block;
}

.section-subtitle {
  font-size: 1.15rem; 
  color: var(--ink-soft); 
  max-width: 620px; 
  margin-bottom: 3rem; 
  line-height: 1.7; 
}

.section-tagline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--eco-leaf-deep);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--eco-forest) 0%, var(--eco-emerald) 100%) !important;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-section .section-title {
  color: white;
  position: relative;
  z-index: 1;
}

.cta-section .section-title::after {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.cta-section .section-subtitle {
  color: rgba(255,255,255,0.85);
  position: relative;
  z-index: 1;
}

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

.reveal { opacity: 0; }
.reveal.is-visible { animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards; }

/* === HERO === */
.hero-section {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 5%, rgba(16, 185, 129, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 95%, rgba(245, 158, 11, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(6,78,59,0.04) 0%, transparent 70%);
  overflow: hidden;
  position: relative;
}

/* Floating orbs in hero background */
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-section::before {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-section::after {
  width: 400px; height: 400px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
  animation: orbFloat 16s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.97); }
}
.hero-section > * { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 1; }
  .hero-visual { order: 2; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .6rem 1.25rem; border-radius: var(--radius-full);
  background: var(--white); color: var(--eco-emerald);
  font-size: .85rem; font-weight: 800; margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--glass-border);
}

.hero-title {
  font-size: clamp(2.675rem, 6vw, 4.625rem);
  line-height: 1.04; color: var(--eco-forest); margin-top: 1.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--eco-forest) 0%, #0f7950 50%, var(--eco-leaf) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  animation: titleFadeIn 1s cubic-bezier(0.23, 1, 0.32, 1) both;
  text-shadow: none;
}

@keyframes titleFadeIn {
  from { opacity: 0; transform: translateY(36px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-subtitle { 
  margin-top: 1.25rem; 
  font-size: 1.2rem; 
  line-height: 1.8; 
  color: var(--ink-soft); 
  max-width: 580px; 
  animation: titleFadeIn 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.5rem; }

.hero-stats-grid {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-top: 3.5rem;
}

.stat-card {
  flex: 1; min-width: 140px;
  display: flex; flex-direction: column; gap: 0.2rem;
  position: relative; padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: linear-gradient(180deg, var(--eco-leaf), var(--eco-emerald));
  border-radius: 0 4px 4px 0;
}
.stat-card:hover {
  transform: translateY(-6px) translateX(2px);
  box-shadow: var(--shadow), var(--glow-leaf);
  border-color: rgba(16,185,129,0.25);
}

.stat-card .val {
  font-family: 'Fraunces', serif; font-size: 2.25rem; font-weight: 900;
  line-height: 1; color: var(--eco-forest);
  background: linear-gradient(135deg, var(--eco-forest) 0%, var(--eco-emerald) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.stat-card .lbl {
  font-size: 0.95rem; font-weight: 800; color: var(--ink);
  margin-top: 0.25rem;
}

.stat-card .det {
  font-size: 0.75rem; color: var(--ink-dim); font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .hero-stats-grid { gap: 1.5rem; }
  .stat-card { min-width: 100%; border-left-width: 3px; }
}

.hero-visual { position: relative; }
.hero-card-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .875rem;
  padding: .875rem; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--glow-leaf);
  border: 1px solid rgba(16,185,129,0.12);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease-out;
  transform-style: preserve-3d;
}

@keyframes heroFloat {
  0% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0) rotate(0); }
}
.hero-card-grid .hero-img-cell {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--glass-border);
}
.hero-card-grid img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  transition: all var(--transition);
  padding: 1.5rem;
  mix-blend-mode: multiply;
}
.hero-card-grid .hero-img-cell:hover img { transform: scale(1.05); }

/* === PROCESS STEPS === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

.process-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}
.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--eco-leaf), var(--eco-emerald));
}
.process-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.process-title {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--eco-forest);
  margin-bottom: 0.75rem;
}

.process-text {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* === FAQ === */
.faq-list { 
  display: grid; 
  gap: 1.25rem; 
  margin-top: 3rem; 
  max-width: 850px; 
  margin-inline: auto; 
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--eco-leaf);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(16, 185, 129, 0.3);
}

.faq-item:hover::before {
  transform: scaleY(1);
}

.faq-q {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--eco-forest);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-q::after {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--eco-leaf-soft);
  color: var(--eco-forest);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  transition: all 0.3s ease;
}

.faq-item:hover .faq-q::after {
  background: var(--eco-leaf);
  color: white;
  transform: rotate(45deg);
}

.faq-a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-top: 1rem;
  line-height: 1.7;
  display: none;
  padding-top: 1rem;
  border-top: 1px dashed var(--glass-border);
}

.faq-item.active .faq-a {
  display: block;
}

.process-step {
  width: 50px; height: 50px; margin: 0 auto 1.5rem;
  background: var(--eco-forest); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.25rem;
}

/* === BENEFITS === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.benefit-card:hover { 
  transform: translateY(-5px); 
  box-shadow: var(--shadow);
  border-color: var(--eco-leaf);
}

.benefit-icon {
  font-size: 2.5rem; 
  margin-bottom: 1rem; 
  display: block;
  position: relative;
  z-index: 1;
}

.benefit-title {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--eco-forest);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.benefit-text {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* === TESTIMONIALS === */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  transition: all var(--transition);
  display: flex; flex-direction: column; gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 6rem;
  font-family: 'Fraunces', serif;
  color: var(--eco-leaf-soft);
  line-height: 1;
}

.testimonial-card:hover { 
  transform: translateY(-5px); 
  box-shadow: var(--shadow);
  border-color: var(--eco-leaf);
}

.testimonial-stars { 
  color: var(--accent-gold); 
  font-size: 0.9rem; 
  letter-spacing: 0.2em; 
  position: relative;
  z-index: 1;
}

.testimonial-quote { 
  font-family: 'Fraunces', serif; 
  font-size: 1.05rem; 
  font-style: italic; 
  color: var(--ink-soft); 
  line-height: 1.7; 
  position: relative;
  z-index: 1;
}

.testimonial-footer { 
  margin-top: auto; 
  border-top: 1px solid var(--glass-border); 
  padding-top: 1rem; 
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--eco-leaf), var(--eco-emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
}

.testimonial-author { 
  font-weight: 900; 
  font-size: 1rem; 
  color: var(--eco-forest); 
}

.testimonial-role { 
  font-size: .8rem; 
  color: var(--ink-dim); 
  margin-top: 0.2rem; 
  font-weight: 600; 
}

/* === CARDS === */
.cat-grid, .product-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 640px) { .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-grid, .product-grid { grid-template-columns: repeat(3, 1fr); } }

.cat-card, .product-card {
  background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--card-border);
  overflow: hidden; transition: all var(--transition); text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  position: relative;
}

.cat-card::before, .product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--eco-leaf), var(--eco-emerald));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.cat-card:hover::before, .product-card:hover::before {
  opacity: 1;
}

.cat-card:hover, .product-card:hover { 
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(16,185,129,0.15);
  border-color: rgba(16, 185, 129, 0.25);
}

/* Featured Badge */
.product-featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--accent-gold), #fbbf24);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  z-index: 5;
}

/* Category Card Specifics */
.cat-card-img-wrap {
  position: relative; aspect-ratio: 16/10; background: #f1f5f9; overflow: hidden;
}
.cat-card-img {
  width: 100%; height: 100%; object-fit: contain; 
  padding: 1.5rem; mix-blend-mode: multiply;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-card:hover .cat-card-img { transform: scale(1.1); }

.cat-card-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--glass); backdrop-filter: blur(8px);
  padding: 0.35rem 0.8rem; border-radius: var(--radius-full);
  font-size: 0.7rem; font-weight: 800; color: var(--eco-emerald);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm);
}

.cat-card-body {
  padding: 1.5rem 1.75rem 2rem; position: relative;
}

.cat-card-icon {
  position: absolute; top: -1.75rem; left: 1.75rem;
  width: 3.5rem; height: 3.5rem; border-radius: 1.25rem;
  background: var(--white); color: var(--eco-leaf);
  display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(6, 78, 59, 0.1);
  border: 1px solid var(--glass-border);
}

.cat-card-title {
  font-size: 1.5rem; font-weight: 800; color: var(--eco-forest); margin-bottom: 0.25rem; margin-top: 1.5rem;
}
.cat-card-meta {
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--eco-leaf); letter-spacing: 0.1em;
}
.cat-card-desc {
  font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.75rem; line-height: 1.6;
}

.product-img-wrap { 
  background: #fff; position: relative; aspect-ratio: 1; 
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(6, 36, 26, 0.03) 100%);
}

.product-img-wrap img { 
  width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; 
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover img { transform: scale(1.08); }

.product-badges-overlay {
  position: absolute; bottom: 0.75rem; left: 0.75rem;
  display: flex; gap: 0.4rem; z-index: 5;
}
.badge-eco, .badge-ship {
  font-size: 0.65rem; font-weight: 800; padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}
.badge-eco { background: rgba(34, 197, 94, 0.9); color: white; }
.badge-ship { background: rgba(14, 165, 233, 0.9); color: white; }

.product-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.product-name { font-size: 1.35rem; font-weight: 800; color: var(--eco-forest); margin-bottom: 0.15rem; letter-spacing: -0.01em; }
.product-cat { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--eco-leaf); letter-spacing: 0.08em; }

.product-price-row { display: flex; align-items: baseline; gap: 0.4rem; margin-top: 0.75rem; }
.product-price { font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 900; color: var(--eco-forest); }
.product-unit { font-size: 0.85rem; color: var(--ink-dim); font-weight: 700; }

.product-footer { 
  display: flex; align-items: center; justify-content: space-between; 
  margin-top: auto; padding-top: 1.25rem; border-top: 1px dotted var(--glass-border); 
}
.stock-status { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 800; color: var(--eco-leaf-deep); }
.stock-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--eco-leaf); box-shadow: 0 0 8px var(--eco-leaf); }

/* === BUTTONS === */
.btn-primary, .btn-secondary, .btn-sm, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  border-radius: var(--radius-full); padding: 0.875rem 2rem;
  font-weight: 800; font-size: 0.95rem; text-decoration: none;
  cursor: pointer; border: none; transition: all var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary { 
  background: linear-gradient(135deg, var(--eco-forest) 0%, #0f7950 50%, var(--eco-emerald) 100%); 
  color: var(--white);
  box-shadow: 0 4px 18px 0 rgba(6, 78, 59, 0.28);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.12) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { 
  transform: translateY(-3px) scale(1.01); 
  box-shadow: 0 10px 30px 0 rgba(6, 78, 59, 0.35), var(--glow-leaf);
}

.btn-secondary { 
  background: var(--white); color: var(--eco-forest); 
  border: 1px solid var(--glass-border);
}
.btn-secondary:hover { background: var(--eco-leaf-soft); border-color: var(--eco-leaf); transform: translateY(-1px); }

.btn-outline { 
  border: 1px solid var(--glass-border); background: transparent; color: var(--ink-soft); 
}
.btn-outline:hover { 
  border-color: var(--eco-leaf); color: var(--eco-forest); 
  background: var(--eco-leaf-soft); 
}

.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; }

/* === UTILS === */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 100;
  width: 3.75rem; height: 3.75rem; border-radius: var(--radius-full);
  background: linear-gradient(135deg, #25d366, #1da851);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  transition: all var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,0.5), 0 0 0 12px rgba(37,211,102,0); }
}
.whatsapp-float svg { width: 2rem; height: 2rem; fill: white; }
.whatsapp-float:hover { transform: scale(1.12) translateY(-5px); box-shadow: 0 20px 40px rgba(37, 211, 102, 0.6); animation: none; }

/* === FOOTER === */
.site-footer { 
  background: #fcfcf9; padding: 3rem 0 2rem; 
  border-top: 1px solid var(--glass-border); margin-top: 4rem; 
}
.footer-inner { 
  display: grid; gap: 2rem; 
}
@media (min-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 2fr; gap: 3rem; }
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-tagline { color: var(--ink-soft); font-size: 0.95rem; max-width: 320px; }
.footer-socials { display: flex; gap: 1.25rem; }
.footer-socials a { 
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase; 
  color: var(--eco-emerald); text-decoration: none; letter-spacing: 0.1em;
}

.footer-nav { 
  display: grid; gap: 2rem; 
}
@media (min-width: 640px) {
  .footer-nav { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-title { 
  font-size: 0.75rem; font-weight: 800; color: var(--ink-dim); 
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.4rem;
}
.footer-col a, .footer-col p { 
  text-decoration: none; color: var(--ink-soft); font-weight: 600; 
  transition: color .3s; font-size: 0.9rem; margin: 0;
}
.footer-col a:hover { color: var(--eco-forest); }

.footer-link { display: inline-block; transition: color var(--transition); }
.footer-link:hover { color: var(--eco-leaf); }

.footer-bottom { 
  margin-top: 2rem; padding-top: 1.5rem; 
  border-top: 1px solid var(--glass-border); 
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: .8rem; color: var(--ink-dim); font-weight: 500; }

/* === MODALS === */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6, 25, 17, 0.85);
  backdrop-filter: blur(12px);
  padding: 1rem;
  transition: opacity .4s ease, visibility .4s;
}
.modal-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.modal-container {
  position: relative; z-index: 10;
  width: min(100%, 1000px); max-height: 90vh;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  overflow-y: auto; padding: 3rem;
  transform: scale(1); transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.hidden .modal-container { transform: scale(0.95); }

.modal-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 3rem; height: 3rem; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-light); border: none; color: var(--ink-soft);
  cursor: pointer; font-size: 1.5rem; transition: all var(--transition);
  z-index: 20;
}
.modal-close:hover { background: var(--eco-emerald); color: var(--white); transform: rotate(90deg); }

/* === FORMS === */
.form-label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink-soft); margin-bottom: .5rem; }
.form-control {
  width: 100%; padding: .75rem 1rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--glass-border);
  font-family: inherit; font-size: 0.95rem; color: var(--ink);
  transition: all var(--transition);
}
.form-control:focus { border-color: var(--eco-leaf); outline: none; box-shadow: 0 0 0 3px var(--eco-leaf-soft); }

.catalog-toolbar {
  display: grid; gap: 1.5rem; padding: 2rem;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--card-border); box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .catalog-toolbar { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.catalog-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
#catalog-results-count { font-size: .9rem; font-weight: 700; color: var(--ink-soft); }

/* === ADMIN & CARDS === */
.admin-card {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--card-border);
  padding: 2.5rem; box-shadow: var(--shadow-sm);
}

.admin-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--glass-border);
}

.admin-status {
  padding: .4rem .875rem; border-radius: var(--radius-full);
  background: var(--bg-light); color: var(--ink-dim); font-size: .75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
}

.admin-list-item {
  display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem;
  background: var(--bg-light); border-radius: var(--radius);
  margin-bottom: 0.75rem; border: 1px solid var(--glass-border);
}

.admin-list-thumb {
  width: 3.5rem; height: 3.5rem; border-radius: var(--radius-sm);
  object-fit: contain; background: var(--white); border: 1px solid var(--glass-border);
}

.json-editor {
  width: 100%; height: 300px; padding: 1.25rem; border-radius: var(--radius);
  background: #1a1a1a; color: #10b981; font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.85rem; border: none; outline: none; margin-bottom: 1.5rem;
}

.eyebrow {
  display: inline-block; font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .2em; color: var(--eco-emerald);
}

.btn-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fee2e2; }
.btn-danger:hover { background: #fee2e2; transform: translateY(-2px); }

.form-error { font-size: .75rem; color: #dc2626; margin-top: .35rem; font-weight: 600; }

.admin-image-slot:hover { border-color: var(--eco-leaf); background: var(--white); color: var(--eco-forest); transform: translateY(-2px); }

.product-image-entry {
  position: relative; aspect-ratio: 1; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--glass-border); background: var(--white);
}

.product-image-entry img { width: 100%; height: 100%; object-fit: contain; }

.product-image-entry .remove-img {
  position: absolute; top: .25rem; right: .25rem;
  width: 1.5rem; height: 1.5rem; border-radius: var(--radius-full);
  background: rgba(220, 38, 38, 0.9); color: white; border: none;
  font-size: .75rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transition: opacity .2s;
}

.product-image-entry:hover .remove-img { opacity: 1; }

.product-image-entry.is-main::after {
  content: 'PRINCIPAL'; position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--eco-forest); color: white; font-size: .55rem;
  font-weight: 900; text-align: center; padding: .2rem 0; letter-spacing: .05em;
}

/* === EXPERT UI ENHANCEMENTS === */

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--eco-leaf); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--eco-emerald); }

/* Skeleton Pulse */
@keyframes skeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  height: 350px; border-radius: var(--radius);
  background: linear-gradient(90deg, #f3f4f6 25%, #e9eaec 50%, #f3f4f6 75%);
  background-size: 400% 100%;
  animation: skeletonPulse 1.6s infinite ease-in-out;
}

/* Color Swatches */
.swatch-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.swatch-item {
  width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition); position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}
.swatch-item:hover { transform: scale(1.15); }
.swatch-item.is-active { 
  border-color: var(--eco-leaf); 
  transform: scale(1.2); 
  box-shadow: 0 0 0 2px var(--white), 0 0 10px rgba(16, 185, 129, 0.4); 
}

/* Trust Badges */
.trust-badge-row { display: flex; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; }
.trust-badge {
  display: flex; align-items: center; gap: .4rem; 
  font-size: .7rem; font-weight: 800; color: var(--eco-forest);
  background: var(--white); padding: .35rem .7rem; border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.trust-badge span { color: var(--accent-gold); font-size: 1rem; }

/* Modal Mobile Sticky */
@media (max-width: 767px) {
  .modal-actions-sticky {
    position: sticky; bottom: 0; left: 0; right: 0;
    background: var(--white); padding: 1.25rem; border-top: 1px solid var(--glass-border);
    margin: 2rem -3rem -3rem; z-index: 50;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.08);
  }
}

/* === COMPREHENSIVE RESPONSIVE IMPROVEMENTS === */

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .site-shell { width: calc(100% - 1.5rem); }
  
  .section { padding: 1.5rem 0; }
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 1rem; }
  .section-label { font-size: 0.7rem; }
  
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .hero-actions a { width: 100%; text-align: center; }
  
  .process-grid { gap: 1rem; }
  .process-card { padding: 1.5rem 1rem; }
  .process-step { width: 50px; height: 50px; font-size: 1.2rem; }
  
  .benefit-card { padding: 1.5rem; }
  .benefit-icon { width: 50px; height: 50px; font-size: 1.5rem; }
  
  .testimonial-card { padding: 1.5rem; }
  
  .btn-primary, .btn-secondary { padding: 0.875rem 1.25rem; font-size: 0.9rem; }
}

/* Tablet (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .site-shell { width: calc(100% - 3rem); }
  
  .section { padding: 2.5rem 0; }
  .section-title { font-size: 2rem; }
  
  .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

/* Adjust logo sizing for different breakpoints */
@media (max-width: 640px) {
  .brand-logo { height: 3rem; width: auto; }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .brand-logo { height: 3.5rem; width: auto; }
}

@media (min-width: 1025px) {
  .brand-logo { height: 4rem; width: auto; }
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
  .nav-link { padding: 0.75rem 1rem; }
  
  .cat-card, .product-card { min-height: auto; }
  
  .faq-item { padding: 1rem; }
  
  input.form-control, select.form-control, textarea.form-control { 
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Responsive form elements */
@media (max-width: 640px) {
  .catalog-toolbar {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .form-row { flex-direction: column; gap: 1rem; }
}

/* Footer responsive */
@media (max-width: 640px) {
  .footer-inner { padding: 2rem 0; }
  .footer-links { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* Smooth scrolling and touch improvements */
@media (hover: none) {
  .cat-card:hover, .product-card:hover, .process-card:hover,
  .benefit-card:hover, .testimonial-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
  .cat-card:active, .product-card:active { transform: scale(0.97); }
  .btn-primary:hover, .btn-secondary:hover { transform: none; }
  .btn-primary:active { transform: scale(0.97); }
  .whatsapp-float { animation: waPulse 3s ease-in-out infinite; }
}

/* Prevent horizontal scroll */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
  .site-header {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  .site-footer {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
}

/* Page transition fade-in */
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
body { animation: pageIn 0.4s ease both; }

/* Focus ring premium */
*:focus-visible {
  outline: 2px solid var(--eco-leaf);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection highlight */
::selection { background: rgba(16,185,129,0.18); color: var(--eco-forest); }