:root{
  font-size: 13px;
  font-family: 'Roboto', "Arial", sans-serif;
  --color-gris-fondo: #f5f6f8;
  --color-gris-dashboard: #ecf0f1;
  --color-texto-gris: #666666;
  --color-text-negro: #333333;
  --color-input-gris: #b5babb;
  --color-texto-verde: #3B4B8A;
  --color-verde-claro: #159a1c;
  --color-verde-cec: #223265;
  --color-rojo-error: #ff3333;
  --color-azul-background: #06147a;
  --color-azul-pago: #24306c;
  --color-menu-texto: #3a3a3a;
  --color-oficial-cec: #223265;
  --color-variante1-cec: #3B4B8A;
  --color-variante2-cec: #2F3F78;
  --color-variante3-cec: #5566A6;
  --color-cec-secundario: #29aae1;
  --color-gris-es: #e8e9eb;
}
@font-face {
  font-family: 'Roboto';
  src: url("../fonts/Roboto-Regular.5673da52c98b.ttf");
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway/Raleway-Regular.7323274dbcdb.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway/Raleway-Italic-VariableFont_wght.6afc0711e711.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway/Raleway-SemiBold.5aee7a8bf379.ttf") format("truetype");
  font-weight: 600;
  font-style: bold;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat/Montserrat-Medium.9d496514aedf.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat/Montserrat-Italic-VariableFont_wght.1cd1b7e6ec79.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat/Montserrat-SemiBold.c1bd726715a6.ttf") format("truetype");
  font-weight: 600;
  font-style: bold;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat/Montserrat-ExtraBold.8a50619755ab.ttf") format("truetype");
  font-weight: 800;
  font-style: bolder;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat/Montserrat-Light.5cbf5cdcf7ec.ttf") format("truetype");
  font-weight: 200;
  font-style: lighter;
  font-display: swap;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  /*font-family: "Raleway", sans-serif;*/
}
/* ================= ERRORES =================*/
.web_error-defalut{
  margin: 8rem auto;
  width: max-content;
}
.web_error-defalut h2{
  text-align: center;
}
.web_error-defalut{
  font-size: 2.5rem;
}
/* ================= TOPBAR ================= */
.cec-contactos{
  display: flex;
  gap: .5rem;
}
.cec__contactos-a{
  text-decoration: none;
  display: flex;
}
.cec__contactos-a span{
  background-color: var(--color-cec-secundario);
  padding: .5rem;
  height: 1.4rem;
  color: #0a0a0a;
}
.cec__contactos-svg path{
  stroke: #0a0a0a;
}
.cec__contactos-a span:nth-child(1){
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
  height: 1.4rem;
  width: 1.5rem;
  margin-right: -1.5rem;
}
.cec__contactos-a span:nth-child(2){
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-left: 0;
  padding-right: .5rem;
  font-size: .9rem;
  z-index: 1;
}
.cec__contactos-a span:nth-child(3){
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  height: 1.4rem;
  width: 1.5rem;
  margin-left: -1.5rem;
}
.cec-topbar {
  background: var(--color-oficial-cec);
  padding: 4px 0;
  font-size: 14px;
}
.cec__contactos-hr{
  padding: 1rem 0;
  margin: 0 .6rem;
}
.cec-topbar-container {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: end;
}
.cec-topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: .5rem;
}
.cec-topbar-link {
  color: var(--color-gris-es);
  padding: .5rem;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .2rem;
  font-weight: 200;
  font-size: .9rem;
  border: 1px solid var(--color-gris-es);
  border-radius: 5px;
}
.cec-topbar-social{
  display: flex;
  gap: .4rem;
  align-items: center;
}
.cec-topbar-social a{
  display: contents;
}
.cec-topbar-phone {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cec-topbar-link:hover{
  color: #008ca5;
}
.cec-topbar-link:hover{
  background-color: var(--color-gris-es);
  color: var(--color-oficial-cec);
  font-weight: 400;
}
.cec-topbar-social img:hover{
  filter: brightness(0) invert(1);
}
.cec__contactos-a:hover span{
  background-color: #0a0a0a;
  color: white;
}
.cec__contactos-a:hover svg{
  fill: var(--color-cec-secundario);
}
.cec__contactos-a:hover svg path{
  stroke: var(--color-cec-secundario);
}
/* ===== NAVBAR LAYOUT ===== */
.cec-navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  display: flex;
  justify-content: space-between; /* Logo izquierda / Menú derecha */
  align-items: center;
}

/* Logo */
.cec-navbar-left {
  display: flex;
  align-items: center;
}

/* Menú derecha */
.cec-navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Lista de menú */
.cec-menu-container {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
}

.cec-menu-item{
  text-transform: uppercase;
}
/* Enlaces */
.cec-menu-item a {
  text-decoration: none;
  color: var(--color-menu-texto);
  font-weight: 500;
}

/* ===== SUBMENÚ PRINCIPAL ===== */
.cec-has-submenu {
  position: relative;
}

.cec-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; /* Primer nivel hacia abajo */
  background: #fff;
  padding: 12px 0;
  min-width: 210px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.08);
  border-radius: 4px;
  list-style: none;
}

.cec-has-submenu:hover > .cec-submenu {
  display: block;
}

/* ===== SUBMENÚ DE TERCER NIVEL (HACIA LA DERECHA) ===== */
.cec-submenu-third {
  top: 0;
  left: 100%; /* Se abre a la derecha */
  border-radius: 4px;
}

/* Hover item padre */
.cec-submenu-right:hover > .cec-submenu-third {
  display: block !important;
}

/* Submenú internos */
.cec-submenu li a {
  display: block;
  padding: 8px 15px;
  color: #333;
}

.cec-submenu li a:hover {
  background: #f5f6f8;
}

/* ===== HAMBURGUESA MOBILE ===== */
/* Oculta el checkbox completamente */
.cec-side-menu {
  display: none !important;
}

/* Ocultar checkbox */
.cec-mobile-toggle {
  display: none;
}

/* Contenedor del botón hamburguesa */
.cec-mobile-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
}

/* Líneas de la hamburguesa */
.cec-mobile-btn span {
  display: block;
  height: 4px;
  width: 100%;
  background: #222;
  border-radius: 3px;
  transition: 0.35s ease;
}

.cec-has-submenu > a {
  position: relative;
  padding-right: 18px;
}

.cec-has-submenu > a::after {
  content: "▸";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .3s ease;
  font-size: 14px;
}

/* Rota flecha cuando submenu está abierto */
.cec-has-submenu.open-submenu > a::after {
  transform: translateY(-50%) rotate(90deg);
}

.gb__container{
  padding-left: 2rem;
  padding-right: 2rem;
}
.gb__container-top{
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.gb__vertical-margin-1{
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.gb__max-container{
  max-width: 1440px;
}
.gb__form-maxw{
  max-width: 900px;
}
.gb__flex{
  display: flex;
}
.gb__phone-section{
  display: flex;
  gap: 2rem;
}
.gb__contacts{
  display: flex;
  justify-content: space-between;
  background-color: var(--color-gris-fondo);
}
.gb__upcoming-events{
  color: var(--color-texto-gris);
  text-decoration: none;
  display: flex;
  align-items: center;
}
.gb__contacts-number{
  display: flex;
  align-items: center;
  font-size: .9em;
}
.gb__phone-icon svg{
  fill: #666666;
}
.gb__vertical-space{
  border: 2px solid var(--color-texto-gris);
  margin: 0;
  opacity: .5;
}
.gb__color-black{
  color: var(--color-text-negro);
}
/**********Oculta título en index***********/
.visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
/**************************/
.gb__navbar{
  display: flex;
  justify-content: space-between;
  z-index: 999;
  position: relative;
}
.gb__index-link{
  display: flex;
  justify-content: space-between;
}
.gb__nav-content{
  display: flex;
  /*width: 60%;*/
}
.gb__nav-menu{
  width: 60%;
  display: flex;
  align-items: center;
}
.gb__menu-ul{
  list-style: none;
  margin: 0;
}
.gb__menu-container{
  display: flex;
}
.gb__index-logo{
  display: flex;
  align-items: center;
}
.gb__menu-first{
    padding-top: 0;
    padding-bottom: 0;
    align-content: center;
  }
.gb__menu-first a{
  text-decoration: none;
  color: var(--color-text-negro);
  position: relative;
  padding: 1.5rem 1.2rem;
  display: flex;
}
.gb__menu-first a:hover{
  background-color: var(--color-gris-fondo);
}
.gb__menu-second{
  position: absolute;
  display:none;
  padding-left: 0;
  background-color: var(--color-gris-fondo);
}
.gb__menu-second>li{
  width: 100%;
  padding: 0;
  display: flex;
}
.gb__menu-second a{
  padding: .5rem 1.2rem;
}
.gb__menu-second>li:nth-child(1){
  position: relative;
  display: flex;
  margin-top: 1rem;
}
.gb__menu-second>li:nth-child(1)>a{
  display: flex;
  align-items: center;
  width: 100%;
}
.bg__img-arrow{
  margin-left: auto;
}
.bg__img-mobile{
  display: none;
  margin-left: auto;
}
.gb__menu-first:hover{
  .gb__menu-second{
    display: block;
  }
}
.gb__menu-second>li:hover{
  background-color: white;
  >a{
    color: var(--color-texto-verde);
    background-color: white;
  }
}
.gb__menu-third{
  position: absolute;
  display:none;
  left: 100%;
  width: max-content;
  padding:  0.5rem 1rem 0 0;
  background-color: white;
}
.gb__menu-third a{
  display: flex;
  padding: .5rem 1.2rem;
}
.gb__menu-third a:hover{
  color: var(--color-texto-verde);
}
.gb__menu-second>li:nth-child(1):hover{
  .gb__menu-third{
    display: block;
  }
}
.gb__hr-green{
  height: 5px;
  background-color: var(--color-texto-verde);
  margin: 0;
  border: 0;
}

/**** hamb ******/
.hh__hambmenu{
  display: none;
  margin-left: auto;
}
.hamb{
  cursor: pointer;
  float: left;
  padding: 1.5rem 0 1.5rem 2rem;
  margin-bottom: 0;
  height: 20px;
}
.hamb-line {
  background: black !important;
  display: block;
  height: 2px !important;
  position: relative;
  width: 24px;
} /* Style span tag */

.hamb-line::before,
.hamb-line::after{
  background: black;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}
.hamb-line::before{
  top: 5px;
}
.hamb-line::after{
  top: -5px;
}
.side-menu {
  display: none;
} /* Hide checkbox */
/* Toggle menu icon */
.side-menu:checked ~ nav{
  max-height: 100%;
}
.side-menu:checked ~ .hamb .hamb-line {
  background: transparent !important;
}
.side-menu:checked ~ .hamb .hamb-line::before {
  transform: rotate(-45deg);
  top:0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
  transform: rotate(45deg);
  top:0;
}
.arrow-rotate{
  transition: .33seg;
  transform: rotateZ(90deg);
}
.hidden-arrow{
  display: none;
}

/***  footer ***/
.footer{
  margin-bottom: .5rem;
}
.footer__parent {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 1fr);
  /*gap: 8px;*/
  height: 40rem;
}
.footer__div1 {
  grid-row: span 5 / span 5;
}
.footer__div2 {
  grid-row: span 5 / span 5;
  grid-column-start: 7;
  grid-row-start: 1;
}
.footer__div3 {
  grid-column: span 5 / span 5;
  grid-column-start: 2;
  grid-row-start: 1;
}
.footer__div4 {
  grid-column: span 5 / span 5;
  grid-row: span 4 / span 4;
  grid-column-start: 2;
  grid-row-start: 2;
}
.footer__div5 {
  grid-column: span 5 / span 5;
  grid-column-start: 8;
  grid-row-start: 1;
}
.footer__div6 {
  grid-column: span 5 / span 5;
  grid-row: span 4 / span 4;
  grid-column-start: 8;
  grid-row-start: 2;
  height: max-content;
}
.footer__div7 {
  grid-column: span 12 / span 12;
  grid-row-start: 6;
}
.footer__logo{
  width: fit-content;
}
.footer__area{
  background-color: var(--color-oficial-cec);
}
.footer__area-data{
  display: flex;
}
.footer__area-data>div{
  width: 50%;
}
.area__contacto-h3{
  color: white;
  margin-top: 0;
  text-transform: uppercase;
  font-weight: 600;
}
.area__campus-info{
  display: flex;
  align-items: anchor-center;
  margin-bottom: 1rem;
  gap: 1rem;
}
.area__campus-info img{
  height: fit-content;
}
.area__campus-info p,
.area__campus-info a{
  color: white;
  text-decoration: none;
  margin: .2rem 0;
}
.campus__info-head{
  font-weight: 600;
}
.campus__info-com{
  font-weight: 200;
}
.campus__marginv-auto{
  margin-top: auto;
  margin-bottom: auto;
}
.campus__top-auto{
  margin-top: auto;
}
.campus__bottom{
  margin-bottom: 4rem;
}

/* Nuestros Clientes */
.in__clients{
  overflow-x: hidden;
  padding: 3rem 0 4rem;
  background-color: #e5e5e5;
}
.in__clients-carousel{
  display: flex;
  align-items: center;
  position: relative;
  margin: 4rem 0;
}
.in__section__client{
  display: flex;
  width: 100%;
  position: absolute;
  background-color: white;
}
.in__client-info{
  display: flex;
  justify-content: space-evenly;
  width: 100%;
}
.in__client__control{
  color: var(--color-texto-gris);
}
.gb__required-symbol::after{
  content: '*';
  color: red;
  font-size: 1.2em;
  margin-left: 2px;
}
.gb__cec-color{
  color: var(--color-verde-cec);
}
.gb__question-wrapper{
  flex-direction: column;
}
.gb__forms-triangle{
  --size: 7px;
  display: block;
  width: 0;
  height: 0;
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-bottom: calc(var(--size) * 1.5) solid var(--color-text-negro);
  margin-left: .5rem;
}
.gb__question{
  min-width: 5rem;
  min-height: 1rem;
  font-size: .7rem;
  color: var(--color-gris-dashboard);
  background-color: var(--color-text-negro);
  border: 1px solid var(--color-text-negro);
  padding: .5rem;
  user-select: none;
  z-index: 1;
}
.gb__question>p{
  margin: 0;
}
.gb__modal{
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: rgba(33, 37, 41, .2);
}
.gb__modal-box{
  --width: 30rem;
  position: fixed;
  width: var(--width);
  top: 10rem;
  min-height: 5rem;
  left: calc(50% - var(--width) + calc(var(--width) / 2));
  border: 1px solid var(--color-input-gris);
  background-color: #fff;
  border-radius: .5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.gb__modal-title{
  border-bottom: 1px solid var(--color-input-gris);
  margin: 0;
  padding: 1rem .5rem .5rem 1rem;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.gb__modal-close{
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0 .5rem;
}
.gb__modal-message{
  margin: 0;
  padding: 1rem .5rem 2rem 1.5rem;
  font-size: .9rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.gb__response-ok{
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  height: 50vh;
}
.gb__response-ok>p{
  font-size: 1.2rem;
}
.in__shopping{
  position: absolute;
  right: .5rem;
  top: .5rem;
  background-color: var(--color-verde-cec);
}

/* ===== MOBILE ===== */
@media (max-width: 980px) {

  .cec-topbar{
    display: none;
  }
  .cec-navbar {
    padding: 10px 15px;
  }

  .cec-mobile-btn {
    display: flex;
  }

  /* ANIMACIÓN: hamburguesa → X */
  .cec-mobile-toggle:checked + .cec-mobile-btn span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .cec-mobile-toggle:checked + .cec-mobile-btn span:nth-child(2) {
    opacity: 0;
  }
  .cec-mobile-toggle:checked + .cec-mobile-btn span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .cec-menu-container {
    position: fixed;
    top: 70px; /* ajusta a tu navbar */
    right: -100%;
    width: 75%;
    height: calc(100vh - 70px);
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    gap: 20px;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: -2px 0 10px rgba(0,0,0,.15);
    z-index: 1000;
  }

  /* Al activar la hamburguesa → el menú entra con slide */
  .cec-mobile-toggle:checked ~ .cec-nav-content .cec-menu-container {
    right: 0;
  }

  /* Submenús móviles */
  .cec-submenu,
  .cec-submenu-third {
    position: static !important;
    padding-left: 20px;
    box-shadow: none !important;
  }

  /* Todos cerrados por defecto */
  .cec-has-submenu > .cec-submenu {
    display: none !important;
    height: 0;
    overflow: hidden;
    transition: height .3s ease;
  }

  /* Abierto */
  .cec-has-submenu.open-submenu > .cec-submenu {
    display: block !important;
    height: auto;
    overflow: visible;
  }

  /* Flecha */
  .cec-has-submenu > a {
    position: relative;
    padding-right: 18px;
  }

  .cec-has-submenu > a::after {
    content: "▸";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .3s ease;
    font-size: 16px;
  }

  .cec-has-submenu.open-submenu > a::after {
    transform: translateY(-50%) rotate(90deg);
  }
  .campus__marginv-auto{
    display: none;
  }
  .footer__parent{
    display: flex;
    height: min-content;
  }
  .footer__div3{
    display: none;
  }
  .footer__div6{
    width: 90%;
    margin: 1rem auto;
  }
  .campus__bottom{
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 768px) {
  .gb__container{
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .gb__contacts{
    display: none;
  }
  .gb__navbar{
    margin-bottom: 0;
    flex-direction: column;
  }
  .gb__menu-container{
    display: none;
    bottom: 0;
    flex-direction: column;
    top: 65px;
    background-color: white;
    width: -moz-available;
    width: -webkit-fill-available;
    left: 0;
    padding-left: 0;
  }
  .gb__nav-menu{
    width: 100%;
  }
  .gb__nav-content{
    position: absolute;
    top: 60px;
    box-shadow: 0 15px 10px -15px #111;
    width: -moz-available;
    width: -webkit-fill-available;
    left: 0;
  }
  .gb__menu-container>li{
    background-color: white;
  }
  .hh__hambmenu{
    display: block;
  }
  .hh__show{
    display: flex;
    transform  : translateY(0);
    transition : 150ms transform ease-in;
  }
  .gb__menu-first a{
    display: flex;
  }
  .gb__menu-second, .gb__menu-third{
    position: relative;
  }
  .gb__menu-second>li:nth-child(1)>a{
    width: auto;
  }
  .gb__menu-second>li:nth-child(1) {
    margin-top: 0;
    flex-direction: column;
  }
  .gb__menu-first:hover{
    .gb__menu-second{
      display: none;
      padding-left: .5rem;
    }
  }
  .gb__menu-second>li:nth-child(1):hover{
    .gb__menu-third{
      display: none;
    }
  }
  .gb__menu-first a:hover {
    background-color: transparent;
  }
  .gb__menu-second{
    background-color: transparent;
  }
  .bg__img-mobile, .bg__img-arrow{
    display: flex;
    transform: rotate(90deg);
  }
  .gb__menu-third{
    flex-direction: column;
    left: 0;
    padding-left: .5rem;
  }
  .in__clients-carousel{
    margin: 10rem 0 ;
  }
  .in__client-info{
    flex-wrap: wrap;
  }
}