body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0d0906;
  color: white;
}

/* HERO */
.primeraparte {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85)),
    url("../img/inicio.jpg") center/cover no-repeat;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.logo {
  width: 180px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.3));
}

.encabezado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4%;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  background: linear-gradient(to bottom, rgba(13, 9, 6, 0.92), transparent);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  align-items: center;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  padding: 8px 18px;
  border-radius: 30px;
  transition: all 0.4s ease;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: #d4af37;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #d4af37;
}

nav ul li a:hover::after {
  width: 60%;
}

.btn-perfil {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
  text-decoration: none;
}

.btn-perfil:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #d4af37;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.3);
}

.btn-perfil img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.parte1 {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

h1 {
  font-size: 70px;
  color: #f9e3ba;
}

button {
  margin: 15px;
  padding: 12px 35px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  background: linear-gradient(45deg, #d4af37, #977a5a);
  transition: 0.4s;
}

button a {
  text-decoration: none;
  color: black;
}

button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px #d4af37;
}

/* MAIN */
main {
  padding: 80px 8%;
}

.subtitulo {
  text-align: center;
  color: #d4af37;
  margin-bottom: 40px;
}

.infoq {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  padding: 50px;
  border-radius: 20px;
  max-width: 900px;
  margin: auto;
  line-height: 1.7;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

/* CARDS */
.final {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.contenedor {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  width: 300px;
  text-align: center;
  transition: 0.4s;
}

.contenedor:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.contenedor img {
  width: 60px;
  margin-bottom: 15px;
}

/* FOOTER MODERNO */
.footer-moderno {
  background: #111;
  padding: 60px 8% 20px 8%;
  margin-top: 80px;
}

.footer-contenido {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col h3 {
  color: #d4af37;
  margin-bottom: 15px;
}

.footer-col a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #d4af37;
}

.footer-copy {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #777;
}
