/* =====================================================
   RESET + BASE GLOBAL
===================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: #0f1115;
  color: #eaeaea;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0.1px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =====================================================
   CONTENEDOR GLOBAL
===================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* =====================================================
   TIPOGRAFÍA RESPONSIVE + JERARQUÍA
===================================================== */

h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
}

p {
  max-width: 640px;
  opacity: 0.9;
}

p,
li {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
}

/* =====================================================
   SECCIONES – RITMO Y AIRE
===================================================== */

section {
  width: 100%;
  padding-block: 7rem;
}

@media (max-width: 768px) {
  section {
    padding-block: 4.5rem;
  }
}

@media (max-width: 480px) {
  section {
    padding-block: 3.5rem;
  }
}

/* =====================================================
   BOTONES – PRESENCIA
===================================================== */

.btn-primary {
  display: inline-block;
  background: #e63946;
  color: #ffffff;
  padding: 1.1rem 2.4rem;
  font-weight: 800;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(230, 57, 70, 0.25);
}

@media (max-width: 480px) {
  .btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* =====================================================
   HERO
===================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero p {
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.hero-final {
  min-height: 70vh;
  text-align: center;
}

.hero-final h2 {
  margin-bottom: 2.5rem;
}

/* =====================================================
   PROBLEM / BLOQUES OSCUROS
===================================================== */

.problem {
  background: #141821;
}

.problem .container {
  max-width: 1100px;
}

.problem h3 {
  color: #e63946;
  margin-bottom: 2.2rem;
}

.problem ul {
  list-style: none;
  padding: 0;
  max-width: 520px;
}

.problem ul li {
  margin-bottom: 0.8rem;
  opacity: 0.85;
  padding-left: 1.2rem;
  position: relative;
}

.problem ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  opacity: 0.4;
}

.problem-close {
  margin-top: 2.5rem;
  font-weight: 700;
  opacity: 0.85;
}

/* =====================================================
   CRUDO – SECCIÓN IMAGEN FUERTE
===================================================== */

.crudo {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.crudo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05);
}

.crudo-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.crudo h2,
.crudo h3 {
  text-shadow: 0 3px 12px rgba(0,0,0,0.65);
}

.crudo h3 {
  color: #e63946;
  margin-bottom: 1.6rem;
}

.crudo p {
  font-size: 1.05rem;
  opacity: 0.9;
}

/* Responsive crudo */

@media (max-width: 768px) {
  .crudo {
    min-height: 70vh;
  }
  .crudo-img {
    object-position: center top;
  }
}

@media (max-width: 480px) {
  .crudo {
    min-height: 60vh;
  }
}

/* =====================================================
   VALUE / DIFERENCIAL
===================================================== */

.value-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
}

.value-list li {
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* =====================================================
   CARRUSEL AUTOMÁTICO
===================================================== */

.carousel-section {
  overflow: hidden;
}

.carousel-decidir {
  margin-top: 3rem;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1.2rem;
  animation: scroll 45s linear infinite;
}

.carousel-track img {
  width: 260px;
  height: 360px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Responsive carrusel */

@media (max-width: 768px) {
  .carousel-track img {
    width: 180px;
    height: 260px;
  }
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =====================================================
   PLANES
===================================================== */

.plans-list {
  display: flex;
  gap: 2rem;
  margin: 3.5rem 0;
}

.plan {
  padding: 2.5rem;
  background: #141821;
  border-radius: 10px;
  flex: 1;
  text-align: center;
  font-weight: 800;
}

.plan-elite {
  border: 2px solid #e63946;
  box-shadow: 0 0 0 1px rgba(230,57,70,0.2);
}

@media (max-width: 768px) {
  .plans-list {
    flex-direction: column;
  }
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
  padding: 2.8rem 0;
  background: #0b0d12;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.65;
}
/* =====================================================
   PULIDO PREMIUM FINAL
===================================================== */

/* Suaviza gradientes generales */
section {
  background-image: radial-gradient(
    ellipse at top,
    rgba(255,255,255,0.02),
    transparent 60%
  );
}

/* Mejora lectura en fondos oscuros */
h1, h2, h3 {
  letter-spacing: -0.3px;
}

/* Micro contraste en listas */
ul li {
  transition: opacity 0.2s ease;
}

ul li:hover {
  opacity: 1;
}

/* Ajuste fino títulos largos */
h2 {
  max-width: 720px;
}

/* Más presencia en títulos clave */
.hero h1,
.crudo h2 {
  text-shadow: 0 4px 18px rgba(0,0,0,0.7);
}

/* Evita “cortes feos” en móviles chicos */
@media (max-width: 360px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.8rem;
  }
}
/* =========================================
   RESPONSIVE REAL PARA IMÁGENES CLAVE
========================================= */

/* Desktop: estética */
.crudo-img {
  object-fit: cover;
  object-position: center;
}

/* Tablet */
@media (max-width: 768px) {
  .crudo-img {
    object-position: center top;
  }
}

/* Mobile: priorizar contenido */
@media (max-width: 520px) {
  .crudo {
    min-height: auto;
    padding: 0;
  }

  .crudo-img {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: none;
  }

  .crudo-content {
    padding: 2rem 1.5rem;
    background: #0f1115;
  }
}

