:root {
  /* ?? Colores principales */
  --color-primary: #ff5100;            /* Naranja vibrante Celion */
  --color-primary-dark: #cc4200;       /* Naranja oscuro para hover y botones */
  --color-primary-light: #ff7433;      /* Naranja claro para detalles suaves */
  --color-secondary: #1a1a1a;          /* Fondo oscuro o negro profundo */
  --color-secondary-light: #2c2c2c;    /* Gris oscuro para secciones secundarias */
  --color-white: #ffffff;              /* Blanco puro para texto y fondos */
  --color-gray-light: #f5f5f5;         /* Fondo claro alterno */
  --color-gray-medium: #cccccc;        /* Líneas, íconos secundarios */
  --color-gray-dark: #3a3a3a;          /* Textos tenues en oscuro */
  /* ?? Colores de texto */
  --color-text-primary: #ffffff;       /* Texto sobre fondo oscuro */
  --color-text-dark: #1a1a1a;          /* Texto sobre fondos claros */
  --color-accent: #d4af37;             /* Dorado suave para destacar detalles */
  /* ?? Espaciado */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  /* ?? Tipografía */
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Inter', sans-serif;
  /* ?? Tamaños de tipografía */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  /* ?? Sombras */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
  --shadow-primary: 0 5px 15px rgba(255, 81, 0, 0.4);
  /* ?? Bordes */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-full: 9999px;
  /* ?? Layout */
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-primary);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 0.8em;
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
}

p {
  margin-bottom: 1.5rem;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-block;
  padding: 1em 2em;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: var(--text-lg);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 81, 0, 0.5);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

.btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===== NAVEGACIÓN ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: var(--color-secondary);
  padding: 0.6rem 0;
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 1.5rem;
  transition: all 0.3s ease;
}

.scrolled .logo-img {
  height: 2.5rem;
  width: auto;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.navbar-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  transition: all 0.3s ease;
}

.navbar-menu {
  display: flex;
  gap: 2rem;
}

.navbar-link {
  color: var(--color-white);
  font-weight: 500;
  font-size: var(--text-base);
  position: relative;
  padding: 0.5rem 0;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

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

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background-color: var(--color-secondary);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 6rem;
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  color: var(--color-text-primary);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-content.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-size: var(--text-5xl);
  margin-bottom: 1.5rem;
  color: var(--color-white);
  line-height: 1.1;
}

.accent-line {
  width: 80px;
  height: 4px;
  background-color: var(--color-primary);
  margin-bottom: 1.5rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s ease;
}

.accent-line.animate-visible {
  transform: scaleX(1);
}

.hero-subtitle {
  font-size: var(--text-xl);
  margin-bottom: 2.5rem;
  color: var(--color-gray-medium);
}

.hero-image {
  flex: 1;
  max-width: 500px;
  position: relative;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-image.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

.hero-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

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

.image-accent {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 70%;
  height: 70%;
  border: 3px solid var(--color-primary);
  border-radius: var(--border-radius-lg);
  z-index: -1;
  transition: all 0.5s ease;
}

.hero-image:hover .image-accent {
  top: -20px;
  right: -20px;
}

/* ===== BENEFICIOS SECTION ===== */
.beneficios-section {
  background-color: var(--color-gray-light);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-header.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.section-header .accent-line {
  margin: 0 auto 2rem;
  transform-origin: center;
}

.beneficios-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* 2 columnas en lugar de auto-fit */
  max-width: 900px;
  margin: 0 auto 4rem;
  gap: 3rem;
}

.beneficio-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  border: 1px solid rgba(212, 175, 55, 0.7);
}

.beneficio-card.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.beneficio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.beneficio-card.animate-visible .vertical-line {
  height: 100%;
}

.beneficio-icon {
  font-size: 3rem;                    
  color: var(--color-primary);
  margin-bottom: 2rem;            
  transition: all 0.3s ease;
}

.beneficio-card:hover .beneficio-icon {
  transform: scale(1.1);
  color: var(--color-primary-dark);
}

.beneficio-content h3 {
  font-size: var(--text-xl);
  margin-bottom: 1rem;
  color: var(--color-text-dark);
  transition: all 0.3s ease;
}

.beneficio-card:hover .beneficio-content h3 {
  color: var(--color-primary);
}

.beneficio-content p {
  color: var(--color-gray-dark);
  margin-bottom: 0;
}
	

/* 1. CSS PARA LAS IMÁGENES DE BENEFICIOS */
.beneficio-image {
  width: 150px;
  height: auto;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  transition: all 0.3s ease;
  float: left;
  margin-right: 1.5rem;
}

.beneficio-card:hover .beneficio-image {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 81, 0, 0.3);
}

.beneficio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.beneficio-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}

.beneficio-content {
  flex: 1;
}

/* Ajustes para la línea vertical */
.vertical-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--color-primary);
  transition: height 1.2s ease;
}

.beneficio-card.animate-visible .vertical-line {
  height: 100%;
}

.beneficio-card:nth-child(1) .vertical-line {
  transition-delay: 0.2s;
}

.beneficio-card:nth-child(2) .vertical-line {
  transition-delay: 0.4s;
}

.beneficio-card:nth-child(3) .vertical-line {
  transition-delay: 0.6s;
}

.beneficio-card:nth-child(4) .vertical-line {
  transition-delay: 0.8s;
}

/* Media queries para ajustar en dispositivos móviles */
@media (max-width: 768px) {
  .beneficio-card-header {
    flex-direction: column;
  }
  
  .beneficio-image {
    float: none;
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  
}

@media (max-width: 992px) {
  .beneficios-container {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .beneficios-container {
    grid-template-columns: 1fr;  /* Una columna en móviles */
  }
}	

.cta-container {
  text-align: center;
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-container.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TESTIMONIO SECTION ===== */
.testimonio-section {
  background-color: var(--color-secondary);
  padding: 6rem 0;
  color: var(--color-white);
}

.testimonio-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.testimonio-wrapper.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonio-image {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.testimonio-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.testimonio-image .image-accent {
  border-color: var(--color-accent);
}

.testimonio-content {
  flex: 1.5;
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.testimonio-text {
  font-size: var(--text-2xl);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-family: var(--font-primary);
}

.testimonio-author {
  font-size: var(--text-lg);
  color: var(--color-gray-medium);
  text-align: right;
}

/* ===== VALIDACIÓN SECTION ===== */
.validacion-section {
  background-color: var(--color-white);
  padding: 6rem 0;
}

.validacion-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}
.validacion-card {
  text-align: center;
  padding: 2.5rem;
  background-color: var(--color-gray-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  position: relative;  /* Asegurarse de que tenga position relative */
  overflow: hidden;   /* Importante para que la línea no sobresalga */
  border: 1px solid rgba(212, 175, 55, 0.7);
}	

.validacion-card.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.validacion-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.validacion-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.validacion-card:hover .validacion-icon {
  transform: scale(1.1);
  color: var(--color-primary-dark);
}

.validacion-title {
  font-size: var(--text-xl);
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.validacion-text {
  color: var(--color-gray-dark);
  font-size: var(--text-base);
}
	
/* Si vertical-line ya está definida correctamente, asegurarnos de que selector .validacion-card.animate-visible .vertical-line existe */
.validacion-card.animate-visible .vertical-line {
  height: 100%;
}

/* Agregar retrasos a las animaciones de las líneas verticales */
.validacion-card:nth-child(1) .vertical-line {
  transition-delay: 0.2s;
}

.validacion-card:nth-child(2) .vertical-line {
  transition-delay: 0.4s;
}

.validacion-card:nth-child(3) .vertical-line {
  transition-delay: 0.6s;
}

/* ===== MÉTODO SECTION ===== */
.metodo-section {
  background-color: var(--color-gray-light);
  padding: 6rem 0;
}

.metodo-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 4rem;
  position: relative;
}

.step-item {
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.step-item.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

.step-item:hover {
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--text-2xl);
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 2rem;
  transition: all 0.3s ease;
}

.step-item:hover .step-number {
  transform: scale(1.1);
  background-color: var(--color-primary-dark);
}

.step-content {
  flex: 1;
}

.step-title {
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.step-text {
  color: var(--color-gray-dark);
  margin-bottom: 0;
}

.step-arrow {
  font-size: 2rem;
  color: var(--color-primary);
  margin-left: 2rem;
}

/* ===== FORMULARIO SECTION ===== */
.formulario-section {
  background-color: var(--color-secondary-light);
  padding: 6rem 0;
  position: relative;
}

.form-wrapper {
  display: flex;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.form-wrapper.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-image {
  flex: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
}

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

.form-wrapper:hover .form-image img {
  transform: scale(1.05);
}

.form-content {
  flex: 1;
  padding: 3rem;
  background-color: var(--color-white);
}

.form-title {
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-size: var(--text-lg);
}

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

.form-group {
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-md);
  border: 2px solid var(--color-gray-medium);
  background-color: var(--color-white);
  color: var(--color-text-dark);
  font-size: var(--text-base);
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group input::placeholder {
  color: var(--color-gray-dark);
}

.form-submit {
  margin-top: 1rem;
  width: 100%;
}

.form-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-gray-dark);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

.form-success {
  text-align: center;
  padding: 2rem;
}

.form-success-icon {
  font-size: 4rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--color-secondary);
  padding: 3rem 0 1.5rem;
  color: var(--color-gray-medium);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.logo-footer {
  height: 2.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: var(--color-gray-medium);
  font-size: var(--text-sm);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-primary);
}

.copyright {
  text-align: center;
  font-size: var(--text-xs);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

/* ===== ANIMACIONES ===== */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 81, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 81, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 81, 0, 0);
  }
}

.pulse-effect {
  animation: pulse 1.5s ease-in-out;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 992px) {
  h1 {
    font-size: var(--text-4xl);
  }
  
  h2 {
    font-size: var(--text-3xl);
  }
  
  .hero-section .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-title, .hero-subtitle {
    max-width: 100%;
  }
  
  .accent-line {
    margin-left: auto;
    margin-right: auto;
    transform-origin: center;
  }
  
  .hero-image {
    margin-top: 3rem;
    max-width: 100%;
  }
  
  .testimonio-wrapper {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonio-image {
    max-width: 300px;
    margin: 0 auto 3rem;
  }
  
  .form-wrapper {
    flex-direction: column;
  }
  
  .form-image {
    height: 300px;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 1.5rem;
  }
  
  .step-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }
  
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--color-secondary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 999;
  }
  
  .navbar-menu.active {
    right: 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: var(--text-3xl);
  }
  
  h2 {
    font-size: var(--text-2xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .testimonio-text {
    font-size: var(--text-xl);
  }
  
  .btn {
    padding: 0.8em 1.5em;
    font-size: var(--text-base);
  }
  
  .validacion-container {
    grid-template-columns: 1fr;
  }
}	
	
/* ===== 8. SECCIÓN INGREDIENTES DESTACADOS ===== */
.ingredientes-section {
  background-color: var(--color-beige, #F7F2E8);
  padding: 6rem 0;
}

.section-subtitle {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--color-gray-dark);
  font-size: var(--text-lg);
}

.ingredientes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.ingrediente-card {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ingrediente-card.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.ingrediente-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.3s ease;
}

.ingrediente-card:hover .ingrediente-image {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 81, 0, 0.3);
}

.ingrediente-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ingrediente-title {
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.ingrediente-card:hover .ingrediente-title {
  color: var(--color-primary-dark);
}

.ingrediente-benefit {
  color: var(--color-gray-dark);
  margin-bottom: 0;
  font-size: var(--text-base);
}

/* ===== 9. SECCIÓN PREGUNTAS FRECUENTES (FAQ) ===== */
.faq-section {
  background-color: var(--color-gray-light);
  padding: 6rem 0;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.faq-item.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover .faq-question {
  background-color: rgba(255, 81, 0, 0.05);
}

.faq-question h3 {
  margin: 0;
  font-size: var(--text-lg);
  color: var(--color-text-dark);
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
  color: var(--color-primary);
}

.faq-icon {
  font-size: var(--text-xl);
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: var(--color-gray-dark);
}

/* ===== 10. CTA FLOTANTE O STICKY (MÓVIL) ===== */
.cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  z-index: 900;
  text-align: center;
}

.cta-mobile .btn {
  width: 100%;
  font-size: var(--text-base);
  padding: 0.8em 1.5em;
}

.cta-mobile .btn i {
  margin-right: 0.5rem;
}

/* ===== 11. BOTÓN DE WHATSAPP FLOTANTE ===== */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 950;
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* ===== MEDIA QUERIES PARA NUEVAS SECCIONES ===== */
@media (max-width: 992px) {
  .ingredientes-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cta-mobile {
    display: block;
  }
  
  .whatsapp-button {
    bottom: 90px; /* Ajustar posición para no superponerse con CTA móvil */
  }
  
  /* Agregar margen inferior para que el contenido no quede oculto por CTA móvil */
  .footer {
    margin-bottom: 70px;
  }
}

@media (max-width: 576px) {
  .ingredientes-container {
    grid-template-columns: 1fr;
  }
  
  .ingrediente-image {
    width: 120px;
    height: 120px;
  }
  
  .faq-question h3 {
    font-size: var(--text-base);
  }
}	
	
.spinner-gold {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(212, 175, 55, 0.3);
  border-top: 3px solid #D4AF37;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Envuelve imagen y spinner para posicionamiento */
.spinner-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner-wrapper img {
  display: block;
  max-width: 100%;
}

.spinner-wrapper .spinner-gold {
  position: absolute;
  z-index: 2;
}		
	
/* Estilos para las imágenes en la sección de método */
.step-image-desktop,
.step-image-mobile {
  width: 120px;
  height: 120px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-image-desktop img,
.step-image-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.step-image-desktop img.loaded,
.step-image-mobile img.loaded {
  opacity: 1;
}

/* Por defecto, la imagen móvil se oculta en desktop y viceversa */
.step-image-mobile {
  display: none;
  margin: 1rem auto;
}

.step-image-desktop {
  display: block;
  margin-bottom: 1.5rem;
}

/* Ajusta para móvil */
@media (max-width: 768px) {
  .step-image-desktop {
    display: none;
  }
  
  .step-image-mobile {
    display: block;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 1rem;
  }
}

/* Asegurarse de que el spinner desaparezca cuando la imagen carga */
.spinner-wrapper img.loaded + .spinner-gold {
  display: none;
}	