
    @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: 'Poppins', sans-serif;
    }

    body {
      line-height: 1.5;
    }

    /* =====================
       NAVBAR
    ====================== */
         * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Poppins', sans-serif;
    }

    body {
      line-height: 1.5;
      background: #f6f6f6;
      color: #222;
    }

    /* =====================
       NAVBAR
    ====================== */
    header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: #fff;
      border-bottom: 1px solid #e5e5e5;
    }

    .navbar {
      max-width: 1200px;
      margin: auto;
      padding: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      width: 180px;
    }

    .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.6rem;
      cursor: pointer;
    }


    /* =====================
       HERO / SLIDER DE IMÁGENES
    ====================== */
    .hero {
      position: relative;
      width: 100%;
      height: 60vh;
      overflow: hidden;
    }

    .hero img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 1.2s ease-in-out;
    }

    .hero img.active {
      opacity: 1;
    }

    .hero-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.4);
      color: #fff;
      border: none;
      font-size: 2rem;
      padding: 0.3rem 0.8rem;
      cursor: pointer;
      z-index: 2;
    }

    .hero-arrow.left { left: 20px; }
    .hero-arrow.right { right: 20px; }

    .hero-dots {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 2;
    }

    .hero-dots span {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255,255,255,0.6);
      cursor: pointer;
    }

    .hero-dots span.active {
      background: #fff;
    }

    /* =====================
       SECCIÓN CURSOS
    ====================== */
    .courses-section {
      max-width: 1200px;
      margin: 3rem auto;
      padding: 0 1rem;
    }

    .courses-row {
      display: grid;
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .row-3 {
      grid-template-columns: repeat(3, 1fr);
    }

    .row-2 {
      grid-template-columns: repeat(2, minmax(280px, 1fr));
      justify-content: center;
      padding: 0 3rem;
    }

    .course-card {
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      text-align: center;
      background-color: #fff;
    }

    .course-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .course-card h3 {
      padding: 1rem;
      font-size: 1rem;
    }

    /* =====================
       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%;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        width: 100%;
        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;
      }


      .courses-row {
        grid-template-columns: 1fr;
      }

      .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
      }
    }
            /* =====================
               modificaciones botones y fondo
              ===================== */
                /* =====================
           BOTONES CURSOS (H3)
        ===================== */
        
                .course-card h3 {
                  background-color: #b11226;
                  /* rojo CASAMO */
                  color: #ffffff;
                  margin: 0;
                  padding: 1rem;
                  text-transform: uppercase;
                  font-weight: 700;
                  letter-spacing: 0.5px;
                  text-decoration: none;
                  transition: background-color 0.3s ease;
                }
        
                /* Asegura que no herede estilos de <a> */
                .course-card {
                  text-decoration: none;
                  color: inherit;
                }
        
                .course-card:hover h3 {
                  background-color: #8f0f1f;
                
                }
        
                /* =====================
           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;
               
                }
        
                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");
        
                }
        
                /* =====================
           ELIMINAR ESPACIO ENTRE IMAGEN Y BOTÓN
        ===================== */
        
                .course-card img {
                  display: block;
                  margin: 0;
                }
        
                .course-card h3 {
                  margin-top: 0;
                }
        
                /* =====================
           ELIMINAR / DISIMULAR BORDE TARJETAS
        ===================== */
        
                .course-card {
                  border: none !important;
                  outline: none !important;
                  box-shadow: none;
                }
  </style>