/* =============================================
   normativos.css — Estilos de normativos.php
   ============================================= */

.pagina-normativos {
  padding: 40px 0 60px;
}

/* ===== HERO ===== */
.normativos-hero {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-hover) 100%);
  border-radius: var(--radio);
  padding: 40px 48px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.normativos-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.normativos-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: 60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.normativos-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.normativos-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== GRID DE DOCUMENTOS ===== */
.normativos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .normativos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .normativos-grid { grid-template-columns: 1fr; }
}

/* ===== CARD DE DOCUMENTO ===== */
.doc-card {
  background: #fff;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 4px solid var(--azul);
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
}

.doc-icono {
  width: 70px;
  height: 70px;
  background: var(--gris-fondo);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.2s;
}

.doc-card:hover .doc-icono {
  background: var(--azul);
}

.doc-icono i {
  font-size: 32px;
  color: var(--azul);
  transition: color 0.2s;
}

.doc-card:hover .doc-icono i {
  color: #fff;
}

.doc-titulo {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--texto);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 24px;
}

.btn-descargar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--azul);
  color: #fff !important;
  text-decoration: none !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
  justify-content: center;
}

.btn-descargar:hover {
  background-color: var(--azul-hover);
  transform: translateY(-1px);
}

.btn-descargar i { font-size: 14px; }
