:root {
  --bg: #12051f;
  --bg-soft: #1f0f38;
  --surface: rgba(27, 16, 48, 0.78);
  --surface-strong: rgba(43, 19, 78, 0.92);
  --surface-light: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f9f4ff;
  --muted: #d8caeb;
  --gold: #ffd166;
  --gold-strong: #ffb703;
  --berry: #ff4f87;
  --lime: #6ee7b7;
  --danger: #ff8da1;
  --whatsapp: #25d366;
  --shadow: 0 22px 60px rgba(7, 2, 18, 0.45);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1160px, calc(100% - 2rem));
  --header-offset: 6.6rem;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 1rem);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 79, 135, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 209, 102, 0.16), transparent 26%),
    linear-gradient(180deg, #180526 0%, #12051f 45%, #0d0418 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.site-shell {
  position: relative;
  overflow: clip;
  padding-top: var(--header-offset);
}

.ambient {
  position: fixed;
  inset: auto;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.28;
  pointer-events: none;
  z-index: -1;
}

.ambient-left {
  top: 5rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(255, 79, 135, 0.8), transparent 62%);
}

.ambient-right {
  right: -8rem;
  bottom: 10rem;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.75), transparent 60%);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  padding: 1rem 0;
  background: rgba(12, 4, 23, 0.44);
  backdrop-filter: blur(14px);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(12, 4, 23, 0.86);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-logo {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.brand-text {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.brand-text strong,
.section-heading h2,
.hero h1,
.cta-panel h2,
.selling-copy h2,
.cart-drawer__header h2 {
  font-family: "Sora", sans-serif;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  flex-shrink: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-backdrop {
  display: none;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button,
.menu-action,
.cart-toggle,
.qty-button,
.remove-button,
.cart-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.header-cta,
.button-primary,
.cart-toggle,
.menu-action {
  color: #2a1020;
  background: linear-gradient(135deg, var(--gold) 0%, #fff1bb 100%);
  box-shadow: 0 18px 28px rgba(255, 183, 3, 0.24);
}

.button-secondary,
.qty-button,
.cart-close,
.remove-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.header-cta:hover,
.button:hover,
.menu-action:hover,
.cart-toggle:hover,
.qty-button:hover,
.remove-button:hover,
.cart-close:hover {
  transform: translateY(-2px);
}

.button-block {
  width: 100%;
}

.hero {
  padding: 3.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.cta-panel h2,
.selling-copy h2,
.cart-drawer__header h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.feature-card p,
.menu-card p,
.selling-copy p,
.cta-panel p,
.site-footer p,
.menu-preview-card p,
.inline-note,
.cart-item__copy span,
.cart-empty {
  color: var(--muted);
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 0;
}

.hero-badges span {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-actions,
.cta-actions,
.cart-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.3rem 0 0;
}

.stat-card {
  padding: 1.1rem 1rem;
  min-height: 10.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-card dt {
  display: block;
  min-height: 1.25em;
  min-width: 8ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  white-space: nowrap;
}

.stat-card dd {
  margin: 0.35rem 0 0;
  min-height: 3.5rem;
  color: var(--muted);
}

.hero-photo-stack {
  position: relative;
  min-height: 43rem;
}

.hero-main-card,
.hero-floating-card,
.gallery-card,
.selling-card,
.cta-panel,
.feature-card,
.menu-card,
.menu-preview-card,
.cart-drawer {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow);
}

.hero-main-card {
  position: relative;
  width: min(100%, 29rem);
  margin-left: auto;
  background: var(--surface-strong);
}

.hero-main-card img,
.hero-floating-card img,
.gallery-card img,
.selling-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-main-card figcaption {
  position: absolute;
  inset: auto 1rem 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1.35rem;
  background: rgba(9, 4, 20, 0.82);
  backdrop-filter: blur(10px);
}

.caption-kicker {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-main-card strong,
.selling-card-copy strong,
.cart-item__copy strong {
  display: block;
  font-family: "Sora", sans-serif;
  line-height: 1.3;
}

.hero-floating-card {
  position: absolute;
  width: min(12.5rem, 34vw);
  background: var(--surface-light);
  --float-rotate-start: 0deg;
  --float-rotate-mid: 0deg;
  --float-shift: -12px;
}

.floating-card-top {
  top: 3.5rem;
  left: 0;
  --float-rotate-start: -7deg;
  --float-rotate-mid: -3deg;
  animation: orbitFloat 6.5s ease-in-out infinite;
}

.floating-card-bottom {
  right: 1.2rem;
  bottom: 2.5rem;
  --float-rotate-start: 8deg;
  --float-rotate-mid: 4deg;
  --float-shift: 12px;
  animation: orbitFloat 5.5s ease-in-out infinite reverse;
}

@keyframes orbitFloat {
  0%,
  100% {
    transform: translateY(0) rotate(var(--float-rotate-start));
  }
  50% {
    transform: translateY(var(--float-shift)) rotate(var(--float-rotate-mid));
  }
}

.proof-strip {
  padding: 0 0 4.5rem;
}

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

.proof-grid p {
  margin: 0;
  padding: 1.15rem 1.2rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.proof-grid strong {
  color: var(--text);
}

.section {
  padding: 5.5rem 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2.2rem;
}

.section-heading h2,
.cta-panel h2,
.selling-copy h2,
.cart-drawer__header h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.feature-grid,
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

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

.feature-card,
.menu-card,
.menu-preview-card {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.menu-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feature-card h3,
.menu-card h3,
.menu-preview-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.menu-preview-card p {
  color: var(--muted);
  line-height: 1.7;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.compact-actions {
  gap: 0.55rem;
}

.menu-action {
  min-height: 2.8rem;
  padding: 0.7rem 0.95rem;
  font-size: 0.92rem;
}

.menu-card strong {
  display: block;
  margin-top: 1rem;
  color: var(--gold);
}

.menu-card-accent {
  background: linear-gradient(180deg, rgba(255, 79, 135, 0.12), rgba(255, 209, 102, 0.08));
}

.menu-cta {
  margin-top: 1.7rem;
}

.inline-note {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.section-gallery {
  position: relative;
}

.hero-compact {
  padding-bottom: 3rem;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  grid-column: span 4;
  min-height: 22rem;
  background: rgba(255, 255, 255, 0.05);
}

.gallery-tall {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 7;
}

.selling-grid {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 2rem;
  align-items: center;
}

.selling-list {
  margin: 1.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.selling-card {
  position: relative;
  min-height: 36rem;
}

.selling-card-copy {
  position: absolute;
  inset: auto 1rem 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  background: rgba(9, 4, 20, 0.82);
  backdrop-filter: blur(10px);
}

.section-cta {
  padding-top: 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(255, 209, 102, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(63, 24, 111, 0.92), rgba(33, 13, 57, 0.96));
}

.site-footer {
  padding: 1.5rem 0 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
  color: var(--muted);
}

.footer-grid strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.footer-grid a {
  display: inline-flex;
  margin-right: 1rem;
}

.footer-copy {
  text-align: right;
}

.footer-copy a {
  margin-right: 0;
  color: var(--gold);
}

.cart-toggle {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 42;
  gap: 0.5rem;
}

.cart-toggle__icon {
  font-size: 1.2rem;
}

.cart-toggle__count {
  min-width: 1.8rem;
  min-height: 1.8rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(42, 16, 32, 0.16);
  color: #2a1020;
  font-size: 0.85rem;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 43;
  background: rgba(5, 2, 12, 0.58);
}

.cart-drawer {
  position: fixed;
  top: calc(var(--header-offset) + 0.8rem);
  right: 1rem;
  z-index: 44;
  width: min(26rem, calc(100vw - 2rem));
  max-height: calc(100vh - var(--header-offset) - 1.8rem);
  display: flex;
  flex-direction: column;
  background: rgba(20, 9, 37, 0.96);
  transform: translateX(calc(100% + 2rem));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 220ms ease, opacity 180ms ease, visibility 180ms ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer__header,
.cart-drawer__footer {
  padding: 1.2rem;
}

.cart-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-close {
  min-height: 2.6rem;
  min-width: 2.6rem;
  padding: 0;
  font-size: 1.4rem;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.2rem;
}

.cart-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.cart-item {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.cart-item__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.qty-button,
.remove-button {
  min-height: 2.3rem;
  padding: 0.45rem 0.75rem;
}

.qty-button {
  min-width: 2.3rem;
}

.remove-button {
  color: var(--danger);
}

.qty-value {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.cart-summary {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.cart-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-summary dt {
  color: var(--muted);
}

.cart-summary dd {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--gold);
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  color: white;
  background: var(--whatsapp);
  box-shadow: 0 18px 32px rgba(37, 211, 102, 0.34);
}

.whatsapp-float svg {
  width: 2rem;
  height: 2rem;
  position: relative;
  z-index: 1;
}

.whatsapp-pulse {
  position: absolute;
  inset: -0.25rem;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: pulseRing 1.8s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 29;
    display: block;
    background: rgba(5, 2, 12, 0.58);
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-offset) + 0.35rem);
    left: 1rem;
    right: 1rem;
    z-index: 35;
    display: grid;
    gap: 0.3rem;
    padding: 0.8rem;
    background: rgba(12, 4, 23, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.2rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.9rem 1rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
  }

  .hero-grid,
  .selling-grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .hero-photo-stack {
    min-height: 38rem;
  }

  .hero-main-card {
    margin: 0 auto;
  }
}

@media (max-width: 780px) {
  :root {
    --header-offset: 5.9rem;
  }

  .site-header {
    padding: 0.85rem 0;
  }

  .brand-logo {
    width: 3.4rem;
    height: 3.4rem;
  }

  .header-cta,
  .cart-toggle__text {
    display: none;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
  }

  .brand {
    width: 100%;
  }

  .brand-text strong,
  .brand-text span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    justify-self: end;
    align-self: center;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .hero-stats,
  .proof-grid,
  .feature-grid,
  .menu-grid,
  .menu-preview-grid,
  .extras-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-card,
  .gallery-wide,
  .gallery-tall {
    grid-column: auto;
    min-height: 18rem;
  }

  .hero-photo-stack {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-floating-card {
    display: none;
  }

  .cta-panel {
    padding: 1.5rem;
  }

  .footer-copy {
    text-align: left;
  }

  .cart-toggle {
    left: 1rem;
    bottom: 1rem;
    min-width: 4.2rem;
    padding-inline: 0.95rem;
  }

  .cart-drawer {
    top: auto;
    right: 0.75rem;
    left: 0.75rem;
    bottom: 6.5rem;
    width: auto;
    max-height: min(70vh, 34rem);
    transform: translateY(calc(100% + 2rem));
  }

  .cart-drawer.is-open {
    transform: translateY(0);
  }
}
