/* JOHANNA LAZARO — SANAR DESDE LA RAÍZ — STYLES */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { -webkit-font-smoothing: antialiased; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #B5194E 0%, #D4246A 100%);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(181, 25, 78, 0.35);
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(181, 25, 78, 0.45);
  background: linear-gradient(135deg, #8E1340 0%, #B5194E 100%);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: transparent;
  color: #B5194E;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid #B5194E;
  text-decoration: none;
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}
.btn-outline:hover {
  background: linear-gradient(135deg, #B5194E 0%, #D4246A 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: white;
  color: #B5194E;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: transparent;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.8);
  text-decoration: none;
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}
.btn-outline-white:hover {
  background-color: white;
  color: #B5194E;
  border-color: white;
  transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3D2C2C;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #B5194E, #D4246A);
  transition: width 0.3s ease;
}
.nav-link:hover { color: #B5194E; }
.nav-link:hover::after { width: 100%; }

.mobile-nav-link {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: #3D2C2C;
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(181, 25, 78, 0.1);
  transition: all 0.3s ease;
}
.mobile-nav-link:hover {
  color: #B5194E;
  padding-left: 0.5rem;
}

/* ===== CART ===== */
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #B5194E, #D4246A);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid transparent;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(181, 25, 78, 0.15);
  border-color: rgba(181, 25, 78, 0.15);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(135deg, #B5194E, #D4246A);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  z-index: 10;
}

.product-add-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  background: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #B5194E;
  z-index: 10;
}
.product-card:hover .product-add-btn {
  opacity: 1;
  transform: translateY(0);
}
.product-add-btn:hover {
  background: linear-gradient(135deg, #B5194E, #D4246A);
  color: white;
}

.product-card-content { padding: 1.5rem; }

/* ===== FAQ ===== */
.faq-item {
  background: #FAF7F5;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.faq-item:hover { border-color: rgba(181, 25, 78, 0.15); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #3D2C2C;
  font-family: 'Outfit', sans-serif;
}
.faq-question:hover { color: #B5194E; }

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #B5194E;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: #6B5E5E;
  line-height: 1.7;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PILLAR CIRCLES ===== */
.pillar-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid #C5D4C0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  transition: all 0.4s ease;
  background: white;
}
.pillar-circle:hover {
  border-color: #B5194E;
  box-shadow: 0 15px 40px rgba(181, 25, 78, 0.12);
  transform: translateY(-5px);
}
.pillar-number {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #B5194E, #D4246A);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

/* ===== QUIZ MOCKUP ===== */
.quiz-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
}
.quiz-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #D4246A, #E8467F);
}

/* ===== WhatsApp FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #B5194E, #D4246A);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(181, 25, 78, 0.4);
  z-index: 50;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(181, 25, 78, 0.5);
}

/* ===== UTILITIES ===== */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FAF7F5; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #B5194E, #D4246A);
  border-radius: 4px;
}

::selection { background: #B5194E; color: white; }

/* ===== PAIN POINT CARDS ===== */
.pain-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid #F5EDE8;
  transition: all 0.4s ease;
}
.pain-card:hover {
  border-color: rgba(181, 25, 78, 0.2);
  box-shadow: 0 15px 40px rgba(181, 25, 78, 0.08);
  transform: translateY(-4px);
}

/* ===== STEP CARDS ===== */
.step-card {
  position: relative;
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid #F5EDE8;
  transition: all 0.4s ease;
}
.step-card:hover {
  border-color: rgba(181, 25, 78, 0.2);
  box-shadow: 0 15px 40px rgba(181, 25, 78, 0.08);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid #F5EDE8;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(181, 25, 78, 0.08);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .btn-primary, .btn-outline, .btn-white, .btn-outline-white {
    padding: 0.875rem 1.5rem;
    font-size: 0.8125rem;
  }
  .pillar-circle {
    width: 140px;
    height: 140px;
  }
}
