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

/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  /* Colors */
  --primary: #1b4224;        /* Forest Green (Logo Circle) */
  --primary-light: #2b5c37;  /* Soft Green */
  --accent: #7a502c;         /* Coffee Brown (Logo Ground/Beans) */
  --accent-light: #f5eedf;   /* Cream Warm Tan (Logo Arc) */
  --accent-hover: #5c3c20;   /* Darker Coffee Brown */
  --text-dark: #2c2015;      /* Deep Coffee Dark Text */
  --text-muted: #6e655c;     /* Soft Warm Gray-Brown */
  --bg-light: #fcfbf9;       /* Creamy Warm Off-white */
  --bg-white: #ffffff;
  --border-color: #ede7dd;   /* Soft Warm Border */
  --whatsapp-color: #25d366;
  --whatsapp-hover: #128c7e;
  --danger: #ef4444;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Transitions */
  --transition-fast: all 0.15s ease;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 20px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-premium: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Layout */
  --header-height: 80px;
  --max-width: 1400px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

/* ==========================================================================
   COMMON LAYOUT & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Accent Line */
.accent-line {
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  margin: 16px auto 0 auto;
  border-radius: var(--radius-full);
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border: 2px solid var(--border-color);
  color: var(--primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  background-color: rgba(15, 23, 42, 0.02);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   HEADER / NAVIGATION (Glassmorphism)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition-normal);
  background-color: rgba(252, 251, 249, 0.95); /* Warm-white base */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-scrolled {
  height: 70px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.logo-text span {
  color: var(--accent);
}

@media (max-width: 576px) {
  .logo-text {
    font-size: 0.95rem;
  }
  .logo-img {
    width: 36px;
    height: 36px;
  }
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-normal);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Button */
.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
}

@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-slow);
    z-index: 999;
  }

  .nav.active {
    right: 0;
  }

  .mobile-nav-toggle {
    display: block;
    z-index: 1000;
  }

  .header-actions .btn-whatsapp {
    display: none; /* Occur on small screens under burger menu or dynamic footer */
  }
}

/* ==========================================================================
   HERO / BANNER PRINCIPAL DINÁMICO (Slider)
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 550px;
  background-color: #0b0f19;
  overflow: hidden;
  margin-top: var(--header-height);
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.slide-content {
  position: relative;
  z-index: 3;
  color: var(--bg-white);
  max-width: 680px;
  padding: 0 24px;
  transform: translateY(30px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active .slide-content {
  transform: translateY(0);
}

.slide-tag {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.slide h2 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.slide-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-weight: 300;
}

.slide-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-price span {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: line-through;
}

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

/* Slide Navigation */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-normal);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-arrow:hover {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.slider-arrow-prev {
  left: 30px;
}

.slider-arrow-next {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.3);
  transition: var(--transition-normal);
}

.slider-dot.active {
  background-color: var(--accent);
  width: 32px;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 70vh;
  }
  .slide h2 {
    font-size: 2.25rem;
  }
  .slider-arrow {
    display: none; /* Avoid blockage on mobile */
  }
}

/* ==========================================================================
   CARRUSEL DINÁMICO DE DESTACADOS
   ========================================================================== */
.featured-section {
  background-color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 30px 0;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  scroll-behavior: smooth;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 300px;
}

@media (max-width: 992px) {
  .carousel-item {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 576px) {
  .carousel-item {
    flex: 0 0 100%;
  }
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.carousel-control-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-normal);
}

.carousel-control-btn:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

/* ==========================================================================
   BUSCADOR Y FILTROS DE CATEGORÍA
   ========================================================================== */
.catalog-controls {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
  position: sticky;
  top: 70px; /* Header Scrolled Height */
  z-index: 100;
  backdrop-filter: blur(12px);
  background-color: rgba(248, 250, 252, 0.95);
}

.controls-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 16px 24px 16px 52px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  font-size: 1.05rem;
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(197, 168, 128, 0.15);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
  pointer-events: none;
}

.filter-categories {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.category-chip {
  padding: 10px 24px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition-normal);
}

.category-chip:hover {
  background-color: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent-hover);
}

.category-chip.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   TARJETAS DE PRODUCTOS
   ========================================================================== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.category-block {
  margin-bottom: 64px;
}

.category-title-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
}

.category-block-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.category-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  background-color: var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.product-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 168, 128, 0.3);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Square Aspect Ratio (1:1) */
  background-color: #f1f5f9;
  overflow: hidden;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

/* Badge tags */
.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  background-color: var(--primary);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.product-badge.featured {
  background-color: var(--accent);
  color: var(--primary);
}

.product-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-hover);
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  height: 48px; /* Force 2 rows max */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  height: 40px; /* Force 2 rows max */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.product-card-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.product-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.product-card-actions .btn {
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-icon-only {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.btn-icon-only:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

/* Botón compacto de WhatsApp (solo icono): logo VERDE sobre fondo claro */
.btn-whatsapp.btn-icon-only {
  background-color: var(--bg-white);
  color: var(--whatsapp-color);
  border: 1px solid var(--border-color);
  box-shadow: none;
  font-size: 1.35rem;
}

/* Al pasar el mouse: se rellena de verde con el logo en blanco */
.btn-whatsapp.btn-icon-only:hover {
  background-color: var(--whatsapp-color);
  color: var(--bg-white);
  border-color: var(--whatsapp-color);
}

/* ==========================================================================
   MODAL DE PRODUCTO (Custom Pop-up Dialog)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background-color: var(--bg-white);
  width: 100%;
  max-width: 960px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .modal-window {
    grid-template-columns: 1fr;
    max-height: 85vh;
    overflow-y: auto;
  }
}

.modal-overlay.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.modal-close:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

.modal-image-col {
  position: relative;
  background-color: #f1f5f9;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

@media (max-width: 768px) {
  .modal-image-col {
    min-height: 300px;
    height: 300px;
  }
}

.modal-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-col {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .modal-info-col {
    padding: 32px 24px;
  }
}

.modal-category {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-hover);
  margin-bottom: 12px;
}

.modal-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.modal-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}

.modal-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

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

/* ==========================================================================
   SKELETON LOADING INDICATORS
   ========================================================================== */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s infinite ease-in-out;
}

@keyframes skeleton-pulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-img {
  width: 100%;
  height: 100%;
  position: absolute;
}

.skeleton-text {
  height: 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.skeleton-title {
  width: 80%;
  height: 24px;
}

.skeleton-desc {
  width: 95%;
  height: 16px;
}

.skeleton-price {
  width: 40%;
  height: 28px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px 0;
  border-top: 1px solid var(--primary-light);
}

.footer h4 {
  color: var(--bg-white);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about .logo {
  color: var(--bg-white);
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--accent);
  font-size: 1.1rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.social-icon:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom p span {
  color: var(--accent);
}

/* ==========================================================================
   SYSTEM STATES (Empty Search Results)
   ========================================================================== */
.no-results {
  text-align: center;
  padding: 80px 24px;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  max-width: 500px;
  margin: 40px auto;
}

.no-results-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.no-results h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.no-results p {
  color: var(--text-muted);
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: var(--whatsapp-color);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: var(--transition-normal);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2), 0 0 0 12px rgba(37, 211, 102, 0.08);
  }
}

@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   SCROLL OFFSET (Para anchors con header fijo)
   ========================================================================== */
[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}
