/*
|----------------------------------------------------------
| CSS UNIFICADO: TIPOGRAFÍA, JERARQUÍA Y ESPACIADO
|----------------------------------------------------------
| 
| 1. Inclusión de fuentes Montserrat y Lato (desde /assets/fonts)
| 2. Definición de estilos base (body, h1-h6)
| 3. Ajustes de espaciado y jerarquía en todas las secciones
|
*/


/* ====================
    FUENTES DE GOOGLE FONTS
===================== */
/* Montserrat (Regular) */
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Montserrat (ExtraBold Italic - para títulos destacados) */
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800; /* ExtraBold */
    font-style: italic;
    font-display: swap;
}

/* Lato (Regular) */
@font-face {
    font-family: 'Lato';
    src: url('/assets/fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Lato (Black - para texto destacado) */
@font-face {
    font-family: 'Lato';
    src: url('/assets/fonts/Lato-Black.ttf') format('truetype');
    font-weight: 900; /* Black */
    font-style: normal;
    font-display: swap;
}


/* ====================
    TIPOGRAFÍA / BASE
===================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    /* Fuente principal para el cuerpo del texto: Lato */
    font-family: 'Lato', Arial, sans-serif;
    background: #f6f6f6;
    line-height: 1.6; /* Mejora la legibilidad */
    color: #333; /* Color de texto base oscuro para legibilidad */
}

/* Restablecimiento y Jerarquía de Títulos */
h1, h2, h3, h4, h5, h6 {
    /* Fuente destacada para títulos: Montserrat */
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

/* Título principal de la página (Ej. en el Hero) */
h1 {
    font-size: 2.5rem; /* ~40px */
    font-weight: 800;
}

/* Títulos de sección principal */
h2 {
    font-size: 2rem; /* ~32px */
    font-weight: 700;
    margin-bottom: 20px; /* Más espacio para separar secciones */
}

/* Subtítulos de sección / Títulos de tarjeta */
h3 {
    font-size: 1.5rem; /* ~24px */
    font-weight: 600;
}


/* ====================
    HEADER
===================== */
.header {
    background: #240733;
background: linear-gradient(90deg,rgba(36, 7, 51, 1) 0%, rgba(83, 69, 173, 1) 50%, rgba(18, 22, 122, 1) 100%);
    padding: 20px 0;
    text-align: center;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header img.logo {
    max-width: 300px;
}

/* ====================
    NAV
===================== */
.navbar {
    background: #01335d;
    text-align: center;
    padding: 10px 0;
    font-family: 'Lato', sans-serif; 
}

.navbar a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 700;
    font-size: 16px;
    padding: 5px 0; 
    display: inline-block;
}

.navbar a:hover {
    text-decoration: underline;
}

/* ====================
    CONTENIDO
===================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto; 
}


/* ====================
    FOOTER
===================== */
.footer {
    margin-top: 60px; 
    background: #3b4148;
    color: #ffffff;
    font-size: 15px; 
    font-family: 'Lato', sans-serif;
}

/* Fila superior */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; 
    gap: 40px;
    padding: 30px 10%; 
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-top .footer-col h3 {
    margin: 0 0 15px; 
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif; 
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Fila inferior: 4 columnas */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    text-align: center;
    padding: 20px 10%; 
}

.footer-bottom-col {
    min-width: 160px;
}

.footer-bottom-ssn img {
    max-height: 40px;
    margin-top: 5px;
}

/* Botón subir */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: none;
    background: #ffffff;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.back-to-top i {
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-top {
        padding: 20px;
        text-align: center;
    }
    .footer-bottom {
        padding: 15px 20px;
    }
}


/* =====================================================
    PANEL FLOANTE ADMIN (antes estaba inline en header)
===================================================== */
.sb-admin-floating {
    position: fixed;
    z-index: 9999;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sb-admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15,23,42,0.25);
}

.sb-admin-btn-main {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #fff;
    font-weight: 600;
}

.sb-admin-btn-logout {
    background: #dc2626;
    color: #fff;
    font-weight: 500;
}

@media (max-width: 640px) {
    .sb-admin-floating {
        right: 10px;
        bottom: 10px;
    }
}


/* =====================================================
    FICHA PAS (pas_view.php)
===================================================== */

/* Wrapper general de la ficha */
.pas-wrapper {
    max-width: 960px;
    margin: 50px auto; 
    padding: 0 16px 50px;
}

/* Tarjeta principal */
.pas-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 40px rgba(15,23,42,0.12);
}

/* COLUMNA IZQUIERDA: foto + nombre + matrícula + iconos */
.pas-left {
    flex: 0 0 auto;
    width: 420px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* FOTO RESPONSIVE */
.pas-photo {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    object-fit: cover;
}

/* Ancho en pantallas más chicas */
@media (max-width: 1199px) {
    .pas-left {
        width: 320px;
    }
    .pas-photo {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .pas-card {
        flex-direction: column;
        align-items: center;
    }
    .pas-left {
        width: 100%;
        max-width: 420px;
    }
    .pas-photo {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
    .pas-right {
        width: 100%;
        text-align: center;
    }
}

/* Nombre y matrícula */
.pas-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.pas-mat {
    font-size: 15px;
    margin-top: 4px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #444;
}

/* Redes debajo de la foto (web / fb / ig solo iconos) */
.pas-social-icons {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.pas-social-icons a {
    display: flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #f3f4f6;
    color: #111827;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: background 0.25s;
}

.pas-social-icons a:hover {
    background: #e5e7eb;
}

/* COLUMNA DERECHA: datos + botones + enlaces + siniestros */
.pas-right {
    flex: 1;
    min-width: 280px;
}

.pas-location {
    font-size: 14px;
    margin-bottom: 16px;
}

/* Botones de contacto (email / WhatsApp) */
.pas-contact {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: none;
}

.btn-contact i {
    font-size: 16px;
}

.btn-email {
    background: #0ea5e9; 
}

.btn-wa {
    background: #22c55e;
}

/* Enlaces externos */
.pas-extra-links {
    margin-top: 25px;
}

.pas-extra-links h3,
.pas-companies h3 {
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif; 
    margin-bottom: 12px;
    font-weight: 600;
}

.pas-links-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.extra-link-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.extra-link-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    font-size: 13px;
    color: #111827;
    background: #fefce8;
}

.extra-link-copy {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 12px;
}

/* Siniestros */
.pas-siniestros {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-siniestros {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #b91c1c;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.btn-copy {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    cursor: pointer;
    font-size: 12px;
}

.copy-msg {
    font-size: 12px;
    color: #16a34a;
    opacity: 0;
    transition: opacity .2s ease;
}

/* Compañías a todo el ancho */
.pas-companies { 
    margin-top: 30px; 
    background:#ffffff;
    border-radius:16px;
    padding:20px 24px;
    box-shadow:0 10px 30px rgba(15,23,42,0.08);
}

.pas-companies-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.company-logo-box {
    width: 100px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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


/* =====================================================
    LISTA PAS POR ORGANIZADOR
===================================================== */

.pas-list-wrapper {
    max-width: 960px;
    margin: 40px auto 60px;
    padding: 0 16px;
}

.pas-list-title {
    font-size: 2rem; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700;
    margin-bottom: 20px;
}

/* Barra de filtro */
.pas-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 16px;
    margin-bottom: 16px;
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(15,23,42,0.06);
}

.pas-filter-field {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pas-filter-field label {
    font-size: 12px;
    color: #4b5563;
}

.pas-filter-field input[type="text"] {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    font-size: 13px;
    outline: none;
}

.pas-filter-field input[type="text"]:focus {
    border-color: #2563eb;
}

.pas-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pas-list-summary {
    font-size: 13px;
    margin-bottom: 12px;
}

/* Grid de tarjetas */
.pas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px;
}

.pas-card-list {
    display: flex;
    gap: 16px;
    background: #ffffff;
    border-radius: 14px;
    padding: 15px;
    box-shadow: 0 6px 22px rgba(15,23,42,0.06);
}

.pas-card-photo img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
}

.pas-card-info h2 {
    font-size: 1.25rem; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 600;
    margin: 0 0 6px;
}

.pas-card-mat {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 6px;
}

.pas-card-location {
    font-size: 13px;
    margin-bottom: 8px;
}

/* Paginación */
.pagination {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    font-size: 13px;
}

.pagination a,
.pagination span {
    padding: 4px 8px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #d1d5db;
    color: #111827;
}

.pagination .current {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* =====================================================
    HOME
===================================================== */
.home-hero {
    position: relative;
    min-height: 70vh;
    background-image: url('/assets/img/edificio_central.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; 
    display: flex;
    align-items: stretch;
    justify-content: center;

    /* hace que el hero salga del .container y ocupe todo el monitor */
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.home-hero-overlay {
    flex: 1;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), transparent 55%), radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.25), transparent 55%), rgba(15, 23, 42, 0.80);
    display: flex;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.home-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 16px;
    color: #e5e7eb;
}

.home-hero-content h1 {
    font-family: 'Montserrat', sans-serif; 
    font-size: 3rem; 
    font-weight: 800; 
    font-style: italic; 
    margin-bottom: 15px;
}

.home-hero-content p {
    max-width: 600px;
    font-size: 1.1rem;
    color: #cbd5f5;
    margin-bottom: 30px;
    line-height: 1.6;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-hero .btn-primary,
.home-hero .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.home-hero .btn-primary {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #fff;
}

.home-hero .btn-secondary {
    border: 1px solid rgba(148,163,184,0.8);
    color: #e5e7eb;
}

.home-hero .pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(15,23,42,0.9);
    font-size: 11px;
}

.home-links {
    max-width: 960px;
    margin: 48px auto 60px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.home-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 8px 28px rgba(15,23,42,0.06);
}

.home-card h2 {
    margin-top: 0;
    font-size: 1.3rem; 
    font-family: 'Montserrat', sans-serif; 
    margin-bottom: 10px;
    font-weight: 600;
}

.home-card p {
    font-size: 15px;
    margin-bottom: 15px;
}

.home-card a {
    font-size: 13px;
    text-decoration: none;
    color: #2563eb;
}

@media (max-width: 768px) {
    .home-hero-content h1 {
        font-size: 24px;
    }
    .home-hero {
        background-attachment: scroll;
    }
}


/* =====================================================
    STAFF
===================================================== */

.staff-page {
    max-width: 1100px;
    margin: 40px auto 60px;
    /*padding: 0 16px;*/
}

/* Menú anclado */
.staff-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 6px;
    margin-bottom: 16px;
    background: #ffffffc2;
    flex-direction: row;
    justify-content: center;
}

.staff-nav-item {
    padding: 4px 10px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #7a7e86;
    white-space: nowrap;
    /* border: 1px solid #2563eb; */
}

/* Sección */
.staff-section {
    margin-bottom: 30px;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 24px #d1d5db;
}

.staff-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    background: #f0f0f0; 
    padding: 10px 15px;
    border-radius: 10px;
}

.staff-section-header h2 {
    font-size: 1.8rem; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700;
    margin: 0;
}

.btn-copy-anchor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,0.2);
    background: #ffffffaa;
    cursor: pointer;
    font-size: 12px;
}

/* Fila de persona */
.staff-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.staff-left {
    flex: 0 0 320px;
    max-width: 320px;
}

.staff-section-label {
    font-weight: 700;
    margin-bottom: 6px;
}

.staff-photo-box img {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    object-fit: cover;
}

/* Columna derecha */
.staff-right {
    flex: 1;
}

.staff-right h3 {
    font-family: 'Montserrat', sans-serif; 
    font-size: 1.5rem; 
    font-weight: 600;
    margin: 0 0 6px;
}

.staff-role-main {
    font-weight: 700; 
    font-size: 1.1rem;
    display: block; 
    margin-bottom: 4px;
}

.staff-role-sub {
    font-size: 14px;
    color: #555;
    display: block;
}

.staff-desc {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.staff-contact-buttons {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .staff-row {
        flex-direction: column;
        align-items: center;
    }
    .staff-left {
        width: 100%;
        max-width: 340px;
    }
    .staff-right {
        width: 100%;
        text-align: left;
    }
}
/* ====================
   PÁGINAS GENÉRICAS
===================== */

.page-section {
    padding: 40px 0;
}

.two-cols {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    align-items: flex-start;
}

.two-cols .col {
    flex: 1;
    min-width: 0;
}

/* En móviles, apilar columnas */
@media (max-width: 768px) {
    .two-cols {
        flex-direction: column;
        gap: 24px;
    }
}
/* ====================
   QUIÉNES SOMOS
===================== */

.quienes-hero .home-hero-content {
    max-width: 1100px;
}

/* Contenedor de dos columnas en el hero */
.hero-two-cols {
    display: flex;
    gap: 32px;
    align-items: center;
}

/* Columnas del hero */
.hero-col {
    flex: 1;
    min-width: 0;
}

/* Textos un poco más grandes en el hero */
.hero-col-left h1 {
    font-size: 3rem; /* ya es grande, reforzamos */
}

.hero-col-left .hero-lead {
    font-size: 1.15rem;
    margin-bottom: 18px;
}

.hero-col-right p {
    font-size: 0.98rem;
    margin-bottom: 12px;
}

/* Pleca central */
.hero-divider {
    width: 2px;
    background: linear-gradient(
        to bottom,
        rgba(248, 250, 252, 0.2),
        rgba(148, 163, 184, 0.9),
        rgba(15, 23, 42, 0.2)
    );
    align-self: stretch;
    border-radius: 999px;
}

/* Sección genérica de dos columnas para el cuerpo */
.page-section {
    padding: 40px 0;
}

.two-cols {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    align-items: flex-start;
}

.two-cols .col {
    flex: 1;
    min-width: 0;
}

/* Responsivo: apilar en móviles */
@media (max-width: 768px) {
    .hero-two-cols {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-divider {
        display: none;
    }

    .two-cols {
        flex-direction: column;
        gap: 24px;
    }
}
/* ====================
   NAV - SUBMENÚ SINIESTROS
===================== */

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown .nav-link {
    display: inline-block;
}

/* Contenedor del submenú */
.nav-submenu {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 200px;
    background: rgba(15, 23, 42, 0.97); /* azul oscuro translúcido */
    border-radius: 6px;
    padding: 8px 0;
    display: none;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.5);
}

/* Ítems del submenú */
.nav-submenu a {
    display: block;
    padding: 8px 14px;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}

/* Ajuste de colores: asumimos navbar clara sobre fondo oscuro,
   si necesitás se toca después */
.nav-submenu a {
    color: #e5e7eb;
}

.nav-submenu a:hover {
    background: rgba(30, 64, 175, 0.8);
}

/* Mostrar submenú al pasar el mouse por SINIESTROS */
.nav-dropdown:hover .nav-submenu {
    display: block;
}

/* En pantallas chicas (si el menú se hace columna), que no se pierda */
@media (max-width: 768px) {
    .nav-dropdown {
        display: block;
    }

    .nav-submenu {
        position: static;
        box-shadow: none;
        background: transparent;
        padding: 0;
    }

    .nav-submenu a {
        padding-left: 24px; /* pequeño sangrado para que se note como subitem */
    }
}
/* Icono de home en el menú */
.navbar .nav-home {
    font-size: 1.1rem;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Si usás Font Awesome, opcionalmente podés ajustar el ícono: */
.navbar .nav-home i {
    font-size: 1.1rem;
}
/* ================
   NAV RESPONSIVE
================= */

/* Botón sandwich: oculto en escritorio */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    padding: 6px 10px;
}

/* Ajuste mínimo de navbar (desktop) */
.navbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Dropdown base */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-header {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Submenú oculto por defecto */
.nav-submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 200px;
    background: rgba(15, 23, 42, 0.97);
    border-radius: 6px;
    padding: 8px 0;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.5);
}

.nav-submenu a {
    display: block;
    padding: 8px 14px;
    font-size: 0.9rem;
    color: #e5e7eb;
    text-decoration: none;
    white-space: nowrap;
}

.nav-submenu a:hover {
    background: rgba(30, 64, 175, 0.8);
}

/* En escritorio: mostrar submenú al pasar el mouse */
@media (min-width: 769px) {
    .nav-dropdown:hover .nav-submenu {
        display: block;
    }
}

/* Botón "+" del submenú: oculto en escritorio */
.submenu-toggle {
    display: none;
}

/* ===== Vista móvil / tablet ===== */
@media (max-width: 768px) {

    .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    /* Mostrar botón sandwich en móvil */
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
    }

    /* Menú apilado y oculto por defecto */
    .navbar {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 8px 12px;
    }

    /* Cuando está abierto */
    .navbar.is-open {
        display: flex;
    }

    .navbar > a,
    .navbar .nav-dropdown {
        width: 100%;
        padding: 6px 0;
    }

    /* Dropdown en móvil: sin posición absoluta */
    .nav-dropdown {
        position: static;
    }

    .nav-dropdown-header {
        width: 100%;
        justify-content: space-between;
    }

    /* Submenú en móvil: se muestra como bloque debajo */
    .nav-submenu {
        position: static;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin-left: 20px;
    }

    .nav-submenu a {
        color: inherit;
        padding: 4px 0;
    }

    /* Botón "+" visible en móvil */
    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.7);
        background: transparent;
        color: inherit;
        cursor: pointer;
        font-size: 1rem;
    }

    /* En móvil NO usamos hover para submenú: se muestra sólo si tiene la clase */
    .nav-submenu {
        display: none;
    }

    .nav-dropdown.submenu-open .nav-submenu {
        display: block;
    }
}
/* ===== Ajustes visuales menú móvil ===== */

@media (max-width: 768px) {

    /* Header con logo centrado y sandwich debajo */
    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        text-align: center;
    }

    .header .logo {
        display: block;
        margin: 0 auto;
        max-width: 220px;
        height: auto;
    }

    /* Botón sandwich centrado y más visible */
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 4px auto 8px; /* centrado */
        width: 44px;
        height: 44px;
        border-radius: 999px;
        border: 1px solid rgba(249, 250, 251, 0.85);
        background: rgba(15, 23, 42, 0.8);
        color: #f9fafb;
        font-size: 1.4rem;
    }

    /* Botón "+" del submenú claro y visible */
    .submenu-toggle {
        border-color: rgba(249, 250, 251, 0.85);
        background: rgba(15, 23, 42, 0.8);
        color: #f9fafb;
    }

    /* Submenú en móvil con leve sangría pero sin perder contraste */
    .nav-submenu {
        margin-left: 18px;
    }
}
.btn-share {
    background: #2563eb !important;
    color: #fff !important;
}
/* --- MENÚ DESKTOP --- */
.nav-toggle {
    display: none;
}

/* --- MENÚ MÓVIL / TABLET --- */
@media (max-width: 900px) {
    .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 1rem;
    }

    .logo {
        max-width: 180px;
        height: auto;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        background: #004aad;
        color: #fff;
        border: 0;
        border-radius: 4px;
        padding: 0.25rem 0.6rem;
        cursor: pointer;
    }

    .navbar {
        display: none;
        flex-direction: column;
        gap: 0;
        background: #012344;
        padding: 0.5rem 1rem 1rem;
    }

    .navbar.is-open {
        display: flex;
    }

    .navbar a {
        display: block;
        padding: 0.6rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .navbar .nav-home {
        font-size: 1.2rem;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .submenu-toggle {
        background: transparent;
        border: 0;
        color: #fff;
        font-size: 1.2rem;
        padding: 0 0.4rem;
        cursor: pointer;
    }

    .nav-submenu {
        display: none;
        padding-left: 1rem;
    }

    .nav-dropdown.open .nav-submenu {
        display: block;
    }
}
/* ---------- INFO PARA PAS ---------- */



/* Bloque Objetivos (dos columnas tipo cards) */

/* Cards de beneficios debajo (similar a las tarjetas del home) */

/* ======================
   INFO PARA PAS
   ====================== */

/* Truco para que el fondo de estas secciones sea de ancho completo,
   aunque el contenido esté centrado a 1100px */
.pas-hero,
.pas-objetivos,
.pas-soporte {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* HERO */
.pas-hero {
    background: linear-gradient(120deg, #2c5cf6 0%, #3a0a3b 70%);
    color: #ffffff;
    text-align: center;
    padding: 3.5rem 1.5rem 3rem;
}

.pas-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.pas-hero h1 {
    font-size: 2.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 0.8rem;
}

.pas-hero p {
    margin: 0;
    font-size: 1.05rem;
}

/* OBJETIVOS (franja azul plena) */
.pas-objetivos {
    background: #0057d9;
    color: #ffffff;
    padding: 3rem 1.5rem;
}

.pas-objetivos-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
    gap: 2.5rem;
}

.pas-objetivos-title h2 {
    margin: 0;
    font-size: 1.9rem;
}

.pas-objetivos-text p {
    margin: 0 0 1rem;
    line-height: 1.7;
}

/* SOPORTE A NUESTROS COLABORADORES */
.pas-soporte {
    background: linear-gradient(180deg, #e6f0ff 0%, #ffffff 45%, #e6f0ff 100%);
    padding: 3rem 1.5rem 4rem;
}

.pas-soporte-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(255,255,255,0.8);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    padding: 2.2rem 2rem;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
    gap: 2rem;
}

.pas-soporte-title h2 {
    margin: 0;
    font-size: 1.5rem;
}

.pas-soporte-text p {
    margin: 0 0 0.85rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.7rem;
}

/* “Check” visual como en el diseño original */
.pas-soporte-text p::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.9rem;
    color: #0072ff;
}

/* Bloque de contacto sin el check delante */
.pas-contacto {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.pas-contacto h3 {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
}

.pas-contacto p {
    padding-left: 0;
}

.pas-contacto p::before {
    content: none;
}

/* Responsive: apilar columnas en móvil */
@media (max-width: 900px) {
    .pas-objetivos-inner {
        grid-template-columns: 1fr;
    }

    .pas-soporte-inner {
        grid-template-columns: 1fr;
        padding: 1.6rem 1.3rem;
    }

    .pas-soporte-title h2 {
        margin-bottom: 0.4rem;
    }
}



.pas-beneficios {
    background: #f5f7fb;
    padding: 3rem 1.5rem 4rem;
}

.pas-beneficios-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr);
}

.pas-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem 2.2rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.pas-card h3 {
    margin-top: 0;
    margin-bottom: 1.4rem;
    font-size: 1.6rem;
}

.pas-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.pas-lista li {
    position: relative;
    padding-left: 1.8rem;
    line-height: 1.6;
}

.pas-lista li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.9rem;
    transform: translateY(0.2rem);
}

/* --- MENÚ MÓVIL / TABLET --- */
@media (max-width: 900px) {
    .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 1rem;
    }

    .logo {
        max-width: 180px;
        height: auto;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        background: #0059cc;
        color: #fff;
        border: 0;
        border-radius: 4px;
        padding: 0.25rem 0.55rem;
        cursor: pointer;
    }

    /* Contenedor del menú desplegable */
    .navbar {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #012344;
        padding: 0.5rem 1.2rem 1rem;
    }

    .navbar.is-open {
        display: flex;
    }

    /* Ítems de primer nivel */
    .navbar > a,
    .navbar > .nav-dropdown > .nav-dropdown-header {
        padding: 0.65rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        text-align: left;
        font-weight: 600;
        letter-spacing: .05em;
    }

    .navbar .nav-home {
        font-size: 1.2rem;
    }

    /* Contenedor de dropdown */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-dropdown-header .nav-link {
        flex: 1 1 auto;
    }

    .submenu-toggle {
        background: transparent;
        border: 0;
        color: #ffffff;
        font-size: 1.1rem;
        padding-left: .5rem;
        cursor: pointer;
    }

    /* Submenús: fondo ligeramente más claro, texto más chico e indentado */
    .nav-submenu {
        display: none;
        padding: 0.2rem 0 0.5rem 0.8rem;
        border-left: 1px solid rgba(255,255,255,0.18);
        margin-top: 0.1rem;
    }

    .nav-dropdown.open .nav-submenu {
        display: block;
    }

    .nav-submenu a {
        display: block;
        padding: 0.35rem 0;
        font-size: 0.9rem;
        text-transform: none;
        letter-spacing: 0;
        color: #d0e0ff;
        border: 0;
    }

    .nav-acceder {
        margin-left: 0;
        margin-top: 0.4rem;
        border-radius: 999px;
        padding: 0.4rem 0.9rem;
        background: #0068ff;
        border: 1px solid rgba(255,255,255,0.4);
        align-self: flex-start;
    }
}

/* HEADER: logo centrado, PAS a la derecha, hamburguesa a la izquierda (solo móvil) */
.header {
    position: relative;
    text-align: center;
    padding: .5rem 1rem;
}

/* Logo centrado */
.logo-link {
    display: inline-block;
}

.logo {
    max-width: 260px; /* ajustá si querés más grande/chico */
    height: auto;
}

/* Usuario PAS arriba a la derecha */
.pas-user-wrapper {
    position: absolute;
    right:120px;
    top: 50%;
    transform: translateY(-50%);
    font-family: inherit;
}

.pas-user-toggle {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0;
    cursor: pointer;
    position: absolute;
    font-weight: 300; /* delgado */
}

/* subrayado muy fino */
.pas-user-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.6);
}

/* Dropdown del PAS */
.pas-user-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: .4rem;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    padding: .4rem .8rem;
    min-width: 180px;
    z-index: 100;
}

.pas-user-wrapper.open .pas-user-menu {
    display: block;
}

.pas-user-menu a {
    display: block;
    font-size: 0.75rem;
    font-weight: 300;
    text-decoration: none;
    color: #2a3b4f;
    padding: 0.3rem 0;
}


/* Algo de ajuste en pantallas chicas */
@media (max-width: 900px) {
    .pas-user-toggle {
        font-size: 0.7rem;
    }
	.pas-user-wrapper {
    position: absolute;
    top: 90%;
    right: 100px;
    transform: translateY(-50%);
    font-family: inherit;
}
/* Menú anclado */
.staff-nav {
    display:none;
}
}
/* Oculta visualmente textos pero útiles para lectores de pantalla */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ESTADO BASE (MÓVIL): solo se ve el select */
.staff-nav-desktop {
    display: none; /* menú flotante oculto en móvil */
}

.staff-nav-mobile {
    display: block;
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-bottom: 1px solid #e5e5e5;
}

#staff-nav-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #f9fafb;
}

/* ESCRITORIO: ocultar select, mostrar menú flotante */
@media (min-width: 769px) {
    .staff-nav-desktop {
        display: flex; /* o inline-flex/flex según tengas antes */
        gap: 0.5rem;   /* ejemplo */
    }

    .staff-nav-mobile {
        display: none;
    }
}
.btn-copy-anchor {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

/* MOBILE: que no se “pegotee” con el título, sólo icono */
@media (max-width: 768px) {
    .staff-section-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .staff-section-header h2 {
        font-size: 1.1rem;
        margin: 0;
    }

    .btn-copy-anchor {
        padding: 0.3rem;
        border-radius: 999px; /* redondito alrededor del icono */
    }

    .btn-copy-anchor .btn-copy-text {
        display: none; /* sólo ícono en mobile */
    }

    .btn-copy-anchor i {
        font-size: 1rem;
    }
}
