/* =============================
   CONTENEDOR PRINCIPAL
============================= */

.ztr-seccion-nosotros {
    overflow-x: hidden; /* evita desbordes laterales */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
	
	padding-left:0 !important;
	padding-right:0 !important;
}

/* =============================
   SECCIONES FLEX
============================= */
.ztr-flex-section {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 60px;
}

/* Imágenes y textos 50% 50% */
.ztr-img-wrap,
.ztr-text-wrap {
    flex: 1 1 460px;
    max-width: 100%;
    box-sizing: border-box;
}

/* =============================
   ANIMACIONES SIMPLIFICADAS
============================= */
.ztr-animate {
    opacity: 0;
    /* suben desde abajo */
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
	
	
}

/* Imagen: efecto glass/fade */
.ztr-img-wrap.ztr-animate {
    opacity: 0.6;
    transition: opacity 1s ease-out, transform 0.8s ease-out;
}



/* Activar animación */
.ztr-animate.active {
    opacity: 1;
    transform: translateX(-50) translateY(50);
}

.ztr-img-wrap.ztr-animate.active {
    opacity: 1;
}

/* =============================
   ESTILOS DE IMAGEN
============================= */
.ztr-img-wrap img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    display: block;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.ztr-img-wrap:hover img {
    transform: scale(1.03);
    opacity: 1;
}

/* =============================
   ESTILOS DE TEXTO
============================= */
.ztr-text-wrap h2 {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 18px;
}

.ztr-text-wrap p,
.ztr-text-wrap ul {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 10px;
}

.ztr-text-wrap ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
	list-style-type:none;
}

.ztr-text-wrap ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9rem;
    font-weight: 700;
	
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 1024px) {
    .ztr-flex-section {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .ztr-text-wrap h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .ztr-text-wrap h2 {
        font-size: 24px;
    }
}

/* =============================
   TABS INDUSTRIAL
============================= */
.ztr-tabs-industrial {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.ztr-tabs-nav {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    border-left: 3px solid #d1d1d1;
    background: #f5f5f5;
}

.ztr-tab {
    background: none;
    border: none;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
	 color: gray;
}

.ztr-tab.active {
    border-left: 4px solid #004882;
    font-weight: 600;
    background: #f0f0f0;
    color: #004882;
}

.ztr-tabs-content {
    flex: 1;
    /* border: 1px solid #dcdcdc; */
    border-radius: 4px;
    padding: 10px 20px;
    box-sizing: border-box;
}

/* Panels ocultos */
.ztr-tab-panel {
    display: none;
}

.ztr-tab-panel.active-panel {
    display: block;
}

/* Responsive tabs */
@media (max-width: 768px) {
    .ztr-tabs-industrial {
        flex-direction: column;
    }

    .ztr-tabs-nav {
        flex-direction: row;
        border-left: none;
        border-bottom: 3px solid #d1d1d1;
        min-width: 100%;
    }

    .ztr-tab {
        flex: 1;
        text-align: center;
        border-left: none;
        border-bottom: 4px solid transparent;
    }

    .ztr-tab.active {
        border-left: none;
        border-bottom: 4px solid #004882;
    }

    .ztr-tabs-content {
        margin-top: 15px;
    }
}

/* =============================
   LINEA DE TIEMPO
============================= */
.historia .linea-tiempo {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
}

.historia .linea {
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #3976A4, #5DC0DB);
    z-index: 1;
}

.historia .linea-tiempo > div:not(.linea) {
    position: relative;
    z-index: 2;
    width: 30%;
    margin-bottom: 30px;
}

.historia .y-2015,
.historia .y-2022,
.historia .y-2025 {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #3976A4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 4px rgba(93, 192, 219, 0.2);
    transition: all 0.3s ease;
}

.historia .linea-tiempo > div:hover .y-2015,
.historia .linea-tiempo > div:hover .y-2022,
.historia .linea-tiempo > div:hover .y-2025 {
    background: #5DC0DB;
}

.historia .descripcion {
    color: #6B8A99;
}

/* =============================
   CTA FINAL
============================= */
.ztr-cta-final .content {
    text-align: center;
    padding: 0 20px;
}

.ztr-cta-final h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.ztr-cta-final h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.ztr-cta-final p {
    font-size: 17px;
    margin-bottom: 28px;
}

.ztr-cta-final a.link-contact {
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s ease;
	color:white;
	
}




/* Contenedor principal */
.ztr-seccion-nosotros {
    width: 100%;
    max-width: 1200px; /* Ajusta según tu ast-container */
    margin: 0 auto;
    /* padding: 40px 15px; */ /* Espaciado interno */
    box-sizing: border-box;
}

/* Sección flex */
.ztr-flex-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Para responsivo */
    margin-bottom: 60px;
}

/* Imagen y texto 50%/50% */
.ztr-flex-section .ztr-img-wrap,
.ztr-flex-section .ztr-text-wrap {
    flex: 1 1 48%; /* ancho flexible, deja espacio entre columnas */
    box-sizing: border-box;
}

/* Imagen responsive */
.ztr-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Texto padding */
.ztr-text-wrap {
    padding: 0 20px;
}

/* Historia y CTA final ocupan todo ancho */
.ztr-flex-section .historia,
.ztr-flex-section .ztr-cta-final {
    width: 100%;
    padding: 0 20px;
}

/* Animaciones ya definidas */
.ztr-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: transform 1.15s cubic-bezier(0.22,1,0.36,1),
                opacity 1s ease-out;
}
.ztr-animate.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Efectos de entrada desde lados opuestos */

.text-left { transform: translateX(-150px); }
.text-right { transform: translateX(150px); }


/* Responsive */
@media screen and (max-width: 921px) {
    .ztr-flex-section {
        flex-direction: column;
    }
    .ztr-flex-section .ztr-img-wrap,
    .ztr-flex-section .ztr-text-wrap {
        flex: 1 1 100%;
        padding: 10px 0;
    }
}

.pill{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #4E6B92;
    background: rgba(78,107,146,0.08);
    border: 1px solid rgba(78,107,146,0.25);
    border-radius: 999px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* punto indicador */
.pill::before{
    content: "";
    width: 8px;
    height: 8px;
    background: #4E6B92;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(78,107,146,0.7);
    animation: pulse 2s infinite;
}

/* animación */
@keyframes pulse{
    0%{
        box-shadow: 0 0 0 0 rgba(78,107,146,0.6);
    }
    70%{
        box-shadow: 0 0 0 6px rgba(78,107,146,0);
    }
    100%{
        box-shadow: 0 0 0 0 rgba(78,107,146,0);
    }
}

/* Añadido Viernes 13 */

.ztr-cta-final{
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
}

/* halo decorativo */
.ztr-cta-final::before{
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(78,107,146,0.15) 0%, rgba(78,107,146,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.ztr-cta-final .content{
    position: relative;
    z-index: 1;
    max-width: 650px;
    background: #ffffff;
    padding: 45px 55px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* títulos */

.ztr-cta-final h2{
    font-size: 28px;
    margin-bottom: 8px;
}

.ztr-cta-final h3{
    font-size: 18px;
    font-weight: 600;
    color: #4E6B92;
    margin-bottom: 14px;
}

.ztr-cta-final p{
    color: #555;
    margin-bottom: 28px;
}

/* botón premium */

.link-contact{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: #4E6B92;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 999px;
    transition: all .3s ease;
    box-shadow: 0 10px 25px rgba(78,107,146,0.35);
}

/* flecha */
.link-contact::after{
    content: "→";
    transition: transform .3s ease;
}

/* hover */

.link-contact:hover{
    background: #3f5a7d;
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(78,107,146,0.45);
}

.link-contact:hover::after{
    transform: translateX(5px);
}