/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* CSS optimizado */
.hero-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.banner-container {
    width: 100%;
    height: 68vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Imagen por defecto (PC) */
    background-image: url('../../images/PORTADA@300x.png');
}


/* Móviles */
/*
@media (max-width: 768px) {
    .banner-container {
        height: 50vh;
        min-height: 400px;
        background-image: url('../../images/Recurso 11@300x.webp');
    }
}*/



/* Sección Quiénes Somos */
.quienes-somos-section {
    position: relative;
    min-height: 1000px;
    width: 100%;
    overflow: hidden;
}

/* Fondo degradado */
.background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenedor de contenido */
.content-wrapper {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Título principal */
.main-title-section {
  display: flex;
  flex-direction: row;
  text-align: center;
  margin-bottom: 80px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
}

.main-title {
    width: 100%;
    max-width: 300px;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin: 0;
    padding: 0;
    letter-spacing: 2px;
}

.title-line {
    width: 2px;
    height: 160px;
    background: white;
    margin: 0;
    border-radius: 20px;
    margin-left: 10px;
    margin-right: 20px;
}

.main-description {
    font-size: 1rem;
    line-height: 1.5;
    color: whitesmoke;
    max-width: 700px;
    margin: 0;
    text-align: start;
}

/* Grid Misión y Visión */
.mision-vision-grid {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 80px;
    margin: 0 auto;
}


@media (max-width: 768px) {
    .mision-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Tarjetas */
.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 85%;
    display: flex;
    flex-direction: column;
    width: 70%;
    margin: 0 auto;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-title_nts {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.card-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff4403, #ff8800);
    border-radius: 2px;
}

.card-body {
    flex-grow: 1;
}

.card-body p {
    text-align: center;
    color: whitesmoke;
}

/* Valores */
.valores-section {
    margin-top: 60px;
    border-radius: 50px;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, 0.1);
    max-width: 80%;
    width: 80%;
    margin: 0 auto;
}


/*--------------- CARD MISION VISIÓN ----------------*/
.card-header_nts{
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  border-radius: 20px;
  color: #fff;
  font-weight: 700;
  font-size: 27px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  background-color: #ff4403;
  width: 40%;
  align-items: center;
  justify-items: center;
}




/*-------------------------------------------*/

.valores-header {
    text-align: center;
}

.valores-title {
    font-size: 4rem;
    font-weight: 800;
    color:white;
    padding: 1rem;
    text-transform: uppercase;
    text-align: center;
}

.valores-line {
    width: 4px;
    height: 180px;
    background: white;
    margin: 0 auto;
    border-radius: 2px;
}

.valores-grid {
    display: flex;
    flex-direction: row;
    text-align: center;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .valores-grid {
        grid-template-columns: 1fr;
    }
}

.valor-card {
    background: none;
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.valor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-top-color: #ff8800;
}

.valor-icon {
    font-size: 3rem;
    color: #ff4403;
    margin-bottom: 25px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.valor-icon img{
  width: 5rem;
  height: 5rem;
}

.valor-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title_3{
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.valor-description {
    font-size: 0.8rem;
    line-height: 1.7;
    padding: 1rem;
    padding-top: 0;
    color: whitesmoke;
}

/* Responsive */
/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .valor-card {
    animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.valor-card:nth-child(2) {
    animation-delay: 0.3s;
}

.valor-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Móviles pequeños */
@media (max-width: 800px) {
    .banner-container {
        height: 60vh;
        background-image: url('../../images/Recurso 11@300x.png');
    }

    .hero-banner{
        height: 60vh;
    }

    .main-title-section {
        display: flex;
        flex-direction: column;
    }
    .title-line{
        max-width: 200px;
        width: 100%;
        height: 4px;
        margin-bottom: 2rem;
    }
    .main-title{
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    .main-description{
        text-align: center;
    }

    .valores-grid{
        flex-direction: column;
    }

    .valores-line{
        height: 4px;
        max-width: 400px;
        width: 100%;
    }

}

@media (max-width: 580px) {

    .valores-line{
        height: 4px;
        max-width: 250px;
        width: 100%;
    }
    
    .valores-title{
        font-size: 2.5rem;
    }
}
