
/* ===== VARIABLES RAÍZ ===== */
:root {
  --primary-color: #16a34a; /* Verde Herbalife */
  --primary-hover: #15803d;
  --title-color: #1d5c2a; /* Verde oscuro para títulos */
  --primary-light: #6fbc5a; /* Verde claro para acentos 86efac */
  --secondary-color: #f8f9fa;
  --text-dark: #333333;
  --text-light: #6c757d;
  --white: #ffffff;
  --card-bg: #f8f9fa; /* Gris claro para tarjetas */
}

/* ===== ESTILOS BASE ===== */
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

/* ===== TIPOGRAFÍA ===== */
h1, h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #1d5c2a !important;
  text-align: center;
  position: relative;
}

h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #6fbc5a;
}

/* ===== SECCIONES GENERALES ===== */
section {
  padding: 20px;
  margin: 15px auto;
  max-width: 95%;
}

/* ===== BOTONES UNIFICADOS ===== */
.btn,
.challenge-button,
.cta-button,
.service-cta a:not([href*="myherbalife.com"]),
.guide-form input[type="submit"],
.memberships .btn,
.stories-cta a:not([href*="myherbalife.com"]),
.locations-cta a:not([href*="myherbalife.com"]),
.section-footer a:not([href*="myherbalife.com"]),
.product-link.btn,
.option-body a:not([href*="myherbalife.com"]),
.feature-box a:not([href*="myherbalife.com"]),
.hero-right a.cta-button:not([href*="myherbalife.com"]),
.city-card a:not([href*="myherbalife.com"]),
.trust-card a:not([href*="myherbalife.com"]),
.story-content a:not([href*="myherbalife.com"]),
.cta-box a:not([href*="myherbalife.com"]),
.guide-text a:not([href*="myherbalife.com"]),
.service-cta .btn,
input[type="submit"]:not(#wpadminbar input):not(.search-submit),
button:not(#back-to-top):not(.adminbar-button):not(.menu-toggle):not(.nav-toggle):not(.mobile-nav-toggle) {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  display: inline-block !important;
  padding: 0.8rem 2rem !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  text-align: center !important;
  cursor: pointer !important;
  border: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  margin: 0.5rem auto !important;
  background-color: #16a34a !important;
  color: white !important;
  font-size: 1rem !important;
}

/* Estados hover de botones */
.btn:hover,
.challenge-button:hover,
.cta-button:hover,
.service-cta a:not([href*="myherbalife.com"]):hover,
.guide-form input[type="submit"]:hover,
.memberships .btn:hover,
.stories-cta a:not([href*="myherbalife.com"]):hover,
.locations-cta a:not([href*="myherbalife.com"]):hover,
.section-footer a:not([href*="myherbalife.com"]):hover,
.product-link.btn:hover,
.option-body a:not([href*="myherbalife.com"]):hover,
.feature-box a:not([href*="myherbalife.com"]):hover,
.hero-right a.cta-button:not([href*="myherbalife.com"]):hover,
.city-card a:not([href*="myherbalife.com"]):hover,
.trust-card a:not([href*="myherbalife.com"]):hover,
.story-content a:not([href*="myherbalife.com"]):hover,
.cta-box a:not([href*="myherbalife.com"]):hover,
.guide-text a:not([href*="myherbalife.com"]):hover,
.service-cta .btn:hover,
input[type="submit"]:not(#wpadminbar input):not(.search-submit):hover,
button:not(#back-to-top):not(.adminbar-button):not(.menu-toggle):not(.nav-toggle):not(.mobile-nav-toggle):hover {
  background-color: #15803d !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
  color: white !important;
}

/* Estilo específico para .cta-button (consolidado) */
.cta-button {
  background: var(--primary-color);
  color: var(--white);
  border-radius: 20px;
  padding: 0.8rem 1.5rem;
  box-shadow: 0 4px 6px rgba(21, 128, 61, 0.2);
}

.cta-button:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 8px rgba(21, 128, 61, 0.3);
  transform: translateY(-2px);
}

.locations-cta .btn.cta-button {
  padding: 0.7rem 1.5rem !important;
  font-size: 0.95rem !important;
}

/* Estilo unificado para .whatsapp-icon (Font Awesome) */
.whatsapp-icon {
  font-size: 20px; /* Tamaño consistente para todos los íconos de WhatsApp */
  width: auto; /* Font Awesome es una fuente, no necesita width */
  height: auto; /* Font Awesome es una fuente, no necesita height */
  vertical-align: middle;
  margin-right: 8px; /* Espacio entre el ícono y el texto */
}

/* Ajuste específico para .cta-button en la sección final */
.cta-box .cta-button .whatsapp-icon {
  font-size: 22px; /* Tamaño ligeramente más grande para el CTA final */
}

/* Ajuste específico para .whatsapp-link en la sección de ubicaciones */
.whatsapp-link .whatsapp-icon {
  font-size: 16px; /* Tamaño más pequeño para los botones de ciudad */
}



/* ===== EXCEPCIONES ESPECÍFICAS ===== */
a[href*="myherbalife.com"],
a[href*="myherbalife.com"]:hover {
  all: revert !important;
  color: #15803d !important;
  text-decoration: underline !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  font-weight: normal !important;
  display: inline !important;
}

#back-to-top:hover {
  background-color: rgba(0,0,0,0.3) !important;
  transform: translateY(-3px) !important;
}

#back-to-top svg {
  width: 24px !important;
  height: 24px !important;
}



/* ===== ENLACES Y TÍTULOS ===== */
a h3,
.product-content a {
  text-decoration: none !important;
}

a:hover h3,
.product-content a:hover {
  text-decoration: underline !important;
  text-decoration-color: #15803d !important;
}

.product-card h3,
.product-content a[href] h3 {
  color: #15803d !important;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 auto 0.8rem auto !important;
}

.product-content a[href]:hover h3 {
  color: #15803d !important;
  text-decoration: none !important;
}

.trust-title {
  color: #15803d !important;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  margin: 0 auto 10px auto !important;
  font-weight: 600 !important;
  padding: 0 15px !important;
}

.story-name {
  color: #15803d !important;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  margin: 0 auto 10px auto !important;
  font-size: 1.3rem !important;
  padding: 0 15px !important;
}

.option-header h3 {
  color: #15803d !important;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  margin: 15px auto !important;
  font-size: 1.4rem !important;
  padding: 0 !important;
}

/* ===== HERO SECTION ===== */
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
  padding: 1rem;
  text-align: center;
}

.hero-right {
  background-color: #f8f9fa;
  padding: 2rem 1rem;
  text-align: center;
}

.hero-right h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero-right p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero-right a:not(.btn) {
  color: var(--primary-color);
  text-decoration: none;
}

.hero-right a:not(.btn):hover {
  text-decoration: underline;
}

.hero-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
  }

  .hero-image {
    order: -1;
    width: 100%;
    margin-bottom: 1rem;
    height: 300px;
  }

  .hero-right h1 {
    font-size: 1.8rem;
    margin-top: 0;
  }
}

/* ===== ASESORÍA PERSONALIZADA ===== */
.personalized-service {
  background: var(--white);
  padding: 3rem 1rem;
  position: relative;
  border-top: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  overflow: hidden;
}

.service-container {
  max-width: 1200px;
  margin: 0 auto;
}

.service-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.service-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--title-color);
  font-weight: 700;
  position: relative;
}

.service-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background: var(--primary-color);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

.service-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}


.service-intro {
  text-align: center;
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

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

.feature-box {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  border: 1px solid #e0e0e0;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(22, 163, 74, 0.15);
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.feature-icon {
  text-align: center;
  padding: 10px 0;
}

.feature-box:hover .feature-icon {
  background-color: rgba(22, 163, 74, 0.25);
  transform: scale(1.06);
}

.feature-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.feature-title {
  font-size: 1.25rem;
  color: #1f2937;
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.trust-feature-box:hover .feature-title {
  color: #15803d;
}

.feature-desc {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.feature-box[data-tooltip] {
  position: relative;
}

.feature-box[data-tooltip]:hover:after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  max-width: 260px;
  white-space: normal;
  text-align: center;
  z-index: 1000;
  opacity: 0.98;
  margin-bottom: 0.7rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.feature-box[data-tooltip]:hover:before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--primary-color);
  margin-bottom: -0.1rem;
  z-index: 1000;
}

.service-cta {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.service-text {
  color: var(--text-dark);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
}

.herbalife-icon {
  font-size: 2.5rem;
  color: #2e7d32;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.feature-box:hover .herbalife-icon {
  color: #1b5e20;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .service-title {
    font-size: 1.7rem;
  }

  .service-features {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 2rem;
  }
}

/* ===== CATEGORÍAS Y PRODUCTOS ===== */
.categories-showcase,
.featured-products {
  padding: 4rem 0;
}

.categories-showcase {
  background-color: #f8fafc;
}

.featured-products {
  background-color:   #f8f9fa;
;
}

.categories-section {
  padding: 2rem 1rem;
  background-color: #f8f9fa;
  margin: 2rem auto;
  max-width: 1200px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  color: #1f2937;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.category-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.category-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #15803d;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2;
}

.category-badge.special {
  background-color: #0369a1;
}

.category-link-wrapper {
  text-decoration: none;
  color: inherit;
}

.category-image-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.category-card:hover .category-image {
  transform: scale(1.08);
}

.category-content {
  padding: 1.75rem;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.category-description {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.category-stats {
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.products-count {
  display: inline-block;
  background-color: #f3f4f6;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.category-button {
  background-color: #15803d;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.625rem 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  width: 100%;
}

.category-button:hover {
  background-color: #166534;
}

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

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  position: relative; /* Asegura que el badge se posicione respecto a la tarjeta */
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}





.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.4rem 0.9rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 30;
  line-height: 1.2;
  opacity: 1 !important;
  display: block !important;
  transition: none;
}

@media (max-width: 768px) {
  .product-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    top: 0.5rem;
    right: 0.5rem;
  }
}


.product-badge.special {
  background-color: #dc2626;
}

.product-image-container {
  width: 100%;
  height: 220px; /* Ajusta según tus necesidades */
  overflow: hidden; /* Recorta el excedente */
  position: relative;
  align-items: flex-start; /* Fuerza alineación superior */

}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top; /* Enfoca la parte superior */
  transition: transform 0.5s ease;
  display: block;

}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-content {
  padding: 1.5rem;
  text-align: center; /* Centra todo el contenido de texto dentro de .product-content */
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.product-name-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-name-link:hover {
  color: #15803d;
}

.product-description {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size: 0.95rem;
  min-height: 60px;
}

/* Asegura que otros elementos no se vean afectados */
.product-meta {
  display: flex;
  justify-content: center; /* Centra las calificaciones */
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #15803d;
  display: block;
  margin-bottom: 0.5rem;
}

.old-price {
  font-size: 0.9rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.product-rating {
  display: flex;
  align-items: center;
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0.05rem;
}

.half-star {
  position: relative;
  display: inline-block;
  color: #e5e7eb;
}

.half-star::before {
  content: "★";
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #f59e0b;
}

.rating-count {
  font-size: 0.85rem;
  color: #6b7280;
  margin-left: 0.5rem;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.info-button,
.buy-button {
  padding: 0.625rem 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.info-button {
  background-color: #ffffff;
  color: #15803d;
  border: 1px solid #15803d;
}

.info-button:hover {
  background-color: #f0fdf4;
  color: #15803d

}

.buy-button {
  background-color: #16a34a;
  color: white;
  border: 1px solid #15803d;
}

.buy-button:hover {
  background-color: #166534;
  color: white;

}

.arrow-icon {
  font-style: normal;
  transition: transform 0.3s ease;
}

.category-card:hover .arrow-icon,
.product-card:hover .arrow-icon {
  transform: translateX(4px);
}

.product-button {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: transparent;
  border: 2px solid var(--primary-color, #15803d);
  color: var(--primary-color, #15803d);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.product-button:hover {
  background-color: var(--primary-color, #15803d);
  color: white;
  border-color: var(--primary-color, #15803d);
}

.section-footer {
  text-align: center;
  margin-top: 2rem;
}

.section-footer {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 1.5rem;
    padding: 1rem;
  }
}

/* ===== RETO SECTION ===== */
.challenge-section {
  padding: 2rem 1rem;
  background-color: #f8f9fa;
}
.challenge-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}
.challenge-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  order: 2;
}
.challenge-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}
.challenge-content {
  flex: 1;
  padding: 2rem;
  text-align: center;
  min-width: 300px;
  order: 1;
}
.challenge-content h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.benefits-list {
  list-style: none;
  padding-left: 1.5rem;
  margin: 1rem 0;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}
.benefits-list li {
  padding: 0.5rem 0;
  padding-left: 1.8rem;
  position: relative;
  color: #555;
  margin-bottom: 0.5rem;
}
.benefits-list li:before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}
.challenge-description {
  color: #555;
  line-height: 1.6;
  margin: 1.5rem 0;
  text-align: center;
}
.countdown-box {
  background-color: #f0f7f1;
  padding: 1rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  text-align: center;
}
.countdown-title {
  color: var(--title-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.number {
  font-size: 2rem;
  font-weight: 700;
  color: #e63946;
  min-width: 50px;
  text-align: center;
}
.label {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
}
.countdown-separator {
  font-size: 1.5rem;
  color: var(--title-color);
  padding-bottom: 0.8rem;
}
.disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-top: 1.5rem; /* Espacio consistente */
  clear: both; /* Asegura que esté debajo de todos los elementos flotantes */
}
.more-info-link {
  color: #15803d;
  font-weight: 600;
  text-decoration: none;
}
.more-info-link:hover {
  text-decoration: underline;
color: #6fbc5a;
}
.challenge-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: #15803d;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}
.challenge-button:hover {
  background-color: #166534;
}

/* Ajustes para tablets */
@media (max-width: 900px) {
  .challenge-content h2 {
    font-size: 1.5rem;
  }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .challenge-container {
    flex-direction: column;
    padding-bottom: 1rem;
  }
  .challenge-content {
    order: 2;
    padding: 1.5rem 1rem;
  }
  .challenge-image {
    order: 1;
    width: 100%;
    overflow: hidden; /* Importante: evita que la imagen se desborde */
    margin-bottom: 0; /* Elimina el margen inferior */
    padding: 0.75rem;
  }
  .challenge-content h2 {
    font-size: 1.4rem;
  }
  .disclaimer {
    margin-top: 1.5rem;
    padding-bottom: 0.5rem;
    position: relative; /* Asegura posicionamiento correcto */
  }
  .benefits-list li {
    margin-bottom: 0.3rem;
  }
  .number {
    font-size: 1.5rem;
  }
}

/* Ajustes para móviles pequeños */
@media (max-width: 480px) {
  .challenge-content {
    padding: 1rem 0.75rem;
  }
  .challenge-image {
    padding: 0.5rem;
  }
  .challenge-content h2 {
    font-size: 1.3rem;
  }
}
/* ===== SECCIÓN DE CONFIANZA ===== */
.trust-section {
  padding: 4rem 1rem;
background: linear-gradient(180deg, #fcfdfe 0%, #f9fbfd 100%);
  overflow: hidden;
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.trust-header {
  margin-bottom: 3rem;
  position: relative;
}

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

.trust-feature-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.1); /* Borde sutil en estado normal */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.trust-feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #15803d, #22c55e); /* Lí GELUnea decorativa superior */
  opacity: 0.8;
}

.trust-feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: #15803d;
}

.trust-feature-box[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, #15803d, #166534);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.trust-feature-box[data-tooltip]::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #15803d;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}


.trust-feature-box:hover[data-tooltip]::after,
.trust-feature-box:hover[data-tooltip]::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

.trust-feature-box .feature-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.trust-feature-box:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.trust-feature-box .feature-icon img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.trust-feature-box:hover .feature-icon img {
  transform: scale(1.1);
}

.trust-feature-box .feature-desc {
  font-size: 0.95rem;
  color: #1f2937;
  background: linear-gradient(135deg, #f0fdf4, #e6f0fa);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  line-height: 1.6;
  margin-top: 0.75rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.trust-feature-box:hover .feature-desc {
  transform: scale(1.02);
}

.trust-cta {
  margin-top: 3rem;
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.1);
}

.trust-text {
  font-size: 1.2rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.trust-text strong {
  color: #15803d;
  font-weight: 700;
}

.trust-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1rem auto 0;
  line-height: 1.5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.trust-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(22, 163, 74, 0.2);
}

.trust-card:hover .trust-title {
  color: #15803d !important;
}

.trust-card {
  text-align: center !important;
}

.trust-icon-container {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(22, 163, 74, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.trust-card:hover .trust-icon-container {
  background-color: rgba(22, 163, 74, 0.2);
  transform: scale(1.1);
}

.trust-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.trust-description {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.service-title.section-title {
  font-size: 2rem;
  color: #1f2937;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-title.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #15803d, #22c55e);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}


@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .trust-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .trust-icon-container {
    width: 70px;
    height: 70px;
  }

  .trust-icon {
    width: 35px;
    height: 35px;
  }

  .trust-text {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }

  .trust-feature-box .feature-desc {
    font-size: 0.85rem;
  }
}

/* ===== SECCIÓN DE UBICACIONES ===== */
.locations-section {
  padding: 3rem 1rem;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.locations-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.locations-header {
  text-align: center;
  margin-bottom: 2rem;
}

.locations-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #0f5c2a;
}

.locations-subtitle {
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
}

.locations-divider {
  width: 80px;
  height: 3px;
  background-color: var(--title-color);
  margin: 0 auto;
  border-radius: 3px;
}

.locations-description {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.city-search {
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

.city-search input {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  color: var(--text-dark);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.city-search input:focus {
  outline: none;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.city-search input::placeholder {
  color: var(--text-light);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cities-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 100%;

}

.city-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(22, 163, 74, 0.1);
  flex: 1;
  width: 90%;
  max-width: 300px;
  min-width: 260px;
}

.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(22, 163, 74, 0.3);
}

.city-card {
  text-align: center !important;
}

.city-card:hover .city-name {
  color: #15803d !important;
  text-decoration: none !important;
}

.city-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.city-icon svg {
  width: 28px;
  height: 28px;
}

.city-name {
  font-size: 1.3rem;
  margin: 0.5rem 0;
  font-weight: 600;
}

.city-name a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.city-name a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.delivery-time {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.city-link,
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  margin: 0.3rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.city-link {
  color: #ffffff;
  background: var(--primary-color);
}

.city-link:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.whatsapp-link {
  color: var(--primary-color);
  background: rgba(22, 163, 74, 0.1);
}

.whatsapp-link:hover {
  background: rgba(22, 163, 74, 0.2);
  transform: translateY(-2px);
}

/* Centrado del botón de "Contactar" en la tarjeta de Monterrey (tercera tarjeta) */
.cities-container .city-card:nth-child(3) .whatsapp-link {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}



.view-all-link {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 20px;
  background: #16a34a;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.view-all-link:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
color: white;
}



.delivery-info {
  max-width: 700px;
  margin: 1.5rem auto;
  text-align: center;
}

.more-locations {
  text-align: center;
  margin: 1.5rem 0;
}

.locations-cta {
  text-align: center;
  margin-top: 2rem;
}

.card-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #15803d, #22c55e);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .locations-title {
    font-size: 1.7rem;
  }

  .locations-subtitle {
    font-size: 1.1rem;
  }

  .cities-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.5rem;
    justify-content: flex-start;
    padding: 0 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Desplazamiento suave en iOS */
    scrollbar-width: none; /* Oculta la barra de desplazamiento en Firefox */
  }

  .cities-container::-webkit-scrollbar {
    display: none; /* Oculta la barra de desplazamiento en Chrome/Safari */
  }
  .city-card {
    flex: 0 0 280px; /* Ancho fijo para tarjetas */
    max-width: 280px;
    min-width: 280px;
    scroll-snap-align: center; /* Alinea tarjetas al centro al deslizar */
  }
}

@media (max-width: 480px) {
  .locations-section {
    padding: 2rem 1rem;
  }

  .city-card {
    padding: 1.25rem;
  }
}

/* ===== TESTIMONIOS ===== */
.success-stories {
  background-color: #f8f9fa;
  padding: 3rem 1rem;
}

.stories-container {
  max-width: 1200px;
  margin: 0 auto;
}

.stories-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stories-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stories-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.story-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.story-card:hover .story-name {
  color: #15803d !important;
}

.story-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

.story-card:hover .story-image img {
  transform: scale(1.05);
}

.story-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--title-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.story-content {
  padding: 1.5rem;
  text-align: center;
}

.story-content {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.story-text {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.story-rating {
  color: #ffc107;
  font-size: 1.2rem;
  letter-spacing: 2px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.stories-cta {
  text-align: center;
  margin: 2rem 0;
}

.stories-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: #6c757d;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .stories-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 2rem;
  }

  .stories-title {
    font-size: 1.8rem;
  }
}

/* ===== MEMBRESÍAS ===== */
.memberships {
  padding: 4rem 1rem;
background: linear-gradient(180deg, #fcfdfe 0%, #f9fbfd 100%);


  position: relative;
  overflow: hidden;
}

.memberships-container {
  max-width: 1200px;
  margin: 0 auto;
}

.memberships .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.memberships .section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #15803d, #22c55e);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.memberships .subtitle {
  font-size: 1.25rem;
  color: #4b5563;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.5;
}

.membership-options {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.option {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.15);
  flex: 1;
  max-width: 450px;
  min-width: 300px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
}

.option:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: #15803d;
}

.option-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #15803d, #22c55e);
  opacity: 0.9;
}

.option-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(22, 163, 74, 0.1);
}

.option-header a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.option-header img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.option:hover .option-header img {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.option-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  transition: color 0.3s ease;
}

.option:hover .option-header h3 {
  color: #15803d;
}

.option-body {
  padding: 2rem;
}

.option-body p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  background: #f0fdf4;
  padding: 0.75rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.option:hover .option-body p {
  background: #dcfce7;
}

.option-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.preferente-button,
.distribuidor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.preferente-button {
  color: #ffffff;
  background: #16a34a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.preferente-button:hover {
  background: linear-gradient(to right, #166534, #16a34a);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.distribuidor-button {
  color: #15803d;
  background: transparent;
  border: 2px solid #15803d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.distribuidor-button:hover {
  background: linear-gradient(to right, #166534, #16a34a);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: #166534;
}

@media (max-width: 768px) {
  .memberships {
    padding: 3rem 1rem;
  }

  .memberships .section-title {
    font-size: 2rem;
  }

  .memberships .subtitle {
    font-size: 1.15rem;
  }

  .membership-options {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .option {
    width: 100%;
    max-width: 400px;
  }

  .option-header img {
    height: 200px;
  }

  .option-body {
    padding: 1.5rem;
  }

  .preferente-button,
  .distribuidor-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .memberships .section-title {
    font-size: 1.75rem;
  }

  .memberships .subtitle {
    font-size: 1rem;
  }

  .option {
    max-width: 350px;
  }

  .option-header img {
    height: 180px;
  }

  .option-header h3 {
    font-size: 1.3rem;
  }

  .option-body p {
    font-size: 0.95rem;
  }
}

/* ===== GUÍA ===== */
.guide-section {
  padding: 2rem 1rem;
  background-color: #f8f9fa;
}

.guide-container {
  max-width: 1000px;
  margin: 0 auto;
}

.guide-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.guide-card h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.guide-content {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.guide-text {
  flex: 1;
  text-align: center;
}

.guide-image {
  flex: 1;
  border-radius: 6px;
  overflow: hidden;
}

.guide-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.guide-form {
  margin: 1.5rem 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.guide-form input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.privacy-note {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}

@media (max-width: 768px) {
  .guide-content {
    flex-direction: column;
  }

  .guide-image {
    order: -1;
    width: 100%;
  }

  .guide-image img {
    height: 250px;
  }
}

/* ===== CTA FINAL ===== */
.simple-cta {
  padding: 4rem 1rem;
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%); /* Gradiente verde suave */
  position: relative;
  overflow: hidden;
}

.cta-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.cta-box {
  background:  #ffffff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.15);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cta-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: #15803d;
}

.cta-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #15803d, #22c55e);
  opacity: 0.9;
}

.cta-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-heading::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #15803d, #22c55e);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.cta-message {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-message p {
  font-size: 1.15rem;
  color: #4b5563;
  line-height: 1.6;
  background: #f0fdf4;
  padding: 1rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.cta-box:hover .cta-message p {
  background: #dcfce7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  background: #16a34a;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  background: linear-gradient(to right, #166534, #16a34a);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-button .whatsapp-icon {
  width: 22px;
  height: 22px;
}

.small-note {
  font-size: 0.6rem;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  background: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(22, 163, 74, 0.1);
}

.small-note a {
  color: #15803d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.small-note a:hover {
  color: #166534;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .simple-cta {
    padding: 3rem 1rem;
  }

  .cta-box {
    padding: 2rem;
  }

  .cta-heading {
    font-size: 2rem;
  }

  .cta-message p {
    font-size: 1.05rem;
    padding: 0.75rem;
  }

  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .small-note {
    font-size: 0.6rem;
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .cta-heading {
    font-size: 1.75rem;
  }

  .cta-box {
    padding: 1.5rem;
  }

  .cta-message p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }

  .cta-button .whatsapp-icon {
    width: 18px;
    height: 18px;
  }
}

/* Estilos base */
.guide-section {
  padding: 20px;
}

.guide-container {
  max-width: 1200px;
  margin: 0 auto;
}

.guide-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 阴: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  box-sizing: border-box;
  min-height: auto; /* Permite que el contenedor crezca según el contenido */
}

.section-title {
  font-size: 1.8rem;
  color: #0f5c2a;
  text-align: center;
  margin: 20px 0;
}

.guide-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.guide-text {
  flex: 1;
  min-width: 300px;
  padding: 0 15px;
  box-sizing: border-box;
}

.guide-text p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.guide-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.guide-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.privacy-note {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .guide-section {
    padding: 15px;
  }

  .guide-container {
    width: 95%;
    margin: 0 auto;
  }

  .guide-card {
    padding: 25px 15px;
    width: 100%;
    box-sizing: border-box;
    min-height: auto;
    overflow: visible;
  }

  .section-title {
    font-size: 1.5rem;
    margin: 15px 0;
  }

  .guide-content {
    flex-direction: column;
    gap: 15px;
  }

  .guide-text {
    min-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    width: 100%;
  }

  .guide-text p {
    font-size: 0.95rem;
    margin: 0 0 15px;
  }

  .guide-image {
    min-width: 100%;
  }

  /* Ajustes al formulario */
  .quick_form_16_css {
    padding: 0 10px !important;
    width: 100%;
    box-sizing: border-box;
  }

  #zcampaignOptinForm {
    width: 100%;
    max-width: 100%;
  }

  #zcampaignOptinForm div[style*="height: 40px"] {
    height: auto !important;
    min-height: 64px; /* Más espacio para el botón */
  }

  #zcampaignOptinForm input[type="email"],
  #zcampaignOptinForm input[type="text"] {
    font-size: 0.9rem;
    padding: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #zcampaignOptinForm input[type="button"] {
    font-size: 0.85rem;
    padding: 14px 12px; /* Más padding vertical */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    height: auto;
    line-height: 1.5; /* Más espacio entre líneas */
    min-height: 56px; /* Altura mínima mayor */
  }

  #Zc_SignupSuccess {
    width: 95% !important;
    margin-left: 2.5% !important;
    font-size: 0.85rem;
    box-sizing: border-box;
  }

  .privacy-note {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .guide-section {
    padding: 10px;
  }

  .guide-container {
    width: 98%;
  }

  .guide-card {
    padding: 20px 10px;
  }

  .section-title {
    font-size: 1.3rem;
    margin: 10px 0;
  }

  .guide-text {
    padding: 0 8px;
  }

  .guide-text p {
    font-size: 0.9rem;
  }

  .quick_form_16_css {
    padding: 0 8px !important;
  }

  #zcampaignOptinForm div[style*="height: 40px"] {
    height: auto !important;
    min-height: 60px; /* Más espacio para el botón */
  }

  #zcampaignOptinForm input[type="email"],
  #zcampaignOptinForm input[type="text"] {
    font-size: 0.85rem;
    padding: 7px;
  }

  #zcampaignOptinForm input[type="button"] {
    font-size: 0.8rem;
    padding: 12px 10px; /* Más padding vertical */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    height: auto;
    line-height: 1.5; /* Más espacio entre líneas */
    min-height: 52px; /* Altura mínima mayor */
  }
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.tab-button {
  background-color: #f8f9fa;
  border: 1px solid #dcdcdc;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0 10px;
  border-radius: 5px;
}

.tab-button.active {
  background-color: #16a34a;
  color: #fff;
  border-color: #16a34a;
}

.tab-content {
  display: none;
  padding-top: 20px;
}

.tab-content.active {
  display: block;
}

.product-grid.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}



@media (max-width: 767px) {
  .tabs {
    flex-direction: column;
    gap: 10px;
  }
  .tab-button {
    width: 100%;
    margin: 0 !important;
  }
}

@media (min-width: 768px) {
  .grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* === REESTILO MEJORADO PARA LA SECCIÓN DE CATEGORÍAS === */
#categorias .product-grid.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

#categorias .product-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#categorias .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

#categorias .product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
}

#categorias .product-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #15803d;
  margin: 1rem 1rem 0.5rem;
  text-align: center;
}

#categorias .product-card p {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0 1rem 1rem;
  text-align: center;
  min-height: 50px;
  line-height: 1.4;
}

#categorias .product-card .btn {
  background-color: #16a34a;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.2rem;
  border-radius: 6px;
  margin: 0 auto 1rem;
  text-transform: uppercase;
  text-align: center;
  max-width: 90%;
  transition: all 0.3s ease;
  display: inline-block;
}

#categorias .product-card .btn:hover {
  background-color: #15803d;
  transform: translateY(-2px);
}

@media (min-width: 1200px) {
  #categorias .product-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  #categorias .product-grid.grid-4 {
    grid-template-columns: 1fr;
  }

  #categorias .product-card img {
    height: 160px;
  }

  #categorias .product-card h4 {
    font-size: 1.05rem;
  }
}


.decorative-map-desktop {
  display: none;
  margin: 40px auto 0;
  text-align: center;
}

@media (min-width: 992px) {
  .decorative-map-desktop {
    display: block;
  }
}
