@charset "utf-8";
/* CSS Document */
/*Body*/

html, body {
  height: 100%;
  margin: 0;
}

body{
  font-family: 'Segoe UI', sans-serif;

  background-image: url("../img/FondoUnido-2.jpg");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

/* ===============================
   LOGOS SUPERIORES – HEADER
   =============================== */

.logos-top{
  padding: 25px 15px;
}

/* Contenedor flex */
.header-logos{
  min-height: 70px;
}

/* Logos */
.logo-img{
  max-height: 48px;   /* Desktop */
  width: auto;
  transition: all .3s ease;
}

/* Tablet */
@media (max-width: 768px){
  .logo-img{
    max-height: 38px;
  }
}

/* Móviles */
@media (max-width: 576px){
  .logo-img{
    max-height: 30px;
  }
}

/* Móviles pequeños (menos de 400px)  */
@media (max-width: 400px){
  .logo-img{
    max-height: 24px;
  }
}

.contenedor{
	background: #FFFFFF;
	align-content: center;
	margin: 20px 40px;
	padding: 10px;
}


/* =====Navbar menu=====*/


.navbar-light .navbar-nav .nav-link {
      color: #444;
      font-weight: 600;
      padding: 10px 20px;
      position: relative;
      transition: all 0.3s ease;
    }

.navbar-brand img{
height:150px;
}


.nav-link{
font-weight:600;
color:#1f2d3d !important;
}
 .navbar-light .navbar-nav .nav-link:hover,
 .navbar-light .navbar-nav .nav-link:focus {
  color: #E30613;
    }

    /* Efecto de línea inferior */
    .navbar-light .navbar-nav .nav-link::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background-color:#E30613;
      transition: all 0.3s ease;
      transform: translateX(-50%);
    }

    .navbar-light .navbar-nav .nav-link:hover::after {
      width: 60%;
    }
 /* Responsive */
    @media (max-width: 991px) {
      .navbar-collapse {
        background-color: #E30613;
		border-radius: 0 0 8px 8px;
        padding: 10px 0;
		color: #fff !important;
      }

      .navbar-light .navbar-nav .nav-link {
        color: #fff !important;
      }

      .navbar-light .navbar-nav .nav-link:hover {
        color: #ffd4da;
      }

      
      .logo-text {
        text-align: center;
        margin-bottom: 10px;
      }
    }
  
/*AQUI*/
/*AQUI*/

 /* Logo de texto */
 .logo-text {
      font-weight: bold;
      line-height: 1.1;
    }
 .logo-text .red {
      color: #E30613;
      font-size: 1.6rem;
      display: block;
    }
 .logo-text .gray {
      color: #444;
      font-size: 1.4rem;
      letter-spacing: 1px;
    }



    /* Responsive */
    @media (max-width: 991px) {
      .navbar-collapse {
        background-color: #E30613;
        border-radius: 0 0 8px 8px;
        padding: 10px 0;
      }

      .navbar-light .navbar-nav .nav-link {
       color: #fff;
      }

      .navbar-light .navbar-nav .nav-link:hover {
       color: #ffd4da;
      }

      
      .logo-text {
        text-align: center;
        margin-bottom: 10px;
      }
    }

/* Carrusel */
.carousel-inner img{
  height:420px;
  object-fit:cover;
  border-radius:20px;
}

/* Caption */
.carousel-caption{
  left:5%;
  right:auto;
  text-align:left;
}
.carousel-caption h1{
  color:#c4161c;
  font-weight:800;
   font-family: 'Montserrat', sans-serif;
}

/* Mobile first */
@media(max-width:768px){
  .carousel-inner img{
    height:260px;
  }
  .carousel-caption{
    bottom:20%;
  }
}
/**/
/* Hero - sección Carrusel*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}

/* Altura adaptable según pantalla */
.carousel-inner img {
  width: 100%;
  height: 55vh;       /* se adapta a pantalla */
  min-height: 220px;  /* móviles pequeños */
  max-height: 650px;  /* TVs grandes */
  object-fit: cover;
  border-radius: 20px;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
              rgba(255,255,255,0.9) 5%,
              rgba(255,255,255,0) 30%);
  z-index: 2;
}

/* Texto */
.hero-text {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 520px;
}

.hero-text h1 {
  color: #c4161c;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
}

.hero-text p {
  font-size: 1.1rem;
  color: #333;
}

/* Tablet */
@media (max-width: 992px) {
  .hero-text {
    left: 30px;
    max-width: 70%;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .hero-text {
    position: relative;
    transform: none;
    left: 0;
    top: 0;
    padding: 15px;
  }

  .hero-overlay {
    display: none;
  }

  .carousel-inner img {
    height: 35vh;
    border-radius: 0;
  }
}

/* Mobile muy pequeño */
@media (max-width: 400px) {
  .carousel-inner img {
    height: 28vh;
  }

  .hero-text h1 {
    font-size: 1.4rem;
  }

  .hero-text p {
    font-size: 0.85rem;
  }
}


/* ===== SECCIÓN ACORDEON (acordeón) ===== */

.info-section {
  padding-top: 10px;
  padding-bottom: 10px;
 
}

.info-item {
  padding: 18px 0;
}

.info-title {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.3rem;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: black !important;
}

/* divider line */
.divider {
  height: 1.5px;
  background: #cfcfcf;
  margin-top: 12px;
  margin-bottom: 16px;
}

/* accordion button */
.btn-accordion {
  background: transparent;
  border: none;
  color: #0F28EF !important;
  padding: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor: pointer;
  outline: none;
}

.btn-accordion img {
  width: 28px;
  height: 28px;
  color: #0F28EF !important;
	
}

/* content area hidden by default except items .open */
.info-content {
  max-width: 760px;
  color: #2f2f2f;
  margin-left: 0;
  transition: max-height .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
  overflow: hidden;
  opacity: 1;
}

/* when closed, we collapse via JS by setting max-height:0 and opacity:0 */
.info-content.collapsed {
  max-height: 0 !important;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* styling when item open */
.info-item.open .info-title {
  color: #222;
}

/* small responsive tweaks */
@media (min-width: 992px) {
  .info-content {
    margin-left: 120px; /* shift text right so button aligns right */
  }
}
/* accesibility focus */
.btn-accordion:focus { box-shadow: 0 0 0 3px rgba(20,35,243,0.12); border-radius: 50%; }



/* Micro animación */
@keyframes fadeSlide {
from {
opacity: 0;
transform: translateY(-6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}


/* Desktop */
@media (min-width: 992px) {
  .info-content {
    margin-left: 120px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .info-title {
    font-size: 1rem;
  }
}
/*------FIN ACORDEON-------*/



/*ORGANIZACION*/
.contenedor-organizacion{
	background: #DBF3FB;
	width: 100%;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: 0;
	margin-right: 0;
	align-content: center;
	
}
.contenedor-organizacion img {
	width: 100%;
	height: auto;
	padding-right: 40px;
	
}
.organizacion-coes-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: black !important;
  margin: 0;
}
.organizacion-dot {
  width: 14px;
  height: 14px;
  background-color: #005bac;
  border-radius: 50%;
  margin-right: 14px;
  margin-top: 8px;
  flex-shrink: 0;
}

.organizacion-coes-title span {
  font-weight: 400; /* MINCETUR más delgado */
  letter-spacing: 0.5px;
}

/**/
/**/
@media (max-width: 991px) {
 .contenedor-organizacion .container {  padding: 32px;  }
 .organizacion-coes-title { font-size: 1.6rem; }
}
@media (max-width: 767px) {
  /*.contenedor-organizacion img {width: 70%; }*/
  .contenedor-organizacion{ background: #DBF3FB;	margin-top: 3px;	margin-bottom: 3px;	align-content: center;}
}

@media (max-width: 576px) {
  .organizacion-coes-title {font-size: 1.4rem; }

}
@media(max-width:520px){
 /*.contenedor-organizacion img { width: 60%; }*/
 .contenedor-organizacion{ background: #DBF3FB;	margin-top: 0;	margin-bottom: 0;	align-content: center;}
}

 /* ===== SECCIÓN DOCUMENTOS COES ===== */


.section-docs {
  padding: 48px 50px;
}

.section-title {
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0;
	
}
.section-docs h2.section-title {
  color: #000 !important;
}
.section-line {
  height: 1px;
  background-color: #000;
  opacity: 0.25;
}

/* ===== CARD DOCUMENTO ===== */
.doc-card {
  background-color: #DFF1EA;
  border-radius: 24px;
  padding: 24px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Hover institucional */
.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

/* Imagen */
.doc-img {
  flex: 0 0 90px;
  margin-right: 20px;
}

.doc-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

/* Contenido */
.doc-content {
  flex: 1;
}

.doc-entity {
  font-size: 0.85rem;
  color: #005BAC;
  font-weight: 600;
  margin-bottom: 4px;
}

.doc-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
  color: #000;
}

.doc-date {
  font-size: 0.75rem;
  color: #555;
  margin-bottom: 10px;
}

.doc-text {
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Descargar */
.doc-download {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  transition: color .25s ease;
}

.doc-download img {
  width: 22px;
  margin-right: 8px;
  transition: transform .25s ease;
}

.doc-download:hover {
  color: #005BAC;
  text-decoration: none;
}

.doc-download:hover img {
  transform: translateY(2px);
}

/* Accesibilidad */
.doc-download:focus-visible {
  outline: 3px solid rgba(0,91,172,.4);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Mobile */
@media (max-width: 767px) {
  .doc-card {
    flex-direction: column;
  }

  .doc-img {
    margin-right: 0;
    margin-bottom: 16px;
    width: 80px;
  }
} 



/*=======SECCIÓN FOOTERS======*/


.footer-coes {
  width: 100%;
  margin: 0;
  padding: 0;
  background-image: url("../img/fondo-footer.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.footer-title {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.footer-item {
    align-items: flex-start;
}

.footer-icon {
    width: 25px;
    height: 25px;
    margin-right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    line-height: 1.4;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-logo {
    max-height: 46px;
    object-fit: contain;
}
.footer-link {
  color: inherit;            /* hereda el color del footer */
  text-decoration: none;     /* quita el subrayado */
}

.footer-link:hover,
.footer-link:focus {
  color: #fff;               /* color institucional que uses */
  text-decoration:underline;;
}

@media (max-width: 576px) {
    .footer-logo {
        margin-top: 20px;
    }
}



/*===========PRODUCTOS ELABORADS========*/

/* Título con línea */
    .section-title{display:flex;align-items:center;margin:30px 15px}
    .section-title h4{margin:0;font-weight:600;white-space:nowrap}
    .section-title::after{content:"";flex:1;height:2px;background:#cfd6dc;margin-left:15px}

    /* Menú */
 	.menu-icons{background:#fff;border-radius:6px;padding:10px 0;border:1px solid #e5e5e5;}
 	.menu-item{display:flex;align-items:center;padding:12px 15px;cursor:pointer;transition:.25s ease;border-bottom:1px solid #ececec;} /* línea divisoria */
	/* Quitar línea al último */
	.menu-item:last-child{border-bottom:none;}
    .menu-item:hover{background:#f7f7f7;}
    /* Icono */
	.menu-item img.menu-icon{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg, #70B79F, #5061AC);padding:7px;object-fit:contain;margin-right:12px;flex-shrink:0;}
    /* Texto */
	.menu-item span{font-size:0.95rem;color:#333;line-height:1.2;}
    /* Activo */
	.menu-item.active{background:#fff5f5;}
    .menu-item.active img.menu-icon{background:linear-gradient(135deg, #E21522, #7A0B12);}

    /*  COLOR CORRECTO DEL TEXTO ACTIVO */
    .menu-item.active span{color:#E21522;font-weight:600;}

    /* Contenido */
    .content-box{background:#fff;border-radius:6px;overflow:hidden;min-height:450px}
    .content-header{background:#d71920;color:#fff;padding:15px 20px;position:relative;border-bottom-left-radius:12px;border-bottom-right-radius:12px}
    .content-header h5{margin:0;display:flex;align-items:center;font-weight:600}
    /*.title-bullet{color:#d71920;background:#fff;border-radius:50%;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;margin-right:8px;font-weight:800}*/
	.subtitle-bullet{color:#d71920;display:inline-flex;align-items:center;justify-content:center;margin-right:8px;font-weight:700}
    .content-header img{position:absolute;right:20px;top:2px;bottom:2px;width:50px;opacity:.85}
    .content-body{padding:20px}



/* Responsive */
    @media(max-width:768px){
      .menu-icons{display:flex;flex-wrap:wrap}
      .menu-item{width:50%}
      .content-header i{font-size:60px}
    }
    @media(max-width:575px){.menu-item{width:100%}
    .content-icon {width: 40px;height: auto;}}

     @media (max-width: 576px) {.content-icon {width: 28px;}}

	/*========= CARDS ========*/
.custom-card {
  width: 100%;
  max-width: 320px;
  border-radius: 22px;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  background: #fff;
  padding: 10px;
}

/* Imagen superior */
.custom-card img {
  width: calc(100% - 20px);
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  margin: 10px;
  padding: 0;
}

/* Cuerpo Card*/
.custom-card .card-body {
  padding: 18px 20px 22px;
}

/* Título card */
.custom-card .card-title {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 14px;
}

/* Footer card*/
.card-footer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #6c757d;
}

/* Icono descarga */
.card-footer-icon {
  width: 22px;
  height: 22px;
  transition: transform .2s ease;
}

.card-footer-icon:hover {
  transform: scale(1.1);
}
	  
.card-download {
  margin-top: 15px;
}

.card-download a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: #000;
  text-decoration: none;
}

.card-download img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 6px;
}
  
	  

/* Colores */
.card-blue  { background-color:#C3DBF3 }
.card-red   { background-color:#D7ECE5 }
.card-green { background-color:#D6D3F2 }

/* =====Enlaces de interés==== */
.interest-logos {
  background:#fff;
  border-radius:12px;
  padding:25px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:25px;
}

.interest-logos img {
  width: inherit;
  max-height:120px;
	
  object-fit:contain;
 /* filter:grayscale(70%);*/
  transition:.3s;
}

.interest-logos img:hover {
  filter:none;
  transform:scale(1.08);
}
.interest-logos a {
  display: flex;
  gap: 10px;
  color: #000;
  text-decoration: none;
}
/* Responsive */
@media (max-width:768px) {
 .card-download img {
    height: auto;
  }
  .interest-logos img {
    max-height:50px;
  }
}

	  