:root {
  --red: #e30613;
  --red-deep: #b10510;
  --red-soft: #ffd7d4;
  --cream: #fff6ea;
  --cream-deep: #ffe7c4;
  --popcorn: #fff4d0;
  --kernel: #f0c14b;
  --ink: #2b1214;
  --muted: #6d534c;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(177, 5, 16, 0.12);
  --radius: 22px;
  --font: 'Outfit', system-ui, sans-serif;
  --script: 'Pacifico', cursive;
  --ease: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--kernel);
  outline-offset: 3px;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: rgba(255, 246, 234, 0.92);
  backdrop-filter: blur(14px);
  transition: box-shadow var(--ease);
}

.header.scrolled {
  box-shadow: 0 1px 0 rgba(227, 6, 19, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
}

.nav__logo {
  font-family: var(--script);
  font-size: 1.35rem;
  color: var(--red);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}

.nav__links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav__cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  background: var(--red);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease);
}

.nav__cta {
  padding: 0.55rem 1rem;
  background: #25d366;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--red-deep);
}

.nav__cta:hover {
  transform: translateY(-2px);
  background: #1ebe5d;
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--white);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--red);
}

.nav__toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  position: relative;
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0.45rem;
  width: 1.5rem;
  height: 2px;
  background: var(--ink);
  transition: transform var(--ease), opacity var(--ease);
}

.nav__toggle.open span {
  background: transparent;
}

.nav__toggle.open span::before {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.open span::after {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__toggle span {
  top: 1.25rem;
}

.nav__toggle span::before {
  top: -7px;
}

.nav__toggle span::after {
  top: 7px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 7rem 0 4.5rem;
}

.hero__stripes,
.band__stripes {
  position: absolute;
  inset: -12% 0;
  background: repeating-linear-gradient(90deg,
      var(--red) 0 46px,
      #fff 46px 68px);
}

.hero::after,
.band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 23px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle 23px at 23px 0, transparent 22px, var(--cream) 23px);
  background-size: 68px 23px;
  background-repeat: repeat-x;
}

.hero__popcorn {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.kernel {
  position: absolute;
  width: clamp(2.2rem, 4.5vw, 4rem);
  height: auto;
  filter: drop-shadow(0 8px 8px rgba(120, 20, 10, 0.18));
  animation: drift-a 20s ease-in-out infinite;
}

.kernel:nth-child(4n + 2) {
  animation-name: drift-b;
  animation-duration: 24s;
}

.kernel:nth-child(4n + 3) {
  animation-name: drift-c;
  animation-duration: 18s;
}

.kernel:nth-child(4n) {
  animation-name: drift-d;
  animation-duration: 26s;
}

.kernel:nth-child(n + 5) {
  animation-delay: -7s;
}

.kernel:nth-child(n + 9) {
  animation-delay: -13s;
}

.kernel:nth-child(3n) {
  width: clamp(1.7rem, 3.4vw, 2.8rem);
}

.kernel:nth-child(5n) {
  width: clamp(2.8rem, 6vw, 4.6rem);
}

@keyframes drift-a {
  0% {
    left: -4%;
    top: 6%;
    rotate: -12deg;
  }

  25% {
    left: 72%;
    top: 78%;
    rotate: 10deg;
  }

  50% {
    left: 86%;
    top: 8%;
    rotate: -6deg;
  }

  75% {
    left: 8%;
    top: 88%;
    rotate: 14deg;
  }

  100% {
    left: -4%;
    top: 6%;
    rotate: -12deg;
  }
}

@keyframes drift-b {
  0% {
    left: 40%;
    top: -6%;
    rotate: 8deg;
  }

  25% {
    left: 4%;
    top: 62%;
    rotate: -14deg;
  }

  50% {
    left: 80%;
    top: 42%;
    rotate: 6deg;
  }

  75% {
    left: 28%;
    top: 92%;
    rotate: -8deg;
  }

  100% {
    left: 40%;
    top: -6%;
    rotate: 8deg;
  }
}

@keyframes drift-c {
  0% {
    left: 92%;
    top: 70%;
    rotate: 16deg;
  }

  25% {
    left: 10%;
    top: 4%;
    rotate: -10deg;
  }

  50% {
    left: 48%;
    top: 84%;
    rotate: 8deg;
  }

  75% {
    left: 84%;
    top: 22%;
    rotate: -16deg;
  }

  100% {
    left: 92%;
    top: 70%;
    rotate: 16deg;
  }
}

@keyframes drift-d {
  0% {
    left: 18%;
    top: 40%;
    rotate: -6deg;
  }

  25% {
    left: 90%;
    top: 12%;
    rotate: 12deg;
  }

  50% {
    left: 60%;
    top: 90%;
    rotate: -12deg;
  }

  75% {
    left: -6%;
    top: 18%;
    rotate: 4deg;
  }

  100% {
    left: 18%;
    top: 40%;
    rotate: -6deg;
  }
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.badge {
  width: min(280px, 70vw);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(120, 8, 12, 0.28);
  transition: translate 0.35s ease;
}

.hero__copy {
  max-width: 38rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: 28px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 18px 40px rgba(120, 8, 12, 0.22);
}

.hero__copy .eyebrow {
  color: var(--red);
}

.hero__copy .btn--ghost {
  color: var(--red);
  box-shadow: inset 0 0 0 2px var(--red);
}

.hero__copy .btn--ghost:hover {
  background: var(--red);
  color: var(--white);
}

.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1 {
  font-family: var(--script);
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 400;
  line-height: 0.95;
  margin: 0.3rem 0 0.8rem;
  color: var(--red);
}

.hero__lead {
  font-size: 1.15rem;
  max-width: 38ch;
  margin-bottom: 1.6rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section__title {
  font-family: var(--script);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--red);
  margin-bottom: 0.8rem;
}

.section__desc {
  max-width: 46rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}

.about__photo {
  position: relative;
  margin: 0;
}

.about__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about__seal {
  position: absolute !important;
  width: 92px !important;
  height: auto !important;
  aspect-ratio: auto !important;
  right: -12px;
  bottom: -18px;
  border-radius: 12px !important;
  background: var(--white);
  padding: 0.35rem;
  transform: rotate(6deg);
}

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 240px 240px 280px;
  gap: 0.8rem;
  margin-top: 2rem;
}

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--cream-deep);
}

.shot--tall {
  grid-row: 1 / span 2;
}

.shot--wide {
  grid-column: 1 / -1;
}

.shot img {
  width: 100%;
  height: 125%;
  object-fit: cover;
  position: absolute;
  inset: -12% 0 auto;
}

.about p+p {
  margin-top: 0.9rem;
}

.band {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.band__text {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-family: var(--script);
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.1;
  text-shadow:
    0 2px 0 rgba(90, 0, 8, 0.45),
    0 10px 22px rgba(60, 0, 6, 0.65),
    0 0 32px rgba(40, 0, 4, 0.45);
}

.menu-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 1.4rem;
}

.chips,
.tier {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip,
.tier__btn {
  border: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(227, 6, 19, 0.18);
}

.chip.is-active,
.tier__btn.is-active {
  background: var(--red);
  color: var(--white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
}

.menu-card__photo {
  width: calc(100% + 2.5rem);
  max-width: none;
  height: 180px;
  object-fit: cover;
  object-position: center;
  margin: -1.25rem -1.25rem 1rem;
  border-radius: 0;
}

.menu-card__group {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-card__name {
  font-family: var(--script);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.05;
  margin: 0.25rem 0 0.55rem;
}

.menu-card__desc {
  color: var(--muted);
  flex: 1;
}

.menu-card__portion {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.menu-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--red-soft);
}

.menu-card__tier {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.menu-card__lote {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--red);
}

.menu-card__price {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
}

.menu-card__order {
  background: var(--red);
  color: var(--white);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
}

.menu-card__order:hover {
  background: var(--red-deep);
}

.order {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

.order__panel,
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.order__steps {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.order__steps li+li {
  margin-top: 0.45rem;
}

.calc {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.2rem;
  margin-top: 2rem;
  align-items: start;
}

.calc__flavors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.calc__flavor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  background: var(--white);
  color: var(--ink);
  border: 0;
  border-radius: 16px;
  padding: 0.5rem 0.7rem 0.5rem 0.5rem;
  box-shadow: inset 0 0 0 1px rgba(227, 6, 19, 0.18);
  cursor: pointer;
  font: inherit;
}

.calc__flavor img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 12px;
  object-fit: cover;
  flex: none;
}

.calc__flavor-name {
  display: block;
  font-weight: 700;
  line-height: 1.2;
}

.calc__flavor-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.calc__flavor.is-active {
  background: var(--red);
  color: var(--white);
  box-shadow: none;
}

.calc__flavor.is-active .calc__flavor-meta {
  color: var(--red-soft);
}

.calc__panel {
  position: sticky;
  top: 5.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.3rem;
  box-shadow: var(--shadow);
}

.calc__group {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calc__name {
  font-family: var(--script);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.05;
  margin: 0.2rem 0 0.85rem;
}

.calc__switch {
  margin-bottom: 1rem;
}

.calc__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.calc__amount {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.45rem;
}

.calc__step {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--red);
  font: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.calc__step:hover {
  background: var(--red);
  color: var(--white);
}

.calc__amount input {
  width: 5.6rem;
  border: 0;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 1.45rem;
  font-weight: 800;
  text-align: center;
  padding: 0.45rem 0.4rem;
  -moz-appearance: textfield;
  appearance: textfield;
}

.calc__amount input::-webkit-outer-spin-button,
.calc__amount input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc__unit {
  font-weight: 800;
  color: var(--muted);
}

.calc__range {
  width: 100%;
  margin: 0.9rem 0 0.7rem;
  accent-color: var(--red);
}

.calc__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.calc__preset {
  border: 0;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

.calc__preset.is-active {
  background: var(--red);
  color: var(--white);
}

.calc__ref {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.calc__price {
  margin-top: 0.7rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--red-soft);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
}

.calc__price .menu-card__tier {
  margin-bottom: 0.35rem;
}

.calc__order {
  width: 100%;
  margin-top: 1rem;
}

.calc__order.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.contact-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  list-style: none;
}

.contact-list a {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: 14px;
  padding: 0.8rem 1rem;
}

.contact-list span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 800;
}

.footer {
  background: var(--red-deep);
  color: var(--white);
  padding: 2.4rem 0 1.4rem;
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.4rem;
}

.footer__name {
  font-family: var(--script);
  font-size: 2rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__base {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer__credit {
  font-weight: 700;
}

.footer__credit a:hover {
  text-decoration: underline;
}

.whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(20, 90, 40, 0.28);
}

.whatsapp svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 1.5rem;
    transform: translateX(100%);
    transition: transform var(--ease);
  }

  .nav__links.open {
    transform: none;
  }

  .nav__links a {
    color: var(--ink);
  }

  .hero__layout,
  .about,
  .order,
  .menu-grid,
  .gallery,
  .calc {
    grid-template-columns: 1fr;
  }

  .calc__panel {
    position: static;
    padding: 1rem 1rem 0.9rem;
  }

  .calc__name {
    margin-bottom: 0.55rem;
  }

  .calc__switch {
    margin-bottom: 0.65rem;
  }

  .calc__ref {
    margin-top: 0.55rem;
  }

  .calc__price {
    margin-top: 0.45rem;
    padding-top: 0.55rem;
  }

  .calc__order {
    margin-top: 0.7rem;
  }

  .calc__flavors {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
  }

  .calc__flavor {
    flex: 0 0 16rem;
    scroll-snap-align: start;
  }

  .gallery {
    grid-template-rows: none;
  }

  .shot,
  .shot--tall,
  .shot--wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 260px;
  }

  .hero__layout {
    justify-items: center;
    text-align: center;
  }

  .hero__copy {
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .kernel {
    animation: none;
  }

  .badge {
    transition: none;
  }
}