/*
 # ########*###########################
 Autor: José Luis Rodriguez
 Mail: jrodriguez@bincodex.com
 Web: https://bincodex.com
 Fecha: 2026-08-04 07:14:01
 Archivo: _secciones_.css
 Codificación: UTF-8
 Editado en: Kate 25.04.3
 ####################################
 */


:root {
    --fh-primary: #ef7d63;
    --fh-secondary: #f8a44d;
    --fh-primary-dark: #df684f;

    --fh-text: #3f3f3f;
    --fh-text-light: #777;

    --fh-background: #f5f6f8;
    --fh-card: #ffffff;
    --fh-border: #eeeeee;

    --fh-shadow:
        0 8px 25px rgba(0, 0, 0, 0.07);

    --fh-shadow-hover:
        0 14px 35px rgba(0, 0, 0, 0.12);
}




/* Aplicar a toda la página */
html {
    scroll-behavior: smooth;
}


._seccion_ {
	width: 100%;
	border: 0px solid red;
	padding: 20px;
}

._seccion_ article {
	text-align: center;
	border: 0px solid blue;
	max-width: 600px;
	padding: 20px;
}

._seccion_ article div {
	text-align: center;
	margin: 0 auto;
	border: 0px solid green;
}


.grid2 {
	display: grid;
	grid-template-columns: repeat(2, 600px);
	gap: 20px;
	align-items: anchor-center;
	justify-content: center;
}


.fondo_gradiente {
	background: linear-gradient(
	  to bottom,
	  rgba(45, 45, 45, 1) 0%,
	  rgba(45, 45, 45, 1) 20%,    /* El gris se mantiene menos tiempo */
	  rgba(90, 60, 30, 1) 50%,    /* Un gris con un toque anaranjado (color puente) */
	  rgba(214, 132, 0, 1) 100%   /* Naranja puro al final */
	);

	background: url('../img/wallpaper.jpg');
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
	backdrop-filter: blur(20px);
}

.ft_wt {
	color: #ffffff;
}

.iz {
	text-align: left !important;
}

.cn {
	text-align: center !important;
}

.dr {
	text-align: right !important;
}

.jf {
	text-align: justify !important;
}


.pd10 {
	padding: 10px;
}

.pd20 {
	padding: 20px;
}


.cnt_video {
	border: 0px solid red;
	width: 500px;
	height: 272px;
	border-radius: 25px;
	background: url('../img/Portada_video_1.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
}

.play-video-icon {
	width: 100px;
	height: 100px;
	border: 4px solid white !important;
	border-radius: 50%;
	background-color: transparent;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	transition: transform 0.2s ease;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
}

.play-video-icon::after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 15px 0 15px 25px;
	border-color: transparent transparent transparent white;
	margin-left: 5px;
}



.logo_white {
	background: url('../img/logo_white.webp');
	background-size: cover;
	width: 300px;
	height: 100px;

}


.buttons {
	display: flex;
	justify-content: center;
	gap: 40px;
	margin-top: 40px !important;
	margin-bottom: 30px !important;
}

.hpx-min-500 {
	min-height: 500px;
}




.grid4 {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, 320px);
    justify-content: center;
    gap: 40px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}



.item-convenio {
	border: 1px solid silver !important;
	border-radius: 25px;
	max-width: 300px !important;
	max-height: 300px !important;
	display: flex;
	justify-content: center;
	align-items: center;
}


.cnt_img {
	width: 400px;
	height: 400px;
	border-radius: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
}

.img1 {
	background: url('../img/Img_1.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.img2 {
	background: url('../img/Img_2.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.img3 {
	background: url('../img/Img_3.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.img4 {
	background: url('../img/Img_4.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.img5 {
	background: url('../img/Img_5.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}


.img6 {
	background: url('../img/Img_6.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.list-items-col {
	display: flex;
	padding: 10px;
	gap: 20px;
	flex-direction: column;
}

.item-list {
	padding: 20px;
	border-radius: 25px;
	min-height: 100px;
	display: flex;
	justify-content: start;
	align-items: center;
	gap: 15px;
}

.item-list i {
	font-size: 1.9em;
}

.img-h-600 {
	min-height: 600px;
}


.social a {
	color: #fff !important;
	font-size: 1.5em;
}


.cnt-faq {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.faq-item {
	border: 0px solid #aa0000 !important;
	max-width: 100% !important;
	width: 90%;
	padding: 20px !important;
}

.faq-pregunta {
	border: 0px solid #00f !important;
	text-align: left !important;
	padding: 10px !important;
	color: #fff;
	font-size: 1.2em;
	font-weight: bold;
	border-radius: 18px;
	cursor: pointer;
	user-select: none;
}

.faq-respuesta {
	border: 0px solid #d9d9d9;
	text-align: justify !important;
	padding: 0px;
	height: 0px;
	overflow: hidden;
	transition: all 0.5s;
}


.degrade {
	background-color: transparent;
	background-image: linear-gradient(325deg, #FDA658 0%, #ED775E 100%);
}


.tabs-nav {
	margin-top: 20px;
	margin-bottom: 20px;
}

.tabs-ul {
	display: flex;
	gap: -2px;
}

.toggle-tab {
	flex: 1;
	cursor: pointer;
	border-top: 1px solid #8d8d8d;
	border-left: 1px solid #8d8d8d;
	border-right: 1px solid #8d8d8d;
	border-bottom: 1px solid #8d8d8d;
	padding:10px;
	user-select: none;
	text-align: center;
	display: block;
	border-radius: 15px 15px 0px 0px;
	background: #9f9f9f;
	color: #fff3f3;
	display: flex;
	justify-content: center;
	align-items: center;
}

.tab-active {
	background: white !important;
    border-top: 2px solid #8d8d8d;
	border-left: 3px solid #8d8d8d;
	border-right: 3px solid #8d8d8d;
	border-bottom: 0px solid #8d8d8d;
	color: #000000;
	font-weight: bold;
}

.content-tab {
	display: none;
}

.content-tab:target {
	display: block;
}



/*
.item-carpeta {
	border: 1px solid #ff557f !important;
}


.tit-carpeta {

}

.items-carpeta {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.doc-carpeta {
	background: #0084ff;
	border-radius: 15px;
	cursor: pointer;
	user-select: none;
	color: #fff;
	padding: 10px;
	width: 99%;
	min-width: 300px;
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: left;
	font-size: 0.8em;
}
*/

/* =========================================================
   CONTENEDOR DE CADA CARPETA
   ========================================================= */

.item-carpeta {
    position: relative;
    background: var(--fh-card);
    border: 1px solid var(--fh-border) !important;
    border-radius: 18px;
    padding: 22px;
    min-height: 230px;
    box-shadow: var(--fh-shadow);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
    overflow: hidden;
	width: 320px;
    min-height: 230px;
    box-sizing: border-box;
}


/*
 * Pequeña línea decorativa superior
 */

.item-carpeta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            var(--fh-primary),
            var(--fh-secondary)
        );
}


/*
 * Efecto hover
 */

.item-carpeta:hover {
    transform: translateY(-4px);
    box-shadow: var(--fh-shadow-hover);
    border-color: rgba(239, 125, 99, .25) !important;
}


/* =========================================================
   TITULO DE LA CARPETA
   ========================================================= */

.tit-carpeta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--fh-text);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}


/*
 * Icono del título
 *
 * Si utilizas Font Awesome:
 *
 * <i class="fa-solid fa-folder-open"></i>
 */

.tit-carpeta i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--fh-primary),
            var(--fh-secondary)
        );
    font-size: 15px;
}


/* =========================================================
   LISTADO DE DOCUMENTOS
   ========================================================= */

.items-carpeta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* =========================================================
   DOCUMENTO
   ========================================================= */

.doc-carpeta {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid #eeeeee;
    background: #fafafa;
    color: var(--fh-text);
    cursor: pointer;
    user-select: none;
    font-size: .85rem;
    line-height: 1.35;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


/*
 * Icono de descarga
 */

.doc-carpeta::before {
    content: "\f56d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--fh-primary),
            var(--fh-secondary)
        );
    font-size: 13px;
}


/*
 * Hover del documento
 */

.doc-carpeta:hover {
    background: #fff7f3;
    border-color: rgba(239, 125, 99, .35);
    color: var(--fh-primary-dark);
    transform: translateX(3px);
    box-shadow:
        0 5px 15px rgba(239, 125, 99, .10);
}


/*
 * Estado activo / seleccionado
 */

.doc-carpeta:active {
    transform: translateX(3px) scale(.99);
}
/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    .item-carpeta {
        padding: 18px;
        min-height: auto;
        border-radius: 15px;
    }
   .tit-carpeta {
        font-size: 16px;
    }

    .doc-carpeta {
        min-height: 50px;
        padding: 10px 12px;
        font-size: .82rem;
    }
}


@media (max-width: 480px) {
    .item-carpeta {
        padding: 15px;
    }
    .doc-carpeta {
        align-items: flex-start;
    }
    .doc-carpeta::before {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }
}



















@media(max-width:1360px) {
	.grid4 {
		grid-template-columns: repeat(3, max-content);
	}
}

@media(max-width:1230px) {
	.grid2 {
		display: flex;
	    flex-direction: column;
	}
}

@media(max-width:1010px) {
	.grid4 {
		grid-template-columns: repeat(2, max-content);
	}
}

@media(max-width:680px) {
	.grid4 {
		grid-template-columns: repeat(1, max-content);
	}
}


@media(max-width:600px) {
	.cnt_video {
		width: calc( 100vw - 40px );
		height: calc(100vw - 212px);
	}

	.buttons {
		flex-direction: column;
	}
}










/*SLIDER*/
.slider-wrapper {
    position: relative;
    width: 100%;
	height:500px;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    flex-shrink: 0;
}


.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0);
    color: rgba(255, 255, 255, 0.5);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow:hover {
    background: rgba(255, 255, 255, 0);
    transform: translateY(-50%) scale(1.1);
}

.arrow-left {
    left: 15px;
}

.arrow-right {
    right: 15px;
}

.indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}


@media (max-width: 600px) {
    .arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    .arrow-left { left: 10px; }
    .arrow-right { right: 10px; }
    .slide { font-size: 2rem; }
}
