/* =====================================================
   U4O - Estilos personalizados para landings de posgrado
   Tec de Monterrey - Vinculación Empresarial
   ===================================================== */

/* ===== FORMULARIO: validación ===== */
input.form-control.is-invalid:focus,
textarea.form-control.is-invalid:focus,
select.form-control.is-invalid:focus {
    box-shadow: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #dc3545 !important;
}

/* ===== SECCIÓN DESCARGA DE FOLLETO ===== */
.descarga-folleto {
    background-color: #1e1e1e;
    color: #fff;
    transform: skewY(-3deg);
    padding: 80px 0;
    position: relative;
    margin: 0 0 60px 0;
}

.descarga-folleto .container {
    transform: skewY(3deg);
}

.descarga-folleto .titulo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.descarga-folleto .subtitulo {
    font-size: 1.1rem;
    margin: 0;
}

/* ===== BOTONES ===== */
.btn-descargar {
    background-color: #1e1e1e;
    color: #fff;
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.btn-descargar:hover {
    background-color: #f0f0f0;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-custom {
    background-color: #1c0d9e;
    color: #fff;
    border: 1px solid #1c0d9e;
}

.btn-custom:hover {
    background-color: #425b76;
    border-color: #425b76;
    color: #fff;
}

.btn-bluetec {
    background-color: #0039A6;
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-bluetec:hover {
    background-color: #0039A6;
    color: white;
}

.btn-bluetec-link {
    background-color: #0039A6;
    color: #fff;
    border: 1px solid #0039A6;
}

.btn-bluetec-link:hover {
    background-color: #003C7A;
    border-color: #003C7A;
    color: #fff;
}

.btn-red {
    background-color: #0039A6;
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-red:hover {
    background-color: #003C7A;
    color: #fff;
}

.btn-red-link {
    background-color: #0039A6;
    color: #fff;
    border: 1px solid #0039A6;
}

.btn-red-link:hover {
    background-color: white;
    border-color: #003C7A;
    color: #003C7A;
}

.btn-gray {
    background-color: #EAEAEA;
    color: black;
    border: 1px solid black;
}

.btn-gray:hover {
    background-color: #e0115d;
    border-color: #e0115d;
    color: white;
}

/* ===== GRADIENTES ===== */
.bg-custom-gradient {
    background: linear-gradient(
        to bottom,
        rgba(19, 22, 146, 1),
        rgba(140, 35, 132, 1)
    ) !important;
}

.bg-gradient-custom {
    padding: 2rem;
    border-radius: 1rem;
}

.bg-gradient {
    background: linear-gradient(
        to bottom right,
        rgba(140, 35, 132, 1),
        rgba(19, 22, 146, 1)
    ) !important;
}

/* ===== FONDOS DE COLOR ===== */
.bg-azul {
    background-color: #073da3;
}

/* ===== HERO ===== */
.cs-tec-content-003--hero {
    background-color: #0039A6 !important;
}

.title-blanco {
    color: #fff;
}

/* ===== LISTAS PERSONALIZADAS ===== */
.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 1rem;
}

.custom-list li::before {
    content: "➤";
    position: absolute;
    left: 0;
    top: 0;
    background-color: black;
    color: white;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.custom-list-section li::marker {
    content: "» ";
    color: black;
    font-size: 1.5rem;
}

/* ===== CARDS ===== */
.card-custom {
    background-color: #fff;
    color: #000;
    border: 1px solid #1c0d9e;
    border-radius: 25px;
    padding: 1.5rem;
}

/* ===== FORMULARIO: labels ===== */
label {
    background: none !important;
}

/* ===== SECCIÓN INSTITUCIONAL ===== */
.section-institucional {
    background: #f4f6f9;
    padding: 80px 0;
}

.section-institucional h2 {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1c168d;
    margin-bottom: 25px;
}

@media (min-width: 992px) {
    .section-institucional h2 {
        font-size: 2.6rem;
    }
}

.section-institucional p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.section-institucional .modelo-educativo {
    font-weight: 600;
    color: #000;
    margin-top: 10px;
}

.section-institucional ul {
    margin-top: 20px;
    padding-left: 20px;
}

.section-institucional li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #000;
}

.imagen-institucional {
    width: 100%;
    max-width: 540px;
    border-radius: 8px;
}
