/* ============================================================
   MUMMY SAM KITCHEN — Design Tokens & Base Styles
   ============================================================ */

:root {
  /* Color palette */
  --color-cream: #FFF8EF;
  --color-cream-deep: #FCEFDD;
  --color-charcoal: #2A1F17;
  --color-charcoal-soft: #4A3B2E;
  --color-orange: #E8611E;
  --color-orange-dark: #C74E12;
  --color-orange-light: #FFA25C;
  --color-green: #2F6B3A;
  --color-green-dark: #204A28;
  --color-green-light: #E4F0E3;
  --color-gold: #F2A93B;
  --color-white: #FFFFFF;
  --color-line: #EEDFC8;
  --color-danger: #C23B22;

  /* Typography — Apple system font stack */
  --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radii & shadow */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 4px 16px rgba(42, 31, 23, 0.08);
  --shadow-lift: 0 12px 32px rgba(42, 31, 23, 0.14);
  --shadow-tight: 0 2px 6px rgba(42, 31, 23, 0.10);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--color-cream);
  color: var(--color-charcoal);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Typography scale ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; color: var(--color-charcoal); }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.15; }
h3 { font-size: 1.25rem; }
p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange-dark);
  background: #FFF1E4;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.section {
  padding: 64px 0;
}
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}
.section-head p.lead {
  margin-top: 12px;
  color: var(--color-charcoal-soft);
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(232, 97, 30, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(232, 97, 30, 0.42); }
.btn-secondary {
  background: var(--color-white);
  color: var(--color-charcoal);
  border: 1.5px solid var(--color-line);
}
.btn-secondary:hover { border-color: var(--color-orange); color: var(--color-orange-dark); }
.btn-green {
  background: linear-gradient(135deg, #3C8B49 0%, var(--color-green-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 107, 58, 0.35);
}
.btn-green:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn-ghost {
  background: transparent;
  color: var(--color-orange-dark);
  padding: 10px 16px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 248, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; font-weight: 800;
  box-shadow: var(--shadow-tight);
}
.brand-name span { display: block; font-size: 0.78rem; font-weight: 600; color: var(--color-green-dark); letter-spacing: 0.03em; }

.nav-links {
  display: none;
  align-items: center;
  gap: 30px;
  font-weight: 600;
  font-size: 0.94rem;
}
.nav-links a { opacity: 0.8; transition: opacity 0.15s, color 0.15s; }
.nav-links a:hover { opacity: 1; color: var(--color-orange-dark); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.cart-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-charcoal);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
}
.cart-pill .badge {
  background: var(--color-orange);
  color: #fff;
  border-radius: 50%;
  width: 20px; height: 20px;
  font-size: 0.72rem;
  display: flex; align-items: center; justify-content: center;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
  background:
    radial-gradient(circle at 85% 10%, rgba(242, 169, 59, 0.28), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(47, 107, 58, 0.14), transparent 50%),
    var(--color-cream);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 { margin-bottom: 16px; }
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-orange), var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p.tagline {
  font-size: 1.08rem;
  color: var(--color-charcoal-soft);
  max-width: 480px;
  margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--color-orange-dark); }
.hero-stats div span { font-size: 0.8rem; color: var(--color-charcoal-soft); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4/3.4;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.28s ease, transform 0.5s ease;
}
.hero-visual img.is-changing {
  opacity: 0;
  transform: scale(1.02);
}
.hero-ticket {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}
.hero-ticket .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-green); flex-shrink: 0; box-shadow: 0 0 0 4px var(--color-green-light); }
.hero-ticket strong { font-size: 0.92rem; }
.hero-ticket span { display: block; font-size: 0.78rem; color: var(--color-charcoal-soft); }

@media (min-width: 940px) {
  .hero .container { grid-template-columns: 1.05fr 0.95fr; gap: 50px; }
  .hero { padding: 76px 0 60px; }
}

/* ---------- Popular Meals / Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.meal-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--color-line);
}
.meal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.meal-card .thumb { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.meal-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.meal-card:hover .thumb img { transform: scale(1.06); }
.meal-card .tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--color-green);
  color: #fff; font-size: 0.68rem; font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius-pill);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.meal-card .body { padding: 16px; }
.meal-card .body h4 { margin-bottom: 4px; }
.meal-card .body p { font-size: 0.86rem; color: var(--color-charcoal-soft); margin-bottom: 10px; }
.meal-card .price-row { display: flex; align-items: center; justify-content: space-between; }
.meal-card .price { font-weight: 800; color: var(--color-orange-dark); }

/* ---------- Why choose us ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.feature-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1px solid var(--color-line);
  transition: transform 0.2s ease;
}
.feature-item:hover { transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-cream-deep);
  color: var(--color-orange-light);
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.feature-item h4 { margin-bottom: 6px; }
.feature-item p { font-size: 0.88rem; color: var(--color-charcoal-soft); }

/* ---------- Reviews ---------- */
.review-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.review-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-tight);
}
.review-stars { color: var(--color-gold); font-size: 0.95rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-card p.quote { font-size: 0.92rem; color: var(--color-charcoal-soft); margin-bottom: 14px; }
.review-person { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--color-orange-light);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 0.85rem;
}
.review-person strong { font-size: 0.86rem; display: block; }
.review-person span { font-size: 0.74rem; color: var(--color-charcoal-soft); }

/* ---------- Delivery areas ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.area-chip {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}
.area-chip .pin { color: var(--color-orange); font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.contact-card {
  background: var(--color-charcoal);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
}
.contact-card h2 { color: #fff; margin-bottom: 8px; }
.contact-card p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.contact-rows { display: flex; flex-direction: column; gap: 16px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-row .ic {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row strong { display: block; font-size: 0.92rem; }
.contact-row span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-charcoal);
  color: rgba(255,255,255,0.85);
  padding: 40px 0 24px;
  font-size: 0.86rem;
}
.site-footer .container { display: flex; flex-direction: column; gap: 18px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand { font-weight: 800; color: #fff; font-size: 1.05rem; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 16px; opacity: 0.7; }

/* ============================================================
   MENU BUILDER
   ============================================================ */
.menu-page-head {
  padding: 34px 0 24px;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-line);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-charcoal-soft);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--color-orange-dark); }
.menu-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.menu-title-row h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-top: 12px;
}
.menu-title-row p {
  max-width: 600px;
  color: var(--color-charcoal-soft);
  margin-top: 8px;
}
.menu-builder-section { padding-top: 28px; }

.builder-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 980px) {
  .builder-layout { grid-template-columns: 1fr 360px; align-items: start; }
}

.category-block {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 22px;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-tight);
}
.category-block.amount-category { padding: 18px; }
.amount-category-top {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.amount-category-photo {
  aspect-ratio: 4/3;
  background: var(--color-cream-deep);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.amount-category-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.amount-category .cat-head { margin-bottom: 0; }
.amount-category .amount-row { padding-top: 2px; }
.amount-category .custom-amount-wrap { margin-bottom: 0; }
.category-block .cat-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.cat-emoji {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--color-cream-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.cat-head h3 { margin-bottom: 2px; }
.cat-head p { font-size: 0.82rem; color: var(--color-charcoal-soft); }

@media (max-width: 620px) {
  .amount-category-top {
    grid-template-columns: 96px 1fr;
    gap: 12px;
  }
}

/* amount preset buttons (the "signature" dial-style selector) */
.amount-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.amount-btn {
  border: 2px solid var(--color-line);
  background: var(--color-cream);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-charcoal);
  transition: all 0.15s ease;
}
.amount-btn:hover { border-color: var(--color-orange-light); }
.amount-btn.active {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(232,97,30,0.3);
}
.amount-btn.custom-btn { border-style: dashed; }

.custom-amount-wrap {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  background: var(--color-cream-deep);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.custom-amount-wrap.show { display: flex; }
.custom-amount-wrap span { font-weight: 700; color: var(--color-orange-dark); }
.custom-amount-wrap input {
  border: none; background: transparent; font-size: 1rem; font-weight: 700;
  width: 100%; outline: none; color: var(--color-charcoal);
}

/* protein / drink item cards with qty stepper */
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.stepper-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-cream);
  transition: box-shadow 0.2s ease;
}
.stepper-card.qty-active { box-shadow: 0 0 0 2px var(--color-orange); }
.stepper-card .thumb { aspect-ratio: 1.3/1; overflow: hidden; }
.stepper-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.stepper-card .info { padding: 12px; }
.stepper-card .info h5 { margin: 0 0 2px; font-size: 0.94rem; font-weight: 700; }
.stepper-card .info .price { font-size: 0.82rem; color: var(--color-orange-dark); font-weight: 700; margin-bottom: 10px; }

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-line);
  padding: 4px;
}
.stepper button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--color-cream-deep);
  color: var(--color-orange-dark);
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.stepper button:hover { background: var(--color-orange-light); color: #fff; }
.stepper .qty-val { font-weight: 800; font-size: 0.94rem; }

/* ---------- Sticky cart / receipt ---------- */
.order-summary {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.order-summary-head {
  background: linear-gradient(135deg, var(--color-charcoal), var(--color-charcoal-soft
  ));
  color: #fff;
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.order-summary-head h3 { color: #fff; margin: 0; }
.order-summary-head span { font-size: 0.78rem; opacity: 0.85; }

.ticket-body { padding: 18px 20px; }
.ticket-empty { text-align: center; padding: 30px 10px; color: var(--color-charcoal-soft); font-size: 0.9rem; }
.ticket-line {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--color-line);
  font-size: 0.92rem;
}
.ticket-line:last-child { border-bottom: none; }
.ticket-line .name { font-weight: 600; }
.ticket-line .name small { display: block; color: var(--color-charcoal-soft); font-weight: 400; font-size: 0.76rem; }
.ticket-line .amt { font-weight: 700; color: var(--color-orange-dark); white-space: nowrap; }
.ticket-line .rm {
  background: none; border: none; color: #C23B22; font-size: 0.8rem; margin-left: 8px; opacity: 0.7;
}

.ticket-total {
  border-top: 2px dashed var(--color-line);
  margin-top: 6px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ticket-total strong { font-size: 1.1rem; }
.ticket-total .total-amt { font-size: 1.3rem; font-weight: 800; color: var(--color-green-dark); }

.ticket-footer { padding: 0 20px 20px; }

/* Mobile sticky bar */
.mobile-cart-bar {
  position: fixed;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 400;
  background: var(--color-charcoal);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 12px 10px 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-lift);
  transform: translateY(120%);
  transition: transform 0.3s ease;
}
.mobile-cart-bar.show { transform: translateY(0); }
.mobile-cart-bar .info strong { display: block; font-size: 0.98rem; }
.mobile-cart-bar .info span { font-size: 0.74rem; opacity: 0.7; }
.mobile-cart-bar button {
  background: var(--color-orange);
  color: #fff; border: none; padding: 10px 18px;
  border-radius: var(--radius-pill); font-weight: 700; font-size: 0.88rem;
}

@media (min-width: 980px) {
  .mobile-cart-bar { display: none; }
  .order-summary { position: sticky; top: 88px; }
}
@media (max-width: 979px) {
  .desktop-only-summary { display: none; }
}

/* ---------- Checkout modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(42,31,23,0.55);
  z-index: 900; display: none; align-items: flex-end; justify-content: center;
  backdrop-filter: blur(2px);
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: var(--color-white);
  width: 100%; max-width: 520px;
  border-radius: 24px 24px 0 0;
  padding: 26px 24px 30px;
  max-height: 92vh; overflow-y: auto;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(40px); opacity:0; } to { transform: translateY(0); opacity:1; } }
@media (min-width: 620px) {
  .modal-overlay { align-items: center; }
  .modal-box { border-radius: 24px; }
}
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.modal-head button { background: var(--color-cream-deep); border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 1.1rem; }
.modal-box p.sub { color: var(--color-charcoal-soft); font-size: 0.88rem; margin-bottom: 20px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 0.86rem; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; border: 1.5px solid var(--color-line); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 0.95rem; font-family: var(--font-main); outline: none;
  transition: border-color 0.15s ease; background: var(--color-cream);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--color-orange); }
.form-group textarea { resize: vertical; min-height: 72px; }

.modal-total-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--color-cream-deep); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 18px; font-weight: 700;
}
.modal-total-row span.big { font-size: 1.2rem; color: var(--color-orange-dark); }

/* Toast */
.toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-20px);
  background: var(--color-charcoal); color: #fff; padding: 12px 22px; border-radius: var(--radius-pill);
  font-size: 0.88rem; font-weight: 600; z-index: 1000; opacity: 0; transition: all 0.3s ease; pointer-events: none;
  box-shadow: var(--shadow-lift);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Utility */
.mt-40 { margin-top: 40px; }
.center { text-align: center; }
.fade-up { animation: fadeUp 0.6s ease both; }
@keyframes fadeUp { from { opacity:0; transform: translateY(16px);} to { opacity:1; transform:translateY(0);} }

/* Skeleton loader */
.skel { background: linear-gradient(90deg,#f0e5d4 25%,#f7ecdd 37%,#f0e5d4 63%); background-size: 400% 100%; animation: skel 1.4s ease infinite; border-radius: var(--radius-sm); }
@keyframes skel { 0%{background-position:100% 50%;} 100%{background-position:0 50%;} }

/* ============================================================
   HAMBURGER MENU
   ============================================================ */
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--color-line);
  background: var(--color-white);
  font-size: 1.1rem;
  color: var(--color-charcoal);
  transition: background 0.15s ease;
}
.hamburger-btn:hover { background: var(--color-cream-deep); }
@media (min-width: 900px) { .hamburger-btn { display: none; } }

.mobile-nav {
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px 20px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-lift);
  z-index: 499;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a {
  padding: 12px 6px;
  font-weight: 600;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-charcoal);
}
.mobile-nav a.btn { border-bottom: none; text-align: center; margin-top: 10px; }
@media (min-width: 900px) { .mobile-nav { display: none; } }

.navbar.scrolled { box-shadow: var(--shadow-tight); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.feature-grid .feature-item.reveal:nth-child(2) { transition-delay: 0.08s; }
.feature-grid .feature-item.reveal:nth-child(3) { transition-delay: 0.16s; }
.feature-grid .feature-item.reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   REVIEW SLIDER
   ============================================================ */
.review-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-track-wrap { overflow: hidden; flex: 1; border-radius: var(--radius-md); }
.review-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.22,.61,.36,1);
}
.review-slide {
  flex: 0 0 100%;
  padding: 4px 6px;
}
.review-slider .review-card { max-width: 560px; margin: 0 auto; }
.slider-arrow {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--color-line);
  background: var(--color-white);
  color: var(--color-orange-dark);
  font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s ease;
}
.slider-arrow:hover { background: var(--color-orange); color: #fff; border-color: transparent; }
.review-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dot-btn {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: var(--color-line);
  padding: 0; transition: all 0.2s ease;
}
.dot-btn.active { width: 22px; border-radius: 4px; background: var(--color-orange); }

@media (min-width: 700px) {
  .review-slide { padding: 4px 40px; }
}

/* ============================================================
   MAP EMBED
   ============================================================ */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  min-height: 300px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-float.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.whatsapp-float.show:hover { transform: translateY(0) scale(1.08); }
.whatsapp-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: whatsappPulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (min-width: 980px) { .whatsapp-float { bottom: 28px; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-ping { animation: none; } }

/* ============================================================
   STEPPER FOR AMOUNT CATEGORIES (custom amount +/-)
   ============================================================ */
.amount-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.amount-stepper button {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--color-white);
  color: var(--color-orange-dark);
  font-weight: 800;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.amount-stepper button:hover { background: var(--color-orange-light); color: #fff; }
