 @import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: Arial, Helvetica, sans-serif;
    }
img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  overflow-x: hidden;
}

    body {
      line-height: 1.5;
      background-color: #000000;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='%23b10808' fill-opacity='0.17'%3E%3Cpath fill-rule='evenodd' d='M5 3.59L1.46.05.05 1.46 3.59 5 .05 8.54l1.41 1.41L5 6.41l3.54 3.54 1.41-1.41L6.41 5l3.54-3.54L8.54.05 5 3.59zM17 2h24v2H17V2zm0 4h24v2H17V6zM2 17h2v24H2V17zm4 0h2v24H6V17z'/%3E%3C/g%3E%3C/svg%3E");
      
    }

    /* =====================
       NAVBAR
    ====================== */
    header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background-color: #ffffff;
      border-bottom: 1px solid #e5e5e5;
    }

    .navbar {
      max-width: 1200px;
      margin: 0 auto;
      padding: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-weight: bold;
      font-size: 1.2rem;
      width: 200px;
      margin-left: 10px;
      padding: 0%;
    }

    .nav-links {
      display: flex;
      gap: 1.5rem;
    }

    .nav-links a {
      text-decoration: none;
      color: #333;
      font-weight: 500;
    }

    .menu-toggle {
      display: none;
      font-size: 1.5rem;
      cursor: pointer;
    }

    /* =====================
      Resumen + imagen
    ====================== */
.bloque-curso {
  display: flex;
  align-items: center;
  gap: 5rem;
  max-width: 1500px;      /* MÁS ancho */
  margin: 0 auto;
  padding: 8rem 3rem;    /* MÁS alto */
}

.col-imagen {
  flex: 1.6;             /* imagen domina */
}

.col-imagen img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.resumen {
  flex: 1;
  color: white;
}

.resumen h1 {
  font-size: 3.8rem;     /* GRAN título */
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.resumen h2 {
  font-size: 1.9rem;
  margin-bottom: 2rem;
  font-weight: 400;
  opacity: 0.9;
}

.resumen p {
  font-size: 1.25rem;
  line-height: 1.9;
}
@media (max-width: 900px) {
  .bloque-curso {
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 1.5rem;   /* ← menos padding lateral */
    text-align: center;
  }

  .col-imagen img {
    max-width: 100%;
  }

  .resumen h1 {
    font-size: 2.4rem;
  }

  .resumen h2 {
    font-size: 1.4rem;
  }

  .resumen p {
    font-size: 1.05rem;
  }
}
/* =====================
   INFORMACIÓN CURSO
====================== */

.info-curso-container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.info-section {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.info-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #eaeaea;
  padding-bottom: 0.5rem;
}

/* Tarjetas */
.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: #fafafa;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  border-top: 4px solid #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
  content: "ℹ️";
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  opacity: 0.7;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  background: #f56f7f79;
}

.card-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #474747;
}

.card-value {
  font-size: 1.05rem;
  font-weight: bold;
}

/* Balance especial para costos */
.costos .card-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.costos .card {
  flex: 0 1 calc(33.333% - 1.5rem);
}


/* =====================
   MALLA CURRICULAR FLOATING
===================== */

.malla-floating {
  text-align: center;
  margin: 4rem auto;
}

/* Título */
.malla-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

/* Imagen */
.malla-image {
  width: 60%;
  height: auto;
  display: block;
  margin: 0 auto 2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  border-radius: 4px;
}

/* Botones */
.malla-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-malla {
  background: var(--casamo-red);
  color: #ffffff;
  padding: 0.75rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.6px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-malla:hover {
  background: #8f0f1f;
  transform: translateY(-2px);
}

/* =====================
   MÓVIL
===================== */

@media (max-width: 768px) {
  .malla-image {
    width: 90%;
  }

  .malla-title {
    font-size: 1.4rem;
  }
}

/* Móvil */
@media (max-width: 768px) {
  .card-list {
    grid-template-columns: 1fr;
  }

  .costos .card {
    flex: 1 1 100%;
  }
}


    /* =====================
       FOOTER
    ====================== */
    footer {
      background-color: #f5f5f5;
      padding: 2rem 1rem;
      margin-top: 3rem;
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    .footer-section h4 {
      margin-bottom: 0.8rem;
    }

    .footer-section a {
      display: block;
      text-decoration: none;
      color: #333;
      margin-bottom: 0.4rem;
      font-size: 0.9rem;
    }

    /* =====================
       RESPONSIVE (MÓVIL)
    ====================== */
   @media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;               /* ← clave */
    background-color: #ffffff;
    flex-direction: column;
    display: none;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
  }

  .nav-links a {
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
    
/* =====================
   CONTACTO
====================== */

.contacto-cards {
  grid-template-columns: repeat(3, 1fr);
}

.contacto-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.contacto-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.contacto-card span {
  font-weight: 600;
  font-size: 1rem;
}

/* Hover especial contacto */
.contacto-card:hover {
  transform: translateY(-6px) scale(1.02);
}

/* Móvil */
@media (max-width: 768px) {
  .contacto-cards {
    grid-template-columns: 1fr;
  }
}
/* Eliminar ícono informativo de las tarjetas */
.card::before {
  display: none;
  content: none;
}


.btn-malla {
  background-color: rgba(255, 0, 0, 0.76);
  color: #ffffff !important;
  padding: 0.9rem 2.2rem;
  border-radius: 999px; /* bien redondeados */
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.6px;
  box-shadow: 0 8px 20px rgba(177, 18, 38, 0.45);
  border: none;
  display: inline-block;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-malla:hover {
  background-color: #8f0f1f !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(177, 18, 38, 0.6);
}
/* =====================
   LÍNEA ROJA TÍTULO MALLA
===================== */

.malla-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.6rem;
}

.malla-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 150%;
  height: 3px;
  background-color: #c2071d;
  border-radius: 2px;
}
/* =====================
   FOOTER CASAMO
===================== */

footer {
  background-color: #000000;
  padding: 2.5rem 1rem;
  margin-top: 3rem;
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-section a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: #b11226; /* rojo CASAMO */
}
 body {
      line-height: 1.5;
      background-color: #000000;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='%23b10808' fill-opacity='0.17'%3E%3Cpath fill-rule='evenodd' d='M5 3.59L1.46.05.05 1.46 3.59 5 .05 8.54l1.41 1.41L5 6.41l3.54 3.54 1.41-1.41L6.41 5l3.54-3.54L8.54.05 5 3.59zM17 2h24v2H17V2zm0 4h24v2H17V6zM2 17h2v24H2V17zm4 0h2v24H6V17z'/%3E%3C/g%3E%3C/svg%3E");
      
    }