/* === RESET === */
html, body {
  max-width: 100%;
  overflow-x: hidden !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === BODY === */
body {
  font-family: 'Arial', sans-serif;
  background: #0e0e0e;
  color: #f5f5f5;
}

/* === HEADER === */
header {
  background: url('../Images/ChatGPT Image 31 jul 2025, 04_48_08 p.m..png') no-repeat center center/cover;
  text-align: center;
  padding: 40px 20px;
}

header img {
  width: 100px;
  margin-bottom: 16px;
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

header h2 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #ffb347;
}

/* === NAVBAR EN DOS FILAS === */

.nav-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  padding: 10px 0 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* FILA SUPERIOR: LOGO + NOMBRE */
.nav-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 6px;
}

.nav-top img {
  width: 70px;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.4));
}

.nav-top h1 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 6px;
  letter-spacing: 1px;
}

/* FILA INFERIOR: MENÚ */
.nav-bottom {
  display: flex;
  justify-content: center;
  gap: 26px;
  padding: 8px 0 4px;
}

.nav-bottom a {
  color: #f5f5f5;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  transition: 0.25s ease;
}

.nav-bottom a:hover {
  background: rgba(255,179,71,0.15);
  color: #ffb347;
}

.nav-bottom a.activo {
  border-bottom: 2px solid #ffb347;
  padding-bottom: 4px;
  color: #ffb347;
}

/* MOBILE */
@media (max-width: 480px) {

  .nav-top img {
    width: 55px;
  }

  .nav-top h1 {
    font-size: 1rem;
    letter-spacing: 0.5px;
  }

  .nav-bottom {
    gap: 12px;
    padding: 6px 0;
    flex-wrap: wrap;
  }

  .nav-bottom a {
    font-size: 0.8rem;
    padding: 4px 6px;
  }
}



/* === HERO SERVICIOS === */
.hero-servicios {
  text-align: center;
  padding: 60px 20px;
}

.hero-servicios h1 {
  font-size: 2.8rem;
  font-weight: 900;
}

.hero-servicios h1 span {
  color: #ffb347;
}

.hero-servicios p {
  font-size: 1.2rem;
  margin-top: 12px;
  color: #ddd;
}

/* === TITULOS GENERALES === */
h2 {
  color: #ffb347;
  text-align: center;
  margin: 40px 0 22px 0;
  font-size: 2rem;
  letter-spacing: 1px;
}

/* =====================================================
   CARRUSEL 3D
===================================================== */
.carousel-section {
  margin-top: 40px;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel {
  position: relative;
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-card {
  position: absolute;
  width: 260px;
  background: linear-gradient(145deg, #1a1a1a, #111);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
  transition: transform .8s ease, opacity .8s ease;
}

.course-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: bold;
}

.course-card p {
  color: #ddd;
  font-size: 1rem;
  margin-bottom: 14px;
}

.nav-btn {
  background: none;
  border: none;
  color: #ffb347;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  transition: 0.25s;
}

.nav-btn:hover {
  transform: scale(1.2);
}

/* === PRECIO === */
.precio {
  background: #ffb347;
  color: #222;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 16px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.premium {
  background: linear-gradient(135deg, #ffb347, #ffcf81);
}

/* === BOTONES CTA === */
.cta {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all .25s;
  background: #ffb347;
  color: #222;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.cta:hover {
  background: #ffcf81;
  transform: scale(1.05);
}

.cta.grande {
  font-size: 1rem;
  padding: 12px 22px;
}

/* =====================================================
   GRID DE SERVICIOS
===================================================== */
main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.servicio {
  background: linear-gradient(145deg, #1a1a1a, #111);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 6px 22px rgba(0,0,0,0.35);
  transition: transform .25s, box-shadow .25s;
}

.servicio:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.servicio i {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: #ffb347;
}

.servicio h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: bold;
}

.servicio p {
  color: #ddd;
  font-size: 1rem;
  margin-bottom: 14px;
}

.servicio ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}

.servicio ul li {
  margin: 6px 0;
  font-size: 0.95rem;
  color: #ffe0b3;
}

/* =====================================================
   CASOS DE USO
===================================================== */
.casos {
  margin-top: 60px;
}

.casos-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.caso {
  background: #151515;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.caso h3 {
  color: #ffb347;
  margin-bottom: 12px;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 700px) {

  .hero-servicios h1 {
    font-size: 2.2rem;
  }

  .carousel-wrapper {
    height: 300px;
  }

  .course-card {
    width: 220px;
    padding: 18px;
  }

  .nav-btn {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {

  nav a {
    margin: 0 8px;
    font-size: 0.9rem;
  }

  .hero-servicios h1 {
    font-size: 1.8rem;
  }

  .hero-servicios p {
    font-size: 1rem;
  }

  .carousel-wrapper {
    height: 260px;
  }

  .course-card {
    width: 190px;
  }
}


