.home-team-shortcuts {
  width: fit-content;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.home-team-shortcuts a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.home-team-shortcuts a:hover {
  border-color: rgba(237, 86, 37, .8);
  background: rgba(237, 86, 37, .13);
  transform: translateY(-1px);
}

.home-team-shortcuts a span {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tomato);
  font-size: 11px;
  font-weight: 900;
}

.home-team-shortcuts a strong {
  font-size: 12px;
  font-weight: 750;
}

.home-hero {
  grid-template-columns: minmax(0, 610px) minmax(360px, 1fr);
  gap: clamp(38px, 6vw, 96px);
}

.hero-pinata-scene {
  position: absolute;
  z-index: 0;
  top: 5%;
  right: 30%;
  width: 260px;
  height: 350px;
  pointer-events: none;
  opacity: .52;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .34));
}

.pinata-rope {
  position: absolute;
  top: -80px;
  left: 128px;
  width: 3px;
  height: 150px;
  background: rgba(255, 255, 255, .65);
  transform-origin: top;
  animation: pinata-rope-swing 7s ease-in-out infinite;
}

.pinata-star {
  position: absolute;
  top: 62px;
  left: 38px;
  width: 190px;
  height: 190px;
  transform-origin: 50% -62px;
  animation: pinata-swing 7s ease-in-out infinite;
}

.pinata-fragment {
  position: absolute;
  inset: 0;
  display: block;
  background:
    repeating-linear-gradient(155deg, #eee52a 0 13px, #e20c13 13px 26px, #11692f 26px 39px, #ee6aa7 39px 52px);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 56%, 79% 94%, 50% 71%, 21% 94%, 32% 56%, 2% 35%, 39% 35%);
  animation-duration: 7s;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}

.pinata-fragment-1 {
  clip-path: polygon(50% 0%, 61% 35%, 50% 50%, 39% 35%);
  animation-name: pinata-break-1;
}

.pinata-fragment-2 {
  clip-path: polygon(61% 35%, 98% 35%, 68% 56%, 50% 50%);
  animation-name: pinata-break-2;
}

.pinata-fragment-3 {
  clip-path: polygon(50% 50%, 68% 56%, 79% 94%, 50% 71%);
  animation-name: pinata-break-3;
}

.pinata-fragment-4 {
  clip-path: polygon(50% 50%, 50% 71%, 21% 94%, 32% 56%);
  animation-name: pinata-break-4;
}

.pinata-fragment-5 {
  clip-path: polygon(50% 50%, 32% 56%, 2% 35%, 39% 35%);
  animation-name: pinata-break-5;
}

.pinata-stick {
  position: absolute;
  z-index: 2;
  top: 132px;
  right: -76px;
  width: 150px;
  height: 12px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, #fff 0 16px, #e20c13 16px 32px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .2);
  transform-origin: 120% 50%;
  animation: pinata-hit 7s ease-in-out infinite;
}

.pinata-confetti {
  position: absolute;
  top: 145px;
  left: 130px;
}

.pinata-confetti i {
  --x: 0px;
  --y: 150px;
  position: absolute;
  width: 12px;
  height: 18px;
  border-radius: 3px;
  background: var(--mustard);
  opacity: 0;
  animation: pinata-confetti-fall 7s ease-out infinite;
}

.pinata-confetti i:nth-child(2) { --x: 58px; --y: 178px; background: #e20c13; animation-delay: .04s; }
.pinata-confetti i:nth-child(3) { --x: -62px; --y: 168px; background: #45bd69; animation-delay: .08s; }
.pinata-confetti i:nth-child(4) { --x: 92px; --y: 128px; background: #ee6aa7; animation-delay: .12s; }
.pinata-confetti i:nth-child(5) { --x: -96px; --y: 120px; background: #56b7ff; animation-delay: .16s; }
.pinata-confetti i:nth-child(6) { --x: 34px; --y: 205px; background: #fff; animation-delay: .2s; }
.pinata-confetti i:nth-child(7) { --x: -30px; --y: 215px; background: #f28c28; animation-delay: .24s; }
.pinata-confetti i:nth-child(8) { --x: 120px; --y: 190px; background: #eee52a; animation-delay: .28s; }

@keyframes pinata-rope-swing {
  0%, 12%, 68%, 100% { transform: rotate(0deg); }
  24% { transform: rotate(5deg); }
  38% { transform: rotate(-5deg); }
  52% { transform: rotate(3deg); }
}

@keyframes pinata-swing {
  0%, 12% { transform: rotate(-3deg); }
  24% { transform: rotate(8deg); }
  38% { transform: rotate(-8deg); }
  50% { transform: rotate(5deg) scale(1); }
  54% { transform: rotate(-12deg) scale(1.08); }
  60%, 82% { transform: rotate(-12deg) scale(.98); }
  88%, 100% { transform: rotate(-3deg); }
}

@keyframes pinata-hit {
  0%, 36% { opacity: 0; transform: translate(110px, -80px) rotate(-38deg); }
  44% { opacity: 1; }
  52% { opacity: 1; transform: translate(0, 0) rotate(8deg); }
  56%, 100% { opacity: 0; transform: translate(30px, 18px) rotate(18deg); }
}

@keyframes pinata-break-1 {
  0%, 53% { opacity: 1; transform: translate(0) rotate(0); }
  70%, 82% { opacity: 0; transform: translate(60px, -70px) rotate(55deg); }
  83%, 100% { opacity: 1; transform: translate(0) rotate(0); }
}

@keyframes pinata-break-2 {
  0%, 53% { opacity: 1; transform: translate(0) rotate(0); }
  70%, 82% { opacity: 0; transform: translate(92px, 45px) rotate(90deg); }
  83%, 100% { opacity: 1; transform: translate(0) rotate(0); }
}

@keyframes pinata-break-3 {
  0%, 53% { opacity: 1; transform: translate(0) rotate(0); }
  70%, 82% { opacity: 0; transform: translate(10px, 118px) rotate(-45deg); }
  83%, 100% { opacity: 1; transform: translate(0) rotate(0); }
}

@keyframes pinata-break-4 {
  0%, 53% { opacity: 1; transform: translate(0) rotate(0); }
  70%, 82% { opacity: 0; transform: translate(-92px, 62px) rotate(-95deg); }
  83%, 100% { opacity: 1; transform: translate(0) rotate(0); }
}

@keyframes pinata-break-5 {
  0%, 53% { opacity: 1; transform: translate(0) rotate(0); }
  70%, 82% { opacity: 0; transform: translate(-72px, -64px) rotate(70deg); }
  83%, 100% { opacity: 1; transform: translate(0) rotate(0); }
}

@keyframes pinata-confetti-fall {
  0%, 53% { opacity: 0; transform: translate(0) rotate(0); }
  56% { opacity: 1; }
  76% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(300deg); }
  100% { opacity: 0; }
}

.home-food-gallery {
  position: relative;
  z-index: 1;
  justify-self: stretch;
  width: min(100%, 720px);
  min-height: clamp(440px, 44vw, 620px);
}

.hero-video-frame {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 720px);
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, .92);
  border-radius: 24px;
  background: #090806;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-video-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(4, 4, 4, .72);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background .18s ease, transform .18s ease;
}

.hero-video-toggle:hover {
  background: rgba(226, 12, 19, .9);
  transform: translateY(-1px);
}

.hero-video-toggle:focus-visible {
  outline: 3px solid #eee52a;
  outline-offset: 3px;
}

.food-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, .92);
  border-radius: 22px;
  background: #1b1815;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

.food-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: opacity .32s ease, transform .5s ease;
}

.food-photo img.is-changing {
  opacity: 0;
  transform: scale(1.035);
}

.food-photo-main {
  inset: 8% 0 8% 16%;
  transform: rotate(1.5deg);
}

.food-photo-top {
  top: 0;
  left: 0;
  width: 38%;
  height: 34%;
  transform: rotate(-5deg);
}

.food-photo-bottom {
  right: 2%;
  bottom: 0;
  width: 42%;
  height: 33%;
  transform: rotate(5deg);
}

.food-photo-top img,
.food-photo-bottom img {
  filter: saturate(1.08) contrast(1.03);
}

.home-section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 7vw, 108px);
}

.section-heading {
  width: min(920px, 100%);
  display: grid;
  gap: 14px;
  margin-bottom: clamp(38px, 5vw, 68px);
}

.section-eyebrow {
  color: var(--tomato);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-heading h2,
.visit-copy h2 {
  font-family: Georgia, serif;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 400;
  line-height: .98;
}

.home-story {
  background: var(--paper);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.value-card {
  min-height: 280px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 30px clamp(20px, 2.5vw, 38px);
  border-right: 1px solid var(--line);
}

.value-card:last-child {
  border-right: 0;
}

.value-card h3,
.dish-card h3 {
  font-family: Georgia, serif;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 500;
  line-height: 1.08;
}

.value-card p,
.dish-card-copy > p:last-child {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.featured-menu {
  background: #040404;
  color: #fff;
}

.section-heading-light .section-eyebrow {
  color: var(--mustard);
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dish-card {
  min-height: 430px;
  display: grid;
  grid-template-rows: minmax(210px, 245px) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
}

.dish-card-media {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #191511;
}

.dish-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
}

.dish-card:hover .dish-card-media img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.03);
}

.dish-card-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(20px, 2.2vw, 30px);
}

.dish-card-copy > p:last-child {
  max-width: 560px;
  color: rgba(255, 255, 255, .7);
}

.menu-full-cta {
  min-height: 56px;
  margin-top: 28px;
  padding-inline: 24px;
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  background:
    radial-gradient(circle at 12% 10%, rgba(238, 229, 42, .23), transparent 30%),
    var(--surface);
}

.visit-copy {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.visit-copy > p:not(.section-eyebrow) {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.visit-actions .btn {
  min-height: 52px;
  padding-inline: 20px;
}

.visit-map {
  border-color: var(--ink);
}

.hours-card {
  padding: clamp(28px, 5vw, 54px);
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--mustard);
  box-shadow: 16px 16px 0 var(--tomato);
}

.hours-label {
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hours-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.hours-card dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 20px 0;
  border-top: 1px solid rgba(4, 4, 4, .25);
}

.hours-card dt,
.hours-card dd {
  margin: 0;
  line-height: 1.5;
}

.hours-card dt {
  font-weight: 900;
}

.hours-card dd {
  text-align: right;
}

.hours-closed dd {
  color: var(--tomato);
  font-weight: 950;
}

.home-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px clamp(20px, 7vw, 108px);
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: #040404;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.home-footer img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
}

.home-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.home-footer a:hover {
  color: var(--mustard);
}

@media (max-width: 1180px) {
  .dish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 34px;
  }

  .home-food-gallery {
    justify-self: center;
    width: min(100%, 650px);
    min-height: clamp(340px, 70vw, 520px);
  }

  .hero-video-frame {
    justify-self: center;
    width: min(100%, 390px);
    aspect-ratio: 9 / 16;
    max-height: none;
  }

  .hero-pinata-scene {
    top: 40%;
    right: 4%;
    opacity: .34;
    transform: scale(.78);
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-card:nth-child(2) {
    border-right: 0;
  }

  .value-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .visit-section {
    grid-template-columns: 1fr;
  }

  .home-footer {
    grid-template-columns: auto 1fr;
  }

  .home-footer nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .home-hero {
    padding-top: 30px;
    padding-bottom: 42px;
  }

  .home-food-gallery {
    min-height: 330px;
  }

  .hero-video-frame {
    width: min(100%, 350px);
    border-width: 3px;
    border-radius: 18px;
  }

  .hero-pinata-scene {
    top: 35%;
    right: -56px;
    opacity: .25;
    transform: scale(.6);
  }

  .food-photo {
    border-width: 3px;
    border-radius: 16px;
  }

  .food-photo-main {
    inset: 7% 0 7% 8%;
  }

  .food-photo-top {
    width: 42%;
    height: 32%;
  }

  .food-photo-bottom {
    width: 45%;
    height: 31%;
  }

  .home-section {
    padding: 64px 20px;
  }

  .value-grid,
  .dish-grid {
    grid-template-columns: 1fr;
  }

  .value-card,
  .value-card:nth-child(2) {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-right: 0;
    padding: 26px 0;
  }

  .dish-card {
    min-height: 470px;
    grid-template-rows: minmax(220px, 1fr) auto;
  }

  .hours-card {
    border-radius: 18px;
    box-shadow: 8px 8px 0 var(--tomato);
  }

  .hours-card dl > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hours-card dd {
    text-align: left;
  }

  .home-footer {
    grid-template-columns: 1fr;
  }

  .home-footer nav {
    grid-column: auto;
    display: grid;
  }

  .home-team-shortcuts a {
    min-height: 44px;
    padding-right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pinata-scene *,
  .food-photo img {
    animation: none !important;
    transition: none !important;
  }

  .pinata-stick,
  .pinata-confetti {
    display: none;
  }

  .hero-video-toggle {
    transition: none;
  }
}

/* Hero audiovisual a pantalla completa, inspirado en la portada de NailURoom. */
.home-hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-items: initial;
  gap: 0;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 7vw, 108px);
  isolation: isolate;
  background: #040404;
}

.home-hero::before,
.home-hero::after {
  display: none;
}

.hero-video-frame {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #040404;
  box-shadow: none;
}

.hero-video-frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, .9) 0%, rgba(4, 4, 4, .58) 40%, rgba(4, 4, 4, .08) 74%),
    linear-gradient(0deg, rgba(4, 4, 4, .76), transparent 58%);
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-copy {
  z-index: 2;
  width: min(650px, 100%);
  margin-bottom: clamp(20px, 4vh, 50px);
  gap: 15px;
}

.home-copy .brand-logo-home {
  width: clamp(112px, 12vw, 158px);
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .3);
}

.home-copy h2 {
  font-size: clamp(58px, 8vw, 116px);
  line-height: .88;
  letter-spacing: -.045em;
}

.home-copy p:not(.home-kicker) {
  max-width: 500px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
}

.home-actions {
  align-items: center;
  gap: 26px;
  margin-top: 10px;
}

.home-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  padding: 8px 0;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
}

.home-secondary-link:hover {
  color: var(--mustard);
  border-color: var(--mustard);
}

.hero-video-toggle {
  z-index: 2;
  right: 24px;
  bottom: 24px;
}

@media (max-width: 600px) {
  .home-hero {
    min-height: 760px;
    padding: 28px 20px 58px;
  }

  .hero-video-frame {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .hero-video-frame::after {
    background: linear-gradient(0deg, rgba(4, 4, 4, .96) 0%, rgba(4, 4, 4, .55) 45%, rgba(4, 4, 4, .06) 82%);
  }

  .home-copy {
    margin-bottom: 0;
    gap: 13px;
  }

  .home-copy .brand-logo-home {
    width: 116px;
  }

  .home-copy h2 {
    font-size: clamp(55px, 17vw, 78px);
  }

  .home-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-video-toggle {
    top: 18px;
    right: 18px;
    bottom: auto;
  }
}
