/* index.css - Sistema de Diseño Premium para Fuxion */

/* Importar tipografías de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');
/* Iconos de Bootstrap */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
  /* Paleta de colores principal basada en HSL (Modo Claro por defecto) */
  --emerald-50: HSL(140, 30%, 96%);
  --emerald-100: HSL(140, 30%, 90%);
  --emerald-500: HSL(150, 40%, 25%); /* Forest Green */
  --emerald-600: HSL(150, 45%, 20%);
  --emerald-900: HSL(150, 50%, 12%);
  
  --amber-500: HSL(35, 75%, 50%); /* Golden Honey */
  --rose-500: HSL(345, 65%, 55%);
  --indigo-500: HSL(230, 55%, 55%);
  --cyan-500: HSL(190, 70%, 45%);
  --orange-500: HSL(18, 80%, 50%);
  --purple-500: HSL(270, 50%, 55%);
  --slate-500: HSL(210, 15%, 45%);
  --teal-500: HSL(170, 50%, 40%);
  --green-500: HSL(120, 40%, 40%);

  /* Variables semánticas - Light Mode */
  --bg-primary: HSL(140, 20%, 98%);
  --bg-secondary: HSL(140, 20%, 95%);
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.45);
  --border-glass: rgba(255, 255, 255, 0.4);
  --border-subtle: rgba(140, 160, 150, 0.15);
  
  --text-primary: HSL(150, 20%, 12%);
  --text-secondary: HSL(150, 10%, 40%);
  --text-muted: HSL(150, 10%, 60%);
  
  --shadow-sm: 0 2px 8px -1px rgba(0, 30, 15, 0.05);
  --shadow-md: 0 10px 30px -10px rgba(0, 30, 15, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(0, 30, 15, 0.12);
  --shadow-glass: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 8px 32px 0 rgba(0, 30, 15, 0.05);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --font-body: 'Outfit', sans-serif;
  --font-display: 'Playfair Display', serif;
  
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Modo Oscuro - Activado mediante clase en body */
body.dark-mode {
  --bg-primary: HSL(150, 20%, 8%);
  --bg-secondary: HSL(150, 20%, 12%);
  --bg-card: rgba(25, 35, 30, 0.65);
  --bg-glass: rgba(20, 30, 25, 0.45);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.06);
  
  --text-primary: HSL(150, 15%, 92%);
  --text-secondary: HSL(150, 10%, 75%);
  --text-muted: HSL(150, 10%, 55%);
  
  --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-glass: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  
  --emerald-100: HSL(150, 30%, 18%);
}

/* Reset y Estilos Globales */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.25;
}

.font-serif {
  font-family: var(--font-display);
}

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

ul {
  list-style: none;
}

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

/* Estilos de Contenedor */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* -------------------------------------------------------------------------- */
/* CABECERA / HEADER - GLASSMORPHISM */
/* -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
  transition: background-color 0.4s ease, border-bottom 0.4s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--emerald-500);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

body.dark-mode .logo-text {
  color: HSL(140, 40%, 65%);
}

.logo-subtext {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Menú de Navegación */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--emerald-500);
}

body.dark-mode .nav-link:hover, body.dark-mode .nav-link.active {
  color: HSL(140, 40%, 65%);
}

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

body.dark-mode .nav-link::after {
  background-color: HSL(140, 40%, 65%);
}

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

/* Acciones en Navbar */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buscador de Cabecera */
.search-wrapper {
  position: relative;
  width: 200px;
  transition: var(--transition-smooth);
}

.search-wrapper:focus-within {
  width: 280px;
}

.search-input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  outline: none;
}

.search-input:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(0, 101, 128, 0.15);
  background-color: var(--bg-primary);
}

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

/* Botón de Tema (Claro/Oscuro) */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-glass);
  background-color: var(--bg-secondary);
}

.theme-toggle:hover {
  background-color: var(--emerald-500);
  color: #fff;
  border-color: var(--emerald-500);
  transform: rotate(15deg);
}

body.dark-mode .theme-toggle:hover {
  background-color: HSL(140, 40%, 65%);
  color: var(--bg-primary);
  border-color: HSL(140, 40%, 65%);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* -------------------------------------------------------------------------- */
/* ELEMENTOS COMUNES DE INTERFAZ */
/* -------------------------------------------------------------------------- */
.main-content {
  padding-top: 100px;
  min-height: calc(100vh - 400px);
}

/* Botones Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-bounce);
  border: none;
  outline: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--emerald-500);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(0, 101, 128, 0.35);
}

.btn-primary:hover {
  background-color: var(--emerald-600);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px 0 rgba(0, 101, 128, 0.45);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background-color: var(--bg-primary);
  border-color: var(--text-secondary);
  transform: translateY(-3px);
}

.btn-accent {
  background-color: var(--amber-500);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(212, 143, 0, 0.3);
}

.btn-accent:hover {
  background-color: HSL(35, 75%, 45%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px 0 rgba(212, 143, 0, 0.4);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px 0 rgba(37, 211, 102, 0.45);
}

/* Tarjetas Premium con Glassmorphism */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  transition: var(--transition-bounce);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-subtle);
}

/* -------------------------------------------------------------------------- */
/* SECCIONES Y VISTAS */
/* -------------------------------------------------------------------------- */

/* --- HERO BANNER --- */
.hero-section {
  position: relative;
  padding: 5rem 0 7rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 4rem;
  background-color: var(--bg-secondary);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/hero_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

body.dark-mode .hero-bg-overlay {
  opacity: 0.08;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(34, 110, 147, 0.08), transparent 50%),
              linear-gradient(to right, var(--bg-secondary), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background-color: var(--emerald-100);
  color: var(--emerald-500);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

body.dark-mode .hero-badge {
  background-color: rgba(0, 122, 147, 0.2);
  color: HSL(140, 40%, 65%);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--emerald-900);
  margin-bottom: 1.5rem;
}

body.dark-mode .hero-title {
  color: #fff;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- GRID DE CATEGORIAS (LÍNEAS) --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--emerald-900);
  margin-bottom: 0.75rem;
}

body.dark-mode .section-title {
  color: #fff;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

.lines-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 5rem;
}

.line-card {
  flex: 1 1 280px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.line-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.line-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.line-card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.line-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--emerald-500);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.line-card:hover .line-card-link {
  gap: 0.5rem;
}

/* --- PRODUCTOS --- */
.products-section {
  margin-bottom: 5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background-color: var(--amber-500);
  color: #fff;
}

.product-line-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 0.5rem;
}

.product-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-card-footer {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.product-card-footer .btn {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

/* --- DETALLE DE PRODUCTO --- */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 5rem;
}

.product-detail-visuals {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-detail-image-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.product-illustration {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-bounce);
}

.product-illustration-container .product-illustration {
  max-width: 220px;
  max-height: 180px;
}

.product-detail-image-box .product-illustration {
  max-width: 90%;
  max-height: 90%;
  transform: scale(1.1);
}

.product-detail-image-box:hover .product-illustration {
  transform: scale(1.18) rotate(2deg);
}

.product-card:hover .product-illustration {
  transform: scale(1.06) rotate(1deg);
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-detail-title {
  font-size: 2.5rem;
  color: var(--emerald-900);
}

body.dark-mode .product-detail-title {
  color: #fff;
}

.product-detail-badge {
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
}

.detail-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 0.35rem;
  color: var(--text-primary);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.benefits-list i {
  color: var(--emerald-500);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.ingredients-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ingredient-tag {
  background-color: var(--emerald-100);
  color: var(--emerald-500);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
}

body.dark-mode .ingredient-tag {
  background-color: rgba(0, 122, 147, 0.15);
  color: HSL(140, 40%, 70%);
}

.instruction-box {
  background-color: var(--bg-secondary);
  border-left: 4px solid var(--emerald-500);
  padding: 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.purchase-actions-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- CLIENTE PREFERENTE, COMO COMPRAR Y AFILIACION --- */
.info-page-layout {
  max-width: 800px;
  margin: 0 auto 5rem;
}

.info-hero {
  text-align: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2.5rem;
}

.info-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.step-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  background-color: var(--emerald-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 101, 128, 0.2);
}

.step-details h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.step-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Selector de País para compra */
.country-selector-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.country-select {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  width: 100%;
  max-width: 320px;
  margin-bottom: 1.5rem;
  outline: none;
  cursor: pointer;
}

.country-select:focus {
  border-color: var(--emerald-500);
}

/* --- CONTACTO --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.channel-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--emerald-100);
  color: var(--emerald-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

body.dark-mode .channel-icon {
  background-color: rgba(0, 122, 147, 0.15);
  color: HSL(140, 40%, 65%);
}

.channel-info h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.channel-info p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-form-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--emerald-500);
  background-color: var(--bg-primary);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* -------------------------------------------------------------------------- */
/* PIE DE PÁGINA / FOOTER */
/* -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem;
  color: var(--text-secondary);
  transition: background-color 0.4s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--emerald-500);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--emerald-500);
  color: #fff;
  border-color: var(--emerald-500);
  transform: translateY(-3px);
}

body.dark-mode .social-link:hover {
  background-color: HSL(140, 40%, 65%);
  color: var(--bg-primary);
  border-color: HSL(140, 40%, 65%);
}

.footer-nav-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-nav-link:hover {
  color: var(--emerald-500);
  padding-left: 4px;
}

body.dark-mode .footer-nav-link:hover {
  color: HSL(140, 40%, 65%);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

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

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

/* -------------------------------------------------------------------------- */
/* MENÚ MÓVIL DESLIZANTE */
/* -------------------------------------------------------------------------- */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background-color: var(--bg-primary);
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: var(--transition-bounce);
}

.mobile-nav-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.close-drawer {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.1rem;
}

.mobile-nav-link {
  font-weight: 500;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--emerald-500);
  padding-left: 6px;
}

/* -------------------------------------------------------------------------- */
/* BOTÓN DE WHATSAPP FLOTANTE */
/* -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-bounce);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  background-color: #20ba59;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background-color: #25D366;
  opacity: 0.4;
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVIDAD */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .nav-menu, .search-wrapper {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-detail-visuals {
    position: static;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .step-card {
    flex-direction: column;
    gap: 0.5rem;
  }
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}
