/* =======================================================
   HERO PRINCIPAL
======================================================= */
.hero-section {
  background:
    linear-gradient(rgba(0, 40, 85, 0.85), rgba(0, 25, 55, 0.92)),
    url("https://images.unsplash.com/photo-1581092160562-40aa08e78837?auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;

  padding: 80px 0 120px 0;
  border-bottom: 4px solid var(--dorado-maker, #e0ca06);

  position: relative;
  z-index: 1;
}

/* Título */
.hero-section h1 {
  font-weight: 800;
  color: var(--dorado-maker, #e0ca06);
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  margin-top: 1rem;
}

/* Textos auxiliares */
.hero-section p.lead {
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* Botones */
.hero-section .btn {
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.hero-section .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,.20);
}

/* =======================================================
   AVATAR
======================================================= */
.hero-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;

  border: 4px solid var(--dorado-maker, #e0ca06);
  background-color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);

  display: block;
  margin: 0 auto 1.2rem auto;

  /* Animación suave */
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  animation: avatarFadeIn 600ms ease-out forwards;
  animation-delay: 150ms;

  transition: transform 200ms ease, box-shadow 200ms ease;
  will-change: transform;
  position: relative;
  z-index: 2;
}

.hero-avatar:hover {
  transform: translateY(0) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

/* Animación */
@keyframes avatarFadeIn {
  0%   { opacity: 0; transform: translateY(6px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0)  scale(1); }
}

/* =======================================================
   RESPONSIVE
======================================================= */
@media (max-width: 576px) {
  .hero-section { padding: 72px 0 96px 0; }
  .hero-section h1 { font-size: 2.2rem; }
  .hero-avatar { width: 120px; height: 120px; }
}

@media (min-width: 577px) {
  .hero-section h1 { font-size: 3rem; }
}

/* Reserva altura para navbar-incluida */
.navbar-reserva-altura { min-height: 56px; }

/* =======================================================
   ACCESIBILIDAD
======================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-avatar {
    animation: none !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
  }
}