/* ===============================
   Poppins Font Family
================================= */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* ===============================
   Century Gothic (local files)
================================= */
@font-face {
    font-family: "Century Gothic Local";
    src: url("../fonts/GOTHIC.TTF") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Century Gothic Local";
    src: url("../fonts/GOTHICB.TTF") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    box-sizing: border-box;
}

.topbar {
    min-height: 50px;
    background: linear-gradient(to right, #8c60bb 0%, #5b2395 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding-bottom: 30px !important;
    position: relative;
}

.topbar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;
}

.span-custom {
    font-weight: 500;
    font-size: 1.1rem;
}

.topbar-content-bg {
    width: 100%;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 150px;
    padding: 17px 0;
}

.botbar {
    background-image: url("../medici/Barra Final.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-top: 15px solid #d9d9d9;
    border-bottom: 15px solid #d9d9d9;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 21px 0 !important;
    gap: 200px;
}

.botbar-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 21px 0;
    position: relative;
}

.botbar-horario {
    position: absolute;
    top: 18px;
    right: 28px;
    text-align: center;
    color: #fff;
    line-height: 2rem;
    font-weight: 400;
    opacity: .95;
}

.botbar-horario span {
    display: block;
    font-size: 1.2rem !important;
}

.botbar span {
    color: #fff;
}

.topbar strong {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.topbar span {
    font-size: 2rem;
    letter-spacing: 0.3px;
    color: #efeff0;
}

.meridiem {
    height: 75px;
    width: auto;
}

.navbar-institucional {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    padding: 15px 30px;
}

.navbar-institucional .nav-link {
    margin: 0 40px;
}

.navbar-institucional .nav-izq img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.nav-izq {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-izq span,
.nav-izq span b {
    font-size: 3rem;
    font-family: "Century Gothic Local", "Poppins", Arial, sans-serif !important;
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    gap: clamp(1rem, 2vw, 2.5rem);
    margin: 0;
    padding: 0;
}

.primer-banner {
    width: 100%;
    height: 25vh;
    margin-top: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.primer-banner span {
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
}

.primer-banner img:first-of-type {
    width: 25%;
    height: auto;
    transform: translateY(-30px);
}

.primer-banner img:last-of-type {
    width: 15%;
    height: auto;
    transform: translateY(-60px);
}

.segundo-banner {
    width: 100%;
    height: 25vh;
    margin-top: 120px;
    margin-bottom: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.segundo-banner span {
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
}

.segundo-banner img {
    width: 15%;
    height: auto;
    transform: translateY(-50px);
}

.segundo-banner img.meridiem:nth-of-type(2) {
    transform: translateY(70px);
}

.primer-banner-contacto {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-image: url("../medici/Barra Final.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 15px 30px;
    color: #fff;
}

.pbc-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.btn-cv {
    display: inline-block;
    background: #ffffff;
    color: #6a4bb6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.titulo-botbar {
    font-family: "Century Gothic Local", "Poppins", Arial, sans-serif !important;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.botbar-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 300px;
}

.botbar-grid p {
    font-size: 1.1rem !important;
}

.botbar-col {
    position: relative;
    display: grid;
    grid-template-columns: 110px 1fr;
    column-gap: 18px;
    row-gap: 12px;
    align-items: baseline;
}

.botbar-col::before {
    content: "";
    position: absolute;
    left: calc(110px + 9px);
    top: -8px;
    bottom: -8px;
    width: 1px;
    background: rgba(255, 255, 255, .45);
}

.botbar-col .item {
    display: contents;
}

.botbar-col .label {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.85;
    justify-self: end;
    text-align: right;
    padding-right: 6px;
}

.botbar-col .value {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.pbc-right {
    text-align: center;
}

.estudios {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 45px;
    position: relative;
    width: 100%;
    height: auto;
    z-index: 2;
    padding-top: 50px;
    padding-bottom: 20px;
    margin-bottom: 100px;
    margin-top: 100px;
}

/* Título reutilizable */
.section-title {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: .8px;
    text-align: center;
}

.section-title::after {
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    background-color: #521292;
    margin: 8px auto 0;
    border-radius: 2px;
}

.estudios-slider {
    position: relative;
    width: 70%;
    padding: 0 60px;
    margin-top: 50px;
    overflow: visible;
}

.estudios-viewport {
    overflow: hidden;
    width: 100%;
    clip-path: inset(0);
}

.estudios-viewport::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 190px;
    pointer-events: none;
}

.estudios-track {
    display: flex;
    transition: transform .35s ease;
    will-change: transform;
}

.estudios-page {
    position: relative;
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    gap: 85px;
    height: 250px;
    align-items: center;
    overflow: hidden;
}

.estudios-page .estudio {
    width: calc((100% - 45px) / 4);
    height: 100%;
}

.estudios-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-120%);
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    z-index: 50;
    font-size: 54px;
    line-height: 1;
    color: #5d5d5d;
}

.estudios-arrow.prev {
    left: -45px;
}

.estudios-arrow.next {
    right: -45px;
}

.estudios-arrow:disabled {
    opacity: .35;
    cursor: default;
}

.estudio {
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.estudio img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.img-circulo {
    width: 100%;
    height: 190px;
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
    background: transparent;
}

.img-circulo img {
    width: 106%;
    height: 106%;
    object-fit: cover;
    display: block;
    transform: translate(-3%, -3%);
}

.texto-estudio {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    margin-top: 10px;
    width: 100%;
    height: 30%;
}

.texto-estudio p {
    font-size: 0.8rem;
    font-weight: 700;
}

.texto-estudio a {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
}

.texto-estudio a:nth-child(2) {
    color: #ba7cf9;
    margin-top: -5px;
}

.texto-estudio a:hover {
    text-decoration: none;
    color: #ba7cf9;
}

.trayectoria {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 200px;
}

.trayectoria-stats {
    width: 80%;
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    text-align: center;
}

.stat {
    position: relative;
    padding: 0 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 140px;
}

.stat-onda {
    display: block;
    width: 105px;
    height: auto;
    margin-top: auto;
    opacity: .9;
}

.stat:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 80px;
    background: #000;
    opacity: .35;
}

.stat-top {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.1;
}

.stat-bottom {
    margin: 6px 0 0 0;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.2;
}

.stat-note {
    display: block;
    margin-top: 6px;
    font-size: .7rem;
    opacity: .7;
}

.trasparencia {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    padding: 60px 0 120px;
}

.logos-slider {
    position: relative;
    width: 75%;
    padding: 0 70px;
}

.logos-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #fff;
    transform: translateZ(0);
}

.logos-track {
    display: flex;
    transition: transform .35s ease;
    will-change: transform;
    backface-visibility: hidden;
}

.logos-page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(7, max-content);
    justify-content: center;
    grid-auto-rows: 70px;
    gap: 22px 34px;
    align-items: center;
    justify-items: center;
    padding: 10px 0;
}

.logos-page img {
    max-width: 120px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .10));
    opacity: .95;
}

.logo-empty {
    width: 1px;
    height: 1px;
    opacity: 0;
}

.logos-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 5;
    font-size: 54px;
    line-height: 1;
    color: #5d5d5d;
}

.logos-arrow.prev {
    left: 100px;
}

.logos-arrow.next {
    right: 100px;
}

.logos-arrow:disabled {
    opacity: .35;
    cursor: default;
}

.imagen-fondo1 {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: -50px;
}

.imagen-fondo1 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: -1;
    opacity: 1;
}

.texto-encima-estudio {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.texto-encima-estudio h2 {
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 1px;
}

.texto-encima-estudio p {
    margin: 0;
    font-size: 1.9rem;
    line-height: 1.2;
    white-space: nowrap;
    max-width: none;
    margin-top: 10px;
    font-weight: 300;
}

.logo-der-horario {
    position: absolute;
    top: 50%;
    right: 130px;
    transform: translateY(-50%);
}

.logo-der-horario img {
    width: 215px;
    height: auto;
    object-fit: contain;
}

.equipos {
    margin-top: 180px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: visible;
}

.mancha-fondo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}


.mancha-fondo img {
    width: min(1700px, 140vw);
    height: auto;
    display: block;
    opacity: .95;
}

.equipos>*:not(.mancha-fondo) {
    position: relative;
    z-index: 2;
}

.texto-flotante {
    font-family: "Century Gothic Local", "Poppins", Arial, sans-serif !important;
    position: absolute;
    top: 10px;
    left: -500px;
}

.texto-flotante p {
    margin: 0;
    font-size: 32px;
    font-weight: 400;
}

.equipos-slider {
    position: relative;
    width: 100%;
    padding: 0 50px;
    margin-top: 50px;
    overflow: visible;
}

.equipos-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    clip-path: inset(0);
}

.equipos-viewport::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 190px;
    pointer-events: none;
}

.equipos-track {
    display: flex;
    transition: transform .35s ease;
    will-change: transform;
}

.equipos-page {
    position: relative;
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    gap: 18px;
    height: 250px;
    align-items: center;
    overflow: hidden;
}

.equipos-page .equipo {
    width: auto;
    flex: 0 0 210px;
}

.equipos-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-120%);
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    z-index: 50;
    font-size: 54px;
    line-height: 1;
    color: #5d5d5d;
}

#equipos .equipos-arrow.prev {
    left: 300px;
}

#equipos .equipos-arrow.next {
    right: 300px;
}

.equipos-arrow:disabled {
    opacity: .35;
    cursor: default;
}

.equipo-img {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    transition: transform .2s ease;
    overflow: hidden;
}

.equipo-img img {
    width: 92%;
    height: 92%;
    object-fit: cover;
    transform: scale(1.18);
}

.equipo-img {
    transition: transform .2s ease;
}

.equipo-img:hover {
    transform: scale(1.03);
}

.equipo {
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.texto-equipo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    margin-top: 10px;
    width: 100%;
    height: 30%;
}

.texto-equipo p {
    font-size: 0.8rem;
    font-weight: 700;
    color: #2f4874;
}

.insumos {
    margin-top: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.insumos-grid {
    margin-top: 60px;
    width: 70%;
    display: flex;
    justify-content: center;
    gap: 80px;
}

.insumo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.insumo-img {
    width: 280px;
    height: 170px;
    background: #fff;
    border-radius: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
    overflow: hidden;
    transition: transform .2s ease;
    overflow: hidden;
}

.insumo-img:hover {
    transform: scale(1.02);
}

.insumo-img img {
    width: 88%;
    height: 88%;
    object-fit: cover;
    transform: scale(1.18);
}

.insumo-txt {
    margin-top: 18px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #2f4874;
    text-align: center;
}

.distincion {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding: 60px 0 120px;
    margin-top: 100px;
}

.distincion .stat-distincion,
.distincion .stat-distincion p,
.distincion .stat-distincion span,
.distincion .stat-distincion small {
    font-weight: 400;
}

.distincion-stats {
    width: min(1600px, 92vw);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.stat-distincion {
    flex: 1 1 0;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 200px;
    padding: 0 45px;
    position: relative;
}

.stat-distincion:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 130px;
    background: rgba(0, 0, 0, .25);
}

.stat-onda-distincion {
    margin-top: auto;
    display: block;
    width: 95px;
    height: auto;
    opacity: .7;
}

.human {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 240px;
}

.human-titulo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.human-titulo h2 {
    text-align: center;
    font-weight: 300;
}

.human-titulo h2::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    background-color: #023187;
    margin: 34px auto 0 auto;
    border-radius: 2px;
}

.container-human-cards {
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    margin-top: 80px;
}

.human-card {
    width: 20%;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.human-card-media {
    height: 115px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    z-index: 2;
}

.human-card-media img {
    width: 130%;
    max-width: none;
    height: 100%;
    object-fit: contain;
    display: block;
}

.human-card-body {
    width: 100%;
    background: #fff;
    border-radius: 0 0 22px 22px;
    padding: 16px 14px 18px;
    text-align: center;
    margin-top: -12px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.human-card-body h5 {
    margin: 0;
    font-weight: 400;
    font-size: .85rem;
    line-height: 1.25;
}

.ovalo-fondo3 {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    pointer-events: none;
    margin-top: 0;
}

.ovalo-fondo3 img {
    width: min(1600px, 135vw);
    height: auto;
    display: block;
    opacity: 1;
}

.profesionales {
    margin-top: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.profesionales-grid {
    width: min(1100px, 92%);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 60px;
}

.profesionales-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 15px;
    color: #333;
}

.profesionales-list.left {
    text-align: right;
}

.profesionales-list.right {
    text-align: left;
}

.profesionales-photos {
    display: grid;
    grid-template-columns: repeat(2, 150px);
    gap: 18px;
}

.profesionales-photos img {
    width: 150px;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

.extras {
    margin-top: 150px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.extras-grid {
    width: min(980px, 92%);
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 28px 70px;
    align-items: start;
}

.extra-card {
    background: #f3f3f3;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 10px;
    height: 70px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;

    text-decoration: none;
    color: #5d5d5d;

    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.extra-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, .12);
}

.extra-title {
    font-size: 14px;
    font-weight: 500;
    opacity: .9;
}

.extra-btn {
    font-size: 12px;
    padding: 4px 18px;
    background: #dedede;
    border-radius: 999px;
    color: #666;
    line-height: 1;
}


.extra-card--wide {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(420px, 100%);
}

.premium {
    margin-top: 150px;
    padding-top: 40px;
    padding-bottom: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #fbfbff;
}

.premium-brand {
    font-family: "Century Gothic Local", "Poppins", Arial, sans-serif !important;
    position: absolute;
    top: 55px;
    left: 55px;
    font-size: 45px;
    font-weight: 300;
    color: #111;
    letter-spacing: .3px;
    font-family: inherit;
}

.premium h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: .8px;
    text-align: center;
}

.premium-grid {
    width: min(1180px, 92%);
    display: grid;
    gap: 70px;
}

.premium-item {
    display: grid;
    grid-template-columns: 1fr 380px 1fr;
    align-items: center;
    column-gap: 70px;
}

.premium-text h3 {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 400;
    color: #1f1f1f;
}

.premium-text p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #3a3a3a;
}

.premium-text.left {
    text-align: right;
}

.premium-text.right {
    text-align: left;
}

.premium-img {
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .20);
}

.premium-img img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    transform: scale(1.06);
    transform-origin: center;
    display: block;
    border-radius: 10px;

}

.hide-desktop {
    display: none !important;
}

#listaDerechaMobile {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

#listaDerechaMobile.activo {
    max-height: 800px;
}

#institutoMobileExtra {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

#institutoMobileExtra.activo {
    max-height: 800px;
}

#tecnologiaMobileExtra {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

#tecnologiaMobileExtra.activo {
    max-height: 800px;
}


/* ===============================
    RESPONSIVE
   =============================== */

/* 🔹 Hasta tablets (≤ 992px) */
@media (max-width: 992px) {

    .hide-mobile {
        display: none !important;
    }

    .hide-desktop {
        display: block !important;
    }

    .topbar {
        background: none !important;
        width: 100%;
        min-height: 100px;
        background-color: #fbfbff;
        border: none;
    }

    .topbar-content {
        min-height: 90px !important;
        justify-content: space-between !important;
        gap: 0;
        background-color: #f0f0f0 !important;
    }

    .nav-mob {
        display: flex !important;
        align-items: center !important;
    }

    .nav-mob span,
    .nav-mob span b {
        font-size: 1.8rem;
        font-family: "Century Gothic Local", "Poppins", Arial, sans-serif !important;
        font-weight: 600;
    }

    .nav-mob img {
        margin-left: 20px !important;
        margin-right: 30px !important;
    }

    .topbar strong {
        font-size: 0.9rem;
        text-align: center;
        font-size: 20px !important;
    }

    .navbar-institucional {
        display: none;
    }

    .logo-topbar {
        width: 20%;
        height: auto;
        object-fit: contain;
        padding-left: 10px;
    }

    .menu-toggle {
        background: none;
        border: none;
        cursor: pointer;
        color: #2c4571;
        font-size: 2.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 20px !important;
    }

    .menu-toggle i.bi {
        font-weight: 900;
        line-height: 1;
    }


    .menu-toggle i.bi {
        -webkit-text-stroke: 0.6px currentColor;
    }

    .menu-mobile {
        position: fixed;
        right: 0;
        top: 0;
        width: 50%;
        background-color: #ffffff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        padding: 20px 0;
        z-index: 999;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .close-menu {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        margin-bottom: 10px;
    }

    .close-menu button {
        background: none;
        border: none;
        color: #1f2e48;
        font-size: 1.8rem;
        cursor: pointer;
        transition: color 0.3s;
    }

    .close-menu button:hover {
        color: #541486;
    }

    .menu-mobile.activo {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .primer-banner {
        margin-top: 80px !important;
        justify-content: center !important;
    }

    .primer-banner span {
        font-size: 2.5rem !important;
        line-height: 3rem !important;
    }

    .segundo-banner {
        margin-top: 0 !important;
        margin-bottom: 40px !important;
        justify-content: center !important;
    }

    .segundo-banner span {
        font-size: 1.1rem !important;
        font-weight: 400 !important;
    }

    .nav-links-mobile {
        list-style: none;
        padding: 0 15px 0 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 15px;
    }

    .nav-links-mobile li a {
        text-decoration: none;
        color: #1f2e48;
        font-size: 1.1rem;
        font-weight: 500;
        transition: color 0.3s;
    }

    .nav-links-mobile li a:hover {
        color: #117a8b;
    }

    .botbar-grid {
        flex-direction: column !important;
    }

    .primer-banner-contacto {
        padding: 15px 5px !important;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 20px;
        background-image: url("../medici/Barra Final.png") !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: -4280px center;
    }

    .pbc-left {
        order: 1;
    }

    .botbar-grid {
        order: 2;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        padding: 0 12px;
        display: flex;
        flex-direction: column !important;
        gap: 20px !important;
        align-items: stretch;
    }

    .botbar-grid p {
        font-size: 0.95rem !important;
    }

    .botbar-col {
        width: 100%;
        grid-template-columns: 110px 1fr;
        column-gap: 14px;
        row-gap: 10px;
    }

    .botbar-col::before {
        left: calc(110px + 7px);
        top: -6px;
        bottom: -6px;
    }

    .botbar-col .label {
        justify-self: end;
        text-align: right;
        padding-right: 6px;
    }

    .botbar-col .value {
        justify-self: start;
        text-align: left;
    }

    .pbc-right {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        margin-top: 6px;
        text-align: center;
    }

    .topbar {
        margin-bottom: 0 !important;
    }

    .imagen-fondo1 {
        margin-top: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .imagen-fondo1 img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block !important;
        position: relative !important;
        z-index: -1 !important;
        opacity: 1 !important;
    }


    .texto-encima-estudio h2 {
        font-size: 2rem !important;
        font-weight: 600 !important;
    }

    .texto-encima-estudio p {
        font-size: 0.8rem;
        font-weight: 400;
        margin-top: 10px;
        border-bottom: 3px solid #fff;
        padding-bottom: 4px;
    }

    .estudio {
        width: 110%;
    }

    .texto-estudio p {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .section-title {
        max-width: 90% !important;
        font-size: 1.5rem;
    }

    .estudios {
        margin-top: 40px !important;
        margin-bottom: 70px !important;
    }

    /* MECÁNICA SWIPE REUTILIZABLE */
    .m-swipe {
        width: 100% !important;
        padding: 0 !important;
        margin-top: 20px !important;
    }

    .m-swipe .estudios-arrow,
    .m-swipe .equipos-arrow {
        display: none !important;
    }

    .m-swipe .estudios-viewport,
    .m-swipe .equipos-viewport {
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch;
        padding-left: 26px !important;
        padding-right: 10px !important;
        scroll-padding-left: 26px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .m-swipe .estudios-viewport::-webkit-scrollbar,
    .m-swipe .equipos-viewport::-webkit-scrollbar {
        height: 0;
    }

    .m-swipe .estudios-track,
    .m-swipe .equipos-track {
        transform: none !important;
        display: flex !important;
        gap: 18px !important;
        width: max-content !important;
        will-change: auto !important;
    }

    .m-swipe .estudios-page,
    .m-swipe .equipos-page {
        display: contents !important;
    }

    .m-swipe .estudio,
    .m-swipe .equipo {
        width: auto !important;
        flex: 0 0 calc((100vw - 32px - 28px) / 2.5) !important;
        scroll-snap-align: start;
    }

    #servicios .img-circulo {
        width: 100% !important;
        height: 140px !important;
        border-radius: 50px !important;
        overflow: hidden !important;
        box-shadow: 0 8px 18px rgba(0, 0, 0, .12) !important;
        background: transparent !important;
    }

    #servicios .img-circulo img,
    #servicios .estudio img {
        border-radius: 22px !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transform: none !important;
        display: block !important;
    }

    #servicios .img-circulo img {
        transform: scale(1.06) !important;
        transform-origin: center !important;
    }

    #servicios .texto-estudio {
        margin-top: 10px !important;
        height: auto !important;
    }

    #servicios .texto-estudio p {
        font-size: .78rem !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
        margin: 0 !important;
    }

    #servicios .texto-estudio a {
        font-size: .78rem !important;
        margin-top: 2px !important;
    }

    .trayectoria {
        padding-bottom: 50px !important;
    }

    #trayectoria .trayectoria-stats {
        width: min(520px, 92vw) !important;
        margin: 85px auto 0 !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 34px !important;
        row-gap: 42px !important;
        justify-items: center !important;
        align-items: start !important;
        text-align: center !important;
    }

    #trayectoria .stat {
        padding: 0 10px !important;
        min-height: 150px !important;
        width: 100% !important;
    }

    #trayectoria .stat-onda {
        margin-top: auto !important;
        transform: translateY(-25px) !important;
    }

    #trayectoria .stat:not(:first-child)::before {
        display: none !important;
    }

    #trayectoria .stat:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    #trayectoria .stat:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    #trayectoria .stat:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }

    #trayectoria .stat:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    #trayectoria .stat:nth-child(2)::before,
    #trayectoria .stat:nth-child(3)::before {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        left: -17px !important;
        top: 50% !important;
        transform: translateY(-80%) !important;
        width: 1px !important;
        height: 120px !important;
        background: #000 !important;
        opacity: .55 !important;
    }

    #trasparencia .section-title {
        color: #66527c !important;
    }

    #trasparencia .section-title::after {
        background-color: #66527c !important;
    }

    #trasparencia .logos-arrow {
        display: none !important;
    }

    #trasparencia .logos-viewport {
        overflow: hidden !important;
        width: 100% !important;
    }

    #trasparencia .logos-track {
        display: flex !important;
        will-change: transform !important;
        transform: translate3d(0, 0, 0);
    }

    #trasparencia .logos-page {
        flex: 0 0 100% !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        grid-auto-rows: auto !important;
        align-items: center !important;
        justify-items: center !important;
        gap: 12px 14px !important;
        padding: 16px 12px !important;
    }

    #trasparencia .logos-page img {
        width: 100% !important;
        max-width: 140px !important;
        max-height: 62px !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    #trasparencia .logos-slider {
        width: 92% !important;
        margin: 0 auto !important;
        padding: 0 10px !important;
    }

    .imagen-fondo1 {
        margin-top: 0 !important;
        width: 100% !important;
        height: 150px !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .imagen-fondo1 img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }

    .imagen-fondo1 .texto-encima-estudio {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        z-index: 2 !important;
        text-align: center !important;
    }

    .texto-encima-estudio {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 92% !important;
    }

    .texto-encima-estudio h2 {
        font-size: 1.5rem !important;
        font-weight: 300 !important;
        margin: 0 !important;
        margin-bottom: 10px !important;
    }

    .texto-encima-estudio p {
        font-size: 1.4rem !important;
        font-weight: 200 !important;
        margin-top: 6px !important;
        border-bottom: none !important;
        padding-bottom: 0 !important;
        white-space: normal !important;
        max-width: 100% !important;
    }

    .equipos {
        margin-top: 50px !important;
    }

    .equipos-slider {
        margin-top: 100px !important;
    }

    #equipos .equipo {
        flex: 0 0 calc((100vw - 32px - 36px) / 3.2) !important;
    }

    #equipos .equipo-img {
        width: 100% !important;
        height: 120px !important;
        border-radius: 26px !important;
    }

    #equipos .equipo-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transform: none !important;
    }

    #equipos .texto-equipo p {
        font-size: .78rem !important;
        line-height: 1.15 !important;
    }

    #insumos .insumos-grid {
        width: 100% !important;
        margin-top: 65px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 26px !important;
    }

    #insumos .insumo {
        width: min(420px, 92vw) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    #insumos .insumo-img {
        width: 55% !important;
        height: 140px !important;
        border-radius: 34px !important;
        background: #fff !important;
        box-shadow: 0 12px 26px rgba(0, 0, 0, .10) !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #insumos .insumo-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        display: block !important;
        clip-path: inset(6px round 18px) !important;
    }

    #insumos .insumo-txt {
        margin-top: 10px !important;
        font-size: .9rem !important;
        font-weight: 500 !important;
        text-align: center !important;
        color: #111 !important;
    }

    #distincion {
        padding: 40px 0 60px !important;
        margin-top: 80px !important;
    }

    #distincion .distincion-stats {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 48px !important;
    }

    #distincion .stat-distincion {
        width: min(520px, 92vw) !important;
        padding: 0 18px !important;
        text-align: center !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;

        min-height: auto !important;
    }

    #distincion .stat-distincion:not(:last-child)::after {
        display: none !important;
    }

    #distincion .stat-onda {
        margin-top: 16px !important;
        width: 110px !important;
        opacity: .85 !important;
    }

    #distincion .stat-distincion:nth-child(2) {
        order: 1 !important;
    }

    #distincion .stat-distincion:nth-child(1) {
        order: 2 !important;
    }

    #distincion .stat-distincion:nth-child(3) {
        order: 3 !important;
    }

    #distincion .stat-top {
        font-size: 1.4rem !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
    }

    #distincion .stat-bottom {
        font-size: 1.2rem !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;
    }

    #distincion .stat-top.mb-2,
    #distincion .stat-bottom.mb-2 {
        margin-bottom: 6px !important;
    }

    #human .human-titulo h2 {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
        font-weight: 400 !important;
        padding: 0 12px !important;
        margin-bottom: 90px !important;
    }

    #human .human-titulo h2::after {
        margin-top: 10px !important;
    }

    #human {
        overflow: visible !important;
        padding-bottom: 90px !important;
    }

    #human .human-slider {
        margin-top: 20px !important;
        padding: 0 !important;
    }

    #human .human-viewport {
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch;
        padding-left: 26px !important;
        padding-right: 10px !important;
        padding-top: 70px !important;
        padding-bottom: 26px !important;
        scroll-padding-left: 26px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    #human .human-viewport::-webkit-scrollbar {
        height: 0;
    }

    #human .human-track {
        display: flex !important;
        gap: 58px !important;
        width: max-content !important;
    }

    #human .human-page {
        display: contents !important;
    }

    #human .human-card {
        flex: 0 0 calc((100vw - 32px - 28px) / 2.35) !important;
        width: auto !important;
        scroll-snap-align: start;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    #human .human-card-media {
        height: 140px !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        position: relative !important;
        z-index: 3 !important;
        margin-top: -70px !important;
        pointer-events: none;
    }

    #human .human-card-media img {
        width: 128% !important;
        max-width: none !important;
        height: 140px !important;
        object-fit: contain !important;
        display: block !important;
    }

    #human .human-card-body {
        margin-top: -10px !important;
        padding: 10px 10px 12px !important;
        min-height: 120px !important;
        height: auto !important;
        border-radius: 0 0 18px 18px !important;
        box-shadow: 0 12px 22px rgba(0, 0, 0, .12) !important;
    }

    #human .human-card-body h5 {
        font-size: .74rem !important;
        line-height: 1.15 !important;
        margin: 0 !important;
        font-weight: 500 !important;
    }

    #profesionales .profesionales-grid {
        width: min(520px, 92vw) !important;
        margin: 50px 0 0 150px !important;

        display: grid !important;
        grid-template-columns: 1fr !important;
        row-gap: 18px !important;
        column-gap: 0 !important;
        justify-items: center !important;
        align-items: start !important;
    }

    #profesionales .profesionales-photos {
        display: none !important;
    }

    #profesionales .profesionales-list {
        width: 100% !important;
        text-align: start !important;
        gap: 14px !important;
        font-size: 15px !important;
        color: #333 !important;
    }

    #profesionales .profesionales-list.left {
        order: 1 !important;
    }

    #profesionales .profesionales-list.right {
        order: 2 !important;
    }

    #profesionales .profesionales-list li {
        line-height: 1.2 !important;
    }

    .extras {
        margin-top: 120px !important;
    }

    #extras .extras-grid {
        width: min(520px, 72vw) !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        justify-items: center !important;
    }

    #extras .extra-card {
        width: 100% !important;
        height: 74px !important;
        border-radius: 12px !important;
        gap: 6px !important;
    }

    #extras .extra-title {
        font-size: 13.5px !important;
        text-align: center !important;
        padding: 0 14px !important;
        line-height: 1.15 !important;
        white-space: normal !important;
    }

    #extras .extra-btn {
        font-size: 12px !important;
        padding: 5px 22px !important;
    }

    #extras .extra-card--wide {
        grid-column: auto !important;
        justify-self: stretch !important;
        width: 100% !important;
    }

    #premium {
        margin-top: 90px !important;
        padding-bottom: 70px !important;
    }

    .premium h2 {
        margin-bottom: 100px !important;
        max-width: 90% !important;
        font-size: 1.5rem;
    }

    .premium h2::after {
        content: "";
        display: block;
        width: 150px;
        height: 2px;
        background-color: #521292;
        margin: 8px auto 0;
        border-radius: 2px;
    }

    #premium .premium-grid {
        width: min(520px, 92vw) !important;
        margin: 0 auto !important;
        display: grid !important;
        gap: 65px !important;
    }

    #premium .premium-item {
        display: grid !important;
        grid-template-columns: 1fr !important;
        row-gap: 65px !important;
        column-gap: 0 !important;
        align-items: start !important;
    }

    #premium .premium-text {
        text-align: center !important;
    }

    #premium .premium-text.left,
    #premium .premium-text.right {
        text-align: center !important;
    }

    #premium .premium-text h3 {
        font-size: 1.15rem !important;
        font-weight: 600 !important;
        margin: 0 0 10px 0 !important;
    }

    #premium .premium-text p {
        font-size: .92rem !important;
        line-height: 1.45 !important;
        margin: 0 !important;
        color: #3a3a3a !important;
    }

    #premium .premium-img {
        display: none !important;
    }

    #premium .premium-item.mt-5 {
        margin-top: 0 !important;
    }

    .botbar-content span {
        font-size: 1.8rem !important;
        font-weight: 600 !important;
    }

    .topbar {
        padding-bottom: 10px !important;
    }

    .botbar-content {
        color: #d9d9d9 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 10px;
        background: linear-gradient(to right, #8c60bb 0%, #5b2395 100%);
        text-align: center;
        margin-top: 0 !important;
    }

    .botbar {
        background-image: url("../medici/Barra Final.png");
        border-top: none !important;
        border-bottom: none !important;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 21px 0 !important;
        gap: 10px;
        text-align: center;
    }

    .mobile-br::after {
        content: "\A" !important;
        white-space: pre !important;
    }

    .botbar-horario {
        position: static !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        order: 3 !important;
        width: 100% !important;
        margin-top: 14px !important;
        text-align: center !important;
        line-height: normal !important;
        white-space: nowrap !important;
    }

    .titulo-botbar {
        order: 1 !important;
    }

    .botbar-grid {
        order: 2 !important;
    }

    .botbar-horario span {
        display: inline !important;
        font-size: 1rem !important;
    }

    .botbar-horario span+span::before {
        content: " " !important;
    }
}