/* ============================
   HECOBIO — Estilos Globales
   ============================ */

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

:root {
  --primary:       #2D6A4F;
  --primary-dark:  #1B4332;
  --primary-light: #40916C;
  --secondary:     #52B788;
  --accent:        #95D5B2;
  --bg-green:      #D8F3DC;
  --bg:            #F4F7F3;
  --white:         #FFFFFF;
  --text:          #111827;
  --text-mid:      #374151;
  --text-light:    #6B7280;
  --border:        #E5E7EB;
  --earth:         #7B5E3A;
  --gold:          #C9A842;
  --error:         #DC2626;
  --success:       #16A34A;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-md:  0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.14);

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --font:       'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -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; background: none; font-family: var(--font); }
input, textarea, select {
  font-family: var(--font);
  font-size: 1rem;
  outline: none;
}

/* ---- Utilities ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-green);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header { margin-bottom: 48px; }
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 560px;
}
.section-header.text-center p { margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(45,106,79,.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(45,106,79,.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}
.btn-white:hover {
  background: var(--bg-green);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: .875rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================
   HEADER / NAV
   ============================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--primary-dark);
  font-weight: 700;
}
.logo-sub {
  font-size: .65rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
}
.logo-img {
  height: 100px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-img-footer {
  filter: brightness(0) invert(1);
  opacity: .9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--transition);
}
.nav-link:hover { background: var(--bg-green); color: var(--primary); }
.nav-link.active { background: var(--bg-green); color: var(--primary); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-green);
  color: var(--primary);
  transition: all var(--transition);
}
.cart-btn:hover { background: var(--accent); transform: scale(1.05); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  display: none;
}
.cart-count.visible { display: flex; }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav .nav-link { display: block; padding: 12px 16px; border-radius: var(--radius-sm); }

/* ============================
   PAGE HERO (interior pages)
   ============================ */
.page-hero {
  background: linear-gradient(135deg, rgba(27,67,50,0.92) 0%, rgba(45,106,79,0.87) 60%, rgba(64,145,108,0.84) 100%), url('https://images.unsplash.com/photo-1500076656116-558758c991c1?w=1400&q=80&fit=crop&auto=format') center/cover no-repeat;
  padding: 72px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-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.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; }
.page-hero .badge {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.15rem;
  opacity: .85;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================
   BREADCRUMB
   ============================ */
.breadcrumb {
  padding: 14px 0;
  font-size: .875rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  background: white;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

/* ============================
   CARDS
   ============================ */
.card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

/* ============================
   PRODUCT CARDS
   ============================ */
.product-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg-green), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.product-tag.tag-bio { background: var(--secondary); }
.product-tag.tag-promo { background: var(--gold); }

.product-body { padding: 20px; }
.product-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}
.product-desc {
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.5;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
.product-price-unit {
  font-size: .75rem;
  font-weight: 400;
  color: var(--text-light);
}
.add-cart-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 1.1rem;
}
.add-cart-btn:hover { background: var(--primary-dark); transform: scale(1.1); }

/* ============================
   CART DRAWER
   ============================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: white;
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: right var(--transition);
}
.cart-drawer.open { right: 0; }

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 { font-size: 1.1rem; font-weight: 700; }
.cart-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.2rem;
  transition: all var(--transition);
}
.cart-close:hover { background: var(--border); color: var(--text); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: var(--text-light);
}
.cart-empty-icon { font-size: 3rem; }
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--bg-green), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: .9rem; font-weight: 600; margin-bottom: 4px; }
.cart-item-price { font-size: .85rem; color: var(--primary); font-weight: 600; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}
.qty-btn:hover { background: var(--bg-green); color: var(--primary); }
.qty-val { font-size: .9rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove { color: var(--text-light); font-size: .8rem; margin-left: auto; transition: color var(--transition); }
.cart-item-remove:hover { color: var(--error); }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cart-total-label { font-size: .9rem; color: var(--text-light); }
.cart-total-amount { font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.cart-cta { display: flex; flex-direction: column; gap: 8px; }

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo-text { color: white; }
.footer-brand .logo-sub { color: rgba(255,255,255,.5); }
.footer-brand p {
  font-size: .9rem;
  margin: 16px 0 20px;
  line-height: 1.7;
  opacity: .75;
}
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--secondary); color: white; transform: translateY(-2px); }

.footer-col h4 {
  font-size: .9rem;
  font-weight: 700;
  color: white;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .875rem;
  opacity: .7;
  transition: opacity var(--transition);
}
.footer-col a:hover { opacity: 1; color: var(--accent); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: .875rem;
  opacity: .75;
  margin-bottom: 10px;
  align-items: flex-start;
}
.footer-contact-item .icon { flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  opacity: .55;
}

/* ============================
   HOME — HERO
   ============================ */
.hero {
  background: var(--primary-dark);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm-20 0c0 5.5-4.5 10-10 10S10 55.5 10 50s4.5-10 10-10 10 4.5 10 10zm40 0c0 5.5-4.5 10-10 10s-10-4.5-10-10 4.5-10 10-10 10 4.5 10 10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  z-index: 2;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,67,50,0.88) 0%, rgba(45,106,79,0.82) 60%, rgba(64,145,108,0.72) 100%);
  z-index: 1;
}

.hero-circle-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.hero-circle-2 { width: 300px; height: 300px; bottom: -100px; right: 200px; }

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-content { color: white; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: white;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,.2);
}
.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-content p {
  font-size: 1.15rem;
  opacity: .85;
  margin-bottom: 36px;
  max-width: 440px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 24px 20px;
  color: white;
  transition: all var(--transition);
}
.hero-card:hover { background: rgba(255,255,255,.15); transform: translateY(-4px); }
.hero-card:first-child { grid-column: span 2; display: flex; align-items: center; gap: 16px; }
.hero-card-icon { font-size: 2.5rem; }
.hero-card-title { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.hero-card-desc { font-size: .8rem; opacity: .7; }
.hero-stat { font-size: 2rem; font-weight: 800; color: var(--accent); }
.hero-stat-label { font-size: .75rem; opacity: .7; margin-top: 2px; }

/* ============================
   HOME — STATS BAR
   ============================ */
.stats-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 8px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  font-family: var(--font-serif);
}
.stat-label {
  font-size: .82rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ============================
   HOME — CATEGORIES
   ============================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  display: block;
}
.cat-card:hover {
  border-color: var(--secondary);
  background: var(--bg-green);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cat-icon { font-size: 3.5rem; margin-bottom: 16px; }
.cat-name { font-weight: 700; font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 8px; }
.cat-desc { font-size: .875rem; color: var(--text-light); margin-bottom: 16px; }
.cat-count { font-size: .8rem; color: var(--secondary); font-weight: 600; }

/* ============================
   HOME — PRODUCTS GRID
   ============================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============================
   HOME — WHY US
   ============================ */
.why-us { background: white; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-visual {
  background: linear-gradient(135deg, var(--bg-green), var(--accent));
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-visual-item {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.why-visual-icon { font-size: 2rem; flex-shrink: 0; }
.why-visual-title { font-weight: 600; font-size: .95rem; color: var(--text); }
.why-visual-val { font-size: .82rem; color: var(--text-light); }

.why-list { display: flex; flex-direction: column; gap: 28px; }
.why-item { display: flex; gap: 20px; }
.why-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.why-item h4 { font-weight: 700; margin-bottom: 6px; color: var(--primary-dark); }
.why-item p { font-size: .9rem; color: var(--text-light); line-height: 1.6; }

/* ============================
   HOME — CTA BANNER
   ============================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}
.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}
.cta-banner p { font-size: 1.1rem; opacity: .8; margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-banner .hero-cta { justify-content: center; }

/* ============================
   TIENDA — LAYOUT
   ============================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 48px 0;
}
.shop-sidebar { display: flex; flex-direction: column; gap: 24px; }
.filter-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.filter-title {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  margin-bottom: 16px;
}
.filter-options { display: flex; flex-direction: column; gap: 10px; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: .9rem;
  color: var(--text-mid);
  transition: color var(--transition);
}
.filter-option:hover { color: var(--primary); }
.filter-option input[type="checkbox"] { accent-color: var(--primary); width: 16px; height: 16px; }
.filter-option input[type="radio"] { accent-color: var(--primary); width: 16px; height: 16px; }
.filter-count {
  margin-left: auto;
  font-size: .75rem;
  background: var(--bg-green);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.shop-main {}
.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.shop-results { font-size: .9rem; color: var(--text-light); }
.shop-results strong { color: var(--text); }
.shop-sort select {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 36px 10px 14px;
  font-size: .875rem;
  color: var(--text);
  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='%236B7280' 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;
  cursor: pointer;
}

/* ============================
   NOSOTROS
   ============================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img {
  background: linear-gradient(135deg, var(--bg-green), var(--accent));
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: relative;
  overflow: hidden;
}
.about-img::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--primary);
  border-radius: 50%;
  opacity: .15;
}
.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary-dark);
  margin-bottom: 20px;
}
.about-text p { font-size: 1rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.value-icon { font-size: 3rem; margin-bottom: 16px; }
.value-card h4 { font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.value-card p { font-size: .875rem; color: var(--text-light); line-height: 1.6; }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.mission-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.mission-card h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--primary-dark); margin-bottom: 16px; }
.mission-card p { font-size: .95rem; color: var(--text-mid); line-height: 1.7; }
.mission-card.bg-green { background: var(--bg-green); border-color: var(--accent); }
.mission-card.bg-primary { background: var(--primary); color: white; border-color: transparent; }
.mission-card.bg-primary h3 { color: white; }
.mission-card.bg-primary p { color: rgba(255,255,255,.8); }

/* ============================
   CONTACTO
   ============================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  padding: 64px 0;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.contact-info-subtitle { color: var(--text-light); font-size: 1rem; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-item-title { font-weight: 600; font-size: .95rem; color: var(--text); margin-bottom: 4px; }
.contact-item-value { font-size: .9rem; color: var(--text-light); }
.contact-item-value a { color: var(--primary); }
.contact-item-value a:hover { text-decoration: underline; }

.contact-map {
  background: var(--bg-green);
  border-radius: var(--radius);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 8px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.contact-form-card p { color: var(--text-light); font-size: .9rem; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .875rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: .9rem;
  color: var(--text);
  transition: border-color var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--secondary);
  background: white;
}
.form-textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  padding: 16px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  color: var(--success);
  font-size: .9rem;
  font-weight: 500;
  margin-top: 12px;
  align-items: center;
  gap: 8px;
}

/* ============================
   BLOG / ASESORAMIENTO
   ============================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.blog-img {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-green), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.blog-body { padding: 24px; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.blog-meta .cat-pill {
  background: var(--bg-green);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .7rem;
  letter-spacing: .04em;
}
.blog-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: .875rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.blog-link { font-size: .875rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.blog-link:hover { gap: 10px; }

/* ============================
   ALERTS / TOASTS
   ============================ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary-dark);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 500;
  transform: translateY(80px);
  opacity: 0;
  transition: all var(--transition);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ============================
   RESPONSIVE
   ============================ */

/* ---- Tablet grande ---- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 80px 0; }
  .hero-content { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .about-img { display: none; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .page-hero { padding: 56px 0; }
  .page-hero h1 { font-size: 2rem; }
}

/* ---- Tablet ---- */
@media (max-width: 768px) {
  /* Nav */
  .nav { height: 72px; }
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .mobile-nav { top: 72px; }
  .logo-img { height: 70px; }
  .pack-tabs-bar { top: 72px; }

  /* Container */
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 36px 0; }

  /* Hero */
  .hero { padding: 64px 0 56px; }
  .hero-content h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  /* Page hero */
  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero p { font-size: 1rem; }

  /* Grids */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .categories-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(4) { border-right: none; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .mission-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  /* Shop */
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .shop-main .products-grid { grid-template-columns: repeat(2, 1fr); }

  /* Cart */
  .cart-drawer { width: 100%; right: -100%; }
  .cart-drawer.open { right: 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer { padding-bottom: 80px; } /* space for mobile CTA bar */

  /* Section headers */
  .section-header h2 { font-size: 1.6rem; }
  .cta-banner { padding: 56px 0; }
  .custom-pack { grid-template-columns: 1fr; padding: 32px 24px; }

  /* Pack table — horizontal scroll */
  .app-table { font-size: .78rem; }
  .app-table th, .app-table td { padding: 10px 12px; }
  .product-cell-name { font-size: .82rem; }
  .product-cell-note { display: none; }

  /* Pack hero */
  .pack-hero { grid-template-columns: 1fr; }
  .pack-hero-img { height: 200px; min-height: unset; }
  .pack-hero-body { padding: 28px 24px; }
  .pack-info-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Season bar */
  .months-grid { grid-template-columns: repeat(6,1fr); gap: 3px; }
  .month { font-size: .6rem; padding: 6px 2px; }

  /* Pack tabs */
  .pack-tab { padding: 14px 18px; font-size: .82rem; gap: 6px; }
  .pack-tab-img { width: 26px; height: 26px; }

  /* Why us */
  .why-item { flex-direction: column; gap: 12px; }

  /* Contact */
  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-panel { padding: 36px 24px; gap: 24px; }
  .contact-form-panel { padding: 36px 24px; }

  /* Blog */
  .blog-card .blog-img { height: 160px; }
}

/* ---- Móvil ---- */
@media (max-width: 480px) {
  /* Nav */
  .nav { height: 64px; }
  .mobile-nav { top: 64px; }
  .logo-img { height: 56px; }
  .pack-tabs-bar { top: 64px; }

  /* Container */
  .container { padding: 0 12px; }

  /* Hero */
  .hero { padding: 56px 0 48px; }
  .hero-content h1 { font-size: 1.75rem; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-badge { font-size: .72rem; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.6rem; }

  /* Products */
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 14px; }
  .product-name { font-size: .9rem; }
  .product-desc { display: none; }
  .product-price { font-size: 1.1rem; }

  /* Shop - 1 column on very small */
  .shop-main .products-grid { grid-template-columns: 1fr; }

  /* Categories */
  .cat-card div[style*="190px"] { height: 140px; }

  /* Pack */
  .pack-hero-img { height: 160px; }
  .pack-info-grid { grid-template-columns: 1fr; }
  .pack-price-row { flex-direction: column; align-items: flex-start; }
  .pack-price-actions { width: 100%; }
  .pack-price-actions .btn { flex: 1; justify-content: center; }
  .pack-price-final { font-size: 1.8rem; }

  /* Tables */
  .app-table { font-size: .72rem; }
  .app-table th, .app-table td { padding: 8px 10px; }
  .phase-badge { font-size: .65rem; padding: 2px 7px; }
  .method-badge { font-size: .65rem; padding: 2px 7px; }

  /* Season months - 4 per row */
  .months-grid { grid-template-columns: repeat(4,1fr); }

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

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  /* Contact */
  .quick-contact { grid-template-columns: 1fr; }
  .contact-panel { padding: 28px 20px; }
  .contact-form-panel { padding: 28px 20px; }
  .contact-schedule { display: none; }

  /* CTA */
  .cta-banner { padding: 48px 0; }
  .cta-banner .hero-cta { flex-direction: column; gap: 10px; }
  .cta-banner .hero-cta .btn { width: 100%; justify-content: center; }

  /* Sections */
  .section { padding: 44px 0; }
  .pack-cta-inline { padding: 24px; flex-direction: column; }
  .pack-cta-inline-actions { width: 100%; flex-direction: column; }
  .pack-cta-inline-actions .btn { justify-content: center; }
}

/* ============================
   BARRA MÓVIL INFERIOR (CTA)
   ============================ */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: white;
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.10);
  gap: 10px;
}
@media (max-width: 768px) {
  .mobile-bottom-bar { display: flex; }
}
.mobile-bottom-bar .btn {
  flex: 1;
  justify-content: center;
  padding: 13px 12px;
  font-size: .85rem;
}
