/* =======================================
   AG HERO – TARJETA PREMIUM
   ======================================= */

.ag-hero {
  position: relative;
  width: 100%;
  max-width: 860px;        /* mismo ancho que la miniatura destacada */
  margin: 40px auto;       /* centrado de tarjeta */
  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 18px;
  overflow: hidden;
  background-color: #ffffff;

  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Efecto hover premium */
.ag-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.14);
}

/* Superposición oscura */
.ag-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.65));
  z-index: 1;
}

/* Contenido */
.ag-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 30px;
  color: #ffffff;
}

.ag-hero-content h1 {
  margin: 0 0 10px;
  font-size: 2.8rem;
  font-weight: 700;
}

.ag-hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin: 0;
}

/* =======================================
   RESPONSIVE – CONTROL DE ALTURAS
   ======================================= */

/* Tablets */
@media (max-width: 1024px) {
  .ag-hero {
    max-width: 760px;
  }
}

/* Móviles grandes */
@media (max-width: 768px) {
  .ag-hero {
    max-width: 100%;
    margin: 20px auto;
  }

  .ag-hero-content {
    padding: 28px 18px;
  }

  .ag-hero-content h1 {
    font-size: 1.9rem;
  }

  .ag-hero-content p {
    font-size: 1rem;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .ag-hero-content {
    padding: 20px 14px;
  }

  .ag-hero-content h1 {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }

  .ag-hero-content p {
    font-size: 0.9rem;
    opacity: 0.85;
  }
}
