/* Layout y secciones principales */

/* Sección de contacto */
.contact-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contact-card h2 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-card > p {
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.phone-numbers {
    margin-bottom: 20px;
}

/* Layout principal para sitio-web.html */
.main-content {
    min-height: calc(100vh - 90px); /* Altura de pantalla menos altura del header */
}

.container {
    display: block;
    min-height: calc(100vh - 90px);
    max-width: 100vw;
    margin: 0;
    padding: 0;
    gap: 0;
    width: 100vw;
}

/* Barra de navegación lateral - COMENTADA YA QUE SE CONVIRTIÓ EN MENU DESPLEGABLE
.sidebar {
    width: 260px;
    min-width: 260px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 0;
    box-shadow: var(--shadow-light);
    padding: 25px 15px 25px 0;
    position: sticky;
    height: fit-content;
    border: none;
    margin-left: 0;
    border-right: var(--glass-border);
    transition: var(--transition);
}
*/

/* Botones de navegación estilo cards modernos - COMENTADOS (AHORA ES MENU DESPLEGABLE)
.sidebar button,
.sidebar .sidebar-link {
    display: flex;
    align-items: center;
    width: calc(100% - 10px);
    margin: 6px 5px 6px 10px;
    padding: 14px 16px;
    border: none;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-color);
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: var(--glass-border);
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}
*/

/* Icono antes del texto - COMENTADO (AHORA ES MENU DESPLEGABLE)
.sidebar button::before,
.sidebar .sidebar-link::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    margin-right: 12px;
    transition: var(--transition);
    opacity: 0.8;
}

/* Efectos hover para botones de navegación - COMENTADO (AHORA ES MENU DESPLEGABLE)
.sidebar button:hover,
.sidebar .sidebar-link:hover {
    background: linear-gradient(135deg, #0066ff, #0052cc);
    color: white;
    transform: translateX(8px) translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(0, 102, 255, 0.3);
}

.sidebar button:hover::before,
.sidebar .sidebar-link:hover::before {
    background: white;
    transform: scale(1.5);
    opacity: 1;
}

/* Botón activo - COMENTADO (AHORA ES MENU DESPLEGABLE)
.sidebar button.active {
    background: linear-gradient(135deg, #0066ff, #0052cc);
    color: white;
    transform: translateX(6px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(0, 102, 255, 0.4);
}

.sidebar button.active::before {
    background: white;
    opacity: 1;
    transform: scale(1.3);
}

/* Enlaces externos especiales - COMENTADO (AHORA ES MENU DESPLEGABLE)
.sidebar .sidebar-link:hover {
    background: linear-gradient(135deg, #00e591, #00c981);
    border-color: rgba(0, 229, 145, 0.5);
}

.sidebar .sidebar-link:hover::before {
    background: var(--text-color-dark);
}
*/

/* Área de contenido principal */
.content {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 0;
    box-shadow: none;
    padding: 0 20px 40px 20px;
    margin: 0;
    min-height: 600px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

/* Efecto de fondo sutil en el contenido */
.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 229, 145, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 201, 129, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Secciones de contenido */
.tab-section {
    display: none;
    animation: slideInFade 0.6s ease-out;
    position: relative;
    z-index: 1;
}

.tab-section.active {
    display: block;
}

.tab-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    position: relative;
    font-weight: 700;
}

/* Logo central */
.center-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.shield-logo {
    width: 100%;
    height: calc(100vh - 160px);
    min-height: 350px;
    max-height: 500px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    border: var(--glass-border);
    transition: var(--transition);
}

.shield-content {
    text-align: center;
    color: var(--text-color);
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.edificio-mdm {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1.5px) brightness(0.4) saturate(0.7) contrast(1.1);
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.shield-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--glass-bg) 0%, 
        rgba(0, 229, 145, 0.1) 30%,
        rgba(0, 201, 129, 0.05) 70%,
        var(--glass-bg) 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
    border-radius: var(--border-radius);
}

.shield-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(0, 229, 145, 0.1) 50%, 
        transparent 100%);
    pointer-events: none;
    border-radius: var(--border-radius);
}

.shield-logo:hover .edificio-mdm {
    filter: blur(1px) brightness(0.5) saturate(0.8) contrast(1.2);
    transform: scale(1.02);
}

.shield-logo:hover {
    box-shadow: 0 12px 50px rgba(0, 229, 145, 0.15);
    transform: translateY(-3px);
}

.shield-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(0, 229, 145, 0.1);
}

.shield-content p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.9;
    color: var(--text-color);
}

.argentina-map {
    font-size: 3rem;
    color: var(--primary-color);
}

/* Container y grids */
.container {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
}

.sidebar {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    position: relative;
    order: 1;
}

.sidebar button,
.sidebar .sidebar-link {
    width: auto;
    min-width: 140px;
    padding: 12px 20px;
    font-size: 0.9rem;
}

.content {
    width: 100%;
    order: 2;
    padding: 30px 20px;
}

.hero-content {
    padding: 30px 20px;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Información boxes */
.info-box {
    margin-bottom: 25px;
    padding: 25px;
}

.info-box h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(25, 55, 139, 0.1);
    display: flex;
    align-items: center;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.info-box ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    line-height: 1.6;
    color: #2c3e50;
}

.info-box ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 0;
    color: #19378b;
    font-weight: bold;
    font-size: 1.1em;
}

/* Espaciado mejorado para evitar superposiciones */
.tab-section {
    padding: 30px 0;
    line-height: 1.7;
}

.tab-section h2 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    margin-left: 6px;
    margin-right: 6px;
}

.phone-numbers .phone-item {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.phone-numbers .phone-item:last-child {
    border-bottom: none;
}

.phone-numbers .phone-item .phone-label {
    font-weight: bold;
    color: var(--primary-color);
}

.phone-numbers .phone-item .phone-number {
    margin-left: 8px;
    color: var(--text-color);
}
.phone-numbers .phone-item .phone-desc {
    font-size: 0.9rem;
    color: var(--text-color-dark);
    margin-bottom: 5px;
}
.email-contact {
    padding: 12px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ===== ESTILOS PARA FOOTER-BOTTOM ===== */
.footer-bottom {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 20px 0;
    text-align: center;
    border-top: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

/* Efecto de brillo sutil para footer-bottom */
.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.footer-bottom:hover::before {
    left: 100%;
}

/* Estilos mejorados para el texto del footer */
.footer-bottom p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* Responsive para footer-bottom */
@media (max-width: 768px) {
    .footer-bottom {
        padding: 15px 10px;
    }
    
    .footer-bottom p {
        font-size: 12px;
        line-height: 1.3;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .footer-bottom {
        padding: 12px 5px;
    }
    
    .footer-bottom p {
        font-size: 11px;
        line-height: 1.2;
    }
}

/* ===== ESTILOS PARA BOTTOM-TEXT ===== */
/* Texto inferior mejorado - pegado al footer */
.bottom-text {
    text-align: center;
    margin: 40px 0 0 0;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: none;
    border-left: none;
    border-right: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: none;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Efecto hover para bottom-text */
.bottom-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Línea decorativa superior */
.bottom-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298, #1e3c72);
}

.bottom-text p {
    color: #333;
    opacity: 0.9;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.bottom-text p strong {
    color: #1e3c72;
    font-weight: 600;
}

/* Responsive para bottom-text */
@media (max-width: 768px) {
    .bottom-text {
        margin: 30px 0 0 0;
        padding: 2rem 1.5rem;
    }
    
    .bottom-text p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .bottom-text {
        margin: 20px 0 0 0;
        padding: 1.5rem 1rem;
    }
    
    .bottom-text p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}
