/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-rqiqdce6zp] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-rqiqdce6zp] {
    flex: 1;
}

.sidebar[b-rqiqdce6zp] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-rqiqdce6zp] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-rqiqdce6zp]  a, .top-row[b-rqiqdce6zp]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-rqiqdce6zp]  a:hover, .top-row[b-rqiqdce6zp]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-rqiqdce6zp]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-rqiqdce6zp] {
        justify-content: space-between;
    }

    .top-row[b-rqiqdce6zp]  a, .top-row[b-rqiqdce6zp]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-rqiqdce6zp] {
        flex-direction: row;
    }

    .sidebar[b-rqiqdce6zp] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-rqiqdce6zp] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-rqiqdce6zp]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-rqiqdce6zp], article[b-rqiqdce6zp] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-rqiqdce6zp] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-rqiqdce6zp] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-pgmypkq4jt] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-pgmypkq4jt] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-pgmypkq4jt] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-pgmypkq4jt] {
    font-size: 1.1rem;
}

.bi[b-pgmypkq4jt] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-pgmypkq4jt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-pgmypkq4jt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-pgmypkq4jt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-pgmypkq4jt] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-pgmypkq4jt] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-pgmypkq4jt] {
        padding-bottom: 1rem;
    }

    .nav-item[b-pgmypkq4jt]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-pgmypkq4jt]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-pgmypkq4jt]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-pgmypkq4jt] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-pgmypkq4jt] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-pgmypkq4jt] {
        display: none;
    }

    .nav-scrollable[b-pgmypkq4jt] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Contacto.razor.rz.scp.css */
/* Card de contactos directos (referencia visual) */
[b-fdkz9vi37k] .contact-card {
    background: linear-gradient(145deg, #ffffff, #f7f9fc);
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}
/* /Components/Pages/QuienesSomos.razor.rz.scp.css */
/* ============================================
   Estilos aislados para QuienesSomos.razor
   ============================================ */

/* Card principal del header de la empresa */
[b-6x2qgmfaxi] .company-card {
    background: linear-gradient(145deg, #ffffff, #f7f9fc);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

/* Layout del header: texto a la izquierda, logo a la derecha */
[b-6x2qgmfaxi] .company-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Columna de texto */
[b-6x2qgmfaxi] .company-text-col {
    flex: 1;
    min-width: 0;
}

/* T�tulo de la empresa */
[b-6x2qgmfaxi] .company-title {
    font-size: 2.1rem;
    font-weight: 400;
    color: #111827;
    margin: 0 0 0.6rem 0;
    line-height: 1.2;
}

/* Nombre legal */
[b-6x2qgmfaxi] .company-legal-name {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0 0 0.6rem 0;
}

/* Badge del RUT */
[b-6x2qgmfaxi] .company-rut-badge {
    display: inline-flex;
    align-items: center;
    color: #4b5563;
    font-size: 0.9rem;
}

[b-6x2qgmfaxi] .company-rut-badge svg {
    color: #9ca3af;
    margin-right: 0.35rem;
}

/* Columna del logo */
[b-6x2qgmfaxi] .company-logo-col {
    flex-shrink: 0;
}

/* Frame del logo - tama�os similares a la tarjeta de contacto */
[b-6x2qgmfaxi] .company-logo-frame {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-6x2qgmfaxi] .company-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Separador */
[b-6x2qgmfaxi] .company-separator {
    border: none;
    height: 1px;
    margin: 1.75rem 0;
    background: linear-gradient(90deg,
        rgba(15, 23, 42, 0.04) 0%,
        rgba(15, 23, 42, 0.12) 50%,
        rgba(15, 23, 42, 0.04) 100%);
}

/* Texto introductorio */
[b-6x2qgmfaxi] .company-intro-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
}

/* Texto azul est�tico (simula un link pero no lo es) */
[b-6x2qgmfaxi] .text-blue-static {
    color: #0d6efd;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    [b-6x2qgmfaxi] .company-card {
        padding: 2rem 1.5rem;
    }

    [b-6x2qgmfaxi] .company-header-row {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    [b-6x2qgmfaxi] .company-logo-frame {
        width: 210px;
        height: 210px;
        order: -1; /* Logo arriba en m�vil */
    }

    [b-6x2qgmfaxi] .company-title {
        font-size: 1.9rem;
    }

    [b-6x2qgmfaxi] .company-legal-name {
        font-size: 0.92rem;
    }

    [b-6x2qgmfaxi] .company-rut-badge {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    [b-6x2qgmfaxi] .company-card {
        padding: 1.5rem 1.25rem;
    }

    [b-6x2qgmfaxi] .company-logo-frame {
        width: 190px;
        height: 190px;
    }

    [b-6x2qgmfaxi] .company-title {
        font-size: 1.6rem;
    }

    [b-6x2qgmfaxi] .company-intro-text {
        font-size: 0.95rem;
    }
}
