/* ============================================================
   NUTRESSE CORPORATION — styles.css
   "Bienestar Natural a tu Alcance"
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-primary:     #B5D96A;   /* Verde Lima Nutresse (logo) */
  --color-secondary:   #7AAB2E;   /* Verde profundo hover/sombras */
  --color-accent:      #5E8C1A;   /* Verde oscuro CTAs */
  --color-gold:        #7AAB2E;
  --color-text-dark:   #1A1A1A;
  --color-text-muted:  #4A5568;
  --color-surface:     #F7FBF0;   /* Blanco verdoso muy suave */
  --color-white:       #FFFFFF;
  --color-bar-bg:      #B5D96A;
  --color-bar-text:    #1A1A1A;
  --color-border:      #DFF0B3;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --radius-card:   12px;
  --radius-btn:    100px;
  --radius-badge:  100px;

  --shadow-card:   0 2px 16px rgba(122, 171, 46, 0.12);
  --shadow-hover:  0 8px 32px rgba(122, 171, 46, 0.22);
  --shadow-nav:    0 2px 12px rgba(122, 171, 46, 0.08);

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

/* ============================================================
   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(--color-text-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--color-bar-bg);
  color: var(--color-bar-text);
  text-align: center;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1001;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: var(--color-white);
  box-shadow: var(--shadow-nav);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(45, 106, 79, 0.14);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
  white-space: nowrap;
}

.navbar-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar-logo-icon svg { fill: white; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-nav a {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-dark);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--color-primary);
  background: var(--color-surface);
}

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

.btn-wa-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-wa-nav:hover {
  background: #1ebe5a;
  transform: translateY(-1px);
}

.btn-wa-nav svg { flex-shrink: 0; }

/* Hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  border-radius: 6px;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.open span:nth-child(2) { opacity: 0; }
.navbar-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar-mobile {
  display: none;
  flex-direction: column;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 12px 24px 20px;
  gap: 4px;
}

.navbar-mobile.open { display: flex; }

.navbar-mobile a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-dark);
  padding: 12px 14px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.navbar-mobile a:hover { background: var(--color-surface); color: var(--color-primary); }

.navbar-mobile .btn-wa-nav { width: fit-content; margin-top: 8px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: #255a42;
  border-color: #255a42;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 106, 79, 0.30);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn-wa {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

.btn-wa:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 9px 18px;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-badge);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-polvos    { background: #E8F5E9; color: #1B5E20; }
.badge-liquidos  { background: #E3F2FD; color: #0D47A1; }
.badge-aceites   { background: #FFF8E1; color: #E65100; }
.badge-capsulas  { background: #F3E5F5; color: #4A148C; }
.badge-cremas    { background: #FCE4EC; color: #880E4F; }

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
.section {
  padding: 80px 24px;
}

.section-sm { padding: 48px 24px; }

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-pretitle {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span { color: var(--color-primary); }

.section-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #F4FAF6 0%, #E8F5E9 50%, #D8F3DC 100%);
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(149, 213, 178, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 106, 79, 0.1);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-badge);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

.hero-title span { color: var(--color-primary); }

.hero-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-image-main {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 360px;
  box-shadow: var(--shadow-hover);
}

.hero-image-main svg {
  opacity: 0.9;
}

.hero-image-main .hero-logo-text {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.01em;
}

.hero-image-main .hero-logo-sub {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge-float {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hero-badge-float-1 {
  top: -16px;
  right: -16px;
}

.hero-badge-float-2 {
  bottom: -16px;
  left: -16px;
}

/* ============================================================
   CATEGORIES SECTION
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.category-card:hover {
  border-color: var(--color-primary);
  background: white;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.category-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-icon svg { fill: white; }

.category-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.3;
}

.category-count {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.product-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.3;
  flex: 1;
}

.product-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-card .btn {
  margin-top: auto;
  font-size: 0.8125rem;
  padding: 10px 18px;
}

/* ============================================================
   BENEFITS SECTION
   ============================================================ */
.benefits-section {
  background: var(--color-surface);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

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

.benefit-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.benefit-icon svg { fill: white; }

.benefit-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
  color: white;
  margin: 0 24px;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner-desc {
  font-size: 1.0625rem;
  opacity: 0.88;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-white {
  background: white;
  color: var(--color-primary);
  border-color: white;
  font-weight: 800;
}

.btn-cta-white:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
}

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

.testimonial-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

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

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.star { color: #F59E0B; font-size: 1.1rem; }

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.testimonial-location {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-text-dark);
  color: rgba(255,255,255,0.85);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-secondary);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg { fill: white; }

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  max-width: 280px;
}

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

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background var(--transition);
}

.social-link:hover { background: var(--color-secondary); }
.social-link svg { fill: white; width: 18px; height: 18px; }

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--color-accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}

.footer-contact-item svg { fill: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

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

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--color-accent); }

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.wa-float:hover {
  background: #1ebe5a;
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.wa-float svg { fill: white; }

/* ============================================================
   CHAT WIDGET
   ============================================================ */
/* Chat widget IA */
.chat-widget-btn {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 9000;
  width: 50px;
  height: 50px;
  background: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(122,171,46,0.35);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  color: white;
}
.chat-widget-btn:hover { background: var(--color-accent); transform: scale(1.08); }
.chat-widget-btn svg { fill: white; }

.chat-widget-window {
  position: fixed;
  bottom: 160px;
  right: 28px;
  z-index: 8999;
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  overflow: hidden;
  display: none;
  flex-direction: column;
  max-height: 500px;
}
.chat-widget-window.open { display: flex; }

.chat-widget-header {
  background: var(--color-secondary);
  color: white;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.chat-widget-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.chat-widget-info { flex: 1; }
.chat-widget-name { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; }
.chat-widget-status { font-size: 0.72rem; opacity: 0.85; display: flex; align-items: center; gap: 4px; }
.chat-dot { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; }
.chat-close-btn {
  background: none; border: none; color: white; cursor: pointer;
  padding: 4px 6px; border-radius: 4px; font-size: 0.85rem;
  transition: background var(--transition);
}
.chat-close-btn:hover { background: rgba(255,255,255,0.15); }

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f7faf0;
  min-height: 200px;
}
.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  word-break: break-word;
}
.chat-msg.bot {
  background: white;
  color: var(--color-text-dark);
  border-radius: 4px 14px 14px 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  align-self: flex-start;
}
.chat-msg.user {
  background: var(--color-primary);
  color: var(--color-text-dark);
  border-radius: 14px 14px 4px 14px;
  align-self: flex-end;
  font-weight: 500;
}
.chat-typing { display: flex; gap: 4px; align-items: center; padding: 4px 0; }
.chat-typing span {
  width: 7px; height: 7px; background: var(--color-secondary);
  border-radius: 50%; animation: typingBounce 1s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

.chat-input-area {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e8f0d8;
  background: white;
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  border: 1px solid #dff0b3;
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
}
.chat-input:focus { border-color: var(--color-primary); }
.chat-send {
  background: var(--color-secondary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.chat-send:hover { background: var(--color-accent); }

@media (max-width: 480px) {
  .chat-widget-window { width: calc(100vw - 24px); right: 12px; }
  .chat-widget-btn { right: 12px; bottom: 88px; }
}

/* ============================================================
   PRODUCTOS PAGE — CATALOG
   ============================================================ */
.catalog-hero {
  background: linear-gradient(135deg, #F4FAF6 0%, #E8F5E9 100%);
  padding: 64px 24px;
  text-align: center;
}

.catalog-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.catalog-hero-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Filter tabs */
.filter-bar {
  background: white;
  border-bottom: 2px solid var(--color-border);
  position: sticky;
  top: 70px;
  z-index: 100;
  padding: 0 24px;
}

.filter-tabs {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 16px 20px;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
}

.filter-tab:hover { color: var(--color-primary); }

.filter-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* Search bar */
.search-wrap {
  max-width: 1280px;
  margin: 0 auto 32px;
  padding: 32px 24px 0;
}

.search-input-wrap {
  position: relative;
  max-width: 480px;
}

.search-input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text-dark);
  background: white;
  outline: none;
  transition: border-color var(--transition);
}

.search-input:focus { border-color: var(--color-primary); }

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  fill: var(--color-text-muted);
  pointer-events: none;
}

.catalog-count {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 10px;
}

/* Catalog section */
.catalog-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.catalog-category-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  padding: 24px 0 16px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.no-results {
  text-align: center;
  padding: 64px 24px;
  color: var(--color-text-muted);
  font-size: 1rem;
  display: none;
}

/* ============================================================
   BLOG LISTING PAGE
   ============================================================ */
.blog-hero {
  background: linear-gradient(135deg, #F4FAF6 0%, #E8F5E9 100%);
  padding: 64px 24px;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-family: var(--font-heading);
}

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

.blog-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-surface);
  padding: 4px 10px;
  border-radius: var(--radius-badge);
  margin-bottom: 12px;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.blog-read-more {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  transition: gap var(--transition);
}

.blog-read-more:hover { gap: 10px; }

/* ============================================================
   BLOG ARTICLE PAGE
   ============================================================ */
.article-hero {
  background: linear-gradient(135deg, #F4FAF6 0%, #E8F5E9 100%);
  padding: 64px 24px 48px;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 800px;
}

.article-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 700px;
  line-height: 1.7;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 28px 0 12px;
}

.article-body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
  list-style: disc;
}

.article-body ol { list-style: decimal; }

.article-body li {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.article-body strong { color: var(--color-primary); font-weight: 700; }

.article-callout {
  background: var(--color-surface);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.article-callout p { margin: 0; }

.article-product-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 16px;
  padding: 32px;
  color: white;
  text-align: center;
  margin: 40px 0;
}

.article-product-cta h3 {
  color: white;
  margin: 0 0 10px;
}

.article-product-cta p {
  color: rgba(255,255,255,0.85);
  margin: 0 0 20px;
}

/* ============================================================
   LEGAL PAGES (Privacy / Terms)
   ============================================================ */
.legal-hero {
  background: linear-gradient(135deg, #F4FAF6 0%, #E8F5E9 100%);
  padding: 64px 24px;
  text-align: center;
}

.legal-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal-body h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 36px 0 12px;
}

.legal-body p, .legal-body li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.legal-body ul { margin: 0 0 16px 24px; list-style: disc; }

.legal-updated {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 32px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid   { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid       { grid-template-columns: repeat(2, 1fr); }
  .hero-inner      { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual     { display: none; }
}

@media (max-width: 768px) {
  .navbar-nav      { display: none; }
  .btn-wa-nav      { display: none; }
  .navbar-toggle   { display: flex; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid   { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid   { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid       { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner      { margin: 0; border-radius: 0; padding: 40px 24px; }
  .hero-stats      { gap: 20px; }
  .hero-actions    { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-bottom   { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid   { grid-template-columns: 1fr; }
  .benefits-grid   { grid-template-columns: 1fr; }
  .section         { padding: 56px 16px; }
  .filter-tab      { padding: 14px 14px; font-size: 0.8125rem; }
}
