body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
}

.header-itsa {
    background-color: #1e1e1e;
    border-bottom: 2px solid #00ffcc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    border-radius: 4px;
}

.titulo-instituto {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
    max-width: 250px;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover, .btn.active {
    background-color: #00ffcc;
    color: #121212;
    font-weight: bold;
}

.bienvenida, .video-section, .acciones-rapidas, .cursos-offline {
    padding: 2rem;
    text-align: center;
}

.video-container {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.btn-action {
    background-color: #1e1e1e;
    border: 1px solid #00ffcc;
    color: #00ffcc;
    padding: 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-action:hover {
    background-color: #00ffcc;
    color: #121212;
}

/* Grilla de Cursos Offline */
.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.curso-card {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.curso-card h3 {
    color: #00ffcc;
    margin-top: 0;
}

.card-botones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.btn-gratis {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-gratis:hover {
    background-color: #f44336;
}

.btn-info {
    text-align: center;
    background-color: #2a2a2a;
    color: #fff;
    border: 1px solid #00ffcc;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-info:hover {
    background-color: #00ffcc;
    color: #121212;
}

/* Estilos de Checkboxes en Cotizador */
#lista-cursos-checkboxes label {
    background: #121212;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #333;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}
#lista-cursos-checkboxes input {
    margin-right: 10px;
    transform: scale(1.1);
}

/* Ventana Modal del Video */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-contenido {
    background-color: #1e1e1e;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #00ffcc;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    text-align: center;
}

.cerrar {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.cerrar:hover, .cerrar:focus {
    color: #00ffcc;
    text-decoration: none;
}

/* Estilos de Contacto y Redes */
.contacto-main {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.tarjeta-contacto {
    background-color: #1e1e1e;
    border: 1px solid #333;
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
}

.tarjeta-contacto h3 {
    color: #00ffcc;
    margin-top: 0;
}

.tarjeta-contacto a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
}

.tarjeta-contacto a:hover {
    color: #00ffcc;
}

.info-pequenha {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #888;
}

.redes-section {
    margin-top: 3rem;
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
    text-align: center;
}

.redes-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-red {
    padding: 12px 24px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s;
}

.btn-red:hover {
    opacity: 0.85;
}

.youtube { background-color: #ff0000; }
.instagram { background-color: #e1306c; }
.facebook { background-color: #1877f2; }

footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #0a0a0a;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #888;
}

footer a {
    color: #00ffcc;
    text-decoration: none;
}