/* ==========================================================================
    VARIABLES DE MARCA (Colores exactos extraídos de tu logotipo)
    ========================================================================== */
:root {
    --azul-profundo: #0a1a2f;    /* Fondo corporativo principal */
    --azul-tarjetas: #112E5D;     /* Fondo de bloques y menús */
    --dorado: #C5A059;          /* Detalles de estatus y tipografía */
    --dorado-brillante: #f3d48b; /* Brillo metálico */
    --rojo-fenix: #8B0000;       /* Botones e hilos conductores de acción */
    --blanco: #ffffff;
    --texto-gris: #cbd5e1;
    --transicion: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--azul-profundo);
    color: var(--blanco);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo-texto {
    font-family: 'Montserrat', sans-serif;
}

.contenedor-general {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* TÍTULOS DE LAS SECCIONES */
.titulo-seccion {
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dorado);
    border-left: 5px solid var(--rojo-fenix);
    padding-left: 15px;
    margin-bottom: 50px;
}

/* ==========================================================================
    HEADER & BARRA DE NAVEGACIÓN (Efecto cristal translúcido)
    ========================================================================== */
header {
    background: rgba(11, 29, 58, 0.95);
    border-bottom: 2px solid var(--dorado);
    padding: 18px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo-contenedor {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icono-fenix {
    font-size: 32px;
    color: var(--dorado);
    filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.4));
}

.logo-texto {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--blanco);
}

.logo-texto .alaz {
    color: var(--dorado);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

nav ul li a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: var(--transicion);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--dorado);
}

.btn-header-contacto {
    background-color: transparent;
    color: var(--dorado);
    border: 1px solid var(--dorado);
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transicion);
}

.btn-header-contacto:hover {
    background-color: var(--dorado);
    color: var(--azul-profundo);
}

/* ==========================================================================
    HERO SECTION CON PARTICULAS EN MOVIMIENTO CONSTANTE
    ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: radial-gradient(circle at center, rgba(17, 46, 93, 0.4) 0%, rgba(11, 29, 58, 0.98) 80%),
                url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?q=80&w=1920') no-repeat center center/cover;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-contenido {
    position: relative;
    z-index: 2;
    max-width: 950px;
    width: 100%;
}

.hero-logo-animado {
    margin-bottom: 25px;
    animation: flotacionElegante 4s ease-in-out infinite;
}

.hero-logo-animado i {
    font-size: 85px;
    color: var(--dorado);
    text-shadow: 0 0 35px rgba(197, 160, 89, 0.6);
}

.titulo-principal {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Barrido de brillo metálico continuo */
.titulo-principal .brillo-dorado {
    background: linear-gradient(to right, #C5A059 20%, #f3d48b 40%, #f3d48b 60%, #C5A059 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: barridoMetalico 4s linear infinite;
}

.subtitulo-dinamico {
    font-size: 22px;
    font-weight: 300;
    color: #cbd5e1;
    margin-bottom: 45px;
    letter-spacing: 1px;
}

/* ==========================================================================
    1. SECCIÓN: QUIÉNES SOMOS (Estructura de dos columnas)
    ========================================================================== */
.bloque-quienes-somos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 100px;
}

.texto-quienes p {
    font-size: 18px;
    color: var(--texto-gris);
    margin-bottom: 20px;
}

.texto-quienes p strong {
    color: var(--blanco);
}

.imagen-quienes {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--dorado);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.imagen-quienes img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transicion);
}

.imagen-quienes:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
    2. SECCIÓN: MISIÓN, VISIÓN Y VALORES (Estructura de tarjetas)
    ========================================================================== */
.grid-valores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

.tarjeta-valor {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transicion);
}

.tarjeta-valor:hover {
    transform: translateY(-10px);
    border-color: var(--dorado-brillante);
    background: rgba(17, 46, 93, 0.3);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.15);
}

.tarjeta-valor i {
    font-size: 44px;
    color: var(--dorado);
    margin-bottom: 20px;
}

.tarjeta-valor h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--blanco);
    letter-spacing: 1px;
}

.tarjeta-valor p {
    font-size: 16px;
    color: var(--texto-gris);
}

/* ==========================================================================
    3. SECCIÓN: LÍNEA DE TIEMPO (Trayectoria histórica)
    ========================================================================== */
.linea-tiempo {
    position: relative;
    max-width: 800px;
    margin: 0 auto 100px auto;
    padding: 20px 0;
}

.linea-tiempo::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--dorado);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.hito {
    padding: 10px 40px;
    position: relative;
    background-color: transparent;
    width: 50%;
}

.hito::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--rojo-fenix);
    border: 3px solid var(--azul-profundo);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.izquierda { left: 0; text-align: right; }
.derecha { left: 50%; text-align: left; }
.derecha::after { left: -8px; }

.hito h3 {
    font-size: 24px;
    color: var(--dorado);
    margin-bottom: 5px;
}

.hito p {
    font-size: 16px;
    color: var(--texto-gris);
}

/* ==========================================================================
    4. SECCIÓN: MATRIZ DE SERVICIOS POR SECTOR INDUSTRIAL
    ========================================================================== */
.contenedor-tabla {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 8px;
    margin-bottom: 100px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    background-color: var(--azul-tarjetas);
    color: var(--dorado);
    padding: 18px 20px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--dorado);
}

td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--texto-gris);
    font-size: 16px;
}

tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--blanco);
}

/* ==========================================================================
    5. SECCIÓN: GLOBAL COVERAGE (Efecto de Radar Dinámico)
    ========================================================================== */
.coverage-intro {
    font-size: 18px;
    color: var(--texto-gris);
    max-width: 800px;
    margin-bottom: 40px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: radial-gradient(circle, rgba(17, 46, 93, 0.4) 0%, rgba(10, 26, 47, 0.9) 100%),
                url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?q=80&w=1200') no-repeat center center/cover;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    margin-bottom: 40px;
}

.map-overlay-pulse {
    position: absolute;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: radarPulse 3s infinite ease-out;
}

.map-center-text {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px;
    background: rgba(10, 26, 47, 0.85);
    border: 2px solid var(--dorado);
    border-radius: 8px;
    max-width: 450px;
    backdrop-filter: blur(8px);
}

.map-center-text i {
    font-size: 40px;
    color: var(--dorado-brillante);
    margin-bottom: 15px;
}

.map-center-text h3 {
    font-size: 22px;
    color: var(--blanco);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coverage-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 100px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transicion);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--dorado);
    background: rgba(17, 46, 93, 0.2);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.1);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--dorado);
    margin-bottom: 5px;
}

.stat-card::after {
    content: '';
    display: block;
    width: 35px;
    height: 2px;
    background-color: var(--rojo-fenix);
    margin: 10px auto 15px auto;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--texto-gris);
    font-weight: 600;
}

/* ==========================================================================
    6. SECCIÓN: FORMULARIO DE CONTACTO (Inputs en inglés con enfoque activo)
    ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 12px;
    padding: 50px;
    backdrop-filter: blur(10px);
}

.contact-info h3 {
    font-size: 28px;
    color: var(--dorado);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--texto-gris);
    font-size: 16px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 20px;
    color: var(--dorado-brillante);
    width: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dorado);
}

.form-group input, 
.form-group textarea {
    background: rgba(17, 46, 93, 0.2);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 6px;
    padding: 14px 16px;
    color: var(--blanco);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: var(--transicion);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--dorado-brillante);
    background: rgba(17, 46, 93, 0.5);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* BOTÓN DE ACCIÓN PRINCIPAL (Rojo Vino / Fénix) */
.btn-submit {
    background: linear-gradient(135deg, var(--rojo-fenix) 0%, #5a0000 100%);
    color: var(--blanco);
    border: 1px solid var(--dorado);
    padding: 16px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
    transition: var(--transicion);
    align-self: flex-start;
}

.btn-submit:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--dorado) 0%, #a8843e 100%);
    color: var(--azul-profundo);
    border-color: var(--azul-profundo);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

/* ==========================================================================
    PIE DE PÁGINA CORPORATIVO (Elegancia y Respaldo)
    ========================================================================== */
footer {
    background-color: #061124;
    color: var(--blanco-puro);
    padding: 70px 6% 30px 6%;
    border-top: 4px solid var(--dorado-firma);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--dorado-firma);
    font-size: 18px;
    margin-bottom: 22px;
    font-weight: 600;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--dorado-brillante);
}

.footer-col p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--blanco-puro);
    padding-left: 5px;
}

.enlaces-redes {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.enlaces-redes a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--dorado-firma);
    text-decoration: none;
    transition: all 0.3s;
}

.enlaces-redes a:hover {
    background: var(--dorado-firma);
    color: var(--azul-oscuro-base);
    transform: scale(1.1);
}

.barra-copyright {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}


/* KEYFRAMES DE ANIMACIONES */
@keyframes flotacionElegante {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
    PORTAL STYLES
    ========================================================================== */
.portal-body {
    background-color: #07142e;
    color: #f8fafc;
    min-height: 100vh;
}

.portal-page {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    padding: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.portal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.portal-panel {
    background: rgba(11, 29, 58, 0.96);
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 20px;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.25);
    padding: 24px;
}

.portal-panel--menu {
    min-height: 320px;
}

.portal-panel__header h2,
.portal-panel h3 {
    font-size: 1.2rem;
    color: var(--dorado);
    margin-bottom: 18px;
}

.portal-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal-nav__link {
    display: block;
    padding: 12px 16px;
    border-radius: 14px;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.portal-nav__link:hover,
.portal-nav__link.active {
    background: rgba(197, 160, 89, 0.2);
    color: var(--dorado);
}

.portal-tip-list {
    display: grid;
    gap: 10px;
    list-style: inside;
    line-height: 1.65;
    color: #cbd5e1;
}

.portal-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.portal-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    background: rgba(11, 29, 58, 0.98);
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.portal-header__title {
    text-align: center;
}

.portal-header__title h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    color: var(--dorado);
}

.portal-header__title p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 0;
}

.portal-header__meta {
    text-align: right;
}

.portal-header__meta p {
    margin-bottom: 12px;
    color: #d1d5db;
}

.portal-header__brand {
    display: flex;
    /* justify-content: flex-end; */
    margin-top: -120px;
}

.portal-logo {
    width: 48px;
    height: 48px;
    text-align: center;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid rgba(197, 160, 89, 0.25);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--dorado);
    color: var(--azul-profundo);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease;
}

.portal-btn:hover {
    background: var(--dorado-brillante);
    transform: translateY(-1px);
}

.portal-content {
    background: rgba(10, 26, 47, 0.98);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    min-height: 650px;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.3);
}

.portal-message {
    min-height: 48px;
}

.portal-content h2,
.portal-content h3 {
    color: var(--dorado);
}

.portal-content p,
.portal-content li {
    color: #cbd5e1;
}

.portal-content .card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-content .form-control,
.portal-content .form-select,
.portal-content .form-check-input {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
}

.portal-content .form-control:focus,
.portal-content .form-select:focus {
    border-color: var(--dorado);
    box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.18);
}

.portal-content .btn-warning,
.portal-content .btn {
    background: var(--dorado);
    border-color: var(--dorado);
    color: var(--azul-profundo);
}

.portal-content .btn-warning:hover,
.portal-content .btn:hover {
    background: var(--dorado-brillante);
}

.portal-content .table {
    color: #f8fafc;
}

.portal-content .table thead th {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.portal-content .table tbody tr {
    border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1180px) {
    .portal-page {
        grid-template-columns: 1fr;
    }

    .portal-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .portal-header__meta {
        text-align: center;
    }

    .portal-header__brand {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .portal-page {
        padding: 20px;
    }

    .portal-panel,
    .portal-content,
    .portal-header {
        padding: 22px;
    }
}

/* ==========================================================================
    PORTAL SETTINGS STYLES
    ========================================================================== */
.portal-settings {
    animation: fadeInUp 0.5s ease;
}

.portal-settings__title {
    font-size: 2rem;
    color: var(--dorado);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    font-weight: 700;
}

.portal-settings__desc {
    color: #cbd5e1;
    margin-bottom: 32px;
    font-size: 1rem;
}

.portal-settings__form {
    display: grid;
    gap: 32px;
}

.portal-settings__group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.12);
    border-radius: 18px;
    padding: 24px;
    transition: all 0.3s ease;
}

.portal-settings__group:hover {
    border-color: rgba(197, 160, 89, 0.22);
    background: rgba(255, 255, 255, 0.05);
}

.portal-settings__group-title {
    font-size: 1.3rem;
    color: var(--dorado);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portal-settings__field {
    margin-bottom: 24px;
    display: grid;
    gap: 8px;
}

.portal-settings__field:last-child {
    margin-bottom: 0;
}

.portal-settings__label {
    font-weight: 700;
    color: #f8fafc;
    font-size: 0.95rem;
    display: block;
}

.portal-settings__hint {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.portal-settings__input {
    background: rgba(255, 255, 255, 0.05);\n    border: 1px solid rgba(197, 160, 89, 0.2);\n    border-radius: 12px;\n    padding: 14px 18px;\n    color: #f8fafc;\n    font-size: 1rem;\n    font-family: 'Inter', sans-serif;\n    transition: all 0.25s ease;\n}\n\n.portal-settings__input:focus {\n    outline: none;\n    border-color: var(--dorado);\n    background: rgba(255, 255, 255, 0.08);\n    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);\n}\n\n.portal-settings__input::placeholder {\n    color: #475569;\n}\n\n.portal-settings__preview {\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    gap: 12px;\n    margin-top: 16px;\n    padding: 16px;\n    background: rgba(255, 255, 255, 0.03);\n    border-radius: 12px;\n    border: 1px dashed rgba(197, 160, 89, 0.15);\n}\n\n.portal-settings__avatar {\n    width: 100px;\n    height: 100px;\n    border-radius: 50%;\n    object-fit: cover;\n    border: 3px solid var(--dorado);\n    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);\n}\n\n.portal-settings__actions {\n    display: grid;\n    gap: 16px;\n    margin-top: 32px;\n    padding-top: 24px;\n    border-top: 1px solid rgba(255, 255, 255, 0.08);\n}\n\n.portal-settings__btn {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    padding: 14px 28px;\n    border-radius: 12px;\n    font-weight: 700;\n    font-size: 0.95rem;\n    text-decoration: none;\n    transition: all 0.25s ease;\n    cursor: pointer;\n    border: none;\n    text-transform: uppercase;\n    letter-spacing: 0.05em;\n}\n\n.portal-settings__btn--primary {\n    background: var(--dorado);\n    color: var(--azul-profundo);\n}\n\n.portal-settings__btn--primary:hover {\n    background: var(--dorado-brillante);\n    transform: translateY(-2px);\n    box-shadow: 0 8px 16px rgba(197, 160, 89, 0.2);\n}\n\n.portal-settings__btn--primary:active {\n    transform: translateY(0);\n}\n\n.portal-settings__message {\n    padding: 16px 18px;\n    border-radius: 12px;\n    display: none;\n}\n\n.portal-settings__message.show {\n    display: block;\n}\n\n.portal-settings__message.success {\n    background: rgba(34, 197, 94, 0.1);\n    border: 1px solid rgba(34, 197, 94, 0.3);\n    color: #86efac;\n}\n\n.portal-settings__message.error {\n    background: rgba(239, 68, 68, 0.1);\n    border: 1px solid rgba(239, 68, 68, 0.3);\n    color: #fca5a5;\n}\n\n@keyframes fadeInUp {\n    from {\n        opacity: 0;\n        transform: translateY(16px);\n    }\n    to {\n        opacity: 1;\n        transform: translateY(0);\n    }\n}\n    to { background-position: 200% center; }
}

@keyframes radarPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* RESPONSIVE DESIGN (Adaptación Móvil y Tablets) */
@media (max-width: 992px) {
    .bloque-quienes-somos { grid-template-columns: 1fr; gap: 40px; }
    .contact-wrapper { grid-template-columns: 1fr; padding: 30px; }
    .btn-submit { width: 100%; }
    .titulo-principal { font-size: 38px; }
}

@media (max-width: 768px) {
    nav { display: none; } /* En un desarrollo completo aquí se integraría el menú hamburguesa */
    .linea-tiempo::after { left: 31px; }
    .hito { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left; }
    .hito.izquierda, .hito.derecha { left: 0; }
    .hito::after { left: 22px; }
    .map-container { height: 350px; }
}