/* --- IMAGEN CABECERA --- */
.doc-hero {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    background-color: #2B2B2B;
    display: flex;
    justify-content: center;
    align-items: center;
  }

/* oscurecer imagen */
.doc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* --- CONTENEDOR PRINCIPAL --- */
.doc-container {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 2rem;
  text-align: left;
  min-height: 90vh;
}

/* --- TÍTULO Y DESCRIPCIÓN --- */
.doc-title-container {
  display: flex;  
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;

}

/* título */
.doc-title-container .doc-title {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0.8rem 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* separador */
.doc-title-container hr {
    width: 80px;
    height: 3px;
    margin: 0 auto 1rem auto;
    border: none;
    background: #fff;
    border-radius: 3px;
    color: white;
}

/* descripción */
.doc-title-container P.doc-desc {
    color: white ;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}
/* --- LISTA DE DOCUMENTOS --- */
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.doc-button {
  font-size: 1rem;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border: 2px solid #2B2B2B;
  color: #2B2B2B;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease;
}

/* línea animada */
.doc-button::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(117, 155, 163, 0.15); /* tono Palau sutil */
  transition: left 0.4s ease;
  z-index: 0;
}

/* texto por encima */
.doc-button span,
.doc-button {
  position: relative;
  z-index: 1;

}

/* al pasar el ratón */
.doc-button:hover {
  color: #2B2B2B;
  border-color: #759BA3;
}

.doc-button:hover::before {
  left: 0;
}


/* --- COLORES CORPORATIVOS --- */
.doc-layout {
  background: white;
}

@media (max-width: 768px) {
  .doc-container { padding: 2rem 1rem; }
  .doc-title { font-size: 1.4rem; }
}
