/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #fdfcf9;
  color: #3d4436;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Paleta de colores Espacio Saludable */
:root {
  --crema-claro: #fdfcf9;
  --crema: #f5f3ed;
  --verde-sage: #9ba88d;
  --verde-principal: #7a8a6e;
  --verde-oscuro: #5a6952;
  --tierra: #8b7e6a;
  --blanco: #ffffff;
  --texto: #3d4436;
  --texto-suave: #6b7460;
  --acento-suave: #d4e3d0;
  --sombra-suave: 0 4px 20px rgba(154, 168, 141, 0.12);
  --sombra-hover: 0 8px 30px rgba(154, 168, 141, 0.2);
}

/* Accesibilidad */
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--verde-principal);
  color: var(--blanco);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
  z-index: 1100;
}

.skip-link:focus {
  top: 1rem;
}

a:focus, button:focus {
  outline: 3px solid var(--verde-sage);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Wrapper principal */
.main-wrapper {
  width: 100%;
  min-height: 100%;
  background: var(--crema-claro);
}

/* Header */
header {
  width: 100%;
  background: var(--blanco);
  box-shadow: var(--sombra-suave);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 5%;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--verde-oscuro);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  color: var(--texto);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
}

nav a:hover {
  color: var(--verde-principal);
}

/* Back link used in guías internas */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  background: var(--crema);
  color: var(--texto);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.back-link:hover {
  background: var(--acento-suave);
  color: var(--verde-oscuro);
}

/* Hero Section */
.hero {
  width: 100%;
  padding: 5rem 5% 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--blanco) 0%, var(--crema) 100%);
}

.hero-content {
  max-width: 950px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--verde-oscuro);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero p {
  font-size: 1.3rem;
  color: var(--texto-suave);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--texto);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(154, 168, 141, 0.2);
  color: var(--verde-oscuro);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-highlight {
  font-size: 1.15rem;
  color: var(--texto);
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--blanco);
  border-radius: 15px;
  box-shadow: var(--sombra-suave);
  font-weight: 500;
}

.hero-cta {
  font-size: 1rem;
  color: var(--texto-suave);
  margin-top: 2rem;
  font-style: italic;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--verde-principal);
  color: var(--blanco);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--sombra-suave);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--verde-oscuro);
  box-shadow: var(--sombra-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--blanco);
  color: var(--verde-oscuro);
  border: 2px solid var(--verde-principal);
}

.btn-secondary:hover {
  background: var(--verde-sage);
  color: var(--blanco);
  border-color: var(--verde-sage);
}

/* Secciones generales */
section {
  width: 100%;
  padding: 4rem 5%;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  color: var(--verde-oscuro);
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--texto-suave);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Guías Grid */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.guide-card {
  background: var(--blanco);
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: var(--sombra-suave);
  transition: all 0.3s ease;
  text-align: center;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--verde-sage);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.guide-card:hover::before {
  transform: scaleX(1);
}

.guide-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra-hover);
  border-color: var(--verde-sage);
}

.guide-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1.5rem;
}

.guide-card h3 {
  font-size: 1.8rem;
  color: var(--verde-oscuro);
  margin-bottom: 1rem;
  font-weight: 600;
}

.guide-card p {
  color: var(--texto-suave);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.guide-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(154, 168, 141, 0.15);
  color: var(--verde-oscuro);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Productos / Tienda */
.productos-section {
  background: var(--crema);
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.producto-card {
  background: var(--blanco);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--sombra-suave);
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.producto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
  border-color: var(--verde-sage);
}

.producto-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1.2rem;
}

.producto-card h3 {
  font-size: 1.5rem;
  color: var(--verde-oscuro);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.producto-card p {
  color: var(--texto-suave);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Quiénes Somos */
.about-section {
  background: var(--blanco);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-placeholder {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--verde-sage), var(--verde-oscuro));
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.about-content p {
  font-size: 1.15rem;
  color: var(--texto);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* Valores */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.valor-card {
  background: var(--blanco);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--sombra-suave);
  text-align: center;
  transition: all 0.3s ease;
}

.valor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
}

.valor-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.valor-card h4 {
  font-size: 1.3rem;
  color: var(--verde-oscuro);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.valor-card p {
  color: var(--texto-suave);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Alterna */
.alt-section {
  background: var(--crema);
}

/* Texto y listas */
.text-block {
  background: var(--blanco);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--sombra-suave);
  border-left: 5px solid var(--verde-sage);
}

.text-block h3 {
  font-size: 1.6rem;
  color: var(--verde-oscuro);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.text-block p {
  font-size: 1.05rem;
  color: var(--texto);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.text-block ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.text-block li {
  font-size: 1.05rem;
  color: var(--texto);
  line-height: 1.8;
  margin-bottom: 0.8rem;
  padding-left: 2rem;
  position: relative;
}

.text-block li::before {
  content: "🥑";
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* Cards desplegables */
.expandable-card {
  background: var(--blanco);
  border-radius: 20px;
  margin-bottom: 1.5rem;
  box-shadow: var(--sombra-suave);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.expandable-card:hover {
  box-shadow: var(--sombra-hover);
}

.card-header {
  padding: 2rem;
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  background: transparent;
  border: none;
  text-align: left;
  font: inherit;
  color: inherit;
}

.card-header:hover {
  background: var(--acento-suave);
}

.card-header h3 {
  font-size: 1.5rem;
  color: var(--verde-oscuro);
  font-weight: 600;
  margin: 0;
}

.card-icon {
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.expandable-card.active .card-icon {
  transform: rotate(180deg);
}

.card-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.card-content-inner {
  padding: 0 2rem 2rem;
}

.card-content p {
  font-size: 1.05rem;
  color: var(--texto);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Grid de beneficios */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--blanco);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--sombra-suave);
  transition: all 0.3s ease;
  border-top: 4px solid var(--verde-sage);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
}

.benefit-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.benefit-card h4 {
  font-size: 1.4rem;
  color: var(--verde-oscuro);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.benefit-card p {
  font-size: 1rem;
  color: var(--texto-suave);
  line-height: 1.7;
}

/* Preguntas guía */
.questions-box {
  background: linear-gradient(135deg, var(--verde-sage) 0%, var(--verde-principal) 100%);
  color: var(--blanco);
  border-radius: 25px;
  padding: 3rem;
  margin: 3rem 0;
  box-shadow: var(--sombra-hover);
}

.questions-box h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.questions-box ul {
  list-style: none;
  padding-left: 0;
  max-width: 700px;
  margin: 0 auto;
}

.questions-box li {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-left: 2.5rem;
  position: relative;
}

.questions-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Kits */
.kits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.kit-card {
  background: var(--blanco);
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: var(--sombra-hover);
  transition: all 0.3s ease;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.kit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--verde-sage);
}

.kit-card:hover {
  transform: translateY(-8px);
  border-color: var(--verde-sage);
}

.kit-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--verde-sage);
  color: var(--blanco);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kit-card h3 {
  font-size: 1.8rem;
  color: var(--verde-oscuro);
  margin-bottom: 1rem;
  font-weight: 700;
}

.kit-card .kit-description {
  font-size: 1rem;
  color: var(--texto-suave);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.kit-card h4 {
  font-size: 1.2rem;
  color: var(--verde-oscuro);
  margin: 1.5rem 0 1rem;
  font-weight: 600;
}

.kit-card ul {
  list-style: none;
  padding-left: 0;
}

.kit-card li {
  font-size: 1rem;
  color: var(--texto);
  line-height: 1.8;
  margin-bottom: 0.7rem;
  padding-left: 2rem;
  position: relative;
}

.kit-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--verde-sage);
  font-weight: bold;
  font-size: 1.2rem;
}

.kit-goal {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px dashed var(--acento-suave);
}

.kit-goal p {
  font-size: 0.95rem;
  color: var(--texto-suave);
  font-style: italic;
  margin: 0;
}

/* Productos recomendados */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--blanco);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--sombra-suave);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
  border-color: var(--verde-sage);
}

.product-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.product-card h4 {
  font-size: 1.3rem;
  color: var(--verde-oscuro);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.product-card p {
  font-size: 0.95rem;
  color: var(--texto-suave);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Disclaimer */
.disclaimer {
  background: var(--crema);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 3rem 0;
  border-left: 5px solid var(--tierra);
  box-shadow: var(--sombra-suave);
}

.disclaimer-icon {
  font-size: 2.5rem;
  display: block;
  text-align: center;
  margin-bottom: 1.5rem;
}

.disclaimer p {
  font-size: 1.05rem;
  color: var(--texto);
  line-height: 1.9;
  margin-bottom: 1.2rem;
  text-align: center;
}

.disclaimer-highlight {
  font-weight: 600;
  color: var(--verde-oscuro);
}

/* CTA Final */
.cta-section {
  background: linear-gradient(135deg, var(--verde-sage) 0%, var(--verde-oscuro) 100%);
  color: var(--blanco);
  text-align: center;
  padding: 5rem 5%;
}

.cta-section h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

/* Footer */
footer {
  width: 100%;
  background: var(--verde-oscuro);
  color: var(--blanco);
  padding: 3rem 5% 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.8;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--verde-sage);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

footer p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

footer a {
  color: var(--verde-sage);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: var(--blanco);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .guides-grid,
  .productos-grid,
  .kits-grid,
  .products-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .text-block,
  .kit-card,
  .questions-box {
    padding: 1.8rem;
  }
}
