/* ── Hero ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 50%, #820032 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  padding-top: calc(var(--navbar-mobile) + 12rem);
  padding-bottom: 42px;
  overflow: hidden;
}

.hero-content {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6rem;
  position: relative;
}

.hero-header {

}

.hero-header__tag {
  text-align: start;
  margin-left: clamp(4px, 0.862vw + 1.241px, 12px);
  overflow: hidden;
  display: flex;
  gap: .4rem;
}

.hero-header__tag h1 {
  text-transform: uppercase;
  font-weight: 900;
  font-size: clamp(1.5rem, 3.571vw + 0.786rem, 2.5rem);
}

.hero-header__title {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-header__title h1 {
  font-size: clamp(6rem, 24.43vw + 4.4px, 12rem);
  line-height: clamp(5rem, 24.43vw - 11.6px, 11rem);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -3px;
}

.hero-header__title h1:nth-child(1) {
  font-weight: 400;
}

.hero-header__tamal {
  position: absolute;
  left: 40%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: clamp(275px, 31.81vw + 155.73px, 400px);
  width: auto;
  object-fit: contain;
  pointer-events: none;
}

.hero-sope {
  position: absolute;
  left: 40%;
  top: 18%;
  transform: translateX(-50%);
  height: 100px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}

.hero-enchilada {
  position: absolute;
  right: -2.5rem;
  top: 5%;
  height: 200px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}

.hero-empanada {
  position: absolute;
  left: -1rem;
  top: 50%;
  transform: translateY(-50%);
  height: 75px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.hero-subcontent {
  overflow: hidden;
}

.hero-subheader {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-subheader__description {
  max-width: 336px;
  overflow: hidden;
}

.hero-subheader__description p {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-secondary);
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 1rem;
  border-radius: 6px;
  text-decoration: none;
  width: fit-content;
  justify-content: space-between;
  overflow: hidden;
}

.primary-button__label {
  overflow: hidden;
  height: 1.2em;
}

.primary-button__label-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-button__label-track span {
  display: block;
  line-height: 1.2em;
}

.primary-button:hover .primary-button__label-track {
  transform: translateY(-50%);
}

.primary-button__arrows {
  position: relative;
  width: 20px;
  height: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.primary-button__arrow-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-button__arrow-icon--dup {
  transform: translateX(-150%);
}

.primary-button:hover .primary-button__arrow-icon:not(.primary-button__arrow-icon--dup) {
  transform: translateX(150%);
}

.primary-button:hover .primary-button__arrow-icon--dup {
  transform: translateX(0);
}

.bold {
  font-weight: 900 !important;
}

.catering-card {
  display: none;
  text-decoration: none;
  flex-direction: column;
  border: 5px solid var(--color-secondary);
  border-radius: 8px;
  overflow: hidden;
  width: 200px;
  height: 136px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.catering-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.catering-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catering-card__arrow {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: var(--color-secondary);
  color: var(--color-accent);
  width: 28px;
  height: 28px;
  border-radius: 4px;
  overflow: hidden;
}

.catering-card__arrow-icon {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.catering-card__arrow-icon--dup {
  transform: translate(-150%, 150%);
}

.catering-card:hover .catering-card__arrow-icon:not(.catering-card__arrow-icon--dup) {
  transform: translate(150%, -150%);
}

.catering-card:hover .catering-card__arrow-icon--dup {
  transform: translate(0, 0);
}

.catering-card__footer {
  background: var(--color-secondary);
  padding: 0.6rem 0.75rem;
}

.catering-card__footer-label {
  overflow: hidden;
  height: 1.2em;
}

.catering-card__footer-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.catering-card__footer-track span {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: left;
}

.catering-card:hover .catering-card__footer-track {
  transform: translateY(-50%);
}

@media screen and (min-width: 768px) {
  .hero {
    padding: 2rem;
    padding-top: calc(var(--navbar-tablet) + 9rem);
    padding-left: clamp(2rem, 26.5625vw - 172px, 6.25rem);
    padding-right: clamp(2rem, 26.5625vw - 172px, 6.25rem);
  }

  .hero-content {
    gap: 6rem;
  }

  .catering-card {
    display: flex;
  }

  .hero-subcontent {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }

  .hero-header__tamal {
    left: 40%;
    top: 40%;
    height: 400px;
  }

  .hero-sope {
    left: 38%;
    top: 15%;
    height: 130px;
  }

  .hero-enchilada {
    right: -2.5rem;
    top: 5%;
    height: 300px;
  }

  .hero-empanada {
    height: 125px;
    top: 55%;
  }

  .hero-header__title h1 {
    font-size: clamp(12rem, 12.5vw + 96px, 14rem);
    line-height: clamp(11rem, 12.5vw + 80px, 13rem);
  }
}

@media screen and (min-width: 1024px) {
  .hero {
    padding: 2rem 6.25rem;
    padding-top: calc(var(--navbar-tablet) + 6rem);
  }

  .hero-header__tamal {
    left: clamp(25%, calc(40% - (100vw - 1024px) * (15 / 70)), 40%);
    top: 40%;
    height: 450px;
  }

  .hero-header__tag h1 {
    font-size: 3rem;
  }

  .hero-header__title {
    justify-content: start;
    gap: 8rem;
  }

  .hero-header__title h1 {
    font-size: clamp(14rem, calc(14rem + (100vw - 1024px) * (32 / 224)), 16rem);
    line-height: clamp(13rem, calc(13rem + (100vw - 1024px) * (32 / 224)), 15rem);
  }

  .hero-empanada {
    left: 50%;
    top: 60%;
    height: 200px;
  }
}

@media screen and (min-width: 1248px) {
  .hero {
    padding-bottom: 6.25rem;
  }

  .hero-header__title {
    justify-content: start;
  }

  .hero-header__title h1 {
    font-size: 18rem;
    line-height: 16rem;
  }

  .hero-header__tamal {
    top: 40%;
    left: clamp(30%, calc(40% - (100vw - 1248px) * (10 / 60)), 40%);
    height: 550px;
  }

  .hero-content {
    gap: 8rem;
  }

  .hero-subheader__description {
    max-width: 400px;
  }

  .hero-subheader__description p {
    font-size: 1.25rem;
    line-height: 1.25rem;
  }

  .catering-card {
    width: 250px;
    height: 156px;
  }

  .hero-header__tag {
    margin-left: clamp(12px, calc(12px + (100vw - 1248px) * (4 / 192)), 16px);
  }

  .hero-sope {
    left: 38%;
    top: 10%;
    height: 130px;
  }

  .hero-enchilada {
    right: -5rem;
    top: 0%;
    height: 400px;
  }

  .hero-empanada {
    left: 50%;
    top: 65%;
    height: 225px;
  }
}

@media screen and (min-width: 1440px) {
  .hero-header__title h1 {
    font-size: 20rem;
    line-height: 18rem;
  }

  .hero-header__title {
    justify-content: start;
    gap: 10rem;
  }

  .hero-content {
    gap: 5rem;
  }

  .hero-empanada {
    left: 60%;
    top: 65%;
    height: 250px;
  }

  .hero-sope {
    left: 30%;
    top: 15%;
    height: 130px;
  }
}
