:root {
  --clr-primary: #f97316;          /* orange */
  --clr-primary-strong: #ef4444;   /* red */
  --clr-primary-soft: #ffedd5;
  --clr-accent-green: #22c55e;
  --clr-text: #0f172a;
  --clr-text-muted: #6b7280;
  --clr-border: #e5e7eb;
  --clr-bg-soft: #fff7ed;
  --radius-lg: 18px;
  --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.16);
}

/* RESET & GLOBAL */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--clr-text);
  /* gradasi ORANGE MUDA hampir putih */
  background: linear-gradient(
    180deg,
    #fffaf3 0%,
    #fff7ed 40%,
    #ffffff 100%
  );
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
  background: transparent;
}

.section-soft {
  background: transparent;
}

.section-header.center {
  text-align: center;
}

.section-header.left {
  text-align: left;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.section-header p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-header.header-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
  transform: translateY(-1px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
}

/* Brand logo */
.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
}

/* NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--clr-text-muted);
  position: relative;
  padding-bottom: 0.15rem;
  transition: color 0.15s ease, transform 0.15s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-primary-strong));
  transition: width 0.18s ease;
}

.main-nav a:hover {
  color: var(--clr-text);
  transform: translateY(-1px);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, var(--clr-primary-strong), var(--clr-primary));
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(248, 113, 113, 0.45);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(248, 113, 113, 0.6);
  filter: brightness(1.03);
}

.nav-cta:active {
  transform: scale(0.97);
  box-shadow: 0 8px 18px rgba(248, 113, 113, 0.45);
}

/* NAV TOGGLE (MOBILE) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #4b5563;
}

/* HERO – ORANGE MUDA + parallax + glossy */
.hero {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 600px;
  background: linear-gradient(180deg, #fffaf3, #ffedd5);
  background-image: url("assets/LOGO_RICI.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* glossy highlight */
.hero::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.75), transparent 65%);
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

/* overlay lembut & terang */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.96),
    rgba(255, 247, 237, 0.88)
  );
  backdrop-filter: blur(1px);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  color: #111827;
  text-align: center;
  animation: hero-fade-in 0.8s ease-out forwards;
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  max-width: 720px;
  margin: 0 auto;
}

/* badge */
.hero-badge {
  display: inline-block;
  background: #fee2e2;
  color: #7f1d1d;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  margin-bottom: 0.8rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  letter-spacing: -0.5px;
  color: #111827;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.16);
}

.hero-subtitle {
  font-size: 1.02rem;
  font-weight: 400;
  color: #374151;
  line-height: 1.6;
  margin: 0 auto 1.8rem;
  max-width: 640px;
}

/* hero buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.4rem;
  justify-content: center;
}

.btn-primary {
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1.9rem;
  background: linear-gradient(135deg, var(--clr-primary-strong), var(--clr-primary));
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.55);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-primary.big {
  padding-inline: 2.1rem;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 40px rgba(239, 68, 68, 0.7);
  filter: brightness(1.04);
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.5);
}

.btn-ghost {
  border-radius: 12px;
  padding: 0.8rem 1.9rem;
  border: 1.8px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease,
    transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-ghost.big {
  padding-inline: 2rem;
}

.btn-ghost:hover {
  background: #f3f4f6;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: scale(0.97);
}

/* platform order */
.hero-platforms {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  align-items: center;
}

.platform-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.platform-buttons.small {
  gap: 0.4rem;
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  font-size: 0.8rem;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.platform-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.platform-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
  filter: brightness(1.03);
}

.platform-btn:active {
  transform: scale(0.96);
}

/* hero dots */
.hero-dots {
  display: flex;
  gap: 6px;
  margin-top: 1.1rem;
  justify-content: center;
}

.hero-dots button {
  width: 20px;
  height: 4px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.5);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.hero-dots button.active {
  width: 34px;
  background: #111827;
}

/* PROMO BAR – orange cerah */
.section-promo {
  padding: 1.3rem 0 1.7rem;
  background: linear-gradient(90deg, #f97316, #fb923c);
  color: #fffdf7;
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.promo-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.promo-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffedd5;
}

/* ===== MENU CARDS PREMIUM LIGHTING ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}

#menu.reveal .menu-card {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
}

#menu.reveal.visible .menu-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#menu.reveal.visible .menu-card:nth-child(1) { transition-delay: 0.04s; }
#menu.reveal.visible .menu-card:nth-child(2) { transition-delay: 0.1s; }
#menu.reveal.visible .menu-card:nth-child(3) { transition-delay: 0.16s; }
#menu.reveal.visible .menu-card:nth-child(4) { transition-delay: 0.22s; }

.menu-card {
  position: relative;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding-bottom: 1rem;
  transition:
    transform 0.35s cubic-bezier(.25,.46,.45,1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* cahaya samping kiri & kanan */
.menu-card::before,
.menu-card::after {
  content: "";
  position: absolute;
  top: 0;
  width: 14px;
  height: 100%;
  opacity: 0;
  transition: opacity .35s ease, filter .35s ease, transform .35s ease;
  filter: blur(22px);
  z-index: 1;
}

/* kiri */
.menu-card::before {
  left: -12px;
  background: linear-gradient(to right, rgba(249, 115, 22, 0.8), transparent);
}

/* kanan */
.menu-card::after {
  right: -12px;
  background: linear-gradient(to left, rgba(239, 68, 68, 0.8), transparent);
}

/* hover efek premium */
.menu-card:hover {
  transform: translateY(-14px) scale(1.02);
  box-shadow: 0 30px 80px rgba(255, 111, 60, 0.35);
  border-color: rgba(255, 111, 60, 0.9);
}

.menu-card:hover::before,
.menu-card:hover::after {
  opacity: 1;
  filter: blur(26px);
  transform: scale(1.15);
}

.menu-card:active {
  transform: translateY(-2px) scale(0.99);
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.25);
}

/* gambar menu */
.menu-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

/* isi menu */
.menu-body {
  padding: 1.2rem 1.4rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.menu-body h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.menu-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

/* harga + tombol */
.menu-meta {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-price {
  font-weight: 700;
  font-size: 0.93rem;
  color: #dc2626;
}

.btn-outline {
  border-radius: 999px;
  padding: 0.6rem 1.22rem;
  border: 1.9px solid var(--clr-primary);
  background: #fff6ec;
  color: #7c2d12;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-strong));
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(255, 111, 60, 0.55);
}

.btn-outline:active {
  transform: scale(0.96);
}

/* STATUS BADGE (SOLD / COMING SOON) */
.menu-status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  z-index: 2;
}

.badge-sold {
  background: #dc2626;
}

.badge-coming {
  background: #f59e0b;
}

.menu-card-disabled {
  opacity: 0.8;
  cursor: default;
}

.btn-disabled {
  background: #e5e7eb;
  border-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

.btn-disabled:hover {
  background: #e5e7eb;
  color: #9ca3af;
  transform: none;
  box-shadow: none;
}

/* TOMBOL ORDER CAMPUR / PAKET HEMAT */
.menu-actions-top {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.menu-actions-top .btn-primary {
  min-width: 260px;
}

.menu-hint {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

/* ===== KEUNGGULAN – CAROUSEL ===== */
.feature-carousel {
  position: relative;
  margin-top: 2.2rem;
}

.fc-window {
  overflow: hidden;
  padding: 0 0.5rem;
}

.fc-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.feature-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  padding: 0.3rem 0.5rem 1rem;
}

/* card keunggulan */
.feature-item {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  padding: 1.2rem 1.3rem 1.3rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  max-width: 360px;
  width: 100%;
  overflow: hidden;
  transform-origin: center;
  transform: translateY(10px) scale(0.97);
  opacity: 0.9;
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out,
    background 0.22s ease-out,
    opacity 0.22s ease-out;
}

.feature-item::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, #fed7aa 0, transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  transform: translate3d(-10px, 10px, 0);
}

/* slide aktif */
.feature-slide.active .feature-item {
  transform: translateY(0) scale(1);
  opacity: 1;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  border-color: rgba(248, 113, 113, 0.7);
}

.feature-slide.active .feature-item::before {
  opacity: 0.8;
  transform: translate3d(0, 0, 0);
}

/* icon bulat */
.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: radial-gradient(circle at 20% 0, #fee2e2, #fed7aa);
  box-shadow: 0 6px 18px rgba(248, 113, 113, 0.5);
  transform: translateY(0);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.feature-slide.active .feature-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 26px rgba(248, 113, 113, 0.7);
}

/* teks */
.feature-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.feature-content p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--clr-text-muted);
}

/* panah carousel */
.fc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  border: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: #111827;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.25);
  cursor: pointer;
  font-size: 1.4rem;
  padding-bottom: 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.fc-prev {
  left: 0;
}

.fc-next {
  right: 0;
}

.fc-arrow:hover {
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.3);
}

.fc-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

/* dots carousel */
.fc-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 0.8rem;
}

.fc-dots button {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.5);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.fc-dots button.active {
  width: 30px;
  background: #111827;
}

/* FAQ */
.section-faq {
  background: transparent;
}

.faq-list {
  max-width: 720px;
  margin: 2rem auto 0;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--clr-border);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #f9fafb;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.faq-icon {
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-text-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.2s ease;
}

.faq-answer p {
  margin: 0.4rem 0 0.9rem;
  font-size: 0.88rem;
  color: var(--clr-text-muted);
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.7rem;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

.contact-list li {
  margin-bottom: 0.4rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact-platforms {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

.contact-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--clr-border);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

/* MAP SECTION */
.section-map {
  padding-top: 0;
  padding-bottom: 4rem;
  background: transparent;
}

.map-container {
  margin-top: 1.4rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.25);
}

.map-container iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

.map-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
}

.map-link {
  font-size: 0.85rem;
  color: #1d4ed8;
  text-decoration: none;
}

.map-link:hover {
  text-decoration: underline;
}

.map-wa-btn {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
}

/* MAP SEARCH */
.map-search {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

#mapSearchInput {
  flex: 1 1 220px;
  max-width: 280px;
  border-radius: 999px;
  border: 1px solid var(--clr-border);
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  font-family: inherit;
}

#mapSearchInput:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35);
}

.map-search-btn {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

/* FOOTER – terang & bersih */
.site-footer {
  border-top: 1px solid var(--clr-border);
  background: #ffffff;
  padding: 1.1rem 0;
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
}

.footer-sub {
  font-weight: 500;
}

/* MODAL ORDER */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  width: min(420px, 100%);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.5);
  padding: 1.6rem 1.7rem 1.5rem;
  position: relative;
  border: 1px solid #fecaca;
}

.modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.8rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: #9ca3af;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.modal-close:hover {
  transform: scale(1.1);
}

.modal h3 {
  margin: 0 0 0.2rem;
}

.modal-subtitle {
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.form-group {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
}

.portion-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
}

.portion-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--clr-border);
  cursor: pointer;
  background: #f9fafb;
}

.portion-options input[type="radio"] {
  accent-color: var(--clr-primary);
}

#customPortionInput,
#noteInput {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--clr-border);
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

#customPortionInput:focus,
#noteInput:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.4);
}

.modal-summary {
  margin: 0.7rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

.btn-full {
  width: 100%;
}

/* MODAL MIXED ORDER (lebih kecil & fleksibel) */
.modal-mixed {
  width: min(520px, 100%);
}

.bundle-section h4,
.mixed-section h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.bundle-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.bundle-btn {
  flex: 1 1 160px;
  border-radius: 14px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  padding: 0.55rem 0.85rem;
  text-align: left;
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    transform 0.12s ease;
}

.bundle-title {
  font-weight: 600;
}

.bundle-desc {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

.bundle-btn:hover {
  border-color: #fb923c;
  box-shadow: 0 12px 28px rgba(248, 113, 22, 0.35);
  transform: translateY(-1px);
}

.bundle-btn.active {
  background: linear-gradient(135deg, #fed7aa, #ffedd5);
  border-color: #f97316;
}

/* Tabel campur */
.mixed-list {
  border-radius: 14px;
  border: 1px solid var(--clr-border);
  background: #f9fafb;
  padding: 0.6rem 0.8rem 0.4rem;
  font-size: 0.82rem;
}

.mixed-head {
  display: grid;
  grid-template-columns: 2fr 0.9fr 1.3fr;
  column-gap: 0.6rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 600;
}

.mixed-row {
  display: grid;
  grid-template-columns: 2fr 0.9fr 1.3fr;
  column-gap: 0.6rem;
  align-items: center;
  padding: 0.45rem 0;
}

.mixed-name {
  font-weight: 500;
}

.mixed-price {
  color: #b45309;
  font-weight: 600;
}

.mixed-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--clr-border);
  background: #ffffff;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mixed-qty-input {
  width: 46px;
  border-radius: 999px;
  border: 1px solid var(--clr-border);
  text-align: center;
  font-size: 0.8rem;
  padding: 0.15rem 0.3rem;
}

.mixed-qty-input:focus {
  outline: none;
  border-color: var(--clr-primary);
}

.modal-summary-mixed {
  align-items: flex-start;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.modal-summary-left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.modal-summary-left strong {
  font-size: 1.02rem;
}

.estimate-line,
.loyalty-line {
  margin: 0;
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

/* loyalty box */
.loyalty-box {
  margin-top: 0.6rem;
  border-radius: 14px;
  border: 1px dashed #fdba74;
  background: #fff7ed;
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

.loyalty-label {
  display: inline-block;
  margin-bottom: 0.25rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #f97316;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
}

/* FLOATING WA */
.wa-floating-btn {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 54px;
  height: 54px;
  border: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 55;
  padding: 0;
}

.wa-floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(22, 163, 74, 1);
}

.wa-floating-btn:active {
  transform: scale(0.96);
}

/* STICKY ORDER BAR (mobile) */
.order-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 1rem;
  background: rgba(15, 23, 42, 0.98);
  color: #f9fafb;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  z-index: 54;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.order-bar.visible {
  transform: translateY(0);
}

.order-bar-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.order-bar-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.order-bar-sub {
  font-size: 0.78rem;
  opacity: 0.85;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 56px;
    display: none;
    flex-direction: column;
    background: #ffffff;
    border-bottom: 1px solid var(--clr-border);
    padding: 0.7rem 1.3rem 1rem;
    gap: 0.8rem;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 540px;
    padding: 3.4rem 0 3rem;
    background-attachment: scroll;
    background-position: center top;
  }

  .menu-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-container iframe {
    height: 300px;
  }

  .section-promo {
    padding-inline: 0;
  }

  .promo-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-bar {
    display: flex;
  }

  .fc-arrow {
    display: none;
  }

  .modal-mixed {
    width: calc(100% - 1.5rem);
    padding: 1.2rem 1.1rem 1.1rem;
  }

  .bundle-section h4,
  .mixed-section h4 {
    font-size: 0.9rem;
  }

  .bundle-btn {
    font-size: 0.78rem;
    padding: 0.45rem 0.75rem;
    min-width: 140px;
  }

  .mixed-list {
    font-size: 0.78rem;
    padding: 0.45rem 0.65rem;
  }

  .mixed-row {
    grid-template-columns: 1.7fr 0.7fr 1.2fr;
    column-gap: 0.4rem;
  }

  .qty-btn {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }

  .mixed-qty-input {
    width: 42px;
    font-size: 0.78rem;
  }

  .modal-summary-left strong {
    font-size: 0.98rem;
  }

  .estimate-line,
  .loyalty-line {
    font-size: 0.75rem;
  }

  .loyalty-box {
    font-size: 0.76rem;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 1.6rem, 100%);
  }

  .section {
    padding: 3.6rem 0;
  }

  .hero-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 480px) {
  .modal-mixed {
    width: calc(100% - 1rem);
  }

  .mixed-row {
    grid-template-columns: 1.6fr 0.7fr 1.1fr;
  }
}
