/* =========================
RESET
========================= */

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:#f5f7fa;
  color:#1e293b;
  line-height:1.7;
}

/* =========================
TOPBAR
========================= */

.topbar{
  width:100%;
  background:white;
  padding:18px 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #e2e8f0;
  position:sticky;
  top:0;
  z-index:999;
  box-shadow:0 4px 20px rgba(0,0,0,.04);
}

.logo{
  font-size:1.4rem;
  font-weight:800;
  color:#f59e0b;
}

.back-btn{
  text-decoration:none;
  background:#f59e0b;
  color:white;
  padding:12px 18px;
  border-radius:12px;
  font-weight:700;
  transition:.3s;
}

.back-btn:hover{
  background:#d97706;
  transform:translateY(-2px);
}

/* =========================
HERO
========================= */

.hero{
  width:100%;
  min-height:90vh;
  background:
  linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
  url("https://images.unsplash.com/photo-1511044568932-338cba0ad803?q=80&w=1600&auto=format&fit=crop") center/cover;
  
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:80px 20px;
}

.hero-content{
  max-width:850px;
  color:white;
}

.badge{
  display:inline-block;
  background:#f59e0b;
  color:white;
  padding:10px 18px;
  border-radius:999px;
  font-size:.9rem;
  font-weight:700;
  margin-bottom:25px;
  letter-spacing:.5px;
}

.hero h1{
  font-size:4rem;
  font-weight:800;
  line-height:1.1;
  margin-bottom:25px;
}

.hero p{
  font-size:1.2rem;
  color:#e2e8f0;
  margin-bottom:35px;
}

.hero-buttons{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
  text-decoration:none;
  padding:16px 28px;
  border-radius:14px;
  font-weight:700;
  transition:.3s;
}

.btn-primary{
  background:#f59e0b;
  color:white;
}

.btn-primary:hover{
  background:#d97706;
  transform:translateY(-3px);
}

.btn-secondary{
  border:2px solid white;
  color:white;
}

.btn-secondary:hover{
  background:white;
  color:#111827;
}

/* =========================
CONTENIDO
========================= */

.container{
  max-width:1200px;
  margin:auto;
  padding:70px 20px;
}

.card{
  background:white;
  padding:40px;
  border-radius:28px;
  margin-bottom:35px;
  box-shadow:0 10px 35px rgba(0,0,0,.06);
  border:1px solid #e2e8f0;
  transition:.3s;
}

.card:hover{
  transform:translateY(-4px);
}

.card h2{
  font-size:2rem;
  margin-bottom:20px;
  color:#111827;
}

.card h3{
  margin-top:28px;
  margin-bottom:16px;
  color:#f59e0b;
  font-size:1.3rem;
}

.card p{
  margin-bottom:18px;
  color:#475569;
  font-size:1.02rem;
}

.card ul{
  padding-left:20px;
  margin-top:10px;
}

.card li{
  margin-bottom:12px;
  color:#334155;
}

/* =========================
INTRO STATS
========================= */

.stats{
  margin-top:35px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.stat{
  background:#fff7ed;
  border:1px solid #fdba74;
  padding:25px;
  border-radius:20px;
  text-align:center;
}

.stat strong{
  display:block;
  font-size:1.2rem;
  color:#c2410c;
  margin-bottom:8px;
}

.stat span{
  color:#7c2d12;
}

/* =========================
DESTACADOS
========================= */

.tip,
.highlight{
  margin-top:25px;
  padding:20px;
  border-radius:18px;
  font-weight:600;
}

.tip{
  background:#eff6ff;
  border-left:6px solid #3b82f6;
  color:#1e3a8a;
}

.highlight{
  background:#fff7ed;
  border-left:6px solid #f59e0b;
  color:#92400e;
}

/* =========================
GRID DE MINI CARDS
========================= */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:20px;
  margin-top:25px;
}

.mini-card{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:22px;
  padding:25px;
  transition:.3s;
}

.mini-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.mini-card h4{
  margin-bottom:12px;
  color:#111827;
  font-size:1.1rem;
}

.mini-card p{
  color:#64748b;
  margin:0;
}

/* =========================
SECCIÓN PREMIUM LOOK
========================= */

.premium-look{
  background:linear-gradient(135deg,#fff7ed,#ffffff);
  border:2px solid #fdba74;
}

/* =========================
ALERTA
========================= */

.alert{
  background:linear-gradient(135deg,#fff1f2,#ffffff);
  border:2px solid #fecdd3;
}

.alert h2{
  color:#be123c;
}

.alert-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
  margin:30px 0;
}

.alert-grid div{
  background:white;
  border:1px solid #fecdd3;
  padding:18px;
  border-radius:16px;
  font-weight:700;
  color:#9f1239;
}

/* =========================
PREMIUM CTA
========================= */

.premium-banner{
  margin-top:50px;
  background:
  linear-gradient(rgba(0,0,0,.75),rgba(0,0,0,.75)),
  url("https://images.unsplash.com/photo-1519052537078-e6302a4968d4?q=80&w=1600&auto=format&fit=crop") center/cover;

  padding:70px 30px;
  border-radius:30px;
  text-align:center;
  color:white;
}

.premium-banner h2{
  font-size:2.4rem;
  margin-bottom:20px;
}

.premium-banner p{
  max-width:800px;
  margin:auto;
  color:#e2e8f0;
  margin-bottom:35px;
}

.premium-btn{
  display:inline-block;
  text-decoration:none;
  background:#f59e0b;
  color:white;
  padding:18px 34px;
  border-radius:16px;
  font-weight:800;
  transition:.3s;
  font-size:1rem;
}

.premium-btn:hover{
  background:#d97706;
  transform:translateY(-3px);
  box-shadow:0 12px 25px rgba(0,0,0,.25);
}

/* =========================
SCROLLBAR
========================= */

::-webkit-scrollbar{
  width:10px;
}

::-webkit-scrollbar-thumb{
  background:#f59e0b;
  border-radius:999px;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:900px){

  .hero h1{
    font-size:2.8rem;
  }

  .hero p{
    font-size:1rem;
  }

}

@media(max-width:768px){

  .topbar{
    padding:15px;
  }

  .logo{
    font-size:1.1rem;
  }

  .back-btn{
    padding:10px 14px;
    font-size:.9rem;
  }

  .hero{
    min-height:75vh;
  }

  .hero h1{
    font-size:2.2rem;
  }

  .card{
    padding:28px;
  }

  .card h2{
    font-size:1.6rem;
  }

  .premium-banner h2{
    font-size:1.8rem;
  }

}

@media(max-width:500px){

  .hero h1{
    font-size:1.9rem;
  }

  .hero-buttons{
    flex-direction:column;
  }

  .btn-primary,
  .btn-secondary{
    width:100%;
  }

}