/* ==========================================================================
   EnerVivo+ | Estilos Principales
   Identidad visual: Verde oscuro, blanco cálido, beige, acentos amarillo suave y verde lima
   Enfoque editorial, moderno, limpio y adaptable
   ========================================================================== */

:root {
  /* Paleta cromática principal */
  --c-dark-green: #18372B;
  --c-dark-green-hover: #122B22;
  --c-forest-mid: #25513F;
  --c-forest-light: #3D725C;
  --c-forest-tint: #E8F1EC;

  --c-warm-white: #FAF8F5;
  --c-surface: #FFFFFF;
  --c-sand-50: #F6F3ED;
  --c-sand-100: #EFE9DF;
  --c-sand-200: #E2DACB;
  --c-sand-300: #C9BEAD;

  /* Acentos sutiles */
  --c-accent-yellow: #EDB838;
  --c-accent-yellow-light: #FDF7E7;
  --c-accent-lime: #7AA636;
  --c-accent-lime-light: #F0F6E6;

  /* Textos y contrastes */
  --c-text-primary: #1C2722;
  --c-text-secondary: #4A5852;
  --c-text-muted: #72817A;
  --c-border: #E3DDD2;
  --c-border-subtle: #ECE6DB;

  /* Sombras suaves */
  --shadow-sm: 0 2px 6px rgba(24, 55, 43, 0.05);
  --shadow-md: 0 8px 24px rgba(24, 55, 43, 0.07);
  --shadow-lg: 0 16px 36px rgba(24, 55, 43, 0.1);

  /* Tipografías */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Espaciados y radios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --container-max: 1220px;
  --transition: all 0.25s ease;
}

/* Reset básico y accesibilidad */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--c-text-primary);
  background-color: var(--c-warm-white);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

/* Enlaces y botones base */
a {
  color: var(--c-dark-green);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--c-forest-mid);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--c-dark-green);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.2rem;
  color: var(--c-text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Estructura general y Contenedores
   ========================================================================== */
.container {
  width: 92%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-lg {
  padding: 6.5rem 0;
}

.section-title-wrap {
  margin-bottom: 3rem;
  max-width: 720px;
}

.section-title-wrap.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-dark-green);
  background: var(--c-sand-100);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-tag.accent-lime {
  background: var(--c-accent-lime-light);
  color: var(--c-forest-mid);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--c-text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Header & Navegación
   ========================================================================== */
.top-notice-bar {
  background: var(--c-dark-green);
  color: var(--c-sand-100);
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  text-align: center;
  letter-spacing: 0.02em;
}

.top-notice-bar strong {
  color: var(--c-accent-yellow);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border-subtle);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.97);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--c-dark-green);
  letter-spacing: -0.03em;
}

.brand-logo .logo-leaf {
  width: 26px;
  height: 26px;
  color: var(--c-accent-lime);
}

.brand-logo .plus-sign {
  color: var(--c-accent-yellow);
  font-weight: 900;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.935rem;
  font-weight: 500;
  color: var(--c-text-secondary);
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--c-dark-green);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--c-accent-lime);
  border-radius: 2px;
}

.nav-link.product-pill {
  background: var(--c-sand-100);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border);
  font-size: 0.88rem;
}

.nav-link.product-pill:hover {
  background: var(--c-dark-green);
  color: var(--c-warm-white);
  border-color: var(--c-dark-green);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--c-dark-green);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background: var(--c-surface);
  box-shadow: -8px 0 25px rgba(0, 0, 0, 0.12);
  z-index: 2000;
  padding: 2.5rem 1.75rem;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 55, 43, 0.4);
  backdrop-filter: blur(2px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Botones y Elementos de Acción
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.78rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--c-dark-green);
  color: var(--c-warm-white);
}

.btn-primary:hover {
  background: var(--c-dark-green-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--c-sand-100);
  color: var(--c-dark-green);
  border-color: var(--c-border);
}

.btn-secondary:hover {
  background: var(--c-sand-200);
  color: var(--c-dark-green);
}

.btn-outline {
  background: transparent;
  color: var(--c-dark-green);
  border: 1.5px solid var(--c-dark-green);
}

.btn-outline:hover {
  background: var(--c-dark-green);
  color: var(--c-warm-white);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 5rem 0;
  background: linear-gradient(180deg, rgba(239, 233, 223, 0.45) 0%, rgba(250, 248, 245, 0.9) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.35rem;
  color: var(--c-dark-green);
}

.hero-title .highlight {
  color: var(--c-forest-mid);
  position: relative;
}

.hero-text {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--c-text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--c-text-secondary);
  font-weight: 500;
}

.hero-feature-item svg {
  color: var(--c-accent-lime);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border-subtle);
}

.hero-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.02);
}

.hero-floating-card {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 270px;
}

.hero-floating-card .card-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-dark-green);
  margin-bottom: 0.25rem;
}

.hero-floating-card p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--c-text-secondary);
  margin: 0;
}

/* ==========================================================================
   Disclaimers & Transparencia
   ========================================================================== */
.transparency-banner {
  background: var(--c-sand-50);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin: 2rem 0;
}

.transparency-banner .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-sand-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-dark-green);
  flex-shrink: 0;
}

.transparency-banner p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--c-text-secondary);
  margin: 0;
}

.transparency-banner strong {
  color: var(--c-dark-green);
}

/* ==========================================================================
   Tarjetas e Infografías (Vitaminas y Minerales)
   ========================================================================== */
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card-editorial {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-editorial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-sand-300);
}

.card-editorial-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.card-editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-editorial:hover .card-editorial-image img {
  transform: scale(1.04);
}

.card-editorial-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-bottom: 0.75rem;
}

.card-editorial-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--c-dark-green);
  line-height: 1.35;
}

.card-editorial-text {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--c-text-secondary);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--c-dark-green);
}

.card-link svg {
  transition: transform 0.2s ease;
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* Tarjeta informativa específica de nutriente (B12 y Magnesio) */
.nutrient-spotlight-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  transition: var(--transition);
}

.nutrient-spotlight-card.active-border {
  border-top: 4px solid var(--c-forest-mid);
}

.nutrient-spotlight-card.accent-border {
  border-top: 4px solid var(--c-accent-yellow);
}

.nutrient-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.nutrient-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.nutrient-list {
  list-style: none;
  margin: 1.25rem 0;
}

.nutrient-list li {
  font-size: 0.92rem;
  color: var(--c-text-secondary);
  margin-bottom: 0.65rem;
  position: relative;
  padding-left: 1.4rem;
}

.nutrient-list li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: var(--c-forest-mid);
  font-size: 1.3rem;
  line-height: 1;
}

/* ==========================================================================
   Infografía sencilla / Comparativa de nutrientes
   ========================================================================== */
.table-responsive {
  overflow-x: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  margin: 2rem 0;
}

.nutrient-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.nutrient-table th,
.nutrient-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--c-border-subtle);
}

.nutrient-table th {
  background: var(--c-sand-50);
  font-family: var(--font-heading);
  color: var(--c-dark-green);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.nutrient-table tr:last-child td {
  border-bottom: none;
}

.nutrient-table tr:hover td {
  background: rgba(239, 233, 223, 0.2);
}

/* ==========================================================================
   Sección: Alimentos Cotidianos en Colombia
   ========================================================================== */
.colombia-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-dark-green);
  background: #FFF9E6;
  border: 1px solid #F5E5B8;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}

.food-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.food-card:hover {
  border-color: var(--c-forest-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.food-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--c-sand-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-dark-green);
  margin-bottom: 1rem;
}

.food-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.food-nutrients-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-forest-mid);
  background: var(--c-forest-tint);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Organizador de Hábitos / Herramienta interactiva
   ========================================================================== */
.routine-planner-widget {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.routine-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.routine-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: var(--c-sand-100);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.routine-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-forest-mid), var(--c-accent-lime));
  transition: width 0.4s ease;
}

.habit-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.habit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border-subtle);
  background: var(--c-warm-white);
  cursor: pointer;
  transition: var(--transition);
}

.habit-item:hover {
  background: var(--c-surface);
  border-color: var(--c-sand-300);
}

.habit-item.completed {
  background: var(--c-accent-lime-light);
  border-color: #B9D693;
}

.habit-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--c-text-muted);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background: #fff;
  transition: var(--transition);
}

.habit-item.completed .habit-checkbox {
  background: var(--c-forest-mid);
  border-color: var(--c-forest-mid);
  color: #fff;
}

.habit-info h4 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
  color: var(--c-dark-green);
}

.habit-info p {
  font-size: 0.82rem;
  color: var(--c-text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   Página de Producto EnerVivo+
   ========================================================================== */
.product-page-hero {
  padding: 4rem 0 3.5rem;
  background: linear-gradient(180deg, #F3EFE7 0%, var(--c-warm-white) 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.product-gallery-card {
  position: sticky;
  top: 100px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.product-gallery-card img {
  max-height: 480px;
  margin: 0 auto;
  object-fit: contain;
}

.product-certifications {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border-subtle);
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--c-text-secondary);
  font-weight: 600;
}

.product-info-panel h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--c-dark-green);
}

.product-subtitle {
  font-size: 1.1rem;
  color: var(--c-text-secondary);
  margin-bottom: 1.5rem;
}

.product-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  background: #EBF3ED;
  color: var(--c-forest-mid);
  border: 1px solid #D0E4D5;
  margin-bottom: 1.5rem;
}

.spec-sheet {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2rem 0;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  padding: 0.95rem 1.4rem;
  border-bottom: 1px solid var(--c-border-subtle);
  font-size: 0.9rem;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: var(--c-dark-green);
}

.spec-value {
  color: var(--c-text-secondary);
}

.product-warning-box {
  background: #FFFBEF;
  border: 1px solid #F3DF9F;
  border-left: 4px solid var(--c-accent-yellow);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.product-warning-box h4 {
  font-size: 0.95rem;
  color: #7A5700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.product-warning-box p {
  font-size: 0.85rem;
  color: #634F18;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Acordeón de Preguntas Frecuentes (FAQ)
   ========================================================================== */
.faq-accordion {
  margin: 2rem 0;
}

.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-surface);
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-dark-green);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--c-text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--c-dark-green);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
}

.faq-item.active .faq-body {
  padding: 0 1.5rem 1.4rem 1.5rem;
}

.faq-body p {
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ==========================================================================
   Formularios y Contacto
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-dark-green);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--c-text-primary);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--c-forest-mid);
  box-shadow: 0 0 0 3px rgba(37, 81, 63, 0.12);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.83rem;
  color: var(--c-text-secondary);
}

.form-check input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--c-dark-green);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--c-dark-green);
  color: var(--c-sand-100);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(239, 233, 223, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  color: rgba(239, 233, 223, 0.8);
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--c-accent-yellow);
  padding-left: 3px;
}

.footer-legal-notice {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(239, 233, 223, 0.7);
}

.footer-legal-notice strong {
  color: var(--c-sand-100);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(239, 233, 223, 0.6);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Banner de Cookies y Modal de Preferencias
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 600px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.75rem;
  z-index: 9998;
  display: none;
  animation: slideUp 0.35s ease;
}

.cookie-banner.active {
  display: block;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner h4 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: var(--c-dark-green);
}

.cookie-banner p {
  font-size: 0.84rem;
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* Modal de configuración de cookies */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 55, 43, 0.5);
  backdrop-filter: blur(3px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cookie-modal-backdrop.active {
  display: flex;
}

.cookie-modal {
  background: var(--c-surface);
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

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

.cookie-group {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--c-border-subtle);
}

.cookie-group:last-child {
  border-bottom: none;
}

.cookie-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.cookie-group-header h5 {
  font-size: 0.95rem;
  color: var(--c-dark-green);
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--c-sand-200);
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--c-forest-mid);
}

input:disabled + .slider {
  background-color: var(--c-sand-300);
  cursor: not-allowed;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* ==========================================================================
   Filtros y Búsqueda de Artículos
   ========================================================================== */
.filter-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text-secondary);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--c-dark-green);
  color: #fff;
  border-color: var(--c-dark-green);
}

/* ==========================================================================
   Páginas de Texto / Legales / Artículos Detalle
   ========================================================================== */
.editorial-article-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.editorial-article-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
}

.editorial-article-content h3 {
  font-size: 1.35rem;
  margin: 2rem 0 0.8rem;
}

.editorial-article-content ul,
.editorial-article-content ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
}

.editorial-article-content li {
  margin-bottom: 0.5rem;
  color: var(--c-text-secondary);
}

.editorial-callout {
  background: var(--c-forest-tint);
  border-left: 4px solid var(--c-forest-mid);
  padding: 1.4rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.editorial-callout h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--c-dark-green);
}

.editorial-callout p {
  font-size: 0.95rem;
  margin: 0;
}

.scientific-references {
  background: var(--c-sand-50);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-top: 3.5rem;
}

.scientific-references h4 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--c-dark-green);
}

.scientific-references ol {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.55;
  padding-left: 1.2rem;
}

.scientific-references li {
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-media {
    max-width: 580px;
    margin: 0 auto;
  }

  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-gallery-card {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .cards-grid-2,
  .cards-grid-3 {
    grid-template-columns: 1fr;
  }

  .cards-grid-4 {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .habit-checklist {
    grid-template-columns: 1fr;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .hero-floating-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
