﻿/* =================== Estilos Generales =================== */
body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #000;
    margin: 0;
    padding: 0;
}

h1, h2, p {
    margin: 0 0 20px 0;
}

/* =================== Contenedor de los servicios =================== */
.services {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #f8f8f8;
}

/* Lista de servicios (botones) */
.service-list {
    width: 30%;
}

.service-option {
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 15px;
    margin: 10px 0;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .service-option:hover {
        background-color: #444;
    }

/* Detalles de servicio */
.service-detail {
    width: 65%;
    background-color: #fff;
    padding: 20px;
    border-left: 2px solid #000;
    position: relative;
    height: 300px;
    overflow: hidden;
    display: none;
    opacity: 0;
    transition: all 0.5s ease;
}

    .service-detail.show {
        display: block;
        opacity: 1;
        transform: translateX(0);
    }

/* Caja de detalles de cada servicio */
.service-detail-box {
    display: none;
}

    .service-detail-box h3 {
        font-size: 1.8em;
        color: #000;
    }

    .service-detail-box p {
        font-size: 1.2em;
        color: #333;
    }

/* Animaciones */
.service-option.clicked {
    transform: translateX(-20px);
}

/* =================== Sección Servicios (negro + dorado) =================== */
.servicios-container {
    background: linear-gradient(135deg, #0f0f0f, #1c1c1c, #2a2a2a);
    padding: 60px 0;
    color: #f5f5f5;
    text-align: center;
}

.titulo-servicios {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #fff;
    letter-spacing: 1px;
}

.servicios-box {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Panel izquierdo */
.servicios-menu {
    display: flex;
    flex-direction: column;
    width: 35%;
    gap: 10px;
}

.servicio-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: #f0f0f0;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .servicio-btn:hover {
        background: rgba(255, 215, 0, 0.15);
        border-color: #d4af37;
    }

    .servicio-btn.active {
        background: #d4af37;
        color: #111;
        border-color: #d4af37;
    }

/* Panel derecho */
.servicios-detalle {
    background: #111;
    color: #ddd;
    border-radius: 10px;
    width: 65%;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.detalle-box {
    display: none;
}

    .detalle-box.active {
        display: block;
    }

    .detalle-box h3 {
        color: #d4af37;
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .detalle-box p {
        font-size: 1rem;
        color: #cfcfcf;
        line-height: 1.6;
    }

/* Responsive */
@media (max-width: 768px) {
    .servicios-box {
        flex-direction: column;
    }

    .servicios-menu, .servicios-detalle {
        width: 100%;
    }
}

/* =================== NAVBAR =================== */
.header-nav {
    background: linear-gradient(to right, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.8) 75%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Contenedor navbar */
.navbar {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo a la izquierda */
.logo img {
    height: 100px;
    width: auto;
}

/* Menú a la derecha */
.menu {
    margin-left: auto;
}

    /* Sobrescribir nav-link de Bootstrap */
    .menu ul li a.nav-link {
        text-decoration: none;
        color: #fff;
        font-weight: 600;
        padding: 8px 12px;
        border-radius: 6px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

        .menu ul li a.nav-link:hover,
        .menu ul li a.nav-link.active {
            background-color: rgba(255, 255, 255, 0.1);
            color: #f0f0f0;
        }

    /* Dropdown personalizado */
    .menu .dropdown-menu {
        background-color: #111;
        border: 1px solid #333;
    }

    .menu .dropdown-item {
        color: #f5f5f5;
        transition: background 0.3s, color 0.3s;
    }

        .menu .dropdown-item:hover {
            background-color: rgba(212, 175, 55, 0.2);
            color: #111;
        }

/* =================== FOOTER =================== */
.footer {
    background: #0f0f0f;
    color: #bbb;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
    border-top: 1px solid #222;
}

/* =================== HERO SECTION =================== */
.hero-section {
    background: linear-gradient(135deg, #000000, #1a1a1a, #2d2d2d);
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1), transparent 70%);
        pointer-events: none;
    }

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 300;
}

/* =================== SERVICIOS SECTION =================== */
.servicios-section {
    background-color: #f5f5f5;
    padding: 80px 20px;
}

.servicios-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.servicios-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* =================== CARDS DE SERVICIOS =================== */
.servicio-card {
    background: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .servicio-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
        border-color: #d4af37;
    }

.servicio-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.servicio-card:hover .servicio-icon {
    background: #d4af37;
    transform: rotate(360deg);
}

.servicio-icon svg {
    color: #fff;
}

.servicio-nombre {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servicio-descripcion {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .servicios-title {
        font-size: 2rem;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .servicios-section {
        padding: 50px 15px;
    }
}
/* =================== SERVICIOS INTERACTIVOS =================== */
.servicios-interactivos {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
    padding: 90px 20px;
    min-height: 600px;
}

.servicios-container-interactive {
    max-width: 1200px;
    margin: 0 auto;
}

.servicios-titulo-interactive {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

/* Contenedor principal */
.servicios-layout {
    max-width: 1100px;
    margin: 0 auto;
    background: none;
    backdrop-filter: none;
    border-radius: 20px;
    padding: 50px;
    box-shadow: none;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    min-height: 500px;
}

/* =================== PANEL DE BOTONES =================== */
.servicios-botones {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 350px;
    flex-shrink: 0;
    position: relative;
    transform: translateX(calc(50% + 175px));
    transition: transform 1s ease-in-out, width 1s ease-in-out;
}

    .servicios-botones.desplazado {
        transform: translateX(0);
        width: 35%;
    }

.btn-servicio {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

    .btn-servicio:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.4);
        transform: scale(1.02);
    }

.servicios-botones.desplazado .btn-servicio:hover {
    transform: translateX(-5px);
}

.btn-servicio.active {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* =================== PANEL DE INFORMACIÓN =================== */
.servicios-info {
    display: none;
    width: 65%;
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    flex-shrink: 0;
}

    .servicios-info.visible {
        display: block;
        animation: fadeInPanel 0.8s ease forwards;
    }

@keyframes fadeInPanel {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.info-card {
    display: none;
}

    .info-card.active {
        display: block;
    }

    .info-card h3 {
        font-size: 2rem;
        color: #000;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .info-card p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #333;
        margin-bottom: 25px;
        text-align: justify;
    }

    .info-card ul {
        list-style: none;
        padding: 0;
    }

        .info-card ul li {
            padding: 12px 0;
            padding-left: 30px;
            position: relative;
            font-size: 1.05rem;
            color: #444;
            line-height: 1.6;
        }

            .info-card ul li::before {
                content: '✓';
                position: absolute;
                left: 0;
                color: #000;
                font-weight: bold;
                font-size: 1.3rem;
            }

/* =================== RESPONSIVE =================== */
@media (max-width: 1200px) {
    .servicios-layout {
        padding: 40px 30px;
    }

    .servicios-botones {
        transform: translateX(calc(40% + 175px));
    }
}

@media (max-width: 968px) {
    .servicios-layout {
        flex-direction: column;
        padding: 30px 20px;
        justify-content: center;
        align-items: center;
    }

    .servicios-botones {
        width: 100%;
        max-width: 500px;
        transform: translateX(0);
    }

        .servicios-botones.desplazado {
            width: 100%;
            max-width: 500px;
            transform: translateX(0);
        }

    .servicios-info {
        width: 100%;
    }

        .servicios-info.visible {
            width: 100%;
            margin-top: 30px;
        }
}

@media (max-width: 768px) {
    .servicios-titulo-interactive {
        font-size: 2.2rem;
    }

    .servicios-layout {
        padding: 25px 15px;
    }

    .btn-servicio {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .servicios-info.visible {
        padding: 30px 25px;
    }

    .info-card h3 {
        font-size: 1.6rem;
    }

    .info-card p {
        font-size: 1rem;
    }
}

/* =================== FOOTER MEJORADO =================== */
.footer-main {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ccc;
    padding: 60px 20px 20px;
    border-top: 3px solid #000;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #aaa;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 12px;
        font-size: 0.95rem;
        color: #aaa;
    }

    .footer-links a {
        color: #aaa;
        text-decoration: none;
        transition: color 0.3s ease, padding-left 0.3s ease;
        display: inline-block;
    }

        .footer-links a:hover {
            color: #fff;
            padding-left: 5px;
        }

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-bottom {
    text-align: center;
}

    .footer-bottom p {
        font-size: 0.9rem;
        color: #888;
        margin: 0;
    }

/* =================== RESPONSIVE FOOTER =================== */
@media (max-width: 968px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 40px 15px 20px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-title {
        font-size: 1.2rem;
    }
}

/* =================== PÁGINA DE CONTACTO =================== */
.contacto-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
    padding: 80px 20px;
    min-height: calc(100vh - 200px);
}

.contacto-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contacto-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 15px;
}

.contacto-subtitle {
    font-size: 1.1rem;
    color: #ccc;
    text-align: center;
    margin-bottom: 40px;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        color: #fff;
        font-weight: 600;
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

.form-control {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        outline: none;
        border-color: #fff;
        background: rgba(255, 255, 255, 0.1);
    }

    .form-control::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.text-danger {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 5px;
}

.btn-submit {
    background: #fff;
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 10px;
}

    .btn-submit:hover {
        background: #f0f0f0;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
    }

@media (max-width: 768px) {
    .contacto-container {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contacto-title {
        font-size: 2rem;
    }
}
/* =================== CALL TO ACTION - CONTACTO =================== */
.cta-contacto {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-contacto::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 70%);
        pointer-events: none;
    }

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.cta-description {
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

    .btn-cta:hover {
        background: #f0f0f0;
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
        color: #000;
    }

.footer-link-contacto {
    font-weight: 600 !important;
}

    .footer-link-contacto:hover {
        text-decoration: underline !important;
    }

@media (max-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 15px 40px;
        font-size: 1.1rem;
    }
}
/* =================== LEGAL VIEW =================== */
.legal-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
    padding: 100px 20px;
    color: #f0f0f0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.legal-container {
    max-width: 1400px; /* antes 1100px */
    width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 60px; /* más aire */
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease forwards;
    display: flex;
    flex-direction: column;
    gap: 50px;
}


/* Header */
.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.legal-subtitle {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

/* Contenedor de los partials */
.legal-content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    flex-wrap: wrap;
}

/* Cada partial */
.legal-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Texto = 50% */
.legal-text {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
}

    .legal-text h2.legal-title {
        font-size: 2rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 15px;
    }

    .legal-text p.legal-description {
        text-align: justify; /* más profesional */
    }

.legal-image {
    flex: 1 1 50%;
    height: 350px; /* tamaño elegante tipo banner */
    border-radius: 15px;
    overflow: hidden; /* importante para recorte */
}


    /* Imagen interna */
    .legal-image img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* recorta sin deformar */
        object-position: center;
    }
/* Solo para la imagen de Auditorías (tu clase específica) */
.legal-image-audt {
    /* si quieres que la imagen ocupe menos ancho que el texto, cambia flex-basis o flex */
    /* por ejemplo: flex: 0 0 40%;  */
}

/* Imagen: rellena el conte
        nedor y se recorta con object-fit */
.legal-image-audt {
    height: 380px;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-in-out;
}

/* Responsive */
@media (max-width: 968px) {
    .legal-container {
        padding: 30px 20px;
    }

    .legal-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .legal-content {
        flex-direction: column;
    }

    .legal-image {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 576px) {
    .legal-main-title {
        font-size: 2rem;
    }

    .legal-subtitle {
        font-size: 1rem;
    }

    .legal-text h2.legal-title {
        font-size: 1.6rem;
    }

    .legal-text p.legal-description {
        font-size: 0.95rem;
    }
}

/* =================== NOSOTROS =================== */
.nosotros-section {
    padding: 80px 20px;
    background: #111;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center; /* centra los bloques horizontalmente */
    gap: 60px; /* separación entre bloques */
}

.nosotros-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.nosotros-block {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

    .nosotros-block.reverse {
        flex-direction: row-reverse;
    }




.nosotros-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.nosotros-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
}

/* Animación fade-in desde abajo */
.fade-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .fade-scroll.show {
        opacity: 1;
        transform: translateY(0);
    }

.nosotros-bloque {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px; /* limita el ancho de cada bloque */
    width: 100%;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
    justify-content: center; /* centra contenido dentro del bloque */
}


    .nosotros-bloque.reverse {
        flex-direction: row-reverse;
    }

.nosotros-imagen {
    flex: 0 0 auto;
    max-width: 400px;
}

.nosotros-texto {
    flex: 0 0 auto;
    max-width: 600px;
}

    .nosotros-texto h2 {
        color: #d4af37;
        margin-bottom: 15px;
    }

    .nosotros-texto p {
        color: #ccc;
        line-height: 1.6;
    }

/* Fade-in al scrollear una sola vez */
.nosotros-bloque.visible {
    opacity: 1;
    transform: translateY(0);
}
/* =================== PILAR HORIZONTAL (NUEVA SECCIÓN) =================== */

.pilar-horizontal-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
    padding: 90px 20px;
}

.pilar-horizontal-container {
    max-width: 1300px;
    margin: 0 auto;
}

.pilar-horizontal-card {
    background: #1a1a1a; /* igual que tarjetas del bloque negro */
    border-radius: 15px;
    padding: 50px 50px;
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

    .pilar-horizontal-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 45px rgba(255,255,255,0.15);
        border-color: #fff;
    }

.pilar-horizontal-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    min-width: 250px;
}

.pilar-horizontal-text {
    font-size: 1.15rem;
    color: #d8d8d8;
    line-height: 1.9;
    flex: 1;
}

/* Responsivo */
@media (max-width: 900px) {
    .pilar-horizontal-card {
        flex-direction: column;
        text-align: left;
        gap: 25px;
    }

    .pilar-horizontal-title {
        min-width: auto;
        text-align: center;
    }
}



/* =================== SECCIÓN PILARES =================== */
.pilares-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
    padding: 90px 20px;
}

.pilares-container {
    max-width: 1300px;
    margin: 0 auto;
}

.pilares-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 70px;
    letter-spacing: 2px;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pilar-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18); /* Antes era más dura */
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05); /* ayuda a integrarlo */
}

    .pilar-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        border-color: #fff;
    }

.pilar-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.pilar-card:hover .pilar-icon {
    background: #333;
    transform: scale(1.1) rotate(5deg);
}

.pilar-icon svg {
    color: #fff;
}

.pilar-titulo {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.pilar-descripcion {
    font-size: 1.05rem;
    color: #d8d8d8;
    line-height: 1.8;
    text-align: left;
}

.pilar-valores-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

    .pilar-valores-lista li {
        padding: 10px 0;
        font-size: 1rem;
        color: #fff;
        line-height: 1.7;
    }

    .pilar-valores-lista strong {
        color: #fff;
        font-weight: 700;
    }


/* =================== RESPONSIVE PILARES =================== */
@media (max-width: 1024px) {
    .pilares-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pilar-card {
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pilares-section {
        padding: 60px 20px;
    }

    .pilares-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .pilar-icon {
        width: 80px;
        height: 80px;
    }

        .pilar-icon svg {
            width: 50px;
            height: 50px;
        }

    .pilar-titulo {
        font-size: 1.5rem;
    }

    .pilar-descripcion,
    .pilar-valores-lista li {
        font-size: 0.95rem;
    }
}
