/* === HERO === */
.hub-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  align-items: center;
}
.hub-hero__overlay {
  position: absolute;
  inset: 0;
}
.hub-hero__title {
  font-weight: 100;
  font-size: 50px;
  color: #fff;
  text-align: center;
  margin: 0;
  border-left: solid;
}
.hub-hero__subtitle {
  font-weight: 600;
  font-size: 2rem;
  z-index: 1;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}
.hub-hero__text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  z-index: 1;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    background-color: #fff;
}
.sticky .hamburger-inner, .sticky .hamburger-inner::before, .sticky .hamburger-inner::after {
    background-color: #333;
}
/* === TARJETAS === */
.hub-card {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
}
.hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  transition: background .3s;
}
.hub-card:hover::before {
  background: rgba(0,0,0,0.5);
}
.hub-card__content {
  position: relative;
  padding: 1.5rem;
  z-index: 2;
}
.hub-card--large {
  height: 100%;
}
.hub-card--medium {
  height: 250px;
}
.hub-card--small {
  height: 200px;
}
.hub-card--interview .btn-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  color: #fff;
  display: block;
  align-items: center;
  border: solid;
  line-height: 20px;
  margin: 100px auto 0 !important;
  position: relative;
  padding: 25px 0;
}
.hub-card__label {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: #8dc63f;
  padding: .3rem .8rem;
  font-size: .8rem;
  border-radius: .3rem;
}

/* === FILTROS === */
.filter-btn {
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 1.5rem;
  border: 1px solid #2d4a73;
  color: #2d4a73;
  text-decoration: none;
  font-size: .9rem;
  transition: all .3s;
}
.filter-btn:hover,
.filter-btn.active {
  background: #2d4a73;
  color: #fff;
}



/* === INTERIOR PAGE === */
.hub-interior {
  background-color: #213221;
}

.interior-section .container {
  max-width: 1140px;
}

.interior-card {
  background: #fff;
  position: relative;
  padding: 2rem;
  border-radius: 0.5rem;
  /* v?rtice cortado abajo a la derecha */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 40px),
    calc(100% - 40px) 100%,
    0 100%
  );
  color: #223;
  border-top-right-radius: 0;
}

.interior-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  color: #2d4a73;
  margin-bottom: 0.5rem;
}

.interior-subtitle {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: #2d4a73;
  margin-bottom: 1.5rem;
  text-transform: lowercase;
}

.interior-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #223;
}

.interior-meta-title {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #2d4a73;
  letter-spacing: 0.05em;
}

.meta-item img {
  height: 40px;
  width: auto;
  margin-bottom: 0.5rem;
}

.meta-item p {
  font-size: 0.9rem;
  margin: 0;
  color: #2d4a73;
}

.interior-image {
  width: 100%;
  /* height: 100%; */
  min-height: 400px;
  background-size: cover;
  background-position: center;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Ajustes responsive */
@media (max-width: 991px) {
  .interior-card {
    clip-path: none;
    border-radius: 0.5rem;
  }
}

/* === HEADER NAV SHAPES === */
.header-2 {
  background: transparent; /* o tu overlay si lo tienes */
}
.header-nav .nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hub-card__content {
    height: 100%;
    cursor: pointer;
}

.hub-card--route {
    height: 350px;
}
.txt-bajada {
    margin: 250px auto 50px;
    max-width: 60%;
}
.cedos h1 {
    font-size: 70px;
    font-weight: 800;
    padding-right: 30px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}
/* Botonera header (new-blog) */
.hero-nav .nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 25px;
  color: #000;
  text-decoration: none;
  border: 2px solid #fff;
  border-radius: 50px 0 0 50px;
  transition: background 0.3s, color 0.3s;
  clip-path: polygon(    0 0,    100% 0,    100% calc(100% - 40px),    calc(100% - 20px) 100%,    0 100%  );
  background-color: rgba(255,255,255,.2);
  background: #fff;
}

/* Hover / Rollover */
.hero-nav .nav-link:hover,
.hero-nav .nav-link.active {
  background: #fff;
  color: #ccc;
  border-color: #fff;
}
.hero-nav .nav-link:hover, .hero-nav .nav-link.active {
    background: #1a4071;
    color: #fff;
}
a.logo img {
    height: 40px;
    margin-left: 50px;
}
header#sticky-menu {
    position: fixed !important;
    z-index: 999;
}
.logo .logo-negro{
  display: none;
}
.sticky .logo .logo-negro{
  display: block !important; 
}
.sticky .logo .logo-blanco{
  display: none;
}
#home nav.hero-nav {
    margin-top: 180px;
    position: absolute;
    left: 50%;
    margin-left: -348px;
}
#home .sticky nav.hero-nav, #interior .sticky nav.hero-nav {
    margin-top: 0px;
    position: relative;
    left: auto;
    margin-left: 0;
}
.sticky nav.hero-nav,
.sticky .hero-nav .nav-link,
.sticky .hero-nav .nav-link.active,
{
  color:#000 !important;
}
img.c-ficem {
    height: 30px;
    position: fixed;
    left: 72px;
    top: 33px;
}
.footer-logo img {
    height: 60px;
}

.not1 {
    background-image: url("../img/fondo-carretera.jpg");
}
.not2 {
    background: #F3C298;
    background: linear-gradient(180deg, rgba(243, 194, 152, 1) 0%, rgba(51, 27, 12, 1) 50%, rgba(51, 27, 12, 1) 100%);
}
.not-dest {
    background-image: url("../img/foto-dest.jpg");
    background-size: cover;
    background-position: center;
    border: solid 5px #9ebc5d;
    border-radius: 10px 10px 0 10px;
}
img.trangulo-verde {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 50px;
}
.not4 {
    background: #003246;
    background: linear-gradient(180deg, rgba(0, 50, 70, 1) 0%, rgba(12, 98, 109, 1) 50%, rgba(78, 146, 153, 1) 100%);
}
.not5 {
    background: #7D8863;
    background: linear-gradient(180deg, rgba(125, 136, 99, 1) 0%, rgba(80, 89, 65, 1) 50%, rgba(38, 50, 37, 1) 100%);
}
.not6 {
    background: #1A4071;
    background: linear-gradient(180deg, rgba(26, 64, 113, 1) 0%, rgba(26, 64, 113, 1) 50%, rgba(26, 64, 113, 1) 100%);
}
.not7 {
    background-image: url("../img/fondo-mar.jpg");
}
.hub-card__content h3, 
.hub-card__content h4, 
.hub-card__content h5{
    color: #fff;
    /*height: 50px;*/
    overflow: hidden;
}
.caja-cat {
    position: absolute;
    bottom: 20px;
}
.not-dest .caja-cat {
    position: absolute;
    bottom: 20px;
    width: 95%;
    display: flex;
    justify-content: space-between;
}
a.btn-cat {
    border: solid 1px #fff;
    padding: 5px 20px;
    margin-right: 10px;
    border-radius: 15px;
    color: #fff;
    font-size: 10px;
}
a.btn-cat:hover {
    background: #fff;
    color: #000;
}
a.btn-cat-dest {
    border: solid 1px #8dc63f;
    padding: 5px 20px;
    margin-right: 10px;
    border-radius: 15px;
    color: #fff;
    font-size: 11px;
    background: #8dc63f;
}
a.btn-cat-dest:hover {
    background: #fff;
    color: #8dc63f;
}
.cont-big {
    width: 70%;
}

.cont-big h3 {
    font-size: 36px;
}
.not-dest.hub-card__content.text-start {
    clip-path: polygon(    0 0,    100% 0,    100% calc(100% - 40px),    calc(100% - 40px) 100%,    0 100%  );
}
.not-int {
    background-color: #fff;
}
#interior .hub-hero {
    min-height: 150px;
}
.noticia {
    position: relative;
    --bs-gutter-x: 0px;
}
#interior .interior-image {
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    height: 676px;
    overflow: hidden;
}


.cont-txt {
    z-index: 10;
}
a.btn-not {
    background-color: #1a4071;
    border: solid 1px #1a4071;
    color: #fff;
    padding: 10px 30px;
    border-radius: 20px;
    margin: 30px auto !important;
    display: table;
}
a.btn-not:hover {
    background: #fff;
    color: #1a4071;
}
img.flecha-abajo {
    height: 20px;
    margin: 15px;
}
.noticia a.btn-cat {
    border: solid 1px #1a4071;
    padding: 0px 20px;
    margin-right: 10px;
    border-radius: 15px;
    color: #1a4071;
    font-size: 10px;
}
#interior a.btn-cat:hover {
    /* border: solid 1px #1a4071; */
    /* padding: 5px 20px; */
    /* margin-right: 10px; */
    /* border-radius: 15px; */
    /* color: #fff; */
    /* font-size: 10px; */
    /* background: #1a4071; */
}
#interior .caja-cat {
    position: absolute;
    bottom: 20px;
    width: 85%;
    display: flex;
    justify-content: space-between;
    z-index: 100;
} 

a.btn-volver img {
    height: 20px;
    margin-left: 5px;
}
.interior-meta.mb-4.text-center {
    padding-bottom: 30px;
}
.c-ficem.c-b{
  display: block;
}
.c-ficem.c-n{
  display: none;
}
.sticky .c-ficem.c-b{
  display: none;
}
.sticky .c-ficem.c-n{
  display: block;
}
input.form-control.form-control-sm {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    border: solid 2px #fff;
    color: #fff !important;
}
.sticky input.form-control.form-control-sm {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    border: solid 2px #333;
    color: #000 !important;
}
input.form-control.form-control-sm::placeholder {
    color: #fff;
}

.sticky input.form-control.form-control-sm::placeholder {
    color: #333;
}
.caja-pasos h3 {
    position: relative;
    display: block;
    padding: 6px 25px;
    color: #000;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 50px 0 0 50px;
    transition: background 0.3s, color 0.3s;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 20px) 100%, 0 100%);
    background-color: rgba(255, 255, 255, .2);
    background: #fff;
    font-size: 24px;
    text-align: center;
}
.col.title-home {
    border-left: solid;
}
a.btn-cat-dest.link-dest {
    transition: background 0.3s, color 0.3s;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%);
    padding: 5px 70px 5px 20px;
}
a.hub-card__title-link {
    color: #fff;
    text-decoration: none;
}
#interior .resultado-busqueda a.btn-cat {
    border: solid 1px #fff;
    color: #fff;
}
main.pag-cat {
    background: #fff;
}

main.pag-cat h1 {
    color: #000;
}
.mobile-nav h3 {
    background: #1a4071;
    padding: 10px 35px;
    text-transform: uppercase;
    font-size: 20px;
}
.pag404 {
    text-align: center;
    color: #fff;
}

.pag404 h1 {
    font-size: 200px;
    font-weight: 800;
}

.pag404 p {
    font-size: 30px;
    margin-bottom: 80px;
}

.pag404 a {
    color: #fff;
    border: solid 1px #fff;
    padding: 15px 40px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 65px;
}

.pag404 a:hover {
    background: #fff;
    color: #000;
}




























/* responsivos */
@media (max-width: 767px) {
  .hub-hero__title {
    font-size: 35px;
    /* margin-left: 0; */
    /* margin-top: 20px; */
    border: none;
    }
	.mobile-nav h3 {
		margin-top: 30px;
	}
	.interior-title {
		font-family: 'Work Sans', sans-serif;
		font-weight: 600;
		font-size: 32px;
		color: #2d4a73;
		margin-bottom: 0.5rem;
		letter-spacing: -2px !important;
	}
	.hub-card__content h3, .hub-card__content h4, .hub-card__content h5 {
		color: #fff;
		height: 130px;
		overflow: hidden;
	}
  .hub-card--large { 
    height: 300px; 
  }
	.header-2 .logo {
		margin: auto;
	}
	.ver-archivo-chip .va-ico {
    width: 100px !important;
    height: auto !important;
}
  .txt-bajada {
    margin: 100px auto 30px;
    max-width: 100%;
  }
	#q-header-mobile.form-control.form-control-sm {
		background-color: rgba(255, 255, 255, 0.3);
		border-radius: 50px;
		border: solid 2px #333;
		color: #000 !important;
	}
	.search-form{
		color: #000;
	}
	input.form-control.form-control-sm::placeholder {
    color: #000;
}
  .cedos {
    /* margin: 15px; */
    /* float: left; */
    /* max-width: 135px; */
    /* display: block; */
        border-right: none;
        padding: 0;
        font-size: 50px;
    }
  .title-home {
    /* float: left; */
    /* width: 50%; */
  }
  .search {
    margin: 10px 30px;
  }
  .logo .logo-negro{
    display: none;
  }
  img.c-ficem {
      height: 30px;
      position: fixed;
      left: 62px !important;
      top: 18px !important;
  }
  .main-menu {
      width: 100%;
  }
  #interior .interior-image {
    position: relative;
  }
  .cont-big {
      width: 100%;
  }
  .hub-card--interview .btn-circle {
    margin: 10px auto 0 !important;
  }
	nav.mobile-nav #menu-menu-1 {
		display: block;
	}
	.title-home {
		align-content: center;
	}
	.header-2 .logo {
		margin: auto;
	}
}
.cedos h1 {
    font-size: 45px;
    padding: 0;
}

.col.title-home {
    border: none;
}
@media (min-width: 1920px) {
.container{
  max-width: 1600px;
  }



}



/* Repetidor de archivos */
.ver-archivos-grid{
  display:flex; flex-wrap:wrap; gap:2.5rem; justify-content:center; margin-top:2rem;
}
.ver-archivo{display:flex; flex-direction:column; align-items:center; text-decoration:none; color:#133456;}
.ver-archivo__icon img{width:76px; height:auto; display:block;}
.ver-archivo__label{margin-top:.5rem; font-weight:700; letter-spacing:.03em;}
.ver-archivo:hover .ver-archivo__label{opacity:.85}

/* Lightbox */
.va-lightbox[hidden]{display:none;}
.va-lightbox{position:fixed; inset:0; z-index:9999;}
.va-lightbox .va-backdrop{position:absolute; inset:0; background:#000; opacity:.85;}
.va-lightbox .va-dialog{position:absolute; inset:0; display:grid; place-items:center; padding:2rem;}
#va-lightbox-img{max-width:100%; max-height:90vh; box-shadow:0 20px 50px rgba(0,0,0,.6); border-radius:10px;}

/* Repetidor de archivos (chips) */
.ver-archivos-wrap{
  display:flex;
  flex-wrap:wrap;
  gap: clamp(20px, 4vw, 25px);
  justify-content:center;
  align-items:flex-start;
  margin-top: 2rem;
}

.ver-archivo-chip{
  --va-color:#16395a;
  color: var(--va-color);
  text-decoration: none;
  display: grid;
  place-items: center;
  row-gap: .5rem;
  min-width: 140px;
  text-align: center;
  transition: transform .2s ease, opacity .2s ease;
}
.ver-archivo-chip:hover{ transform: translateY(-2px); opacity:.9; }

.ver-archivo-chip .va-ico{
  width: clamp(54px, 8vw, 96px);
  height: clamp(54px, 8vw, 96px);
}
.ver-archivo-chip .va-text{
  font-weight: 600;
  letter-spacing:.5px;
  text-transform: uppercase;
}

/* Lightbox para imágenes */
#ficem-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#ficem-lightbox.is-open{ display: flex; }
#ficem-lightbox img{
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  border-radius: 10px;
}

