@charset "utf-8";
/* Legal Page Specific Styles */

/* Hero Section - Legal */
.legal-hero {
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; 
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, rgba(80, 105, 153, 0.7), rgba(148, 163, 193, 0.6));
}

.legal-hero .hero-background {
    background-image: url('../imagenes/patagonia.jpg');
    filter: brightness(0.68) contrast(1.65);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(148, 163, 193, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-content-legal {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 2rem;
}

.hero-content-legal img {
	/* width: calc(75% - 20px);  100% menos 15px a cada lado */
	width: 390px;
	max-width: calc(85% - 20px);
	margin-left: 10px;
	margin-right: 10px;
	height: auto; /* Mantiene la proporción de la imagen */
}


.legal-icon-large {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #6980b2, #506999);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 15px 50px rgba(148, 163, 193, 0.5);
    animation: pulseGlow 3s ease-in-out infinite;
}

.legal-icon-large svg {
    width: 70px;
    height: 70px;
    fill: #fff;
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 15px 50px rgba(148, 163, 193, 0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 20px 60px rgba(148, 163, 193, 0.7);
        transform: scale(1.05);
    }
}

.legal-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    letter-spacing: 3px;
}

.legal-tagline {
    font-size: 1.6rem;
    color: rgba(255,255,255,0.95);
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}



/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* About Section */
.about-section {
    background: #f8f9fa;
    padding: 5rem 0 2rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #506999;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #94a3c1, #506999);
    border-radius: 2px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-text strong {
    color: #506999;
    font-weight: 700;
}


/* CARRUSEL */
.carousel-section {
	margin: auto;
	padding: 30px 30px; 
	max-width: 900px;
}

 .carousel-container {
	 overflow: hidden;
	 position: relative;
	 padding: 20px 0 45px;
}

.carousel-track {
	display: flex;
	animation: scroll 40s linear infinite;
	width: fit-content;
}

.carousel-track:hover {
	animation-play-state: paused;
}

.logo-item {
            flex: 0 0 auto;
            width: 200px;
            height: 120px;
            margin: 0 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            transition: all 0.3s ease;
            filter: grayscale(100%);
            opacity: 0.7;
        }

        .logo-item:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: scale(1.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .logo-item img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        /* Duplicamos el contenido para animación infinita */
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .logo-item {
                width: 150px;
                height: 90px;
                margin: 0 15px;
            }

            .carousel-section {
                padding: 30px 20px;
            }
        }


/* Pillars Section */
.pillars-section {
    background: #fff;
    padding: 1rem 0 3rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Centrar el último elemento cuando es impar */
.pillar-card:last-child:nth-child(odd) {
    grid-column: span 1;
}

@media (max-width: 640px) {
    .pillars-grid-two {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 962px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
}

.pillar-card {
    background: #fff;
    border: 2px solid #e8eef2;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-color: #94a3c1;
    box-shadow: 0 15px 40px rgba(148, 163, 193, 0.2);
}

/* Foto de perfil */
.profile-photo {
    width: 75%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pillar-icon-consulting {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6980b2, #506999);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}


.pillar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4ECDC4, #44a8a0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 10px 30px rgba(148, 163, 193, 0.4);
}

.pillar-icon svg {
    width: 40px;
    height: 40px;
    fill: #fff;
}

.pillar-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #506999;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.pillar-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #94a3c1, #506999);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}


.pillar-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

.pillar-description a {
    color: #2563eb; /* Azul más vibrante y accesible */
    text-decoration: none;
    font-weight: 500; /* Hace el enlace más visible */
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.pillar-description a:hover {
    color: #1d4ed8; /* Azul más oscuro al hover */
    border-bottom-color: #1d4ed8;
}

/* Opcional: efecto de subrayado animado */
.pillar-description a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #1d4ed8;
    transition: width 0.3s ease;
}

.pillar-description a:hover::after {
    width: 100%;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #6980b2 0%, #506999 100%);
    padding: 2rem 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../imagenes/3dk-ban04.jpg') center/cover;
    opacity: 0.1;
    filter: brightness(0.5);
}

.section-title-light {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title-light::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #4ECDC4, #fff);
    border-radius: 2px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6980b2, #506999);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    box-shadow: 0 10px 30px rgba(149, 163, 193, 0.4);
}

.contact-icon svg {
    width: 25px;
    height: 25px;
    fill: #fff;
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #506999;
    margin-bottom: 1.5rem;
}

.contact-address {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* Footer */
footer {
    background: #1a2530;
    color: rgba(255,255,255,0.7);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #4a9eff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .legal-title {
        font-size: 3rem;
    }

    .legal-tagline {
        font-size: 1.3rem;
    }

    .section-title,
    .section-title-light {
        font-size: 2.5rem;
    }

    .pillars-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .about-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .legal-hero {
        min-height: 50vh;
    }

    .legal-title {
        font-size: 2.5rem;
    }

    .legal-tagline {
        font-size: 1.6rem;
        max-width: 95%; /* Opcional: limita el ancho para forzar el salto de línea */
        margin-left: auto;
        margin-right: auto;
    }

    .legal-icon-large {
        width: 100px;
        height: 100px;
    }

    .legal-icon-large svg {
        width: 50px;
        height: 50px;
    }

    .section-title,
    .section-title-light {
        font-size: 2rem;
    }

    .about-section,
    .pillars-section,
    .contact-section {
        padding: 3rem 0;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }
	
	.pillars-grid[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    .about-text {
        font-size: 1rem;
        text-align: left;
    }

    .contact-info {
        padding: 2rem 1.5rem;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .contact-address {
        font-size: 1rem;
    }
}
