html {
  scroll-behavior: smooth;
}

/* BASE VARIABLES */
:root {
  --brown-dark: #2E1911;
  --brown: #4A2B1D;
  --brown-light: #6A3E2A;
  --yellow: #FFC107;
  --yellow-dark: #E0A800;
  --yellow-light: #FFD54F;
  --light: #FDFBF7;
  --white: #FFFFFF;
  --red: #E53935;
  --green: #43A047;
  --gray: #757575;
  --text-dark: #1F110C;
  --text-light: #FFF8F0;

  --font-main: 'Montserrat', sans-serif;

  --transition: all 0.3s ease-in-out;
  --radius: 16px;
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* UTILITIES */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.container-md {
  max-width: 900px;
}

.container-sm {
  max-width: 700px;
}

.section {
  padding: 3rem 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-brown {
  color: var(--brown);
}

.text-yellow {
  color: var(--yellow);
}

.text-yellow-dark {
  color: var(--yellow-dark);
}

.text-light {
  color: var(--text-light);
}

.text-dark {
  color: var(--text-dark);
}

.text-red {
  color: var(--red);
}

.text-green {
  color: var(--green);
}

.text-gray {
  color: var(--gray);
  text-decoration: line-through;
}

.bg-brown {
  background-color: var(--brown);
}

.bg-brown-dark {
  background-color: var(--brown-dark);
}

.bg-brown-light {
  background-color: var(--brown-light);
}

.bg-yellow {
  background-color: var(--yellow);
}

.bg-light {
  background-color: var(--light);
}

.bg-white {
  background-color: var(--white);
}

.bg-green {
  background-color: var(--green);
}

.text-white {
  color: var(--white);
}

.font-small {
  font-size: 0.85rem;
}

.font-medium {
  font-size: 1.1rem;
}

.font-bold {
  font-weight: 700;
}

.font-heavy {
  font-weight: 900;
}

.mt-sm {
  margin-top: 0.8rem;
}

.mt-md {
  margin-top: 1.5rem;
}

.mt-lg {
  margin-top: 2rem;
}

.mt-xl {
  margin-top: 2.5rem;
}

.mb-lg {
  margin-bottom: 3rem;
}

.shadow-sm {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shadow-md {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.shadow-xl {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* ANIMATION CLASSES (INITIAL STATE) */
.fade-in {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-up {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-down {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* Classes added by IntersectionObserver */
.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

.delay-4 {
  transition-delay: 0.8s;
}

/* COMPONENTS */
.badge-discount {
  display: inline-block;
  background-color: var(--red);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--yellow);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-desc {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-inline: auto;
}

.highlight-box {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-size: 1.2rem;
  font-weight: 700;
}

.sub-title {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

/* PRODUCT */
.product-card {
  padding: 3rem 3rem 15rem 3rem;
  border-radius: var(--radius);
  margin-bottom: 0;
  /* Removed overlap to grow white background more */
  position: relative;
  z-index: 10;
}

.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-title {
  font-size: 2.5rem;
}

.product-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.benefit-list {
  list-style: none;
  font-size: 1.1rem;
}

.benefit-list li {
  margin-bottom: 1.5rem;
  padding-left: 1.8rem;
  position: relative;
}

.benefit-list i {
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 1.1rem;
}

/* MOTIVATION */
.motivation {
  padding-top: 4rem;
  /* Reduced space for overlap */
  padding-bottom: 3rem;
}

.motivation-title {
  font-size: 2.3rem;
}

/* CARDS GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.bonus-card {
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  text-align: center;
}

.bonus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bonus-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bonus-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.bonus-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.bonus-subtitle {
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 1rem;
}

.bonus-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.bonus-price {
  font-size: 1.1rem;
  color: var(--gray);
}

.strike {
  text-decoration: line-through;
  color: var(--red);
}

.bonus-free {
  font-size: 1.5rem;
}

/* CTA & PRICE */
.price-box {
  padding: 3rem;
  border-radius: var(--radius);
  max-width: 800px;
  margin: 0 auto;
}

.old-price {
  font-size: 1.3rem;
}

.today-price {
  font-size: 3.5rem;
  line-height: 1;
  margin: 1rem 0;
}

.urgency {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.btn-cta {
  display: inline-block;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-cta:hover {
  transform: scale(1.05);
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(67, 160, 71, 0.6), 0 0 40px rgba(67, 160, 71, 0.4);
}

.shadow-glow-yellow {
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.6), 0 0 40px rgba(255, 193, 7, 0.4);
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
}

.feature-icon {
  font-size: 3rem;
}

/* GARANTIA & FAQ */
.guarantee-img {
  max-width: 250px;
  width: 100%;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 1.2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.faq-item.active .faq-answer {
  padding: 1.2rem;
  max-height: 200px;
  /* arbitrary max-height for animation */
}

/* SUMMARY */
.summary-box {
  padding: 3rem;
  border-radius: var(--radius);
}

.summary-list {
  list-style: none;
}

.summary-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.summary-list i {
  margin-top: 4px;
}

/* KEYFRAMES */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.pulse-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse-text {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pulse-text {
  display: inline-block;
  animation: pulse-text 2s infinite;
}

.pulse-img {
  animation: pulse 3s infinite;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section {
    padding: 2rem 0;
  }

  .motivation {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .main-title {
    font-size: 2rem;
  }

  .sub-title {
    font-size: 1.8rem;
  }

  .product-title {
    font-size: 2rem;
  }

  .today-price {
    font-size: 2.5rem;
  }

  .btn-cta {
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }

  .product-card,
  .price-box,
  .summary-box {
    padding: 1.5rem;
  }
}

/* TESTIMONIOS (FB STYLE) */
.testimonials-section {
  background-color: #f0f2f5;
  padding: 3rem 1rem;
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
}

.fb-comment {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  text-align: left;
}

.fb-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.fb-content {
  flex: 1;
}

.fb-bubble {
  background-color: white;
  padding: 12px 16px;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.fb-name {
  font-weight: 700;
  color: #050505;
  margin-bottom: 2px;
  display: block;
}

.fb-role {
  font-size: 0.85rem;
  color: #65676b;
  font-weight: 400;
  margin-left: 5px;
}

.fb-text {
  font-size: 1rem;
  line-height: 1.4;
  color: #050505;
}

.fb-reactions {
  position: absolute;
  bottom: -15px;
  right: 10px;
  background: white;
  padding: 2px 6px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: #65676b;
  z-index: 2;
}

.fb-icons {
  display: flex;
  align-items: center;
}

.fb-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 10px;
  color: white;
  margin-left: -4px;
  border: 1px solid white;
}

.fb-icon:first-child {
  margin-left: 0;
}

.fb-like {
  background: #1877f2;
}

.fb-love {
  background: #f33e58;
}

.fb-laugh {
  background: #f7b125;
}

.fb-actions {
  margin-top: 8px;
  margin-left: 10px;
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brown-light);
}

.fb-actions span {
  cursor: pointer;
}

.fb-actions span:hover {
  text-decoration: underline;
}

.fb-actions .time {
  font-weight: 400;
  color: #65676b;
}

@media (max-width: 768px) {
  .fb-bubble {
    border-radius: 10px;
  }
}

.bonus-total-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 193, 7, 0.3);
  padding: 2.5rem 1.5rem;
  border-radius: 15px;
  max-width: 500px;
  margin: 3rem auto 0 auto;
  text-align: center;
}

/* NOTIFICACIÓN DE VENTAS */
.sale-notification {
  position: fixed;
  bottom: 15px;
  left: 15px;
  background: white;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-left: 4px solid var(--green);
  max-width: 240px;
}

.sale-notification.active {
  transform: translateY(0);
}

.sale-icon {
  width: 28px;
  height: 28px;
  background: rgba(67, 160, 71, 0.1);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.sale-content {
  text-align: left;
}

.sale-user {
  display: block;
  font-weight: 700;
  font-size: 0.75rem;
  color: #333;
}

.sale-product {
  display: block;
  font-size: 0.7rem;
  color: #666;
  margin: 1px 0;
}

.sale-product-highlight {
  color: var(--green);
  font-weight: 700;
}

.sale-time {
  display: block;
  font-size: 0.65rem;
  color: #999;
}

@media (max-width: 480px) {
  .sale-notification {
    left: 10px;
    bottom: 15px;
    max-width: 220px;
  }
}