/* RESET BÁSICO */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
            background-color: #f5f5f5;
                font-size: 14px;
    font-weight: 500;
    line-height: 1.7em;
        }
        a {
    color:#fff;
    text-decoration: none;
}
.btn-link {
    text-decoration: none!important;
}
.btn-primary {
    background-color: #00815c!important; 
    border-color: #00815c !important;
}
.btn-warning {
    background-color: #e5b300 !important; 
    border-color: #e5b300  !important;
    color: #fff !important;
}
.font-11{
  font-size: 11px!important;
}
.btn{
  font-size: 11px!important;
}
/* HERO */
.hero {
  min-height: calc(100vh - 140px); /* ajustable según altura header */
  width: 100%;
  /*background-color: #0f3a4b;  ← luego puedes cambiar a imagen */
 /*  background-image: url("../img/bg-postulaciones.webp");
  background-size: cover; 
  background-position: center;  */
}
.hero-wrapper {
  min-height: 100vh;
  width: 100%;
  background-image: url("../img/bg-postulaciones.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.text-yellow{
  color: #f9ee55;
}
/* TEXTO */
.hero-eyebrow {
  letter-spacing: 1px;
  font-family: proxima-nova, sans-serif;
font-weight: 900;
font-style: normal;
font-size: 30px;
font-style: normal;
}
.geombold{
  font-family: geom-graphic, sans-serif;
  font-weight: 800!important;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-family: geom-graphic, sans-serif;
font-style: normal;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.9;
  font-family: geom-graphic, sans-serif;
font-weight: 700;
font-style: normal;
text-transform: uppercase;
}

/* LINKS INFERIORES */
.hero-links li {
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  font-family: proxima-nova, sans-serif;
font-weight: 800;
font-style: normal;
}
.hero-links li a{
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  color: #fff!important;
  text-decoration: none;
  font-family: proxima-nova, sans-serif;
font-weight: 800;
font-style: normal;
}

.hero-links li:not(:last-child)::after {
  content: "•";
   margin: 0 0.5rem; 
}
.hero-links-2 li {
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  font-family: proxima-nova, sans-serif;
font-weight: 800;
font-style: normal;
}
.hero-links-2 li a{
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  color: #fff!important;
  text-decoration: none;
  font-family: proxima-nova, sans-serif;
font-weight: 800;
font-style: normal;
}

.hero-links-2 li:not(:last-child)::after {
  content: "|";
  margin: 0 0.5rem 0 0.5rem;
  
}
/* ACCESIBILIDAD */
.btn:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}
.topbar {
  background-color: #0b5d7a;
}

.topbar .btn-link {
  text-decoration: none;
}

.topbar .dropdown-toggle::after {
  margin-left: 0.3rem;
}

/* NAVBAR */
.main-navbar {
/*   background-color: #4c5560;
 */  padding-bottom: .5rem;
 position: relative;
}

/* OFFCANVAS */
.mobile-menu {
  background-color: #005f8d;
  color: white;
}

.mobile-item {
  background-color: #005f8d;
  color: white;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-item span {
  font-size: 1.2rem;
}

.section-divider {
  background-color: #ffffff;
  color: #005f8d;
  font-weight: 600;
}

.botoneraprinc{
  font-family: "proxima-nova", sans-serif;
font-weight: 800;
font-style: normal;
text-transform: uppercase;
}
.text-blue{
  color: #295383;
  font-family: proxima-nova, sans-serif;
font-weight: 800;
font-style: normal;
}
.text-blanco{
color: #fff;
  font-family: proxima-nova, sans-serif;
font-weight: 800;
font-style: normal;
}

.btn-light{
  background-color: #fff!important;
}
.btn-info{
background-color: #47a7d1!important;
}
.btn-warning{
background-color: #f0e53c!important;
}
.list-inline-item:not(:last-child) {
    margin-right: 0!important;
}

/* .has-mega {
  position: relative;
} */

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1140px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
  z-index: 999;
  margin: 0 auto;
}

.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.mega-col h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.mega-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-col a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  color: #003A8F;
}

.mega-col a:hover {
  background: #E8F6FF;
}

.icon {
  font-size: 12px;
  margin-left: 8px;
}

.main-menu .has-mega {
  position: static;
}


.mobile-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.mobile-submenu {
  padding: 12px 16px;
  background: #f8f9fa;
}

.mobile-submenu strong {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
}

.mobile-submenu a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: #003A8F;
  text-decoration: none;
}

.mobile-submenu a:hover {
  text-decoration: underline;
}

.menu-icon {
  font-size: 12px;
  transition: transform .25s ease;
}

/* cuando el mega menú está visible */
.has-mega:hover .menu-icon {
  transform: rotate(180deg);
}


.has-mega:hover > a .menu-icon {
  transform: rotate(180deg);
}


/* SECTION */
.news-section {
  padding: 60px 0;
}

/* HEADER */
.news-title {
  font-size: 32px;
  font-weight: 700;
}

.news-more {
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.news-more span {
  display: inline-block;
  margin-left: 6px;
  background: #f4b400;
  color: #000;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
}

/* CARD */
.news-card {
  display: block;
  position: relative;
  height: 380px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

/* OVERLAY */
.news-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.75) 30%,
    rgba(0,0,0,.2) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

/* CONTENT */
.news-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  padding-left: 12px;
  border-left: 4px solid #f4b400;
  margin-bottom: 12px;
}

.news-date {
  font-size: 13px;
  color: #ddd;
}

/* SECTION */
.news-section {
  padding: 60px 0;
}

/* HEADER */
.news-title {
  font-size: 32px;
  font-weight: 700;
}

.news-more {
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.news-more span {
  display: inline-block;
  margin-left: 6px;
  background: #f4b400;
  color: #000;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
}

/* CARD */
.news-card {
  display: block;
  position: relative;
  height: 380px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

/* OVERLAY */
.news-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.75) 30%,
    rgba(0,0,0,.2) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

/* CONTENT */
.news-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  padding-left: 12px;
  border-left: 4px solid #f4b400;
  margin-bottom: 12px;
}

.news-date {
  font-size: 13px;
  color: #ddd;
}

        
        .footer-usm {
            background-color: #005f8d;
            color: white;
            padding: 60px 0 40px;
        }
        
        .footer-usm h5 {
            font-size: 16px;
            font-weight: 700;
            letter-spacing: 0.5px;
            margin-bottom: 15px;
            text-transform: uppercase;
        }
        
        .footer-usm ul {
            list-style: none;
            padding: 0;
        }
        
        .footer-usm ul li {
            /* margin-bottom: 12px; */
            position: relative;
        }
        
        .footer-usm ul li a {
            color: white;
            text-decoration: none;
            font-size: 14px;
            font-weight: 400;
            transition: all 0.3s ease;
            display: inline-block;
            padding-left: 0;
            position: relative;
        }
        
        .footer-usm ul li a:before {
            content: '';
            position: absolute;
            left: -10px;
            top: 0;
            bottom: 0;
            width: 4px;
            background-color: #ffa500;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        /* .footer-usm ul li a:hover {
            padding-left: 10px;
        } */
        .footer-usm ul li a:hover {
            color: #ffa500;
            transition: opacity 0.3s ease;
        }

        .footer-usm ul li a:hover:before {
            opacity: 1;
        }
        
        .footer-usm ul li:first-child a {
           /*  color: #ffa500;
            font-weight: 600; */
        }
        
        .privacy-link {
            display: inline-flex;
            align-items: center;
            color: white;
            text-decoration: none;
            font-size: 14px;
            margin-top: 20px;
            transition: color 0.3s ease;
        }
        
        .privacy-link:hover {
            color: #ffa500;
        }
        
        .privacy-link i {
            margin-right: 8px;
            font-size: 18px;
        }
        
        .logo-usm {
            max-width: 180px;
            margin-top: 30px;
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin: 30px 0;
        }
        
        .social-icons a {
            width: 40px;
            height: 40px;
            background-color: white;
            color: #005f8d;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 18px;
        }
        
        .social-icons a:hover {
            background-color: #ffa500;
            color: white;
            /* transform: translateY(-3px); */
        }
        
        .acreditacion-box {
            /* border: 2px solid white;
            border-radius: 15px;
            padding: 30px 25px; */
            text-align: center;
            max-width: 280px;
            margin: 0 auto;
        }
        .privacy-link2 a::before {
            content: "";
            display: inline-block;
            width: 25px;
            height: 25px;
            background: url(img/icono-seguridad.png) no-repeat;
            background-size: cover;
            margin-right: 8px;
        }
        .acreditacion-box .logo-acreditacion {
            max-width: 120px;
            margin-bottom: 15px;
        }
        
        .acreditacion-box h6 {
            font-size: 13px;
            font-weight: 600;
            margin: 10px 0 5px;
            line-height: 1.4;
        }
        
        .acreditacion-box .universidad-name {
            font-size: 11px;
            font-weight: 700;
            margin-bottom: 15px;
        }
        
        .acreditacion-box .badge-excelencia {
            background-color: white;
            color: #005f8d;
            padding: 4px 15px;
            border-radius: 3px;
            font-size: 10px;
            font-weight: 700;
            display: inline-block;
            margin-bottom: 15px;
        }
        
        .acreditacion-box .items-list {
            text-align: left;
            font-size: 11px;
            margin-bottom: 15px;
            line-height: 1.6;
        }
        
        .acreditacion-box .proxima-acreditacion {
            font-size: 11px;
            font-weight: 600;
            margin-top: 15px;
        }
        
        .footer-bottom {
            background-color: #3d3d3d;
            padding: 40px 0;
        }
        
        .partners-logos {
            display: flex;
            align-items: center;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 30px;
        }
        
        .partners-logos img {
            max-height: 50px;
            filter: brightness(0) invert(1);
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }
        
        .partners-logos img:hover {
            opacity: 1;
        }
        .redes{
            margin-top: -150px;
        }
        @media (max-width: 768px) {
            .footer-usm {
                padding: 40px 0 30px;
            }
            
            .acreditacion-box {
                margin-top: 30px;
            }
            
            .partners-logos {
                gap: 20px;
            }
            .redes{
            margin-top: 0px;
            }
            .logo-usm{
            margin: 0 auto;
            }
        }
/* CAROUSEL ESTILO */
 @media (max-width: 768px) {
	 .carousel-inner .carousel-item > div {
		 display: none;
	}
	 .carousel-inner .carousel-item > div:first-child {
		 display: block;
	}
}
 .carousel-inner .carousel-item.active, .carousel-inner .carousel-item-start, .carousel-inner .carousel-item-next, .carousel-inner .carousel-item-prev {
	 display: flex;
}
/* display 4 */
 @media (min-width: 768px) {
	 .carousel-inner .carousel-item-right.active, .carousel-inner .carousel-item-next, .carousel-item-next:not(.carousel-item-start) {
		 transform: translateX(25%) !important;
	}
	 .carousel-inner .carousel-item-left.active, .carousel-item-prev:not(.carousel-item-end), .active.carousel-item-start, .carousel-item-prev:not(.carousel-item-end) {
		 transform: translateX(-25%) !important;
	}
	 .carousel-item-next.carousel-item-start, .active.carousel-item-end {
		 transform: translateX(0) !important;
	}
	 .carousel-inner .carousel-item-prev, .carousel-item-prev:not(.carousel-item-end) {
		 transform: translateX(-25%) !important;
	}
}
 
.footer3{
    background-color: #191919;
    color: white;
    font-family: "Montserrat", Sans-serif;
    font-size: 0.75em;
    line-height: 1.5em;
}
.footer3 p{
        margin-top: 1.5em;
}



/* ===== TOPBAR SUBMENUS ===== */

.topbar .dropdown-menu {
  font-size: 13px;
  border-radius: 6px;
}

.topbar .dropdown-info {
  min-width: 240px;
}

/* Submenu */
.topbar .dropdown-submenu {
  position: relative;
}

.topbar .dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 2px;
  display: none;
  min-width: 220px;
}

.topbar .dropdown-submenu:hover > .dropdown-menu {
  display: block;
}
.dropdown-item{
    font-size: 11px!important;
}
.newicon{
  font-size: 8px!important;
  padding : 2px!important;
  background-color: #e5b300;
}
/* Iconos */
.topbar .dropdown-item i {
  width: 18px;
  font-size: 13px;
  opacity: .85;
}

/* Hover elegante */
.topbar .dropdown-item:hover {
  background-color: #f1f6fa;
}

/* Flecha submenu */
.topbar .submenu-arrow {
  font-size: 12px;
  opacity: .6;
  transition: transform .2s ease;
}

/* Animación al hover */
.topbar .dropdown-submenu:hover .submenu-arrow {
  transform: translateX(3px);
  opacity: .9;
}

/* Separadores entre items del dropdown (solo desktop) */
@media (min-width: 992px) {

  .topbar .dropdown-menu > li {
    border-bottom: 1px solid #e6e6e6;
  }

  /* Quitar borde al último item */
  .topbar .dropdown-menu > li:last-child {
    border-bottom: none;
  }

  /* Ajuste visual para que no quede pegado */
  .topbar .dropdown-item {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
