/* =========================================================================
   VARIABLES & RESET
   ========================================================================= */
:root {
  /* Paleta Premium Oscura */
  --bg-primary: #0b1815;
  --bg-secondary: #051d15;
  --bg-card: #101816;

  --green-primary: #0F3D2E;
  --green-hover: #1B5E46;

  --accent-gold: #D4AF37;
  --accent-gold-soft: #F5D77A;

  --text-main: #FFFFFF;
  --text-muted: #D7E0DA;

  /* Fuentes */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Extras */
  --border-radius: 12px;
  --transition: 0.3s ease;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  /* 16px */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

.subheadline {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.text-gold {
  color: var(--accent-gold);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.fw-normal {
  font-weight: 400;
}

.italic {
  font-style: italic;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.max-w-lg {
  max-width: 800px;
  margin-inline: auto;
}

.max-w-md {
  max-width: 600px;
  margin-inline: auto;
}

.max-w-sm {
  max-width: 270px;
  margin-inline: auto;
}

/* =========================================================================
   LAYOUT & GRID
   ========================================================================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .section {
    padding: 6rem 0;
  }
}

.align-center {
  align-items: center;
}

.gap-3 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 2rem;
}

.w-full {
  width: 100%;
  display: block;
}

.mx-auto {
  margin-inline: auto;
}

.px-5 {
  padding-inline: 3rem !important;
}

/* =========================================================================
   COMPONENTS
   ========================================================================= */
/* Top Bar */
.top-bar {
  background-color: var(--bg-secondary);
  text-align: center;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* CARDS */
.card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), border-color var(--transition);
}

.glass-card {
  background: linear-gradient(145deg, rgba(16, 24, 22, 0.9) 0%, rgba(16, 24, 22, 0.4) 100%);
  backdrop-filter: blur(10px);
}

.border-gold {
  border: 1px solid var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

.border-top-gold {
  border-top: 3px solid var(--accent-gold);
}

.hover-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.3);
}

.highlight-card {
  border: 1px solid rgba(212, 175, 55, 0.3);
  background-color: rgba(15, 61, 46, 0.2);
}

/* BUTTONS */
a {
  text-decoration: none;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-gold);
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  text-align: center;
  border: 2px solid var(--accent-gold);
}

.cta-button:hover {
  background-color: var(--accent-gold-soft);
  border-color: var(--accent-gold-soft);
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.cta-large {
  font-size: 1.125rem;
  padding: 1.25rem 2.5rem;
}

.text-link {
  transition: color var(--transition);
}

.hover-underline:hover {
  text-decoration: underline;
}

/* =========================================================================
   SECTIONS
   ========================================================================= */

/* HERO */
.hero {
  padding: 4rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.headline {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.highlight {
  color: #EABF26;
  font-style: italic;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(15, 61, 46, 0.5) 0%, rgba(11, 15, 14, 0) 70%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(50px);
}

.hero-grid {
  display: flex;
  flex-direction: column-reverse;
  /* image top config initially */
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: row;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 2rem;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
  margin-right: 10px;
  margin-top: 3px;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  justify-content: flex-start;
}

.trust-badges img {
  height: 100px;
  opacity: 0.8;
  filter: grayscale(0.5);
  transition: all var(--transition);
}

.trust-badges img:hover {
  opacity: 1;
  filter: grayscale(0);
}

@media (max-width: 768px) {
  .trust-badges {
    justify-content: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-bullets li {
    text-align: left;
  }
}

/* Para Ti vs No Para ti */
.check-list,
.cross-list {
  list-style: none;
}

.check-list li,
.cross-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.check-list li::before,
.cross-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

.cross-list li::before {
  content: '×';
  color: #ff5e5e;
}

/* PAS Section */
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
}

.icon-circle svg {
  width: 30px;
  height: 30px;
}

.icon-problem {
  color: #ff5e5e;
}

.icon-agitation {
  color: var(--accent-gold-soft);
}

.icon-solution {
  background: var(--accent-gold);
  color: #000;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: rgba(212, 175, 55, 0.3);
  top: 0;
  bottom: 0;
  left: 20px;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 0 30px 50px;
  position: relative;
}

.timeline-dot {
  position: absolute;
  width: 40px;
  height: 40px;
  left: 0;
  background-color: var(--bg-primary);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--accent-gold);
  font-family: var(--font-heading);
}

/* Modals / Lists in What you get */
.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.feature-list .icon-check {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--accent-gold);
  border-radius: 50%;
  color: black;
  text-align: center;
  line-height: 24px;
  margin-right: 15px;
  flex-shrink: 0;
  font-weight: bold;
}

.feature-list .icon-check::after {
  content: '✓';
}

/* Map items */
.badge-day {
  background: var(--green-primary);
  color: white;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* Testimonials */
.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

.stars {
  color: var(--accent-gold);
  letter-spacing: 2px;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  /* Para no romper en pantallas pequeñas */
}

.trust-badge-sm {
  height: 100px;
  opacity: 0.7;
}

/* Offer Box */
.offer-box {
  max-width: 500px;
  margin: 0 auto;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
  background: linear-gradient(to bottom, #111816, #0b0f0e);
}

.price {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  margin: 1rem 0;
  font-family: var(--font-heading);
}

.inline-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  font-weight: 500;
}

.inline-list .icon-check {
  color: var(--accent-gold);
  margin-right: 5px;
}

/* Guarantee */
.guarantee-img {
  max-width: 150px;
}

/* FAQ */
.accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-gold);
  transition: transform 0.3s;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
}

.accordion-content p {
  padding-bottom: 1.5rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  /* height larger than content */
}

/* Footer */
.footer {
  padding: 2rem 0;
  background-color: #050807;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.separator {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.2);
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 15, 14, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: none;
}

@media (max-width: 768px) {
  .sticky-mobile-cta {
    display: block;
  }

  .sticky-mobile-cta.visible {
    transform: translateY(0);
  }
}

/* =========================================================================
   ANIMATIONS & UTILITIES
   ========================================================================= */
.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.pulse-anim {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

/* Intersection Observer Fades */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 0px;
  font-weight: bold;
}

.btn-thumbnail {
  width: 40px;
  height: auto;
  justify-content: left;
}