/* === INDEX HERO === */

.hero {
  margin-top: 40px;  /* antes 80px */
  margin-bottom: 50px; /* antes 80px */
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.hero-image img {
  max-width: 520px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Texto del hero */
.hero-text {
  max-width: 520px;
  text-align: left; /* ✅ index = left desktop */
}

/***************
 ✅ Desktop Tipografía fijada
****************/
.hero-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-text p {
  font-size: 16px !important;
  line-height: 1.45 !important;
  color: var(--body-text);
  margin-bottom: 22px;
}

.hero-text p:last-child {
  margin-bottom: 0;
}

/* === MOBILE === */
@media (max-width: 860px) {

  .hero {
    margin-top: 60px; /* antes 80px */
    margin-bottom: 32px; /* antes 80px */
  }

  .hero-inner {
    flex-direction: column;
    padding: 0 16px;
    gap: 24px;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .hero-text {
    max-width: 100%;
    text-align: left; /* mobile siempre left */
  }

  .hero-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
  }

  .hero-text p {
    font-size: 16px;
    margin-bottom: 18px;
  }
}
