/* =========================
   RESET GENERAL
========================= */
body {
  background-color: #ffffff;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
}

/* =========================
   NAVBAR
========================= */
.custom-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e6e6e6;
}

.custom-navbar .nav-link {
  color: #1a1a1a !important;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.custom-navbar .nav-link:hover {
  color: #8a6d1d !important;
}

/* =========================
   HERO
========================= */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/assets/img/recursos/background.png');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

/* =========================
   TITULO DORADO HERO
========================= */
.hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 3.2rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;

  background: linear-gradient(
    60deg,
    #5c4714,
    #8a6d1d,
    #c9a227,
    #fff2b2,
    #c9a227,
    #8a6d1d,
    #5c4714
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: brilloDorado 8s ease-in-out infinite;
  text-shadow: 0 4px 25px rgba(0,0,0,0.8);
}

/* =========================
   ANIMACION DORADA
========================= */
@keyframes brilloDorado {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================
   SUBTITULO HERO
========================= */
.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #e0e0e0;
  opacity: 0.9;
}

/* =========================
   TITULOS DE SECCIÓN
========================= */
.section-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #2b2b2b;
}

/* =========================
   TEXTO
========================= */
section p {
  font-size: 1rem;
  color: #444;
}

section h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

/* =========================
   CARDS
========================= */
.card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.card-title {
  font-weight: 700;
  letter-spacing: 1px;
}

.card-text {
  color: #555;
  font-size: 0.95rem;
}

/* =========================
   BOTONES
========================= */
.card .btn-primary {
  background-color: #2b2b2b;
  color: #f1f1f1;
  border: none;
  font-size: 0.85rem;
  padding: 10px 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card .btn-primary:hover {
  background-color: #1a1a1a;
}

/* =========================
   TITULO PRINCIPAL ENCABEZADO
========================= */
.peso-titulo {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 2.8rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 0.2rem;

  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;

  background: linear-gradient(
    60deg,
    #5c4714,
    #8a6d1d,
    #c9a227,
    #fff2b2,
    #c9a227,
    #8a6d1d,
    #5c4714
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: brilloDorado 8s ease-in-out infinite;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

/* =========================
   SUBTITULO ENCABEZADO
========================= */
.peso-subtitulo {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #666;
}

/* =========================
   LOGOS ENCABEZADO
========================= */
.encabezado-logo {
  max-width: 70px;
}

/* =========================
   ESPACIADO ENCABEZADO
========================= */
.encabezado-container {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* =========================
   RESPONSIVE GENERAL
========================= */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
    letter-spacing: 4px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 3px;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

/* =========================
   RESPONSIVE ENCABEZADO MOVIL
========================= */
@media (max-width: 576px) {
  .peso-titulo {
    font-size: 2rem;
    letter-spacing: 3px;
    line-height: 1.2;
  }

  .peso-subtitulo {
    font-size: 0.75rem;
    letter-spacing: 3px;
  }

  .encabezado-logo {
    max-width: 55px;
  }
}
