﻿@import url('https://fonts.googleapis.com/css2?family=Eczar:wght@400;500;600;700&family=Karla:wght@300;400;500;700&display=swap');

/* ==========================================================
 *  1. RESET & NORMALIZACIÓN
 * ========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img, picture, svg, video {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
button, input, textarea, select {
  font: inherit;
  border: none;
  background: transparent;
}
button {
  cursor: pointer;
}

/* ==========================================================
 *  2. VARIABLES CSS
 * ========================================================== */
:root {
  /* Tipografía */
  --ff-heading: 'Eczar', serif;
  --ff-body: 'Karla', sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;

  /* Escala tipográfica */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-body: 1rem;
  --fs-body-sm: 0.9375rem;
  --fs-body-lg: 1.125rem;
  --fs-h4: clamp(1.25rem, 3vw, 1.5rem);
  --fs-h3: clamp(1.5rem, 4vw, 2rem);
  --fs-h2: clamp(2rem, 5vw, 2.75rem);
  --fs-h1: clamp(2.5rem, 6vw, 3.5rem);
  --fs-display: clamp(3rem, 8vw, 4.5rem);

  /* Paleta de colores - Neuromarketing Orgánico y Premium */
  --clr-bg: #FAF8F5;          /* Blanco roto muy sutil, cálido y limpio */
  --clr-bg-alt: #F1F5EF;      /* Menta ultra suave - Relajante */
  --clr-surface: #FFFFFF;     /* Blanco puro para tarjetas */
  
  --clr-primary: #357A38;     /* Verde orgánico (Albahaca) - Salud, frescura */
  --clr-primary-light: #4CAF50; /* Verde vibrante - Acción, éxito */
  --clr-primary-dark: #1E5025;
  
  --clr-secondary: #FF8F00;   /* Naranja ámbar - Estimula apetito y energía */
  --clr-accent: #2ECC71;      /* Verde flúor suave - Destacar detalles */
  --clr-accent-warm: #F39C12; /* Dorado intenso - Calidad premium */
  
  --clr-text: #2D3748;        /* Gris grafito oscuro (mejor contraste que negro) */
  --clr-text-light: #718096;  /* Gris medio */
  --clr-text-inverse: #FFFFFF;
  
  --clr-border: #E2E8F0;      /* Borde limpio y moderno */
  --clr-border-light: #EDF2F7;
  
  --clr-whatsapp: #25D366;
  --clr-whatsapp-hover: #20BD5A;
  --clr-error: #E53E3E;

  /* Espaciado */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  
  --section-pad: clamp(4rem, 8vw, 8rem);

  /* Radios y Sombras - Estilo moderno y suave */
  --radius-sm: 8px; 
  --radius-md: 12px; 
  --radius-lg: 20px;
  --radius-btn: 50px; /* Botones tipo píldora (pill) */
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 8px 24px rgba(76, 175, 80, 0.35); /* Resplandor para botones primary */
  --shadow-focus: 0 0 0 4px rgba(76, 175, 80, 0.3);

  /* Transiciones */
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================
 *  3. TIPOGRAFÍA
 * ========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--clr-text);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: var(--space-md); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin-bottom: var(--space-sm); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--fs-body-lg);
  color: var(--clr-text-light);
  max-width: 65ch;
  margin-bottom: var(--space-lg);
}

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

.section-eyebrow {
  display: block;
  font-family: var(--ff-body);
  font-weight: var(--fw-bold);
  color: var(--clr-accent-warm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xs);
}

em {
  font-style: normal;
  color: var(--clr-primary);
}

/* ==========================================================
 *  4. LAYOUT & CONTAINERS
 * ========================================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.section {
  padding: var(--section-pad) 0;
}
.section--alt {
  background-color: var(--clr-bg-alt);
}
.section__header {
  margin-bottom: var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================
 *  5. BOTONES Y ENLACES
 * ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 12px 24px;
  font-family: var(--ff-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-body);
  border-radius: var(--radius-btn);
  transition: all var(--transition-base);
}

.btn--sm { padding: 6px 14px; font-size: var(--fs-sm); }
.btn--lg { padding: 12px 28px; font-size: var(--fs-body-lg); }
.btn--block { width: 100%; display: flex; justify-content: center; }

.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
  color: var(--clr-surface);
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(45, 80, 22, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background-color: var(--clr-primary);
  color: var(--clr-surface);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-text);
  border: 2px solid var(--clr-border);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  transform: translateY(-3px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--clr-surface);
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline-light:hover, .btn-outline-light:focus-visible {
  background-color: var(--clr-surface);
  color: var(--clr-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--clr-whatsapp), #128C7E);
  color: var(--clr-text-inverse);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-whatsapp:hover, .btn-whatsapp:focus-visible {
  background: linear-gradient(135deg, #20BD5A, #075E54);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

.btn-mp {
  background: linear-gradient(135deg, #009EE3, #007BB6);
  color: white;
  box-shadow: 0 6px 20px rgba(0, 158, 227, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-mp:hover, .btn-mp:focus-visible {
  background: linear-gradient(135deg, #0088CC, #005F8F);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 158, 227, 0.45);
}

/* ==========================================================
 *  6. BADGES / ETIQUETAS
 * ========================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--ff-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--clr-surface);
  color: var(--clr-text);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.badge--accent { background-color: var(--clr-accent-warm); color: var(--clr-text-inverse); }
.badge--promo { background-color: var(--clr-primary); color: var(--clr-text-inverse); }
.badge--artesanal { background-color: var(--clr-surface); color: var(--clr-text); border: 1px solid var(--clr-border); }
.badge--floating { position: absolute; top: var(--space-sm); right: var(--space-sm); }
.badge--lg { padding: 6px 16px; font-size: var(--fs-sm); }

/* ==========================================================
 *  7. NAVEGACIÓN
 * ========================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-base);
  padding: var(--space-sm) 0;
}
.nav--transparent {
  background: transparent;
}
.nav--scrolled {
  background: var(--clr-surface);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo img {
  height: 48px;
  width: auto;
  transition: transform var(--transition-fast);
}
.nav__logo:hover img {
  transform: scale(1.05);
}

.nav__menu {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}
.nav__link {
  font-family: var(--ff-heading);
  font-weight: var(--fw-medium);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--clr-text-inverse);
  position: relative;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.nav--scrolled .nav__link {
  color: var(--clr-text);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-accent-warm);
  transition: width var(--transition-base);
}
.nav__link:hover::after, .nav__link.active::after {
  width: 100%;
}

.nav__cta { color: var(--clr-text-inverse) !important; }
.nav--scrolled .nav__cta { color: var(--clr-text-inverse) !important; }
.nav__cta::after { display: none; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001;
}
.nav__hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--clr-text-inverse);
  transition: all 0.3s ease;
}
.nav--scrolled .nav__hamburger span {
  background-color: var(--clr-text);
}

.nav__hamburger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav__mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--clr-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 999;
}
.nav__mobile-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.nav__mobile-link {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  text-transform: uppercase;
  color: var(--clr-text);
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .nav__menu { display: none; }
  .nav__hamburger { display: flex; }
  .nav__hamburger.is-active span { background-color: var(--clr-text); }
}

/* ==========================================================
 *  8. HERO SECTION
 * ========================================================== */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* Para efecto parallax */
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44, 44, 44, 0.4) 0%, rgba(44, 44, 44, 0.7) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--clr-text-inverse);
  padding-top: var(--space-3xl);
  max-width: 900px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-sm);
  color: var(--clr-bg-alt);
}
.hero__title {
  font-size: var(--fs-display);
  color: var(--clr-text-inverse);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero__title em {
  color: var(--clr-surface);
  font-style: italic;
  font-family: var(--ff-body);
  font-weight: var(--fw-light);
  text-transform: lowercase;
  letter-spacing: normal;
}
.hero__subtitle {
  font-size: var(--fs-body-lg);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Indicador Scroll */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--clr-text-inverse);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero__scroll-arrow {
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ==========================================================
 *  9. TICKER ANIMATION
 * ========================================================== */
.announcement-ticker {
  width: 100%;
  overflow: hidden;
  background: var(--clr-primary);
  padding: 12px 0;
  display: flex;
}
.ticker-content {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  color: var(--clr-text-inverse);
  padding: 0 24px;
  white-space: nowrap;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================
 *  10. CARDS & GRIDS
 * ========================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .products-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 204, 113, 0.3);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--clr-bg-alt);
}
.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}
.product-card:hover .product-card__image {
  transform: scale(1.08);
}

.product-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card__category {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2xs);
}
.product-card__title {
  margin-bottom: var(--space-xs);
  font-size: var(--fs-h4);
}
.product-card__desc {
  color: var(--clr-text-light);
  font-size: var(--fs-body-sm);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.product-card__footer {
  margin-top: auto;
}

/* ==========================================================
 *  11. PROMO SEMANAL (Y BLOQUES DIVIDIDOS)
 * ========================================================== */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.promo__visual {
  position: relative;
}
.promo__image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
}
.promo__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo__badge-float {
  position: absolute;
  top: -20px;
  right: -20px;
  transform: rotate(10deg);
}

.promo__features {
  margin-bottom: var(--space-lg);
}
.promo__feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
  font-weight: var(--fw-medium);
}
.promo__feature-icon {
  background: var(--clr-bg-alt);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}

.countdown-wrapper {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}
.countdown {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}
.countdown__unit {
  text-align: center;
}
.countdown__number {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  color: var(--clr-primary);
  line-height: 1;
  font-weight: var(--fw-medium);
}
.countdown__label {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.countdown__separator {
  font-size: var(--fs-h3);
  color: var(--clr-border);
  line-height: 1;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo__badge-float { right: 10px; }
}

/* ==========================================================
 *  12. ESTADÍSTICAS
 * ========================================================== */
.section--stats {
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
  padding: var(--space-3xl) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}
.stat__number {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-h1);
  color: var(--clr-accent-warm);
  margin-bottom: var(--space-2xs);
}
.stat__label {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
}

/* ==========================================================
 *  13. TESTIMONIOS (CAROUSEL)
 * ========================================================== */
.carousel {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  width: 100%;
}
.carousel-track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
  animation: scrollCarousel 40s linear infinite;
}
.carousel-track:hover {
  animation-play-state: paused;
}
@keyframes scrollCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - (var(--space-md) / 2))); } /* Asumiendo que duplicamos los elementos */
}
.carousel-slide {
  flex: 0 0 350px;
  max-width: 350px;
}

.testimonial {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.testimonial__quote {
  font-size: var(--fs-body);
  font-style: italic;
  color: var(--clr-text);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
  position: relative;
}
.testimonial__quote-icon {
  position: absolute;
  top: -10px; left: -10px;
  color: var(--clr-primary);
  opacity: 0.1;
  width: 40px; height: 40px;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}
.testimonial__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--clr-bg-alt);
}
.testimonial__name {
  display: block;
  font-weight: var(--fw-bold);
  font-size: var(--fs-body);
}
.testimonial__location {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================
 *  14. CONTACTO Y FORMULARIOS
 * ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact__info {
  background: var(--clr-primary);
  color: var(--clr-text-inverse);
  padding: var(--space-2xl);
}
.contact__info h3 { color: var(--clr-text-inverse); }
.contact__form-wrap {
  padding: var(--space-2xl);
}

.form-group {
  position: relative;
  margin-bottom: var(--space-lg);
}
.form-control {
  width: 100%;
  padding: 12px 0;
  font-size: var(--fs-body);
  color: var(--clr-text);
  border-bottom: 2px solid var(--clr-border);
  transition: border-color var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-bottom-color: var(--clr-primary);
}
.form-label {
  position: absolute;
  top: 12px;
  left: 0;
  color: var(--clr-text-light);
  transition: all var(--transition-fast);
  pointer-events: none;
}
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
  top: -12px;
  font-size: var(--fs-xs);
  color: var(--clr-primary);
  font-weight: var(--fw-bold);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact__info, .contact__form-wrap { padding: var(--space-lg); }
}

/* ==========================================================
 *  15. FOOTER
 * ========================================================== */
.footer {
  background-color: var(--clr-bg-alt);
  padding: var(--space-3xl) 0 var(--space-lg);
  border-top: 1px solid var(--clr-border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
.footer__logo img {
  height: 48px;
  margin-bottom: var(--space-sm);
}
.footer__title {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  color: var(--clr-primary);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.footer__link {
  color: var(--clr-text-light);
  transition: color var(--transition-fast);
}
.footer__link:hover {
  color: var(--clr-primary);
}
.footer__social {
  display: flex;
  gap: var(--space-sm);
}
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--clr-surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-primary);
  border: 1px solid var(--clr-border);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.social-icon svg {
  width: 20px; height: 20px;
  fill: currentColor;
}
.social-icon:hover {
  background: var(--clr-primary);
  color: var(--clr-text-inverse);
  transform: translateY(-2px);
}
.footer__bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--clr-text-light);
  font-size: var(--fs-sm);
}

@media (max-width: 992px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
}

/* ==========================================================
 *  16. UTILIDADES Y FLOATERS
 * ========================================================== */
/* WhatsApp Flotante */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: var(--clr-whatsapp);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
}
.whatsapp-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.whatsapp-float:hover {
  background-color: var(--clr-whatsapp-hover);
  transform: scale(1.1);
}

/* Scroll To Top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 44px;
  height: 44px;
  background-color: var(--clr-surface);
  color: var(--clr-primary);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 99;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background-color: var(--clr-primary);
  color: var(--clr-text-inverse);
}

/* ==========================================================
 *  17. ANIMACIONES SCROLL (AOS)
 * ========================================================== */
.animate-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up { transform: translateY(40px); }
.fade-in-left { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }
.scale-in { transform: scale(0.9); }

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

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

/* ==========================================================
 *  18. PRELOADER
 * ========================================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--clr-bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease;
}
.preloader--hidden {
  opacity: 0;
  pointer-events: none;
}
.preloader__leaf {
  width: 64px; height: 64px;
  animation: pulse 1.5s infinite ease-in-out;
}
.preloader__text {
  margin-top: var(--space-sm);
  font-family: var(--ff-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-primary);
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* Icon Utilitiy Classes */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon--sm svg { width: 16px; height: 16px; }
.icon--md svg { width: 20px; height: 20px; }
.icon--lg svg { width: 24px; height: 24px; }
.icon--xl svg { width: 32px; height: 32px; }
.icon--accent { color: var(--clr-accent); }
.icon--warm { color: var(--clr-accent-warm); }


/* Animaciones Modernas (Fade Up) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-card, .promo__feature, .hero-section {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Efectos Hover Premium */
.product-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}
.btn:active {
  transform: scale(0.96) !important;
}
