.hero-inicio {
  display: flex;
  min-height: 70vh;
  color: #ffffff;
  background: linear-gradient(135deg, #2e5c8a 0%, #6cace4 100%);
}
@media (max-width: 767.98px) {
  .hero-inicio {
    flex-direction: column;
  }
}
.hero-inicio .hero-foto {
  width: 40%;
  flex-shrink: 0;
}
.hero-inicio .hero-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 767.98px) {
  .hero-inicio .hero-foto {
    width: 100%;
    height: 260px;
  }
}
.hero-inicio .hero-texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 4rem;
  max-width: 720px;
}
@media (max-width: 767.98px) {
  .hero-inicio .hero-texto {
    padding: 2.5rem 1.5rem;
  }
}
.hero-inicio .hero-antetitulo {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}
.hero-inicio .hero-titulo {
  font-family: "Montserrat", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(27, 42, 58, 0.35);
}
.hero-inicio .hero-titulo::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin-top: 1rem;
  background-color: #c9a227;
}
@media (max-width: 767.98px) {
  .hero-inicio .hero-titulo {
    font-size: 2.75rem;
  }
}
.hero-inicio .hero-subtitulo {
  font-size: 1.25rem;
  margin: 1rem 0 2rem;
}
.hero-inicio .btn {
  box-shadow: 0 4px 12px rgba(27, 42, 58, 0.3);
}
.hero-inicio .hero-texto > * {
  animation: subir 0.8s ease-out both;
}
.hero-inicio .hero-antetitulo {
  animation-delay: 0.1s;
}
.hero-inicio .hero-titulo {
  animation-delay: 0.35s;
}
.hero-inicio .hero-subtitulo {
  animation-delay: 0.7s;
}
.hero-inicio .btn {
  animation-delay: 1s;
}
.hero-inicio .hero-titulo::after {
  animation: dibujar-linea 0.8s ease-out 1.1s both;
}

@keyframes subir {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dibujar-linea {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-inicio .hero-texto > *,
  .hero-inicio .hero-titulo::after {
    animation: none;
  }
}
.quienes-somos {
  padding: 4rem 0;
}
.quienes-somos p {
  font-size: 1.05rem;
  color: #6c757d;
}

.tarjetas-destacadas {
  padding-bottom: 4rem;
}
.tarjetas-destacadas .card {
  border: none;
  border-top: 4px solid #6cace4;
  border-radius: 0.5rem;
  height: 100%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(27, 42, 58, 0.1);
  transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.tarjetas-destacadas .card:hover {
  box-shadow: 0 8px 20px rgba(27, 42, 58, 0.16);
  transform: translateY(-4px);
}
.tarjetas-destacadas .card .card-icono {
  font-size: 2.25rem;
  color: #2e5c8a;
  margin-bottom: 0.75rem;
}
.tarjetas-destacadas .card .card-title {
  font-family: "Montserrat", sans-serif;
  color: #1b2a3a;
}
.tarjetas-destacadas .card .btn {
  margin-top: auto;
  align-self: center;
  padding: 0.4rem 1.25rem;
  font-size: 0.9rem;
}
