.p-home__hero-antetitulo {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  p {
    color: var(--color-gold-500);
    font-size: 0.875rem;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 0.8px;
    margin: 0;
  }
}

.p-home {
  .p-home__hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    background: var(--bg-hero-gradient);
    overflow: hidden;

    .p-home__hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 120%;
      object-fit: cover;
      opacity: 0.3;
      z-index: 0;
      pointer-events: none;
    }

    .p-home__hero-content {
      position: relative;
      z-index: 10;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;

      @media (min-width: 1024px) {
        gap: 1.75rem;
      }
    }

    .p-home__hero-logo {
      position: absolute;
      width: 20%;
      bottom: 0;
      right: 1.25rem;

      @media (min-width: 768px) {
        width: 16%;
      }

      @media (min-width: 1024px) {
        width: 12%;
      }
    }

    .p-home__hero-title {
      color: var(--color-sand-100);
      font-family: var(--font-heading-1);
      font-size: 3.125rem;
      font-weight: inherit;
      margin: 0;

      @media (min-width: 640px) {
        font-size: 3.75rem;
      }

      @media (min-width: 1024px) {
        width: 50%;
      }

      @media (min-width: 1536px) {
        font-size: var(--font-size-h-especial);
      }
    }

    .p-home__hero-bajada {
      max-width: 48rem;
      color: var(--color-sand-100);
      font-weight: 300;
      font-size: 1rem;

      @media (min-width: 768px) {
        font-size: 1.125rem;
      }

      strong{
        color: var(--color-gold-500);
      }
    }

    .p-home__hero-buttons {
      display: flex;
      flex-direction: column;
      gap: 1rem;

      @media (min-width: 768px) {
        flex-direction: row;
        align-items: center;
        justify-content: center;
      }
    }
  }

  .p-home__historia {
    .p-home__historia-grid {
      display: grid;
      grid-template-columns: 1fr;
      align-items: flex-start;
      gap: 1.25rem;

      @media (min-width: 1024px) {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
      }
    }

    .p-home__historia-media {
      overflow: hidden;
      border-radius: 0.125rem;
      aspect-ratio: 4 / 5;

      @media (min-width: 1024px) {
        aspect-ratio: 1 / 1;
      }

      img {
        width: 100%;
        height: 120%;
        object-fit: cover;
        transform: scale(1.1);
      }
    }

    .p-home__historia-stats {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 4rem;
      margin-top: 2.5rem;
      padding-top: 5.5rem;
      padding-bottom: 5.5rem;
      border-top: 1px solid var(--color-gold-700);
      border-bottom: 1px solid var(--color-gold-700);

      @media (min-width: 768px) {
        flex-direction: row;
        gap: 12rem;
      }

      @media (min-width: 1024px) {
        grid-column: span 2;
      }
    }

    .p-home__historia-stat {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
    }

    .p-home__historia-stat-number {
      color: var(--color-gold-500);
      font-size: 3rem;
      font-family: var(--font-heading-2) !important;
      font-weight: 700;
      margin: 0;
    }

    .p-home__historia-stat-label {
      text-align: center;
      font-family: var(--font-heading-2) !important;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.4px;
      color: var(--color-white-soft);
    }
  }

  .p-home__actividades {
    .p-home__actividades-header {
      padding-bottom: 2rem;
      border-bottom: 1px solid var(--color-navy-950);
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
  }

  .p-home__repertorio {
    .p-home__repertorio-header {
      margin-bottom: 2rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;

      @media (min-width: 640px) {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
      }
    }

    .p-home__repertorio-nav {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-shrink: 0;
    }

    .embla{
      -webkit-user-select: none;
      user-select: none;
      cursor: grab;
      padding: 2rem;
      &:active{
        cursor: grabbing;
      }

      .embla__container{
        display: flex;
        margin-left: -.25rem;

        .embla__slide{
          flex: 0 0 65%;
          flex-shrink: 0;
          padding-left: 1.25rem;
          min-width: 0px;

          @media (min-width: 768px) {
          flex: 0 0 75%;
          }
          @media (max-width: 639px) {
            flex: 0 0 85%;
          }
        }
      }
    }
  }

  .p-home__resenas {
    .p-home__resenas-header {
      margin-bottom: 2.5rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;

      @media (min-width: 768px) {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
      }
    }

    .p-home__resenas-nav {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-shrink: 0;

      @media (max-width: 639px) {
        display: none;
      }
    }

    .p-home__resenas-progress {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-top: 1.5rem;
    }

    .p-home__resenas-progress-track {
      flex: 1;
      height: 0.25rem;
      background-color: rgba(34, 52, 90, 0.1);
      border-radius: 9999px;
      overflow: hidden;
    }

    .p-home__resenas-progress-fill {
      height: 100%;
      background-color: var(--color-gold-500);
      width: 0%;
    }

    .embla{
      overflow: hidden;

      .embla__container{
        display: flex;

        .embla__slide{
          display: flex;
          flex: 0 0 100%;
          min-width: 100%;
          flex-shrink: 0;
          flex-grow: 0;
          flex-direction: column;
        }
      }
    }
  }
  .button-loop{
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
  }
  
  .p-home__repertorio-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(224, 178, 74, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-500);
    background: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
  
    &:hover:not(:disabled) {
      background-color: var(--color-gold-500);
      color: var(--color-navy-950);
    }
  
    &:active:not(:disabled) {
      transform: scale(0.95);
    }
  
    &:disabled {
      opacity: 0.3;
      cursor: not-allowed;
    }
  }
  .p-home__noticias {
    .p-noticias__grid {
      display: flex;
      flex-direction: column;
      gap: 2.5rem;
      margin-top: 3rem;
    }

    .p-noticias__subgrid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;

      @media (min-width: 768px) {
        grid-template-columns: repeat(3, 1fr);
      }
    }
  }
}