/* ==========================================================================
   Home · Proyectos destacados
   Framer: sección 100/24/12 (teléfono 100/12/12); título alineado a la izquierda
   con acento en Bebas Neue; tarjetas apiladas; botón centrado.
   ========================================================================== */

@layer sections {
  .home-projects {
    position: relative;
    z-index: 3;
    max-width: 1920px;
    margin-inline: auto;
    padding: 100px 12px 12px;
  }

  .home-projects__container {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .home-projects__title {
    display: flex;
    flex-direction: column;
    margin-bottom: 26px;
  }

  .home-projects__accent {
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    line-height: 60px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
  }

  .home-projects__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .home-projects__actions {
    display: flex;
    justify-content: center;
    padding: 12px 0 10px;
  }

  @media (min-width: 810px) {
    .home-projects {
      padding-inline: 24px;
    }

    .home-projects__title {
      flex-direction: row;
      align-items: baseline;
      gap: 0.25em;
    }

    .home-projects__accent {
      font-size: 51px;
    }

    /* En tablet Framer muestra solo dos proyectos */
    .home-projects__item:nth-child(n + 3) {
      display: none;
    }
  }

  @media (min-width: 1440px) {
    .home-projects__accent {
      font-size: 64px;
    }

    .home-projects__item:nth-child(n + 3) {
      display: block;
    }
  }
}
