@font-face {
    font-family: "ligth";
    src: url(../fonts/Sofia_Pro_Light_Az.woff2) format("woff2"),
        url(../fonts/Sofia_Pro_Light_Az.otf) format("opentype");
    font-display: swap;
}

@font-face {
    font-family: "medium";
    src: url(../fonts/Sofia_Pro_Medium_Az.woff2) format("woff2"),
        url(../fonts/Sofia_Pro_Medium_Az.otf) format("opentype");
    font-display: swap;
}

@font-face {
    font-family: "bold";
    src: url(../fonts/Sofia_Pro_Bold_Az.woff2) format("woff2"),
        url(../fonts/Sofia_Pro_Bold_Az.otf) format("opentype");
    font-display: swap;
}

.footer .boton {
    background-color: var(--color-rojo);
}
.footer{
       padding: 40px 0px 30px 0 !important;
 
}
#footerUniversidadContainer .boton {
    background-color: #636f03;
}

.header_global .logo {
    width: 25%;
}

.ficha_tecnica_brochure {
    width: 100%;
    margin-top: 3rem;
}

.ficha_tecnica_brochure .boton {
    margin: auto;
}

.background {
    background-color: #ff4800;
}

/* GENERALES */
:root {
    --color-verde: #4f6e00;
    --color-verde-alternativo: #a7a726;
    --color-rojo: #B11F16;
    --color-blanco: #ffffff;
    --color-gris: #bfbfbf;
    --color-naranja: #ff4800;
    --color-negro: #222222;
    --font-ligth: "ligth";
    --font-medium: "medium";
    --font-bold: "bold";
}

* {
    min-width: 0;
    font-family: var(--font-text), Arial, Helvetica, sans-serif;
    color: var(--color-text);
    margin: 0;
    padding: 0;
    transition: 0.3s;

    &,
    &::after,
    &::before {
        box-sizing: border-box;
    }
}

body,
html {
    scrollbar-gutter: auto;
    scroll-behavior: smooth;
    color: var(--color-negro);
    font-size: 16px;
}

@keyframes show {
    from {
        opacity: 0;
        scale: 25%;
    }

    to {
        opacity: 1;
        scale: 100%;
    }
}

img,
svg,
video {
    display: block;
    height: 100%;
    width: 100%;
}

img {
    object-fit: cover;
    object-position: center;
    border-radius: 3px;

    view-timeline-name: --image;
    view-timeline-axis: block;

    animation-timeline: --image;
    animation-name: show;

    animation-range: entry 0% cover 30%;
    animation-fill-mode: both;
}

p,
span,
a,
ul,
li,
form {
    font-family: var(--font-ligth), Arial, Helvetica, sans-serif;
    text-wrap: pretty;
    color: var(--color-negro);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
    font-family: var(--font-medium), Arial, Helvetica, sans-serif;
}

.max {
    max-width: 1400px;
    margin: 0 auto 50px;
}

.hide {
    display: none;
}

a:hover {
    color: white !important;
}

a.boton {
    color: white !important;

}

.boton {
    background-color: var(--color-rojo);
    color: var(--color-blanco);
    display: block;
    height: 40px;
    width: fit-content;
    padding: 0 20px;
    text-align: center;
    line-height: 40px;
    border-radius: 20px;
    text-decoration: none;
    border: 0;
    font-size: 1rem;
    cursor: pointer;
}

.habilidades_item article {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: column;
}

.habilidades_item article img {
    width: 75% !important;
}

.boton:hover {
    scale: 1.1;
    color: var(--color-blanco);
}


#formulario-popup {
    position: fixed;
    /* Por encima del header compartido (.mc-host usa z-index: 1000);
       con 999 el header tapaba la X y el titulo del modal. */
    z-index: 1100;
    top: 0;
    left: 0;
    height: 100%;
    /* 100vw incluye el ancho de la barra de scroll y provocaba scroll horizontal
       al abrir el modal en escritorio; 100% se resuelve contra el viewport real. */
    width: 100%;
    display: none;
    background-color: #00000054;
    color: #fff
}

#formulario-popup .close {
    font-size: 32px;
    color: var(--azulOscuro);
    z-index: 101;
    cursor: pointer
}

#formulario-popup .close {
    font-size: 32px;
    color: black;
    z-index: 101;
    cursor: pointer;
    float: right;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

.txtContent {
    justify-content: center;
    color: black;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
}

#formulario-popup .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.ContentForm {
    box-shadow: 0 4px 5px #9f9f9f;
    background-color: #FCFBFD;
    padding: 10px;
    color: black;
    width: 100%;
    border-radius: 20px;
    /* Que el modal nunca exceda el viewport en mobile:
       6rem = los margenes my-5 (3rem arriba + 3rem abajo). */
    max-height: calc(100vh - 6rem);
    max-height: calc(100dvh - 6rem);
    overflow-y: scroll;
}

.BtonFlotante2 {
    width: 80px;
    height: 90px;
    position: absolute;
    right: 0;
    display: none;
    bottom: -53rem;
}

.botonF2,
.botonF3 {
    bottom: 5rem;
    width: 65px;
    height: 65px;
    border-radius: 100%;
    background: #0dc143;
    right: 0;
    margin-right: 16px;
    border: none;
    outline: 0;
    color: #fff;
}

.botonF3 {
    background: #FF4A00;
}

.BtonFlotante2>.menuWhatsapp,
.botonF2,
.botonF3 {
    z-index: 10;
    position: fixed;
    transition: .3s;
}

.botonF2 span,
.botonF3 span {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.BtonFlotante2>.menuWhatsapp,
.botonF2,
.botonF3 {
    z-index: 10;
    position: fixed;
    transition: .3s
}

.BtonFlotante2 .closeMenuWhatsapp {
    position: absolute;
    top: .5rem;
    right: .5rem;
    cursor: pointer;
    background: 0 0;
    border: none;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif !important;
    color: black;
    width: 7%;
    font-weight: bold;
}

.BtonFlotante2>.menuWhatsapp {
    display: none;
    top: 60%;
    left: 50%;
    width: 95%;
    border-radius: 1rem;
    translate: -65% 0;
    background: linear-gradient(234deg, #ededed 10%, #fff 100%);
    height: 50%;
    justify-items: center;
    flex-direction: column;
    transform: translate(170%, -25%);
    box-shadow: 1px 0 20px #7e7e7e;
    align-items: center;
    justify-content: flex-start
}

.BtonFlotante2>.menuWhatsapp a>p {
    margin: 0;
    text-align: center;
    color: #fff;
    font-weight: 700
}

.BtonFlotante2>.menuWhatsapp a {
    display: flex;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    padding: 0 24px;
    text-decoration: none;
    width: 25rem;
    font-weight: 600;
    height: 100%;
    border-radius: 50px;
    background-color: #0dc143;
    align-items: center;
    flex-direction: column;
    justify-content: center
}

.BtonFlotante2>.menuWhatsapp a:hover {
    box-shadow: 0 0 20px 0 #000
}

#formulario-popup .formulario {
    height: 70vh;
}

@media screen and (max-width: 1450px) {
    .max {
        max-width: 1200px;
    }
}

@media screen and (max-width: 1250px) {
    .max {
        max-width: 1000px;
    }

    .BtonFlotante2>.menuWhatsapp {
        transform: translate(10%, -25%)
    }
}

@media screen and (max-width: 1050px) {
    .BtonFlotante2 .btnWhatsapp {
        display: flex;
        height: 30%;
        width: 100%;
        flex-direction: column;
        font-weight: 700;
        align-content: center;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .BtonFlotante2>.menuWhatsapp a {
        display: flex;
        gap: 10px;
        color: #fff;
        font-size: 14px;
        padding: 0 24px;
        text-decoration: none;
        width: 100%;
        font-weight: 600;
        height: 100%;
        border-radius: 50px;
        background-color: #0dc143;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    .BtonFlotante2 .menuWhatsapp .contentBtn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        height: 50%;
        width: 80%;
    }

    .BtonFlotante2>.menuWhatsapp a>p {
        margin: 0;
        text-align: center;
        color: #fff;
        font-weight: 700;
    }

    .txtWtp .txtP1 p {
        width: 100%;
        color: #000;
    }

    .txtWtp .txtP1 {
        text-align: center;
        width: 100%;
    }

    .txtWtp {
        width: 85%;
        margin-top: 1rem;
    }

    .SecColor .txtImg {
        display: flex;
        width: 90%;
        align-items: center;
        justify-content: flex-start;
    }

    .SecColor {
        display: flex;
        height: 40%;
        width: 100%;
        justify-content: center;
        align-items: center;
        border-radius: 1rem 1rem 0 0;
    }

    .SecColor .txtImg img {
        width: 100%;
    }

    .contentImgMenu {
        width: 50%;
    }

    .BtonFlotante2>.menuWhatsapp {
        transform: translate(15%, -70%)
    }

    .botonF2 {
        bottom: 0rem;
        width: 50%;
        border-radius: 0%;
        left: 0;
        margin-right: 0%;
    }

    .botonF2 p {
        color: white;
    }

    .BtonFlotante2 span p {
        display: block;
        margin-left: 10px;
        color: white;
    }

    .Mobile,
    .BtonFlotante2 {
        display: flex !important;
    }

    .botonF3 {
        bottom: 0rem;
        width: 50%;
        border-radius: 0%;
        right: 0;
        margin-right: 0%;
    }

    .Desk {
        display: none !important;
    }


    a.boton {
        width: 100%;
        margin-top: 2rem;
    }

    .footer_widgets {
        margin-top: 1rem !important;
        gap: 45px !important;
    }

    .footer_widgets article {
        width: 100%;
    }

    .footer .boton {
        width: 100%;
        margin-top: 1rem;
    }

    .max {
        max-width: 800px;
    }

    .porqueUCentral h2 {
        width: 100% !important;
    }

    .preguntas_frecuentes .accordion {
        & button {
            .accordion-title {
                width: 90%;
                display: block;
                padding: 0 !important;
            }
        }
    }
}

@media screen and (max-width: 850px) {
    .header_global .logo {
        width: 50%;
    }

    .max {
        max-width: 600px;
    }

    .descripcion h1 {
        text-wrap: wrap !important;
        font-size: 20px !important;
    }
}

@media screen and (max-width: 650px) {
    .max {
        max-width: 400px;
        width: 90%;
    }

    .ficha_tecnica_item {
        width: 100% !important;
        height: auto !important;
    }

    .campos_desempenio_text {
        width: 100% !important;
    }

    .header_global .logo {
        width: 70%;
    }

}

/* HEADER */
.header_global {
    padding: 20px 0;
    background-color: var(--color-blanco);
    position: sticky;
    top: 0;
    height: 100px;
    z-index: 2;
    border-bottom: 1px solid var(--color-gris);
}

.ayuda_financiera_items {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px auto;
    max-width: 1200px;
    width: 90%;
}

.ayuda_financiera_items_item {
    width: 250px;
    height: 250px;
    border: 1px solid var(--color-gris);
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    border-radius: 20px;
}

.ayuda_financiera_items_item a {
    font-size: 14px;
    }

.ayuda_financiera_items_item img {
    object-fit: contain;
}

.header_global img {
    animation-timeline: none;
}

.header_global>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header_navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header_navigation .icon {
    display: none;
}

.header_navigation ul {
    border: 1px solid var(--color-negro);
    display: flex;
    align-items: center;
    /* gap: 20px; */
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.header_navigation ul li {
    position: relative;
}

.porque_estudiar a {
    margin-top: 3rem;
}

.header_navigation ul li a {
    text-decoration: none;
    display: block;
    padding: 0 20px;

    height: 38px;
}

.header_navigation ul li a:hover {
    background-color: var(--color-rojo);
    color: var(--color-blanco);
}

.header_navigation ul li:first-child a {
    border-radius: 20px 0 0 20px;
}

.header_navigation ul li:last-child a {
    border-radius: 0 20px 20px 0;
}

.header_navigation ul li .sub-menu {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    flex-direction: column;
    height: auto;
    border-radius: 10px;
    background-color: var(--color-blanco);
}

.header_navigation ul li .sub-menu li a {
    color: var(--color-negro);
    width: 200px;
}

.header_navigation ul li .sub-menu li:first-child a {
    border-radius: 8px 8px 0 0;
}

.header_navigation ul li .sub-menu li:last-child a {
    border-radius: 0 0 8px 8px;
}

.header_navigation ul li:hover .sub-menu {
    display: block;
}

.header_navigation ul li .sub-menu li:hover a {
    color: var(--color-blanco);
}

@media screen and (max-width: 1250px) {
    .header_navigation {
        gap: 10px;
        flex-direction: row-reverse;
    }

    .header_navigation .icon {
        display: block;
        width: 40px;
        height: 40px;
        line-height: 41px;
        text-align: center;
        background-color: var(--color-blanco);
        border: 1px solid var(--color-gris);
        color: #fff;
        font-size: 18px;
        border-radius: 50%;
        cursor: pointer;
    }

    .header_navigation {
        position: relative;
    }

    .header_navigation span {
        line-height: 40px;
    }

    .header_navigation span.fa-xmark {
        display: none;
    }

    .header_navigation .nav_items {
        display: none;
        position: absolute;
        background-color: var(--color-blanco);
        right: 0px;
        top: 74px;
        width: auto;
        height: initial;
        padding: 20px;
        border: 1px solid var(--color-negro);
        border-radius: 0 0 30px 30px;
    }

    .header_navigation .nav_items li a {}

    .header_navigation .nav_items {
        flex-direction: column;
    }

    .header_navigation .nav_items li {
        margin: 5px 0;
    }

    .header_navigation .nav_items li a {
        color: var(--color-rojo);
        display: block;
        width: 100%;
        border-radius: 3px;
        text-align: left;
        text-decoration: none;
    }

    .header_navigation .nav_items li a:hover {
        border-radius: 20px;
        color: var(--color-blanco);
    }

    .header_navigation ul li .sub-menu {
        display: block;
        position: initial;
        border: 0;
        padding-left: 1rem;
    }

    .header_navigation ul li .sub-menu li a {
        width: 100%;
    }

    .header_navigation ul li .sub-menu li:first-child a,
    .header_navigation ul li .sub-menu li:last-child a {
        border-radius: 20px;
    }
}

/* @media screen and (max-width: 850px) {
    .header_navigation .nav_items {
        width: 600px;
    }
} */

@media screen and (max-width: 650px) {
    .header_navigation {
        gap: 0;
    }

    /* .header_navigation .nav_items {
        
    } */
    .header_navigation>a {
        display: none;
    }
}

/* Footer */
.footer {
    background-color: var(--color-negro);
    padding: 40px;
}

.footer .logo {
    margin: auto;
    background: transparent !important;
    max-width: 360px;
    width: 90%;
}

.footer_widgets {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 80px;
    margin-top: 60px;
}

.footer_widgets h3 {
    color: var(--color-blanco);
    font-size: 1rem;
    text-align: center;
    }

.footer_widgets ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 5px;
    text-align: left;
}

.footer_widgets ul li a {
    color: var(--color-blanco);
    text-decoration: none;
    display: block;
    padding: 0px 0;
    min-height: 30px;
    line-height: 1.4;
    font-size: 15px;

}

.footer_widgets ul li a:hover {
    text-decoration: underline;
}

.footer_bottom {
    background-color: #222222;
    padding: 10px 0;
}

.footer_bottom p {
    text-align: center;
    margin-bottom: 0;
    color: var(--color-blanco);
    font-size: 12px;
}

/* banner */
.banner {
    margin-top: 40px;
    margin-bottom: 50px;
}

/* formulario */
.formulario {
    max-width: 800px;
    margin: 0 auto 50px;
    width: 90%;
}

.form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    margin-top: 1rem;
}

.form_filed,
.ic-class-form-row {
    width: 48%;
    display: flex;
    flex-direction: column;
}

.form_filed:nth-child(even) {}

.form_filed label,
.ic-class-form-row label {
    font-family: var(--font-medium), Arial, Helvetica, sans-serif;
    padding: 0 0 5px 20px;
}

.form_filed input,
.form_filed select,
.ic-class-form-row input,
.ic-class-form-row select {
    height: 40px;
    padding: 0 20px;
    border-radius: 20px;
    border: 1px solid var(--color-gris);
}

.form_filed input:focus,
.form_filed input:focus-visible,
.ic-class-form-row input:focus,
.ic-class-form-row input:focus-visible {
    border: 2px solid var(--color-rojo);
}

.form_filed div {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row-reverse;
}

.form_filed:last-child,
.ic-class-form-row:last-child {
    width: 100%;
}

.form_filed div label {
    font-size: 12px;
    padding: 5px;
}

.form_filed button,
.ic-class-form-row button,
.btn-success {
    margin: auto;
    background-color: var(--color-rojo) !important;
    color: var(--color-blanco) !important;
    border: 2px solid var(--color-rojo) !important;
    display: block;
    height: 40px;
    width: 200px;
    padding: 0 20px;
    text-align: center;
    line-height: 40px;
    border-radius: 20px !important;
    text-decoration: none;
    border: 0;
    font-size: 1rem;
    cursor: pointer;
}

.form_filed span,
.ic-class-form-row span,
.error {
    color: red;
    font-size: 14px;
}

/* descripcion */
.descripcion {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto 50px;
}

.descripcion h1 {
    font-size: clamp(35px, 8vw, 50px);
    margin-bottom: 10px;
    width: 65%;
    font-weight: 600;
    text-wrap: nowrap;
}

.descripcion p {
    margin-bottom: 10px;
    text-align: justify;
}

.descripcion_subtitulo {
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-align: left;
}

/* ficha_tecnica */
.ficha_tecnica {
    max-width: 800px;
    margin: 0 auto 100px;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ficha_tecnica_item {
    width: 48%;
    display: flex;
    /* justify-content: space-between; */
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 10px;
    height: 60px;
}

.ficha_tecnica_item_image {
    width: 55px;
}

.ficha_tecnica_item_text {
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.ficha_tecnica_item_text h3 {
    font-size: 18px;
}

.ficha_tecnica_item_text p {
    font-size: 14px;
}

/* habilidades */
.habilidades {
    margin: 0 auto 100px !important;

}

.habilidades h2 {
    font-size: clamp(35px, 8vw, 50px);
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;

}

.habilidades_intro {
    max-width: 1000px;
    width: 90%;
    margin: -12px auto 28px;
    text-align: center;
    line-height: 1.55;
}

.habilidades_items {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.habilidades_item {
    background-color: var(--color-rojo);
    padding: 30px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* flex-direction: column; */
    flex-wrap: wrap;
    gap: 20px;
    width: 200px;
    height: 400px;
    text-align: center;
}

.habilidades_item_image {
    width: 100px;
    height: 100px;
}

.habilidades_item_text h3 {
    margin-bottom: 5px;
}

.habilidades_item_text h3,
.habilidades_item_text p {
    color: #fff;
}

.habilidades_item_text p {
    font-size: 14px;
}

.porque_estudiar {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

/* perfil_egresado */
.perfil_egresado,
.porque_estudiar {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto 100px;
}

.perfil_egresado h2,
.porque_estudiar h2 {
    font-size: clamp(35px, 8vw, 50px);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.perfil_egresado p {
    margin-bottom: 10px;
    text-align: justify;
}

.perfil_egresado_texto ul {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.perfil_egresado_texto li {
    display: grid;
    grid-template-columns: 6px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    line-height: 1.45;
}

.perfil_egresado_texto li::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-top: 0.6em;
    border-radius: 50%;
    background: currentColor;
}

.perfil_egresado_link {
    background-color: var(--color-rojo);
}

.perfil_egresado .boton {
    margin: 20px auto;
    display: block;
    font-size: 18px;
}

/* detalles */
.detalles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 100px !important;
}

/* Entre 651px y 1250px el contenedor .max ocupa todo el ancho del viewport, por lo que
   el titulo y el acordeon quedaban pegados al borde de la pantalla.
   Se usa section.detalles (0-1-1) porque `.max { padding: 0 0px 40px }` se declara
   mas abajo en este mismo archivo y ganaria por orden de origen. */
@media screen and (min-width: 651px) and (max-width: 1250px) {
    section.detalles {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.detalles_image {
    width: 40%;
}

.detalles_text {
    width: 60%;
}

.detalles_text h2 {
    font-size: clamp(35px, 8vw, 50px);
    font-weight: bold;
    margin-bottom: 20px;
}

/* Acordeon */
.accordion {
    display: grid;
    align-content: center;
}

.accordion__container {
    display: grid;
    row-gap: 0.75rem;
    border-radius: 0.5rem;
}

.accordion__title {
    font-weight: bold;
    margin-top: 0.15rem;
    transition: 0.2s;
    font-size: 20px;
}

.accordion__header {
    display: flex;
    column-gap: 0.5rem;
    padding: 1.25rem 1.25rem 1.25rem 1rem;
    cursor: pointer;
}

.accordion__description {
    padding: 0 1.25rem 1.25rem 3rem;
}

.accordion__icon {
    font-size: 1.5rem;
    height: max-content;
    transition: 0.3s;
}

.accordion__item {
    border-radius: 0.25rem;
    position: relative;
    transition: all 0.25s ease;
}

.accordion__item::after {
    content: "";
    background-color: var(--color-negro);
    width: 3px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.accordion__content {
    overflow: hidden;
    height: 0;
    transition: all 0.25s ease;
}

.accordion-open .accordion__title {
    font-weight: 600;
    font-size: 30px;
}

.accordion-open::after {
    background-color: var(--color-rojo);
}

.campos_desempenio {
    margin: 0 auto 100px;
    max-width: 1000px;
    width: 90%;
}

.campos_desempenio_texts {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.campos_img {
    width: 120px;
    margin-right: 1rem;
    height: auto;
}

.campos_desempenio h2 {
    font-size: clamp(35px, 8vw, 50px);
    font-weight: bold;
    margin-bottom: 50px;
}

.campos_desempenio_text {
    border: 1px solid var(--color-rojo);
    border-radius: 10px;
    padding: 60px 30px;
    width: 35%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    text-align: center;
    align-items: center;

}

.campos_txt {
    width: 80%;
}

.campos_desempenio_text p {
    font-size: 16px;
    width: 100%;
    text-align: left;
    font-weight: bold;
    font-family: 'medium';
}

.campos_desempenio_text span {
    font-size: 14px;
}

.ayuda_txt {
    width: 100%;
    background-color: var(--color-rojo);
    color: white;
    margin-bottom: 2rem;
    text-align: center;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.ayuda_txt p {
    max-width: 800px;
    width: 90%;
    color: var(--color-blanco);

}

.porqueUCentral {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 100px;
    max-width: 1200px;
    width: 100%;
}

.max {
    max-width: 1200px;
    padding: 0 0px 40px;
    margin: 0 auto 0px;
}

.porqueUCentral h2,
.ayuda_txt h2 {
    width: 70%;
    font-weight: bold;
    font-size: clamp(35px, 8vw, 50px);
}

.owl-carousel .owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.porqueUCentral_items_item {
    width: 200px;
    height: 230px;
    text-align: center;
    background-color: var(--color-rojo);
    padding: 20px;
    border-radius: 20px;
}
#menuCentral .mc-cta{
    background: var(--color-rojo) !important;
}
.ayuda_financiera_items_item article {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 190px;
}

.porqueUCentral_items_item p {
    font-size: 14px;
    color: var(--color-blanco);
}

.porqueUCentral_items_item span {
    margin: 1rem 0;
    background-color: var(--color-blanco);
    color: var(--color-rojo);
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    width: 100%;
    display: block;
}

.porqueUCentral_items {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

/* plan_estudio */
.plan_estudio {
    margin: 0 auto 100px;
    max-width: 800px;
    width: 90%;
}

.plan_estudio h2,
.ayuda_financiera_items h2 {
    font-size: clamp(35px, 8vw, 50px);
    margin-bottom: 50px;
    font-weight: bold;
    text-align: center;
}

/* Quitar viñetas y espaciado de la lista */
.plan_estudio .accordion-content ul {
    list-style: none;
    padding: 1.5rem 2rem;
    margin: 0;
}

/* Flexbox para separar texto y créditos */
.plan_estudio .accordion-content ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

/* Botón naranja de créditos */
.plan_estudio .accordion-content ul li .badge-credito {
    background-color: var(--color-rojo);
    color: white;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 8px;
    min-width: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* Altura del acordeón para evitar recortes */
.plan_estudio .accordion button[aria-expanded="true"] + .accordion-content {
    opacity: 1;
    max-height: 800px;
    transition: all 300ms ease-in-out;
}

.accordion-title {
    font-weight: bold;
    font-size: 18px;
}

.plan_estudio .accordion {
    border-radius: 1rem;
    gap: 0.1rem;

    /* box-shadow: -1px 0px 0px black; */
    /* border-radius: 20px; */
    .accordion-item {
        border-radius: 1rem;
        /* box-shadow: 1px -1px 1px black; */

        button[aria-expanded="true"] {
            background-color: var(--color-rojo);
            /* box-shadow: -1px -1px 1px black; */
            border-radius: 1rem;
        }

        button[aria-expanded="true"] .accordion-title {
            color: white;
        }
    }

    button {
        position: relative;
        display: block;
        text-align: left;
        width: 100%;
        padding: 1em;
        font-size: 1.05rem;
        font-weight: 400;
        border-radius: 1rem;
        background-color: var(--color-blanco);

        span {
            color: var(--color-negro);
        }

        &:hover,
        &:focus {
            cursor: pointer;

            &::after {
                cursor: pointer;
                border: 1px solid blue;
            }
        }

        .accordion-title {
            padding: 1em 1.5em 1em 0;
        }

        .icon {
            display: inline-block;
            position: absolute;
            top: 18px;
            right: 18px;
            width: 22px;
            height: 22px;
            /* border: 1px solid; */
            border-radius: 22px;

            &::before {
                display: block;
                position: absolute;
                content: "";
                top: 9px;
                left: 5px;
                width: 10px;
                height: 2px;
                background: currentColor;
            }

            &::after {
                display: block;
                position: absolute;
                content: "";
                top: 5px;
                left: 9px;
                width: 2px;
                height: 10px;
                background: currentColor;
            }
        }
    }

    button[aria-expanded="true"] {
        .icon {
            &::after {
                width: 0;
            }
        }

        +.accordion-content {
            opacity: 1;
            transition: all 200ms linear;
            will-change: opacity, max-height;
            border: 1px solid black;
            border-radius: 1rem;
        }
    }

    .accordion-content {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 200ms linear, max-height 200ms linear;
        will-change: opacity, max-height;

        p {
            font-size: 1rem;
            font-weight: 300;
            margin: 2em 0;
        }
    }
}

.preguntas_frecuentes {
    margin: 0 auto 100px;
    max-width: 800px;
    width: 90%;
}

.preguntas_frecuentes h2,
.ayuda_financiera_items h2 {
    font-size: clamp(35px, 8vw, 50px);
    margin-bottom: 50px;
    font-weight: bold;
    text-align: center;
}

.preguntas_frecuentes .accordion-content ul {
    list-style: disc;
    padding: 1rem 2rem;
}

.preguntas_frecuentes .accordion-content ul li {
    margin-bottom: 5px;
    list-style: none;
}

.preguntas_frecuentes .accordion {
    gap: 0.1rem;

    .fa-chevron-up {
        display: none;
    }

    .accordion-item {
        border-radius: 1rem;

        button[aria-expanded="true"] {
            background-color: var(--color-rojo);

            .fa-chevron-up {
                display: block;
                color: white;
            }

            .fa-chevron-down {
                display: none;
            }
        }

        button[aria-expanded="true"] .accordion-title {
            color: white;
        }

        button[aria-expanded="false"] {
            .fa-chevron-down {
                display: block;
                color: var(--color-rojo);
            }

            .fa-chevron-up {
                display: none;
            }
        }
    }

    button {
        position: relative;
        display: block;
        text-align: left;
        width: 100%;
        padding: 1em;
        font-size: 1.05rem;
        font-weight: 400;

        span {
            color: var(--color-negro);
        }

        &:hover,
        &:focus {
            cursor: pointer;

            &::after {
                cursor: pointer;
                border: 1px solid blue;
            }
        }

        .accordion-title {
            padding: 0;
        }

        .icon {
            display: inline-block;
            position: absolute;
            top: 18px;
            right: 18px;
            width: 22px;
            height: 22px;
            /* border: 1px solid; */
            border-radius: 22px;

            &::before {
                position: absolute;
                content: "";
                top: 9px;
                left: 5px;
                width: 10px;
                height: 2px;
            }

            &::after {
                position: absolute;
                content: "";
                top: 5px;
                left: 9px;
                width: 2px;
                height: 10px;
            }
        }
    }

    button[aria-expanded="true"] {
        .icon {
            &::after {
                width: 0;
            }
        }

        +.accordion-content {
            opacity: 1;
            max-height: 240px;
            transition: all 200ms linear;
            will-change: opacity, max-height;
            border: 1px solid black;
            border-radius: 1rem;
        }
    }

    .accordion-content {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 200ms linear, max-height 200ms linear;
        will-change: opacity, max-height;

        p {
            font-size: 1rem;
            font-weight: 300;
            margin: 2em 0;
        }
    }
}

@media screen and (max-width: 650px) {
    .detalles_image {
        display: none;
    }

    .detalles_text,
    .form_filed {
        width: 100%;
    }

    .form_filed,
    .ic-class-form-row {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
}

/*Codigo de Estilos Formulario*/

.ic-class-form-check-label-legal {
    font-size: 0.7em;
    /* Igual que los campos del formulario */
    line-height: 1.2em;
    /* Espaciado coherente */
    margin: 0;
    /* Por si algún estilo externo lo altera */
}

.ic-class-form-link {
    font-size: 1.1em;
    /* Asegura que el enlace tenga el mismo tamaño */
    line-height: 1.2em;
    color: #005CC8;
}

.ic-class-form-check-input-legal {
    all: unset;
    /* Elimina TODOS los estilos anteriores */
    appearance: checkbox !important;
    -webkit-appearance: checkbox !important;
    width: 16px !important;
    height: 16px !important;
    margin-right: 10px !important;
    cursor: pointer !important;
    accent-color: #007bff !important;
    /* Azul, o cámbialo por otro color */
    display: inline-block !important;
    position: relative !important;
    vertical-align: middle !important;
}

/* texto solo para lectores de pantalla */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* =========================================================
   CAPA DE REFINAMIENTO UX/UI
   Ajustes sutiles que conservan la identidad visual original.
   ========================================================= */

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    line-height: 1.45;
    background-color: var(--color-blanco);
}

body.is-modal-open {
    overflow: hidden;
}

section[id] {
    scroll-margin-top: 110px;
}

img {
    /* Evita que las imágenes aparezcan encogidas o invisibles durante el scroll. */
    animation: none;
    opacity: 1;
    scale: 1;
}

a,
button,
input,
select,
.accordion__header {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
.accordion__header:focus-visible,
.close:focus-visible,
.closeMenuWhatsapp:focus-visible {
    outline: 3px solid rgba(177, 31, 22, 0.35);
    outline-offset: 3px;
}

.boton,
.form_filed button,
.ic-class-form-row button,
.btn-success,
.becas-btn {
    min-height: 44px;
    line-height: 44px;
    padding-inline: 24px;
    border-radius: 999px !important;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.boton:hover,
.form_filed button:hover,
.ic-class-form-row button:hover,
.btn-success:hover,
.becas-btn:hover {
    scale: 1;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(177, 31, 22, 0.2);
}

.boton:active,
.form_filed button:active,
.ic-class-form-row button:active,
.btn-success:active,
.becas-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.banner {
    overflow: hidden;
    border-radius: 6px;
}

.banner_image {
    object-position: center;
}

.descripcion,
.perfil_egresado,
.porque_estudiar,
.campos_desempenio {
    line-height: 1.5;
}

.descripcion h1,
.habilidades h2,
.perfil_egresado h2,
.porque_estudiar h2,
.detalles_text h2,
.campos_desempenio h2,
.plan_estudio h2,
.porqueUCentral h2,
.ayuda_txt h2,
.preguntas_frecuentes h2 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.descripcion h1 {
    width: 100%;
    text-wrap: balance;
    margin-bottom: 16px;
}

.descripcion p,
.perfil_egresado p,
.porque_estudiar p,
.campos_desempenio > p,
.convenios-box p {
    line-height: 1.55;
}

.formulario > p {
    line-height: 1.3 !important;
    margin-bottom: 14px !important;
}

.form {
    padding: 24px;
    gap: 18px 20px;
    border-color: #dedede;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(34, 34, 34, 0.05);
}

.form_filed input,
.form_filed select,
.ic-class-form-row input,
.ic-class-form-row select {
    min-height: 44px;
    border-color: #c9c9c9;
    background: #fff;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form_filed input:focus,
.form_filed select:focus,
.ic-class-form-row input:focus,
.ic-class-form-row select:focus {
    border-color: var(--color-rojo);
    box-shadow: 0 0 0 3px rgba(177, 31, 22, 0.12);
    outline: none;
}

.ficha_tecnica {
    max-width: 900px;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 80px;
}

.ficha_tecnica_item {
    min-height: 76px;
    height: auto;
    padding: 12px 16px;
    align-items: center;
    gap: 12px;
    border-color: #e1e1e1;
    box-shadow: 0 5px 15px rgba(34, 34, 34, 0.04);
}

.ficha_tecnica_item_image {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.ficha_tecnica_item_text p {
    line-height: 1.25;
}

.habilidades,
.perfil_egresado,
.porque_estudiar,
.detalles,
.campos_desempenio,
.plan_estudio,
.porqueUCentral,
.preguntas_frecuentes {
    margin-bottom: clamp(64px, 7vw, 88px) !important;
}

.habilidades_item {
    width: 100%;
    max-width: 220px;
    height: 100%;
    min-height: 370px;
    padding: 26px 22px;
    align-content: center;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(177, 31, 22, 0.14);
}

.habilidades_item_image {
    width: 92px !important;
    height: 92px;
    object-fit: contain;
}

.habilidades_item_text p {
    line-height: 1.28;
}

.certificacion {
    padding: clamp(48px, 6vw, 72px) 20px !important;
}

.detalles {
    align-items: stretch;
    gap: clamp(28px, 4vw, 54px);
}

.detalles_image {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(34, 34, 34, 0.1);
}

.detalles_img {
    min-height: 100%;
    object-fit: cover;
}

.detalles_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.accordion__container {
    row-gap: 8px;
}

.accordion__item {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    overflow: hidden;
}

.accordion__item::after {
    width: 4px;
}

.accordion__header {
    min-height: 56px;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
}

.accordion__title {
    font-size: 18px;
    line-height: 1.25;
}

.accordion-open .accordion__title {
    font-size: 19px;
}

.campos_desempenio h2 {
    margin-bottom: 30px;
}

.campos_desempenio_texts {
    align-items: stretch;
    gap: 16px;
}

.campos_desempenio_text {
    width: calc(50% - 8px);
    min-height: 112px;
    height: auto;
    padding: 18px 22px;
    gap: 16px;
    justify-content: flex-start;
    border-color: rgba(177, 31, 22, 0.65);
    background: #fff;
    box-shadow: 0 6px 16px rgba(34, 34, 34, 0.04);
}

.campos_img {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    margin-right: 0;
}

.campos_img img {
    object-fit: contain;
}

.campos_txt {
    width: auto;
    flex: 1;
}

.campos_desempenio_text p {
    line-height: 1.25;
    margin: 0;
}

.plan_estudio .accordion,
.preguntas_frecuentes .accordion {
    gap: 10px;
}

.plan_estudio .accordion-item,
.preguntas_frecuentes .accordion-item {
    border: 1px solid #dedede;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(34, 34, 34, 0.035);
}

.plan_estudio .accordion button,
.preguntas_frecuentes .accordion button {
    min-height: 56px;
    border: 0;
    background: #fafafa;
    padding: 14px 52px 14px 18px;
    line-height: 1.3;
    transition: background-color 180ms ease, color 180ms ease;
}

.plan_estudio .accordion-content,
.preguntas_frecuentes .accordion-content {
    transition: max-height 280ms ease, opacity 180ms ease !important;
}

.plan_estudio .accordion button:hover,
.preguntas_frecuentes .accordion button:hover {
    background: #f2f2f2;
}

.plan_estudio .accordion button[aria-expanded="true"],
.preguntas_frecuentes .accordion button[aria-expanded="true"] {
    background-color: var(--color-rojo);
}

.plan_estudio .accordion button[aria-expanded="true"] + .accordion-content,
.preguntas_frecuentes .accordion button[aria-expanded="true"] + .accordion-content {
    opacity: 1 !important;
    max-height: 800px !important;
    border: 0;
    border-top: 1px solid #e6e6e6;
    border-radius: 0;
    background: #fff;
}

.preguntas_frecuentes .accordion button[aria-expanded="true"] + .accordion-content {
    max-height: 520px !important;
}

.preguntas_frecuentes .accordion-title {
    font-size: 17px;
    line-height: 1.25;
}

.ayuda_txt {
    height: auto;
    min-height: 220px;
    padding: 48px 20px;
    gap: 14px;
}

.ayuda_financiera_items {
    margin-block: 42px 64px;
}

.ayuda_financiera_items_item {
    height: 240px;
    padding: 18px;
    border-color: #dedede;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(34, 34, 34, 0.04);
}

.ayuda_financiera_items_item article {
    height: 100%;
}

.ayuda_financiera_items_item img {
    width: 100%;
    max-width: 190px;
    height: 78px;
    object-fit: contain;
}

.ayuda_financiera_items_item .boton {
    font-size: 0.95rem;
}

.porqueUCentral_items_item {
    min-height: 240px;
    height: 100%;
    padding: 22px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(177, 31, 22, 0.12);
}

.porqueUCentral_items_item p {
    line-height: 1.3;
}

.becas-uvirtual {
    padding: 0 20px clamp(48px, 6vw, 64px) !important;
}

.convenios-box p {
    text-align: left;
}


/* --- SECCION PERFILES MODERNOS --- */
#tab-perfiles{
	max-width: 1200px;
	margin: 0 auto;
}
.perfiles-modern {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0px 20px;
    margin-bottom: clamp(64px, 7vw, 88px) !important;
}

.perfil-card {
    border-radius: 20px;
    padding: 35px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    overflow: hidden;
}

.card-dark {
    background-color: var(--color-rojo);
    color: var(--color-blanco);
    background-image: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

.card-dark .perfil-title,
.card-dark .perfil-subtitle {
    color: var(--color-blanco);
}

.card-dark .perfil-desc {
    color: rgba(255, 255, 255, 0.9);
}

.card-dark .perfil-desc-sm {
    color: var(--color-blanco);
    font-size: 1rem;
	line-height: 1.6;
}

.card-light {
    background-color: var(--color-blanco);
    color: var(--color-blanco);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.card-light .perfil-title {
    color: var(--color-rojo);
}

.card-light .perfil-desc {
    color: var(--color-negro);
    margin-bottom: 20px;
    font-size: 1rem;
}

.card-light .step-line {
    background-color: var(--color-border);
}

.card-light .perfil-subtitle {
    color: var(--color-rojo);
}

.bg-shape {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background-color: #f2f7f5;
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.perfil-col-left,
.perfil-col-right {
    position: relative;
    z-index: 1;
}

.perfil-title {
    font-size: clamp(2rem, 3vw + 1rem, 2.5rem);
    line-height: 1.1;
    margin-bottom: 15px;
}

.perfil-desc {
    font-family: var(--font-body);
    line-height: 1.6;
    margin-bottom: 40px;
}

.perfil-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.perfil-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.perfil-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
}

.card-dark .perfil-list li {
    color: rgba(255, 255, 255, 0.9) !important;
}

.card-light .perfil-list li {
    color: var(--color-negro);
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.card-light .icon-check {
    color: var(--color-rojo);
}

.icon-check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--color-blanco);
    opacity: 0.8;
}

.icon-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-rojo);
    margin-top: 2px;
}

.perfil-highlight {
    background-color: var(--color-light-green);
    padding: 25px;
    border-radius: 12px;
    margin-top: 4rem;
}

.highlight-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-rojo);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.highlight-header svg {
    width: 16px;
    height: 16px;
}

.perfil-highlight strong {
    font-family: var(--font-heading);
    color: var(--color-blanco);
    font-size: 1.1rem;
    line-height: 1.4;
    display: block;
}
.puntos-perfil{
	color: #fff;
}

/* Evita que padding y bordes aumenten el ancho */
#tab-perfiles,
#tab-perfiles * {
    box-sizing: border-box;
}

/*
   Misma fuente para el contenido.
   No modifica los títulos:
   .perfil-title
   .perfil-subtitle
*/
#tab-perfiles .perfil-desc,
#tab-perfiles .perfil-desc-sm,
#tab-perfiles .perfil-list li,
#tab-perfiles .perfil-list li span,
#tab-perfiles .perfil-highlight span,
#tab-perfiles .perfil-highlight strong,
#tab-perfiles .highlight-header b {
    font-family: var(--font-body);
      font-weight: 400;
}

/* Evita desbordamientos por textos largos */
#tab-perfiles p,
#tab-perfiles li,
#tab-perfiles span {
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Corrección: texto oscuro dentro de la tarjeta blanca */
#tab-perfiles .card-light .perfil-list li,
#tab-perfiles .card-light .perfil-list li span {
    color: var(--color-negro);
}

/* Mantiene el texto de la tarjeta naranja en blanco */
#tab-perfiles .card-dark .perfil-list li,
#tab-perfiles .card-dark .perfil-list li span {
    color: rgba(255, 255, 255, 0.9);
}

/* ================= TABLET ================= */

@media screen and (max-width: 1024px) {

    #tab-perfiles {
        width: 100%;
        max-width: 100%;
    }

    #tab-perfiles .perfiles-modern {
        padding: 0 24px;
        gap: 30px;
    }

    #tab-perfiles .perfil-card {
        padding: 32px 36px;
        gap: 40px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    #tab-perfiles .perfil-title {
        font-size: clamp(1.8rem, 3vw, 2.2rem);
    }

    #tab-perfiles .perfil-highlight {
        margin-top: 2rem;
    }
}

/* ================= TABLET PEQUEÑA Y MÓVIL ================= */

@media screen and (max-width: 768px) {

    #tab-perfiles .perfiles-modern {
        padding: 0 18px;
        gap: 24px;
    }

    #tab-perfiles .perfil-card {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 28px;
        border-radius: 16px;
    }

    #tab-perfiles .perfil-title {
        font-size: clamp(1.65rem, 6vw, 2rem);
        line-height: 1.2;
        margin-bottom: 16px;
    }

    #tab-perfiles .perfil-desc {
        margin-bottom: 28px;
    }

    #tab-perfiles .perfil-desc,
    #tab-perfiles .perfil-desc-sm,
    #tab-perfiles .perfil-list li {
        font-size: 1rem;
        line-height: 1.6;
      
    }

    #tab-perfiles .perfil-list {
        gap: 12px;
    }

    #tab-perfiles .perfil-list li {
        gap: 12px;
    }

    #tab-perfiles .perfil-highlight {
        margin-top: 20px;
        padding: 22px;
    }

    #tab-perfiles .bg-shape {
        width: 220px;
        height: 220px;
    }
}

/* ================= MÓVILES PEQUEÑOS ================= */

@media screen and (max-width: 480px) {

    #tab-perfiles .perfiles-modern {
        padding: 0 12px;
        gap: 20px;
    }

    #tab-perfiles .perfil-card {
        padding: 24px 18px;
        gap: 24px;
        border-radius: 14px;
    }

    #tab-perfiles .perfil-title {
        font-size: 1.6rem;
    }

    #tab-perfiles .perfil-subtitle {
        font-size: 0.78rem;
        line-height: 1.4;
        letter-spacing: 1px;
    }

    #tab-perfiles .perfil-desc,
    #tab-perfiles .perfil-desc-sm,
    #tab-perfiles .perfil-list li {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    #tab-perfiles .perfil-desc {
        margin-bottom: 22px;
    }

    #tab-perfiles .perfil-highlight {
        padding: 18px;
        margin-top: 15px;
    }

    #tab-perfiles .icon-check,
    #tab-perfiles .icon-arrow {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }
}

/* CORRECCIÓN SECCIÓN PERFIL PROFESIONAL - DESKTOP */
@media screen and (min-width: 993px) {

    #tab-perfiles .perfil-card.card-light {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 45px;
        padding: 40px 45px;
        align-items: start;
    }

    #tab-perfiles .perfil-col-left,
    #tab-perfiles .perfil-col-right {
        min-width: 0;
        width: 100%;
    }

    #tab-perfiles .card-light .perfil-title {
        font-size: clamp(2rem, 2.3vw, 2.3rem);
        line-height: 1.15;
        text-wrap: pretty;
        overflow-wrap: normal;
        word-break: normal;
        max-width: 100%;
    }

    #tab-perfiles .card-light .perfil-highlight {
        margin-top: 30px;
    }
}

/* PORTÁTILES Y TABLETS HORIZONTALES */
@media screen and (min-width: 769px) and (max-width: 1100px) {

    #tab-perfiles .perfil-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 35px 40px;
    }

    #tab-perfiles .perfil-title {
        max-width: 750px;
    }

    #tab-perfiles .perfil-highlight {
        margin-top: 25px;
    }
}
.becas-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.ContentForm {
    border: 1px solid rgba(34, 34, 34, 0.08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    border-radius: 18px;
    scrollbar-width: thin;
}

#formulario-popup .close,
.BtonFlotante2 .closeMenuWhatsapp {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 50%;
    transition: background-color 180ms ease, opacity 180ms ease;
}

#formulario-popup .close:hover,
.BtonFlotante2 .closeMenuWhatsapp:hover {
    background: rgba(34, 34, 34, 0.08);
    opacity: 0.85;
}

@media screen and (max-width: 1050px) {
    body {
        padding-bottom: 65px;
    }

    .whatsapp-float {
        display: none !important;
    }

    .botonF2,
    .botonF3 {
        min-height: 65px;
        box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.12);
    }

    .BtonFlotante2 > .menuWhatsapp {
        max-width: 620px;
        max-height: 560px;
    }
}

@media screen and (max-width: 850px) {
    .descripcion h1 {
        font-size: clamp(1.85rem, 5vw, 2.35rem) !important;
    }

    .detalles {
        align-items: center;
    }

    .detalles_image {
        width: 42%;
    }

    .detalles_text {
        width: 58%;
    }
}

@media screen and (max-width: 650px) {
    .banner {
        width: 90%;
        margin-top: 0;
        margin-bottom: 34px;
        padding-bottom: 0;
        border-radius: 5px;
    }

    .descripcion,
    .formulario,
    .ficha_tecnica,
    .perfil_egresado,
    .porque_estudiar,
    .detalles,
    .campos_desempenio,
    .plan_estudio,
    .preguntas_frecuentes {
        width: 90%;
    }

    .descripcion,
    .formulario {
        margin-bottom: 44px;
    }

    .descripcion h1 {
        font-size: 1.85rem !important;
        line-height: 1.08;
    }

    .descripcion p,
    .perfil_egresado p,
    .porque_estudiar p,
    .campos_desempenio > p,
    .convenios-box p {
        text-align: left;
        line-height: 1.48;
    }

    .form {
        padding: 18px;
        gap: 16px;
    }

    .ficha_tecnica {
        gap: 12px;
        margin-bottom: 60px;
    }

    .ficha_tecnica_item {
        min-height: 72px;
    }

    .habilidades,
    .perfil_egresado,
    .porque_estudiar,
    .detalles,
    .campos_desempenio,
    .plan_estudio,
    .porqueUCentral,
    .preguntas_frecuentes {
        margin-bottom: 58px !important;
    }

    .habilidades h2,
    .perfil_egresado h2,
    .porque_estudiar h2,
    .detalles_text h2,
    .campos_desempenio h2,
    .plan_estudio h2,
    .porqueUCentral h2,
    .ayuda_txt h2,
    .preguntas_frecuentes h2 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .habilidades_item {
        min-height: 350px;
        max-width: 270px;
    }

    .detalles_text {
        width: 100%;
    }

    .accordion__header {
        padding: 13px 16px;
    }

    .campos_desempenio_text {
        width: 100% !important;
        min-height: 96px;
        padding: 16px 18px;
    }

    .campos_img {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
    }

    .plan_estudio .accordion button,
    .preguntas_frecuentes .accordion button {
        padding: 14px 46px 14px 16px;
    }

    .plan_estudio .accordion-content ul,
    .preguntas_frecuentes .accordion-content ul {
        padding: 16px;
    }

    .ayuda_txt {
        min-height: 0;
        padding: 42px 20px;
    }

    .BtonFlotante2 > .menuWhatsapp {
        top: 50%;
        left: 50%;
        width: calc(100% - 20px);
        height: min(520px, calc(100dvh - 100px));
        min-height: 420px;
        max-height: calc(100dvh - 100px);
        transform: translate(-50%, -50%);
        translate: 0 0;
        overflow-y: auto;
    }

    #formulario-popup {
        padding: 16px;
    }

    .ContentForm {
        max-height: calc(100dvh - 32px);
        margin: 0 !important;
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}