@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root{--azul:#173b63;--oscuro:#102943;--dorado:#d5a943;--blanco:#fff;--fondo:#f4f7fb;--texto:#293849;--borde:#e1e7ef; --rojo:#d32f2f;}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--texto);line-height:1.65}a{color:inherit}

/* ANCHO GENERAL PC */
.contenedor{width:min(1200px,85%);margin:0 auto}
.encabezado{background:#fff;border-bottom:4px solid var(--dorado)}

/* --- IDENTIDAD Y CONTACTO SUPERIOR --- */
.identidad { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
.logo-text { display: flex; align-items: center; gap: 20px; }
.escudo img{width:85px;height:85px;object-fit:contain}.sobre-titulo{margin:0;color:var(--azul);font-size:12px;font-weight:bold;letter-spacing:3px}.identidad h1{margin:2px 0;color:var(--azul);font-size:clamp(20px,3vw,30px);line-height:1.25}
.eslogan{margin:-2px 0 0;color:#77602b;font-weight:normal;font-family:'Great Vibes', cursive;font-size:20px;letter-spacing:1px;}

.info-derecha { display: flex; flex-direction: column; align-items: flex-end; gap: 15px;}
.info-header { display: flex; align-items: center; gap: 20px; }
.info-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: bold; color: #555; }
.info-item i { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #ccc; color: var(--rojo); background: #fff; font-size: 16px; transition: all 0.3s; }
.icono-social { text-decoration: none; display: inline-block; }
.icono-social i { color: #333; }
.icono-social:hover i { background: #1877f2; color: #fff; border-color: #1877f2; }

/* --- CINTA TICKER --- */
.ticker-movil { display: none; }
.ticker-wrap { background: #0f2439; display: flex; align-items: center; height: 35px; width: 600px; overflow: hidden; color: #fff; border-radius: 4px; }
.ticker-etiqueta { background: var(--dorado); color: var(--oscuro); font-weight: 900; padding: 0 15px; height: 100%; display: flex; align-items: center; z-index: 10; position: relative; font-size: 11px; letter-spacing: 1px; }
.ticker-movimiento { flex: 1; overflow: hidden; position: relative; height: 100%; }
.ticker-items { display: flex; gap: 30px; position: absolute; height: 100%; align-items: center; white-space: nowrap; padding-left: 100%; animation: scrollAnimacion 25s linear infinite; }
.ticker-wrap:hover .ticker-items { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #e2e8f0; font-size: 12.5px; transition: color 0.3s; }
.ticker-item:hover { color: var(--dorado); }
.t-fecha { background: var(--azul); color: #fff; padding: 2px 6px; border-radius: 3px; text-align: center; display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.t-dia { font-size: 12px; font-weight: 900; }
.t-mes { font-size: 7px; font-weight: bold; text-transform: uppercase; margin-top: 1px;}
.t-retroceso { background: rgba(213, 169, 67, 0.15); color: var(--dorado); padding: 2px 6px; border-radius: 12px; font-size: 10px; font-weight: bold; margin-left: 5px; }
@keyframes scrollAnimacion { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* --- NAVEGACIÓN Y MENÚ DESPLEGABLE (PC) --- */
.navegacion { background: var(--azul); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.cont-nav { display: block; }
.btn-menu { display: none; background: transparent; border: none; color: #fff; font-size: 18px; padding: 15px 0; cursor: pointer; font-weight: bold; width: 100%; text-align: left; }

.menu { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.menu > li { position: relative; } 
.menu > li > a { 
    display: block; color: #fff; text-decoration: none; padding: 15px 18px; 
    font-size: 14.5px; transition: 0.3s; font-weight: bold; 
}
.menu > li > a:hover { background: var(--oscuro); color: #f2d88e; }
.menu > li > a i { font-size: 11px; margin-left: 5px; } 

.submenu { 
    position: absolute; top: 100%; left: 0; background: var(--blanco); 
    list-style: none; padding: 10px 0; margin: 0; width: 220px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); border-radius: 0 0 8px 8px; 
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: 0.3s ease; z-index: 2000;
}
.dropdown:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); } 
.submenu li a { 
    display: block; color: var(--texto); text-decoration: none; 
    padding: 10px 20px; font-size: 14px; transition: 0.2s; border-left: 3px solid transparent;
}
.submenu li a:hover { background: var(--fondo); color: var(--azul); border-left: 3px solid var(--dorado); padding-left: 25px; }

/* --- SLIDER TIPO HISTORIAS --- */
.portada { background-size: 100% auto; background-position: top center; background-repeat: no-repeat; color: #fff; padding: 90px 0 140px 0; position: relative; transition: background-image 0.8s ease-in-out; }
.story-indicadores { position: absolute; top: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; width: min(92%, 800px); z-index: 10; }
.indicador { flex: 1; height: 4px; background: rgba(255, 255, 255, 0.3); border-radius: 4px; overflow: hidden; }
.progreso { height: 100%; width: 0%; background: #d5a943; border-radius: 4px; }
.progreso.activo { animation: llenarBarra 5s linear forwards; }
.progreso.completado { width: 100%; }
@keyframes llenarBarra { 0% { width: 0%; } 100% { width: 100%; } }

/* --- TEXTOS Y BOTONES DE PORTADA --- */
.portada h2{max-width:740px;margin:15px 0;font-size:clamp(32px,5vw,52px);line-height:1.15; transition: opacity 0.5s ease-in-out;}.portada p{max-width:640px;font-size:18px}.etiqueta,.titulo-seccion span{color:var(--dorado);font-size:12px;font-weight:bold;letter-spacing:2px}
.botones-portada { display: flex; gap: 15px; margin-top: 25px; flex-wrap: wrap; }
.btn-principal { background: #f4b400; color: #173b63; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: bold; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.btn-principal:hover { background: #dca300; transform: translateY(-2px); }
.btn-secundario { background: transparent; color: #fff; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: bold; border: 2px solid rgba(255,255,255,0.6); transition: 0.3s; }
.btn-secundario:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }

/* --- BARRA DE ESTADÍSTICAS --- */
.contenedor-stats { width: min(1200px, 85%); margin: -60px auto 15px auto; position: relative; z-index: 20; }
.caja-stats { background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: flex; justify-content: space-between; padding: 30px 20px; }
.stat-item { text-align: center; flex: 1; border-right: 1px solid #eaeaea; }
.stat-item:last-child { border-right: none; }
.stat-num { display: block; font-size: 36px; font-weight: 900; line-height: 1; margin-bottom: 5px; }
.stat-num.azul { color: var(--azul); }
.stat-num.dorado { color: var(--dorado); }
.stat-text { color: #666; font-size: 14px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px;}

/* --- SECCIONES --- */
.seccion{padding:60px 0}
#institucion { padding-top: 30px; } 
.titulo-seccion{margin-bottom:25px}.titulo-seccion span{color:#94701f}.titulo-seccion h2{margin:5px 0;color:var(--azul);font-size:clamp(25px,3vw,34px)}
.grid-institucion { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.institucion-texto p { font-size: 17px; color: #444; line-height: 1.7; margin-bottom: 25px; }
.creditos-obra { background: var(--fondo); padding: 20px; border-radius: 10px; border-left: 4px solid var(--dorado); font-size: 14.5px; color: #555; line-height: 1.6; }
.creditos-obra strong { display: block; color: var(--azul); margin-bottom: 8px; font-size: 15px; }
.creditos-obra span { display: block; margin-bottom: 5px; }
.video-elegante { width: 100%; border-radius: 15px; box-shadow: 0 15px 35px rgba(23, 59, 99, 0.15); display: block; background: #000; transition: transform 0.3s ease; }
.video-elegante:hover { transform: translateY(-5px); }

/* --- DISEÑO TARJETAS --- */
.fondo-claro{background:var(--fondo)}
.tarjetas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.tarjeta{overflow:hidden;border:1px solid var(--borde);border-radius:10px;background:#fff;box-shadow:0 5px 18px #142d4b0d; transition: 0.3s ease;}
.tarjeta:hover { transform: translateY(-5px); box-shadow:0 8px 25px #142d4b1a; }
.tarjeta:not(.noticia){padding:25px}

.enlace-tarjeta { text-decoration: none; color: inherit; display: block; height: 100%; }
.img-contenedor { position: relative; width: 100%; height: 210px; overflow: hidden; background: #f0f0f0; }
.img-contenedor img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease;}
.enlace-tarjeta:hover .img-contenedor img { transform: scale(1.05); }

.fecha-roja { position: absolute; top: 0; right: 0; background: var(--rojo); color: #fff; padding: 8px 12px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 5; }
.f-dia { display: block; font-size: 24px; font-weight: 900; line-height: 1; margin-bottom: 2px;}
.f-mes { display: block; font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px;}
.categoria-azul { position: absolute; top: 0; left: 0; background: var(--azul); color: #fff; padding: 6px 12px; font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 5; }

.noticia-contenido{padding:25px}
.tarjeta h3{color:var(--azul);line-height:1.35; font-size: 18px; margin-top: 0;}
.enlace-tarjeta:hover h3 { color: var(--dorado); } 
.noticia-contenido p { font-size: 14.5px; color: #555; margin-bottom: 0;}
.mensaje-vacio{padding:22px;border:1px dashed #b7c5d6;border-radius:8px;background:#fff}

.pie{padding:38px 0;background:var(--oscuro);color:#fff;text-align:center}.pie h2{font-size:22px}.pie a{color:#f2d88e}.copyright{margin-top:25px;color:#d4dce5;font-size:13px}

/* --- BOTONES FILTRO ARCHIVO DE NOTICIAS --- */
.filtro-categorias { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.btn-filtro {
    background: transparent; border: 2px solid var(--azul); color: var(--azul);
    padding: 8px 18px; border-radius: 20px; font-size: 14px; font-weight: bold;
    cursor: pointer; transition: 0.3s;
}
.btn-filtro:hover, .btn-filtro.activo { background: var(--azul); color: #fff; box-shadow: 0 4px 10px rgba(23,59,99,0.3); }

/* =========================================
   VENTANA MODAL PARA PDF (CRONOGRAMA)
   ========================================= */
.modal-pdf {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 41, 67, 0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}
.modal-contenido-pdf {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: fadeInModal 0.3s ease;
}
@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.modal-cabecera {
    background: var(--azul);
    color: #fff;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--dorado);
}
.modal-cabecera h3 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.modal-cabecera h3 i { color: var(--dorado); }
.btn-cerrar-modal {
    background: transparent; border: none; color: #fff; font-size: 24px; cursor: pointer; transition: 0.3s;
}
.btn-cerrar-modal:hover { color: var(--rojo); transform: scale(1.1); }
.modal-cuerpo { flex-grow: 1; background: #e2e8f0; position: relative; }
.enlace-descarga {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9); padding: 10px 20px; border-radius: 20px;
    font-size: 14px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); display: none;
}
.enlace-descarga a { color: var(--azul); font-weight: bold; text-decoration: underline; }

/* =========================================
   ADAPTABILIDAD MÓVIL Y TABLET (HASTA 850px)
   ========================================= */
@media(max-width:850px){
    .contenedor { width: 95%; } 
    .identidad { padding: 5px 0; gap:0; } 
    .logo-text { width: 100%; gap: 10px; }
    .escudo img { width: 45px; height: 45px; }
    .sobre-titulo { font-size: 10px; margin-bottom: 0px; }
    .identidad h1 { font-size: 16px; margin: 0; line-height: 1.1; }
    .eslogan { font-size: 14px; margin-top: 0px; }
    .info-derecha { display: none; } 
    .cont-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
    .btn-menu { display: block; width: auto; padding: 10px 5px; flex: 0 0 auto; }
    .ticker-escritorio { display: none; }
    .ticker-movil { display: block; flex: 1; min-width: 0; margin-left: 10px; margin-top: 5px; margin-bottom: 5px; }
    .ticker-movil .ticker-wrap { width: 100%; height: 32px; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
    .ticker-movil .ticker-etiqueta { font-size: 9px; padding: 0 8px; }
    .ticker-movil .t-dia { font-size: 11px; }
    .ticker-movil .t-mes { font-size: 7px; }
    .ticker-movil .ticker-item { font-size: 11.5px; }
    .menu { display: none !important; flex-direction: column !important; width: 100% !important; padding-bottom: 10px; }
    .menu.mostrar { display: flex !important; }
    .menu > li { width: 100%; }
    .menu > li > a { border-top: 1px solid rgba(255,255,255,0.1); padding: 12px 15px; display: flex; justify-content: space-between; align-items: center; }
    .submenu { position: static; width: 100%; box-shadow: none; border-radius: 0; background: rgba(0,0,0,0.1); display: none; opacity: 1; visibility: visible; transform: none; padding: 0; }
    .dropdown.activo-movil .submenu { display: block; }
    .dropdown.activo-movil > a i { transform: rotate(180deg); } 
    .submenu li a { color: #e2e8f0; border-left: none; padding: 12px 15px 12px 30px; border-top: 1px solid rgba(255,255,255,0.05); }
    .submenu li a:hover { background: rgba(255,255,255,0.05); color: var(--dorado); padding-left: 30px; border-left: none; }
    .portada{ padding:70px 0 100px 0; background-size: cover !important; background-position: center center !important; }
    .caja-stats { flex-direction: column; gap: 20px; padding: 25px; }
    .stat-item { border-right: none; border-bottom: 1px solid #eaeaea; padding-bottom: 20px; }
    .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
    .grid-institucion { grid-template-columns: 1fr; gap: 30px; }
    .tarjetas,.stats{grid-template-columns:1fr}
    .seccion{padding:42px 0}
    .enlace-descarga { display: block; }
}

/* =========================================================================
   PANEL ADMINISTRATIVO Y LOGIN 
   ========================================================================= */

/* --- PÁGINA DE LOGIN (.login) --- */
body:has(> .login), .login { background-color: var(--fondo); }
.login {
    max-width: 420px; margin: 80px auto; padding: 40px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center;
}
.login h1 { color: var(--azul); font-size: 26px; margin-top: 0; margin-bottom: 5px; }
.login p:not(.error) { color: #555; margin-bottom: 30px; font-size: 15px; }
.login form { display: flex; flex-direction: column; text-align: left; gap: 15px; }
.login label { font-size: 14px; font-weight: bold; color: var(--texto); margin-bottom: -5px; }
.login input { padding: 12px; border: 1px solid var(--borde); border-radius: 6px; font-size: 15px; width: 100%; font-family: inherit; }
.login input:focus { border-color: var(--dorado); outline: none; }
.login button { background: var(--azul); color: white; border: none; padding: 14px; border-radius: 6px; font-size: 16px; font-weight: bold; cursor: pointer; margin-top: 15px; transition: 0.3s; }
.login button:hover { background: var(--oscuro); }
.login p:last-child { margin-top: 25px; margin-bottom: 0; }
.login p:last-child a { font-size: 14px; color: var(--azul); text-decoration: none; font-weight: bold; }
.login p:last-child a:hover { color: var(--dorado); text-decoration: underline; }
.login .error { color: var(--rojo); background: #fdeaea; padding: 12px; border-radius: 6px; font-size: 14px; margin-bottom: 20px; border-left: 4px solid var(--rojo); text-align: left; }

/* --- HEADER DEL DASHBOARD (.admin-header) --- */
.admin-header {
    background: var(--azul);
    color: #fff;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.admin-header .contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-header strong { font-size: 22px; color: var(--dorado); display: block; }
.admin-header div div { font-size: 16px; margin-top: 5px; }
.admin-header small { color: #d4dce5; }

/* Enlace "Volver" en header del formulario */
.admin-header a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 8px 15px;
    border-radius: 6px;
    transition: 0.3s;
}
.admin-header a:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* Botón de cerrar sesión */
.admin-header .salir {
    background: var(--rojo);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.admin-header .salir:hover { background: #b71c1c; }

/* --- CONTENEDOR PRINCIPAL DEL ADMIN (.admin-main) --- */
.admin-main h1 { color: var(--azul); margin-top: 0; }
.admin-main p { color: #555; font-size: 16px; }

/* Navegación (Botones Ver página, Noticias, Comunicados) */
.admin-nav {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}
.admin-nav a {
    background: var(--dorado);
    color: var(--oscuro);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
}
.admin-nav a:hover {
    background: #c39a3b;
    transform: translateY(-2px);
}

/* Estadísticas (Tarjetas Superiores) */
.admin-main .stats {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.admin-main .stat {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 200px;
    border-left: 4px solid var(--azul);
    font-size: 14px;
    color: #666;
    font-weight: bold;
    text-transform: uppercase;
}
.admin-main .stat strong {
    display: block;
    font-size: 32px;
    color: var(--azul);
    margin-top: 8px;
    line-height: 1;
}

/* Tabla del Dashboard */
.admin-main .tabla {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 50px;
    overflow-x: auto;
}
.admin-main .tabla h2 {
    color: var(--azul);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    border-bottom: 2px solid var(--borde);
    padding-bottom: 10px;
}
.admin-main .tabla table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.admin-main .tabla th {
    background: var(--fondo);
    color: var(--azul);
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}
.admin-main .tabla td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--borde);
    font-size: 15px;
    color: #444;
    vertical-align: middle;
}
.admin-main .tabla tr:hover { background: #f8fafc; }
.admin-main .tabla tr:last-child td { border-bottom: none; }

/* Botón de acción (Editar en la tabla) */
.admin-main .tabla td a {
    display: inline-block;
    background: var(--fondo);
    color: var(--azul);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}
.admin-main .tabla td a:hover {
    background: var(--azul);
    color: #fff;
}

/* --- FORMULARIOS DEL ADMINISTRADOR (.formulario) --- */
.formulario, .admin-formulario {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 800px;
    margin-bottom: 50px;
}
.formulario label, .admin-formulario label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--azul);
    margin-top: 15px;
}

/* SOLUCIÓN AL CUADRO PEQUEÑO: Selección universal de inputs */
.formulario input:not([type="hidden"]):not([type="submit"]),
.formulario select,
.formulario textarea,
.admin-formulario input:not([type="hidden"]):not([type="submit"]),
.admin-formulario select,
.admin-formulario textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--borde);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    background: #fafafa;
    transition: border-color 0.3s;
}

.formulario input:focus, .formulario select:focus, .formulario textarea:focus,
.admin-formulario input:focus, .admin-formulario select:focus, .admin-formulario textarea:focus {
    border-color: var(--dorado);
    outline: none;
    background: #fff;
}

.formulario textarea, .admin-formulario textarea { 
    resize: vertical; 
    min-height: 120px; 
}

/* --- BOTONES DEL PANEL (.btn, .btn-sec) --- */
.btn {
    display: inline-block;
    background: var(--azul);
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
    text-decoration: none;
}
.btn:hover { 
    background: var(--oscuro); 
    color: #fff;
}

.btn-sec {
    background: transparent;
    color: var(--azul);
    border: 2px solid var(--azul);
    padding: 10px 23px; /* Compensación del borde */
    margin-left: 10px;
}
.btn-sec:hover { 
    background: var(--fondo); 
    color: var(--azul); 
}