/* ==========================================
   RESET & BASE
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Bio-Electric Core Palette */
  --green-dark: #061706;      /* Deep Surface */
  --green-mid: #0e200d;       /* Surface Container Low */
  --green-base: #1ce45d;      /* Primary Light */
  --green-bright: #47fe72;    /* Primary Pulse */
  --green-accent: #0ee059;    /* Primary Container */
  
  --gold: #A2FF00;            /* Electric Tertiary */
  --white: #d2e9ca;           /* On-Surface (Light Greenish White) */
  --pure-white: #ffffff;
  
  /* Surface Hierarchy */
  --surface: #061706;
  --surface-low: #0e200d;
  --surface-high: #1c2e1a;
  --surface-highest: #273924;
  --surface-bright: #2b3e28;
  
  /* Glassmorphism Tokens */
  --glass-bg: rgba(6, 23, 6, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(24px);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 50px;
  
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 80px rgba(0, 0, 0, 0.4);
  
  --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-slow: 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  background-color: var(--green-dark);
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  background: var(--green-dark);
  color: var(--white);
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Optimization for rendering */
section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

.hero {
  content-visibility: visible; /* Hero should always be visible immediately */
}

.reveal {
  will-change: transform, opacity;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Glassmorphism Utilities */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

/* ==========================================
   MODAL PARA PEDIDO (NUEVO)
   ========================================== */
.pedido-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pedido-modal-overlay.open {
    display: flex !important;
    opacity: 1 !important;
}

.pedido-modal-container {
    background: #061706;
    border: 1px solid rgba(28, 228, 93, 0.3);
    border-radius: 24px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8), 0 0 30px rgba(28, 228, 93, 0.1);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pedido-modal-overlay.open .pedido-modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000 !important;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--green-base);
    transform: rotate(90deg);
}

.pedido-modal-container .pedido {
    padding: 40px 20px;
    background: transparent;
}

.pedido-modal-container .section-header {
    margin-bottom: 30px;
}

select option {
    background: #061706;
    color: white;
    padding: 10px;
    white-space: normal;
    text-overflow: clip;
    overflow: visible;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px !important;
    width: 100%;
    min-width: 200px;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .pedido-modal-container {
        max-height: 100vh;
        border-radius: 0;
        height: 100%;
    }
    .pedido-modal-overlay {
        padding: 0;
    }
    .pedido-modal-container .pedido {
        padding: 60px 15px 30px;
    }
}

.dark-glass {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================
   LIVE URGENCY BAR
   ========================================== */
.urgency-bar {
  background: linear-gradient(90deg, #09200b, #061706);
  color: var(--white);
  padding: 10px 24px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(71, 254, 114, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1001;
}

.urgency-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.stock-meter-container {
  width: 100%;
  max-width: 300px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.stock-meter-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 65%; /* DinÃ¡mico vÃ­a JS */
  background: linear-gradient(90deg, var(--green-accent), var(--green-bright));
  box-shadow: 0 0 10px var(--green-bright);
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 768px) {
  .urgency-bar {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }
}

.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--green-bright);
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(71, 254, 114, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(71, 254, 114, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(71, 254, 114, 0); }
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.4)
  }
}

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(6, 23, 6, 0.8);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: rgba(255, 255, 255, .82);
  font-weight: 500;
  font-size: .95rem;
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--green-bright);
}

.btn-nav {
  background: var(--green-bright);
  color: var(--green-dark) !important;
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-weight: 800 !important;
  transition: all var(--transition) !important;
  box-shadow: 0 0 20px rgba(71, 254, 114, 0.2);
}

.btn-nav:hover {
  background: var(--pure-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(71, 254, 114, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--green-dark);
  padding: 12px 24px 16px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: rgba(255, 255, 255, .82);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.mobile-menu .btn-nav {
  display: block;
  text-align: center;
  margin-top: 8px;
  padding: 12px 20px;
  border-bottom: none;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--green-bright), var(--green-accent));
  color: var(--green-dark);
  font-weight: 900;
  font-size: 1.1rem;
  padding: 20px 40px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 10px 40px rgba(71, 254, 114, 0.25);
  text-align: center;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  animation: lightSweep 3s infinite linear;
}

@keyframes lightSweep {
  0% {
    left: -100%;
  }

  30% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(30, 135, 58, 0.45);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 10px 22px;
  font-size: .9rem;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  background: var(--green-dark);
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% -20%, rgba(71, 254, 114, 0.15), transparent 70%),
    radial-gradient(circle at 0% 100%, rgba(162, 255, 0, 0.05), transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
  gap: 60px;
  padding-top: 80px;
  padding-bottom: 120px;
  position: relative;
  z-index: 2;
  align-items: center;
  text-align: center;
}

.hero-header-content {
  max-width: 900px;
}

.hero-main-display {
  display: grid;
  grid-template-columns: 1fr 400px 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.hero-stats-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-stats-grid:first-of-type {
  align-items: flex-end;
  text-align: right;
}

.hero-stats-grid:last-of-type {
  align-items: flex-start;
  text-align: left;
}

.stat-card {
  background: var(--surface-high);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.stat-callout {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green-bright);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .hero-main-display {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-stats-left,
  .hero-stats-right {
    text-align: center;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 196, 50, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(245, 196, 50, 0.2);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(3rem, 12vw, 5.5rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--pure-white);
  letter-spacing: -0.05em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.gradient-text {
  background: linear-gradient(135deg, var(--green-bright), var(--green-accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 500px;
}

.hero-subtitle strong {
  color: #fff;
}

.hero-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-checks li {
  color: rgba(255, 255, 255, .85);
  font-size: .97rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-sub {
  color: rgba(255, 255, 255, .5);
  font-size: .85rem;
  text-align: center;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .75);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-xl);
}

/* Product image wrapper */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: visible;
  /* Allow shadow to spill out */
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 80%);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Changed from cover for product focus */
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-slow);
}

.hero-image:hover .product-img {
  transform: translateY(-15px) rotate(2deg);
}

.img-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: rgba(255, 255, 255, .04);
  border: 2px dashed rgba(45, 158, 71, .4);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, .4);
  text-align: center;
  padding: 24px;
}

.img-placeholder span {
  font-size: 3rem;
}

.img-placeholder p {
  font-size: .85rem;
  line-height: 1.5;
}

.img-placeholder code {
  font-size: .75rem;
  color: var(--green-bright);
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-xl);
  white-space: nowrap;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.badge-reviews {
  top: 16px;
  right: -10px;
}

.badge-stock {
  bottom: 20px;
  left: -10px;
  color: #ff6b6b;
}

/* ==========================================
   SOCIAL STRIP
   ========================================== */
.social-strip {
  background: var(--green-mid);
  border-top: 1px solid rgba(45, 158, 71, .2);
  border-bottom: 1px solid rgba(45, 158, 71, .2);
  padding: 24px 0;
}

.social-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.social-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.social-stat strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.social-stat span {
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}

.divider-v {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .12);
}

/* ==========================================
   SECTION BASE
   ========================================== */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-label {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-base);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: clamp(1rem, 4vw, 1.25rem);
  color: var(--white);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* ==========================================
   BENEFITS
   ========================================== */
/* ==========================================
   BENEFITS - BENTO GRID
   ========================================== */
.beneficios {
  background: var(--green-dark);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 24px;
}

/* Specific Bento Layout */
.benefit-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 50px;
}

.benefit-card:nth-child(2) {
  grid-column: span 2;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 30px;
}

.benefit-card:nth-child(2) .benefit-icon {
  margin-bottom: 0;
}

.benefit-card:nth-child(3) {
  grid-column: span 1;
}

.benefit-card:nth-child(4) {
  grid-column: span 1;
}

.benefit-card:nth-child(5) {
  grid-column: span 1;
}

.benefit-card:nth-child(6) {
  grid-column: span 1;
}

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

  .benefit-card:nth-child(1),
  .benefit-card:nth-child(2) {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card:nth-child(1),
  .benefit-card:nth-child(2) {
    grid-column: span 1;
  }
}

.benefit-card {
  background: var(--surface-low);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--green-light), var(--green-bright));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================
   PRODUCTO
   ========================================== */
.producto {
  background: var(--green-dark);
}

.producto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.producto-img-main {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-md);
  background: var(--surface-low);
}

.producto-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.producto-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.producto-info h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.producto-desc {
  color: var(--text-light);
  font-size: .97rem;
  line-height: 1.7;
}

.producto-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.spec {
  display: flex;
  justify-content: space-between;
  padding: 11px 16px;
  font-size: .9rem;
  border-bottom: 1px solid var(--gray-200);
}

.spec:nth-child(odd) {
  background: var(--surface-high);
}

.spec {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-label {
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================
   ANIMATIONS & REVEAL
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.active {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

[data-delay="100"] {
  transition-delay: 0.1s;
}

[data-delay="200"] {
  transition-delay: 0.2s;
}

[data-delay="300"] {
  transition-delay: 0.3s;
}

[data-delay="400"] {
  transition-delay: 0.4s;
}

/* Pricing Glassmorphism */
.precio-box {
  background: var(--surface-low);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}

.precio-box:hover {
  background: var(--surface-high);
  border-color: var(--green-bright);
}

.hero-stats-left .stat-value,
.hero-stats-right .stat-value {
    color: var(--green-bright);
}

.precio-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.precio-antes {
  color: rgba(255, 255, 255, .4);
  text-decoration: line-through;
  font-size: 1.1rem;
}

.precio-actual {
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(162, 255, 0, 0.2);
}

.precio-ahorro {
  background: var(--gold);
  color: var(--green-dark);
  font-size: .8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-xl);
}

.precio-nota {
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
}

.garantia-note {
  font-size: .85rem;
  color: var(--text-light);
  text-align: center;
}

/* ==========================================
   PEDIDO & FORM
   ========================================== */
/* Styles moved correctly above */

/* ==========================================
   TESTIMONIOS
   ========================================== */
.testimonios {
  background: var(--surface-low);
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonio-card {
  background: var(--surface-high);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  text-align: left;
}

.testimonio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stars {
  font-size: 0.9rem;
  color: #f1c40f;
  margin-bottom: 5px;
}

.testimonio-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonio-info strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.verified {
  color: #27ae60;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.testimonio-card p {
  color: var(--text-main);
  opacity: 0.8;
  font-size: .95rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 10px;
}

.testimonio-review-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-top: auto;
}

.testimonio-review-img img {
  width: 100%;
  height: auto;
  display: block;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 12px;
}

.autor-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--green-base), var(--green-bright));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonio-autor div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonio-autor strong {
  font-size: .95rem;
}

.testimonio-autor span {
  font-size: .8rem;
  color: var(--gray-400);
}

/* ==========================================
   FORMULARIO PEDIDO
   ========================================== */
.pedido {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
}

.pedido .section-header {
  color: #fff;
}

.pedido .section-title {
  color: #fff;
}

.pedido .section-sub {
  color: rgba(255, 255, 255, .7);
}

.pedido .section-label {
  color: var(--gold);
}

.pedido-wrapper {
  display: block;
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface-low);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 992px) {
  .pedido-wrapper {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
}

.pedido-lateral {
  background: var(--surface-high);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 32px;
  color: var(--white);
  position: sticky;
  top: 100px;
}

.pedido-lateral h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.resumen-producto {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: center;
}

.resumen-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.resumen-nombre {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
}

.resumen-sub {
  font-size: .85rem;
  color: var(--text-light);
  margin-top: 4px;
}

.resumen-precio {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--green-base);
  margin-top: 6px;
}

.resumen-detalles {
  border-top: 1px solid var(--gray-200);
  padding-top: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resumen-row {
  display: flex;
  justify-content: space-between;
  font-size: .95rem;
  color: var(--text-light);
}

.resumen-row.total {
  font-weight: 900;
  color: var(--text-main);
  font-size: 1.15rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 15px;
}

.gratis {
  color: var(--green-bright);
  font-weight: 800;
}

.resumen-garantias {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.garantia-item {
  font-size: .85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pedido-form {
  background: var(--surface-high);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pedido-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.9;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  color: var(--pure-white);
  transition: all var(--transition);
  background: var(--surface-low);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(71, 254, 114, 0.15);
}

input.error,
select.error {
  border-color: #e53935;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 400;
  color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--green-bright);
  cursor: pointer;
}

.link {
  color: var(--green-base);
  text-decoration: underline;
}

.btn-submit {
  font-size: 1.1rem;
  padding: 18px;
}

.form-nota {
  text-align: center;
  font-size: .83rem;
  color: var(--text-light);
}

/* ==========================================
   FAQ
   ========================================== */
.faq {
  background: var(--surface-low);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface-high);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  gap: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.faq-q:hover {
  background: var(--gray-100);
}

.faq-q.open {
  color: var(--green-base);
}

.faq-q span {
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--green-base);
}

.faq-q.open span {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
}

.faq-a.open {
  display: block;
}

.faq-a p {
  font-size: .95rem;
  color: var(--white);
  opacity: 0.7;
  line-height: 1.7;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, .65);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 60px 24px 40px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: .9rem;
  line-height: 1.6;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.footer-links a,
.footer-contact a {
  font-size: .88rem;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--green-bright);
}

.footer-contact p {
  font-size: .88rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .8rem;
}

/* ==========================================
   STICKY CTA
   ========================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 31, 14, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(45, 158, 71, .25);
  padding: 12px 24px;
  z-index: 98;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticky-info strong {
  color: #fff;
  font-size: 1rem;
}

.sticky-info span {
  color: rgba(255, 255, 255, .55);
  font-size: .83rem;
}

/* ==========================================
   VISUAL PACKAGE SELECTOR
   ========================================== */
.package-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  grid-column: span 2;
  margin-top: 10px;
}

.package-card {
  position: relative;
  cursor: pointer;
}

.package-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.package-content {
  background: var(--surface-high);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: all var(--transition);
  height: 100%;
}

.package-card:hover .package-content {
  border-color: var(--green-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.package-card input[type="radio"]:checked~.package-content {
  border-color: var(--green-bright);
  background: var(--surface-high);
  box-shadow: 0 0 0 1px var(--green-bright);
}

.package-img-wrapper {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-low);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.img-placeholder-xs {
  font-size: 1.5rem;
  opacity: 0.7;
}

.package-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.package-qty {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
}

.package-price {
  font-weight: 900;
  color: var(--green-bright);
  font-size: 1.1rem;
}

.package-save {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-bright);
  background: rgba(46, 204, 113, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
}

.package-check {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-top: auto;
  position: relative;
  transition: all var(--transition);
}

.package-card input[type="radio"]:checked~.package-content .package-check {
  border-color: var(--green-bright);
  background: var(--green-bright);
}

.package-card input[type="radio"]:checked~.package-content .package-check::after {
  content: '✓';
  color: var(--green-dark);
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Featured Card (MÃ¡s Vendido) */
.package-card.featured .package-content {
  border-color: var(--gold);
  background: rgba(241, 196, 15, 0.03);
}

.package-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(241, 196, 15, 0.3);
}

@media (max-width: 576px) {
  .package-selector {
    grid-template-columns: 1fr;
  }

  .package-content {
    flex-direction: row;
    padding: 16px;
    text-align: left;
    align-items: center;
    gap: 15px;
  }

  .package-img-wrapper {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
  }

  .package-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .package-info {
    flex: 1;
    gap: 2px;
  }

  .package-check {
    margin-top: 0;
    margin-left: auto;
  }
}

/* ==========================================
   THUMBNAILS & PLACEHOLDER SMALL
   ========================================== */
.producto-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-placeholder-sm {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-low);
  color: var(--white);
  opacity: 0.5;
  font-size: 1.4rem;
}

/* ==========================================
   REVEAL ANIMATIONS
   ========================================== */
.reveal,
.reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

@media (max-width: 992px) {
  .hero-main-display {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-stats-grid:first-of-type,
  .hero-stats-grid:last-of-type {
    align-items: center;
    text-align: center;
  }
}

  .hero-image {
    order: -1;
  }

  .product-img-wrapper {
    max-width: 280px;
    margin: 0 auto;
  }

  .social-strip-inner {
    gap: 20px;
  }

  .divider-v {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .producto-inner {
    grid-template-columns: 1fr;
  }

  .testimonios-grid {
    grid-template-columns: 1fr;
  }

  .pedido-wrapper {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .pedido-form {
    order: 1;
  }

  .pedido-lateral {
    order: 2;
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .badge-reviews {
    right: 0;
  }

  .badge-stock {
    left: 0;
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .pedido-form {
    padding: 20px;
  }
}

/* ==========================================
   WHATSAPP FLOAT
   ========================================== */
.whatsapp-float {
  position: fixed !important;
  bottom: 85px !important;
  right: 24px !important;
  width: 45px;
  height: 45px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
  overflow: visible;
}

.whatsapp-tooltip {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--surface-high);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10001;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--surface-high);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.whatsapp-tooltip.visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  display: block;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 110px !important;
    right: 20px !important;
    width: 42px;
    height: 42px;
  }

  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }
}
