/* ===== VARIABLES ===== */
:root {
    --azul-oscuro: #002060;
    --amarillo: #E6B546;
    --blanco: #ffffff;
    --gris: #7c7c7c;
    --transition: all 0.4s ease;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SECTION TITLE INTERNA ===== */
.sect_title_interna{
	background-image: url(../../../img/fondo/banner_internas.webp);
	background-repeat: no-repeat;
	background-position: left;
	background-size: 100% 1000%;
    padding: 50px 0;
	position: relative;
	z-index: 1;
	animation: bg 25s infinite linear alternate;
}

@keyframes bg {
	from{
		background-size: 100% 1000%;
	}

	to{
		background-size: 150% 1500%;
		background-position: right;
	}
}

.sect_title_interna::before{
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #000;
	opacity: .5;
	z-index: -1;
}

.h2_title_interna {
    color: var(--amarillo);
    font-weight: 800;
    font-size: 2.5rem;
    margin: 0;
}

.nav_internas {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.list_nav_internas {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list_nav_internas > li {
    color: var(--blanco);
    font-weight: 600;
    font-size: 15px;
}

.list_nav_internas > li:last-child {
    color: var(--amarillo);
    font-size: 16px;
    font-weight: 700;
}

.list_nav_internas > li > a {
    font-weight: 600;
    color: var(--blanco);
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.list_nav_internas > li > a:hover {
    color: var(--amarillo);
}

/* ===== SECTION TRAYECTORIA (QUIÉNES SOMOS) ===== */
.sect_trayectoria {
    padding: 80px 20px;
    background-color: var(--azul-oscuro);
}

.trayectoria_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .trayectoria_grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Contenido */
.trayectoria_label {
    display: inline-block;
    color: var(--amarillo);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 15px;
}

.trayectoria_title {
    font-size: 36px;
    font-weight: 800;
    color: var(--blanco);
    margin-bottom: 25px;
    line-height: 1.2;
}

.trayectoria_text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 30px;
}

.trayectoria_text strong {
    color: var(--amarillo);
    font-weight: 700;
}

/* Features */
.trayectoria_features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature_item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--amarillo);
    transition: var(--transition);
}

.feature_item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.feature_item i {
    font-size: 28px;
    color: var(--amarillo);
    flex-shrink: 0;
    margin-top: 3px;
}

.feature_title {
    font-weight: 700;
    color: var(--blanco);
    margin-bottom: 5px;
    font-size: 16px;
}

.feature_desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Imagen */
.trayectoria_image_wrapper {
    position: relative;
    width: 100%;
}

.trayectoria_image {
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.trayectoria_image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

.trayectoria_image:hover img {
    transform: scale(1.05);
}

/* Elementos decorativos */
.decor {
    position: absolute;
    z-index: -1;
}

.decor_square {
    width: 120px;
    height: 120px;
    background-color: rgba(230, 181, 70, 0.15);
    bottom: -20px;
    left: -20px;
}

.decor_circle {
    width: 120px;
    height: 120px;
    background-color: rgba(230, 181, 70, 0.1);
    /* border-radius: 50%; */
    top: -20px;
    right: -20px;
}

/* ===== SECTION MISIÓN, VISIÓN Y VALORES ===== */
.sect_mision_vision {
    background-color: var(--azul-oscuro);
    padding: 80px 20px;
}

/* Header */
.mv_header {
    text-align: center;
    margin-bottom: 60px;
}

.mv_header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--blanco);
    margin-bottom: 20px;
}

.mv_line {
    width: 80px;
    height: 4px;
    background-color: var(--amarillo);
    margin: 0 auto;
    border-radius: 2px;
}

.mv_header p {
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* Grid de 3 columnas */
.mv_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .mv_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .mv_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card */
.mv_card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 35px 30px;
    background-color: var(--blanco);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.mv_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--amarillo);
    transform: scaleX(0);
    transition: var(--transition);
}

.mv_card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.mv_card:hover::before {
    transform: scaleX(1);
}

/* Icono */
.mv_icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--azul-oscuro), #003080);
    color: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mv_icon i {
    font-size: 32px;
}

.mv_card:hover .mv_icon {
    background: linear-gradient(135deg, var(--amarillo), #d4a235);
    transform: rotate(10deg) scale(1.1);
}

/* Contenido */
.mv_content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin-bottom: 15px;
}

.mv_content p {
    font-size: 14px;
    color: var(--gris);
    line-height: 1.8;
    margin: 0;
}

/* ===== SECTION EQUIPO ===== */
.sect_equipo {
    background-image: url(../../../../public/img/fondo/banner_contacto.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.sect_equipo:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 32, 96, 0.85);
    z-index: -1;
}

.equipo_header {
    text-align: center;
    margin-bottom: 50px;
}

.equipo_header h2 {
    color: var(--blanco);
    font-weight: 800;
    font-size: 36px;
    margin-bottom: 15px;
}

.equipo_divider {
    width: 80px;
    height: 4px;
    background: var(--amarillo);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.equipo_header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
}

.equipo_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .equipo_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.equipo_card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
}

.equipo_card:hover {
    background: var(--blanco);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.equipo_icon {
    margin-bottom: 20px;
}

.equipo_icon i {
    font-size: 60px;
    color: var(--azul-oscuro);
    transition: var(--transition);
}

.equipo_card:hover .equipo_icon i {
    color: var(--amarillo);
    transform: scale(1.1);
}

.equipo_card h4 {
    color: var(--azul-oscuro);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.equipo_role {
    color: var(--gris);
    font-size: 14px;
    margin-bottom: 15px;
}

.equipo_line {
    width: 50px;
    height: 3px;
    background: var(--amarillo);
    margin: 0 auto;
    border-radius: 2px;
    transition: var(--transition);
}

.equipo_card:hover .equipo_line {
    width: 80px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .trayectoria_grid {
        gap: 40px;
    }

    .trayectoria_image_wrapper {
        order: -1;
    }

    .trayectoria_title,
    .mv_header h2,
    .equipo_header h2 {
        font-size: 30px;
    }

    .sect_trayectoria,
    .sect_mision_vision,
    .sect_equipo {
        padding: 60px 20px;
    }
}

@media (max-width: 767px) {
    .sect_title_interna {
        padding: 30px 0;
    }

    .h2_title_interna {
        display: none;
        /* font-size: 1rem;
        margin-bottom: 5px; */
    }

    .nav_internas {
        justify-content: flex-end;
    }

    .list_nav_internas {
        text-align: right;
    }

    .trayectoria_title,
    .mv_header h2,
    .equipo_header h2 {
        font-size: 26px;
    }

    .trayectoria_text,
    .mv_header p {
        font-size: 15px;
    }

    .mv_card,
    .equipo_card {
        padding: 30px 25px;
    }

    .mv_content h3 {
        font-size: 20px;
    }

    .decor_square,
    .decor_circle {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 575px) {
    .h2_title_interna {
        font-size: 1.75rem;
    }

    .list_nav_internas > li {
        font-size: 13px;
    }

    .list_nav_internas > li:last-child {
        font-size: 14px;
    }

    .trayectoria_title,
    .mv_header h2,
    .equipo_header h2 {
        font-size: 24px;
    }

    .mv_icon {
        width: 60px;
        height: 60px;
    }

    .mv_icon i {
        font-size: 28px;
    }

    .equipo_icon i {
        font-size: 50px;
    }
}