/* VARIABLES Y PALETA DE COLORES */
:root {
  --bg-dark-green: #1F4B3A;
  --bg-beige: #F7F3E9;
  --bg-white: #FFFFFF;
  --accent-gold: #D4AF37;
  --text-dark: #222222;
  --text-white: #FFFFFF;
  --border-color: #E2DCC8;
  --font-main: 'Montserrat', sans-serif;
}

/* RESET GENERAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-beige);
  color: var(--text-dark);
}

body {
  padding-bottom: 70px;
  overflow-x: hidden;
}

/* CONTENEDOR PRINCIPAL */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* BANNER SUPERIOR */
.top-bar {
  background-color: #000;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  padding: 10px 15px;
  font-weight: 600;
}

/* SECCIONES Y BLOQUES */
.section-block {
  position: relative;
  padding: 60px 0 80px 0;
}

.bg-beige { background-color: var(--bg-beige); }
.bg-white { background-color: var(--bg-white); }
.bg-darkgreen { background-color: var(--bg-dark-green); }

.text-white { color: var(--text-white); }
.white { color: var(--text-white) !important; }

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.section-subtitle, .section-text {
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* DIVISORES SVG CURVOS */
.block-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.divider-bottom {
  bottom: 0;
}

.block-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

/* HERO BLOCK */
.hero-block {
  position: relative;
  background-color: var(--bg-dark-green);
  color: var(--text-white);
  padding: 40px 0 80px 0;
  text-align: center;
}

.badge-gold {
  display: inline-block;
  background-color: var(--accent-gold);
  color: #000;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: 1.05rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

/* CONTENEDOR DE IMÁGENES */
.media-container {
  width: 100%;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  background-color: #fff;
}

.responsive-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* BLOQUE INDICACIONES DE USO */
.usage-card {
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 35px 30px;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid var(--border-color);
}

.usage-card-title {
  color: var(--bg-dark-green);
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.4;
}

.usage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.usage-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.05rem;
  color: #333333;
  line-height: 1.5;
  font-weight: 600;
}

.usage-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.usage-footer {
  margin-top: 30px;
  text-align: center;
  font-weight: 800;
  color: var(--bg-dark-green);
  font-size: 1.1rem;
}

/* BOTONES PRINCIPALES */
.btn-primary {
  display: block;
  width: 100%;
  max-width: 450px;
  margin: 25px auto 0 auto;
  background: linear-gradient(180deg, #28A745 0%, #1E7E34 100%);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 18px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(40, 167, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* PASOS EN ETAPAS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.step-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
}

.step-num {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: var(--accent-gold);
  color: #000;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* SELECTOR DE PAQUETES */
.pack-selector {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.pack-option {
  display: flex;
  align-items: center;
  background-color: #fff;
  color: var(--text-dark);
  padding: 20px;
  border-radius: 14px;
  border: 2px solid var(--border-color);
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pack-option:has(input:checked) {
  border-color: #28A745;
  background-color: #F4FBF6;
}

.pack-option input {
  margin-right: 15px;
  transform: scale(1.3);
  accent-color: #28A745;
}

.badge-pop {
  position: absolute;
  top: -12px;
  left: 20px;
  background-color: #C85A17;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-pop.bg-green {
  background-color: #1F4B3A;
}

.pack-title { font-weight: 800; font-size: 1.1rem; color: #1F4B3A; }
.pack-subinfo { font-size: 0.85rem; color: #666; margin: 3px 0 6px 0; }
.pack-price { font-size: 1.25rem; font-weight: 800; color: #1E7E34; }
.old-price { text-decoration: line-through; color: #888; font-size: 0.9rem; font-weight: 400; margin-left: 6px; }

/* CHECKOUT FORM */
.checkout-form {
  background-color: #fff;
  color: var(--text-dark);
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.form-legend {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid var(--bg-beige);
  padding-bottom: 10px;
}

.form-group {
  margin-bottom: 15px;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 14px;
  border: 1px solid #CCC;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: #28A745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.btn-submit {
  margin-top: 15px;
  font-size: 1.05rem;
}

.form-status {
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 15px;
}

/* BARRA FIJA MÓVIL */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  padding: 10px 15px;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

.sticky-btn {
  margin: 0 auto;
  padding: 12px 15px;
  font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero-title { font-size: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .section-title { font-size: 1.4rem; }
  .usage-card { padding: 25px 20px; }
  .usage-item { font-size: 0.95rem; }
}