/* =========================================================
   Home — Hero Section
   ========================================================= */
.one-container .site-content {
    padding: 0;
}
.home-hero {
  background-color: var(--base-white);
  padding: 0px 40px 64px;
  overflow: hidden;
}

.home-hero__container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

/* Left: text */
.home-hero__content {
  flex: 1 1 50%;
  min-width: 0;
}

.home-hero__title {
  font-family: "Oxygen", sans-serif;
  font-size: 67px;
  font-weight: 700;
  line-height: 1.2em;
  color: #111111;
  margin-bottom: 24px;
  max-width: 90%;
}

.home-hero__title .home-hero__accent {
  color: var(--color-primary);
}

.home-hero__subtitle {
  font-family: "Nunito", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 31px;
  letter-spacing: -0.3px;
  color: var(--color-text-body);
  max-width: 480px;
  margin-bottom: 32px;
}

.home-hero__button {
  /* position/overflow/hover-fill (::before) del efecto de relleno circular
     viven centralizados en design-system.css (sección 4. COMPONENTES) */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 48px;
  line-height: 1;
  text-decoration: none;
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: "Nunito", sans-serif;
  font-size: 20px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-hero__button:hover {
  color: var(--base-white);
  transform: scale(1.05);
  opacity: 0.9;
}

/* Right: illustration */
.home-hero__visual {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero__image {
  width: 100%;
  height: auto;
  display: block;
}

/* Decorativo: pequeño garabato bajo el botón, entre el texto y la ilustración */
.home-hero__hand-icon {
  position: absolute;
  left: 52%;
  bottom: -36px;
  width: 28px;
  height: auto;
  animation: home-hero-float 2.4s ease-in-out infinite;
}

@keyframes home-hero-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ── 1300px: baja de 67px a 43px ──────────────────────────── */
@media (max-width: 1300px) {
  .home-hero__title {
    font-size: 43px;
  }
}

/* ── Tablet ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .home-hero {
    padding: 0px 24px 48px;
  }

  .home-hero__container {
    gap: 32px;
  }
  
  .home-hero__subtitle {
     max-width: 100%;
    }
  .home-hero__subtitle {
    font-size: 20px;
  }
  
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .home-hero {
    padding: 40px 20px 32px;
  }

  .home-hero__container {
    flex-direction: column;
    gap: 24px;
    text-align: left;
  }

  .home-hero__content,
  .home-hero__visual {
    flex: none;
    width: 100%;
  }

  .home-hero__title {
    font-size: 28px;
    line-height: 1.2em;
  }

  .home-hero__subtitle {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: normal;
    max-width: 100%;
    margin-bottom: 24px;
  }

  .home-hero__button {
    font-size: 15px;
  }

  .home-hero__visual {
    width: min(200px, 60%);
    margin: 0 auto;
  }

  .home-hero__hand-icon {
    display: none;
  }
}
