* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #050917;
  color: white;
  line-height: 1.6;
}

header {
  background: #111a2d;
  padding: 22px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #26354f;
  position: sticky;
  top: 0;
  z-index: 10;
}

header h2 {
  color: #24c2ff;
  font-size: 24px;
}

.btn-volver {
  background: #2b6df3;
  color: white;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.btn-volver:hover {
  background: #24c2ff;
  color: #050917;
}

section {
  padding: 80px 8%;
}

.inicio {
  min-height: 85vh;
  background: #111a2d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.inicio h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.inicio h3 {
  color: #24c2ff;
  font-size: 25px;
  margin-bottom: 20px;
}

.inicio p {
  max-width: 700px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: linear-gradient(90deg, #2b6df3, #10b8cc);
  color: white;
  padding: 14px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.codigo {
  background: #151f33;
  border: 1px solid #344664;
  color: #22f178;
  padding: 30px;
  border-radius: 15px;
  font-family: Consolas, monospace;
  min-width: 320px;
}

h2 {
  color: #24c2ff;
  font-size: 32px;
  margin-bottom: 25px;
}

.contenedor-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #111a2d;
  border: 1px solid #26354f;
  border-radius: 10px;
  padding: 25px;
}

.card h3 {
  color: #24c2ff;
  margin-bottom: 10px;
}

.documentos {
  background: #111a2d;
}

form {
  margin-top: 20px;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

input,
textarea {
  background: #050917;
  color: white;
  border: 1px solid #38506e;
  border-radius: 8px;
  padding: 15px;
  font-size: 15px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #24c2ff;
}

.lista-documentos {
  margin-top: 40px;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lista-documentos a {
  display: inline-block;
  margin-top: 10px;
  background: #2b6df3;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.lista-documentos a:hover {
  background: #24c2ff;
  color: #050917;
}

footer {
  text-align: center;
  padding: 25px;
  color: #b8c6dc;
  border-top: 1px solid #26354f;
}

@media (max-width: 900px) {
  .inicio {
    flex-direction: column;
    align-items: flex-start;
  }

  .contenedor-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  header {
    padding: 18px 5%;
  }

  header h2 {
    font-size: 20px;
  }

  .btn-volver {
    padding: 10px 16px;
  }

  section {
    padding: 60px 5%;
  }

  .inicio h1 {
    font-size: 35px;
  }

  .contenedor-cards {
    grid-template-columns: 1fr;
  }

  .codigo {
    min-width: 100%;
  }
}