/* =========================================================
   Qatfat Enab — Brand Design System
   Colors, type, and components pulled from the official
   brand guide (الدليل الإرشادي لشعار قطفة عنب).
   ========================================================= */

:root {
  /* Brand palette — from brand guide p.08 */
  --teal: #00958B;
  --teal-dark: #00746C;
  --teal-light: #7FC4BD;
  --teal-tint: #E3F1EF;

  --coral: #DF5C35;
  --coral-dark: #B84527;
  --coral-light: #EFA98A;
  --coral-tint: #FBEAE2;

  --cream: #F3F0E9;
  --cream-dark: #E8E2D4;

  --ink: #24211D;
  --ink-soft: #56524A;
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 6px 24px rgba(36, 33, 29, 0.08);
  --shadow-lift: 0 16px 40px rgba(36, 33, 29, 0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.45s;

  --container: 1180px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

/* RTL is default (Arabic-first). English pages set dir="ltr" on <html>. */
html[dir="ltr"] body { font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }

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

/* =========================================================
   Typography
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--coral-dark);
  background: var(--coral-tint);
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--teal-dark);
  margin: 8px 0 12px;
}
.section-lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 640px;
}
.section-head {
  margin-bottom: 40px;
}
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .section-lede { margin-inline: auto; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: var(--white); box-shadow: 0 10px 24px rgba(223, 92, 53, 0.28); }
.btn-coral:hover { background: var(--coral-dark); box-shadow: 0 14px 30px rgba(223, 92, 53, 0.36); }
.btn-teal { background: var(--teal); color: var(--white); box-shadow: 0 10px 24px rgba(0, 149, 139, 0.28); }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-ghost:hover { box-shadow: var(--shadow-lift); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(100deg, var(--teal-dark) 0%, var(--teal) 55%, var(--teal-dark) 100%);
  box-shadow: 0 8px 28px rgba(0, 74, 68, 0.28);
}
/* Sleek pass: the orange underline is now a slim 2px strip sitting a
   couple px above the header's true bottom edge (not a flush border),
   for a lighter, more modern look. */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--coral);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0,0,0,0.2);
}
.brand-mark {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
}
.brand-mark svg { width: 100%; height: 100%; position: relative; z-index: 1; }
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.9);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.18); color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.lang-switch:hover { background: var(--coral); border-color: var(--coral); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--teal-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 20px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 12px 14px; color: rgba(255,255,255,0.88); }
  .main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.14); color: var(--white); }
  .nav-toggle { display: block; }
}

/* =========================================================
   Hero — full-bleed background photo
   ========================================================= */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    radial-gradient(115% 130% at 50% 8%, rgba(0, 40, 37, 0.55), rgba(0, 40, 37, 0.82) 55%, rgba(0, 28, 26, 0.93) 100%),
    linear-gradient(180deg, rgba(0,45,42,0.35) 0%, rgba(0,30,28,0.55) 100%),
    url('../images/hero/hero-spread.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,45,42,0.1) 0%, rgba(0,45,42,0.1) 45%, rgba(0,28,26,0.7) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 130px 0 90px;
}
.hero-tagline {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 22px;
  text-shadow:
    0 0 18px rgba(255,255,255,0.5),
    0 0 46px rgba(255,255,255,0.28),
    0 6px 30px rgba(0,15,14,0.6);
}
.hero-tagline .accent {
  color: var(--coral-light);
  text-shadow:
    0 0 18px rgba(239,169,138,0.75),
    0 0 42px rgba(239,169,138,0.45),
    0 6px 30px rgba(0,15,14,0.6);
}
.hero-sub {
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  font-weight: 600;
  color: var(--white);
  max-width: 620px;
  margin-inline: auto;
  text-shadow: 0 2px 18px rgba(0,10,9,0.65), 0 0 30px rgba(0,10,9,0.4);
}
.hero-cta-row { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; justify-content: center; }
.hero-cta-row .btn-coral {
  padding: 18px 44px;
  font-size: 1.08rem;
  box-shadow: 0 0 0 0 rgba(223, 92, 53, 0.55), 0 14px 34px rgba(223, 92, 53, 0.45);
  animation: heroCtaGlow 2.6s ease-in-out infinite;
}
@keyframes heroCtaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(223, 92, 53, 0.45), 0 14px 34px rgba(223, 92, 53, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(223, 92, 53, 0), 0 14px 34px rgba(223, 92, 53, 0.45); }
}
.hero-scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 999px;
}
.hero-scroll-cue::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: heroScroll 1.8s var(--ease) infinite;
}
@keyframes heroScroll {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}
@media (max-width: 640px) {
  .hero { min-height: 600px; background-position: center 24%; }
  .hero-inner { padding: 110px 0 70px; }
}

/* Portrait product-photo card (Occasions "how it works", etc.) */
.photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
  pointer-events: none;
}
.photo-card .photo-tag {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(223,92,53,0.35);
}

/* =========================================================
   Placeholder image blocks (elegant, brand-styled — swap for real photos)
   ========================================================= */
.img-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--teal-dark) 0%, var(--teal) 55%, var(--coral) 130%);
  color: var(--white);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  width: 46%;
  height: 46%;
  background-image: url('../images/brand/leaf-icon-white.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.22;
}
.img-placeholder span { position: relative; z-index: 1; opacity: 0.95; text-shadow: 0 2px 10px rgba(0,0,0,0.18); }

/* =========================================================
   Cards / grids
   ========================================================= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card-media { aspect-ratio: 4 / 3; }
.card-body { padding: 18px 20px 22px; }
.card-title { font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.card-price { color: var(--coral); font-weight: 700; font-size: 1.1rem; }

/* =========================================================
   Category nav pills (Menu page)
   ========================================================= */
.category-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 0 26px;
  scrollbar-width: none;
}
.category-pills::-webkit-scrollbar { display: none; }
.category-pills a {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow-soft);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.category-pills a:hover, .category-pills a.active { background: var(--teal); color: var(--white); }

.menu-category { padding: 50px 0; scroll-margin-top: 90px; }
.menu-category:nth-child(odd) { background: var(--white); }
.menu-item-card { display: flex; flex-direction: column; }
.menu-item-media { aspect-ratio: 1 / 1; flex-shrink: 0; min-height: 0; overflow: hidden; }
.menu-item-card .card-body { display: flex; flex-direction: column; flex: 1; }
.tier-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.92rem; }
.tier-table td { padding: 5px 0; color: var(--ink-soft); }
.tier-table td:last-child { text-align: end; font-weight: 700; color: var(--coral); }

/* Allergen / calorie accordion */
.item-meta { margin-top: 10px; }
.meta-toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta-toggle .chev { transition: transform var(--speed) var(--ease); }
.meta-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.meta-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--speed) var(--ease);
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.meta-panel .inner { padding-top: 8px; }
.calorie-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--teal-tint);
  padding: 3px 10px;
  border-radius: 999px;
  margin-inline-end: 6px;
}

/* =========================================================
   Badges
   ========================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.badge-delivery { background: var(--coral-tint); color: var(--coral-dark); }

/* =========================================================
   Order-app buttons
   ========================================================= */
.order-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.app-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.app-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* Delivery-app cards (homepage "order now" grid) */
.app-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .app-card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .app-card-grid { grid-template-columns: repeat(2, 1fr); } }
.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 16px 20px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.app-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.app-card-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(36,33,29,0.18);
}
.app-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.app-card-name { font-weight: 700; font-size: 0.96rem; color: var(--ink); }
.app-card-cta { font-size: 0.8rem; font-weight: 700; color: var(--teal); display: inline-flex; align-items: center; gap: 4px; }

/* =========================================================
   Stats banner (testimonials aggregate)
   ========================================================= */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-lift);
  color: var(--white);
  text-align: center;
}
@media (max-width: 700px) { .stats-banner { grid-template-columns: 1fr; } }
.stats-banner .stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 0 22px rgba(255,255,255,0.35);
}
.stats-banner .stat-label { font-size: 0.92rem; color: rgba(255,255,255,0.88); margin-top: 4px; }
.stats-banner .stat-item { border-inline-end: 1px solid rgba(255,255,255,0.2); }
.stats-banner .stat-item:last-child { border-inline-end: none; }
@media (max-width: 700px) { .stats-banner .stat-item { border-inline-end: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 16px; } .stats-banner .stat-item:last-child { border-bottom: none; padding-bottom: 0; } }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.testimonial-name { font-weight: 700; font-size: 0.96rem; color: var(--ink); }
.testimonial-stars { color: var(--coral); font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.7; flex-grow: 1; }

/* Testimonials carousel — 2 pages of 6, arrow-navigated */
.testimonial-carousel { position: relative; }
.testimonial-page { display: none; }
.testimonial-page.active { display: grid; }
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}
.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--teal-dark);
  border: none;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.carousel-btn:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cream-dark); transition: background var(--speed) var(--ease), width var(--speed) var(--ease); }
.carousel-dot.active { background: var(--coral); width: 22px; border-radius: 999px; }

/* =========================================================
   Loyalty program
   ========================================================= */
.loyalty-section {
  background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal) 65%, var(--coral) 180%);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.loyalty-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/brand/leaf-icon-white.png');
  background-repeat: no-repeat;
  background-position: 105% 115%;
  background-size: 320px;
  opacity: 0.1;
  pointer-events: none;
}
.loyalty-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 800px) { .loyalty-grid { grid-template-columns: 1fr; } }
.loyalty-steps { display: flex; flex-direction: column; gap: 14px; margin: 20px 0 26px; }
.loyalty-step { display: flex; align-items: center; gap: 14px; }
.loyalty-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1.5px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem; flex-shrink: 0;
}
.loyalty-step-text { font-size: 0.95rem; color: rgba(255,255,255,0.94); }
.loyalty-note {
  background: rgba(255,255,255,0.12);
  border-inline-start: 4px solid var(--coral-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.92);
}
.loyalty-qr-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-lift);
  transition: transform var(--speed) var(--ease);
}
.loyalty-qr-card:hover { transform: translateY(-6px); }
.loyalty-qr-card img { width: 100%; max-width: 220px; margin: 0 auto 14px; border-radius: var(--radius-sm); }
.loyalty-qr-label { font-weight: 700; color: var(--ink); font-size: 0.92rem; margin-bottom: 10px; }

/* =========================================================
   Branches
   ========================================================= */
.branch-card {
  position: relative;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 5px solid var(--teal);
  background: linear-gradient(175deg, var(--white) 0%, var(--white) 78%, var(--teal-tint) 180%);
}
.branch-card.has-delivery { border-top-color: var(--coral); }
.branch-card:hover { border-top-width: 6px; }
.branch-icon-row { display: flex; align-items: center; gap: 12px; }
.branch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-dark);
  flex-shrink: 0;
}
.branch-card.has-delivery .branch-icon { background: var(--coral-tint); color: var(--coral-dark); }
.branch-name { font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.branch-district { color: var(--ink-soft); font-size: 0.92rem; }
.branch-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.branch-hours {
  font-size: 0.82rem;
  color: var(--teal-dark);
  background: var(--teal-tint);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  align-self: flex-start;
}
.delivery-note {
  background: linear-gradient(120deg, var(--coral-tint), var(--cream));
  border-inline-start: 4px solid var(--coral);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--coral-dark);
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* =========================================================
   Occasions modal
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 22, 19, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--speed) var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--cream);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  transform: translateY(24px) scale(0.97);
  transition: transform var(--speed) var(--ease);
  box-shadow: var(--shadow-lift);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.modal-close { background: var(--white); border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 1.1rem; box-shadow: var(--shadow-soft); }
.modal-branch-list { display: flex; flex-direction: column; gap: 10px; }
.modal-branch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--white);
  border-inline-start: 4px solid var(--teal-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.modal-branch-row:hover { border-inline-start-color: var(--coral); transform: translateX(2px); }
.modal-branch-info { display: flex; flex-direction: column; }
.modal-branch-actions { display: flex; gap: 8px; flex-shrink: 0; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-dark);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.icon-btn:hover { background: var(--teal); color: var(--white); }
.icon-btn.call { background: var(--coral-tint); color: var(--coral-dark); }
.icon-btn.call:hover { background: var(--coral); color: var(--white); }

/* =========================================================
   Scroll-reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--teal-dark);
  color: var(--white);
  padding: 60px 0 28px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; color: var(--cream); }
.footer-col a, .footer-col p { color: rgba(255,255,255,0.78); font-size: 0.9rem; display: block; margin-bottom: 8px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
}

/* =========================================================
   Page hero (interior pages)
   ========================================================= */
.page-hero {
  position: relative;
  min-height: min(58vh, 480px);
  display: flex;
  align-items: center;
  padding: 90px 0 60px;
  text-align: center;
  background: linear-gradient(150deg, var(--teal-dark) 0%, var(--teal) 60%, var(--coral) 165%);
  color: var(--white);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/brand/leaf-icon-white.png');
  background-repeat: no-repeat;
  background-position: 105% -10%;
  background-size: 340px;
  opacity: 0.1;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; width: 100%; }
.page-hero .eyebrow { color: var(--white); background: rgba(255,255,255,0.18); }
.page-hero .section-title {
  color: var(--white);
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow:
    0 0 18px rgba(255,255,255,0.5),
    0 0 46px rgba(255,255,255,0.28),
    0 6px 30px rgba(0,15,14,0.6);
}
.page-hero .section-lede {
  margin-inline: auto;
  color: var(--white);
  font-weight: 700;
  font-size: 1.22rem;
  max-width: 620px;
  text-shadow: 0 2px 18px rgba(0,10,9,0.65), 0 0 30px rgba(0,10,9,0.4);
}

/* Photo variant — full-bleed real photo behind the same dark-gradient
   recipe the homepage hero uses, so every interior page hero reads as one
   consistent, bright, "same as homepage" treatment. The photo itself is the
   background (not a faded overlay), so it always fills edge-to-edge with
   background-size:cover — no side gaps, no washed-out look. */
.page-hero.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Menu, Occasions and Branches all use the same soft-blur treatment:
   the real photo sits on a separate, oversized, blurred layer behind
   the container so it still reads as color and shape (brighter and
   more present than a flat gradient), while the bold white headline
   text in front stays perfectly sharp and readable. */
.page-hero.photo-menu, .page-hero.photo-occasions, .page-hero.photo-branches {
  background: linear-gradient(150deg, var(--teal-dark) 0%, var(--teal) 60%, var(--coral) 165%);
}
.page-hero.photo-menu::after, .page-hero.photo-occasions::after, .page-hero.photo-branches::after {
  content: '';
  position: absolute;
  inset: -20px;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(9px) saturate(1.05);
  transform: scale(1.06);
}
.page-hero.photo-menu::after {
  background-image:
    radial-gradient(60% 95% at 50% 42%, rgba(0, 20, 18, 0.5), rgba(0, 20, 18, 0.32) 48%, rgba(0, 20, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(0,45,42,0.04) 0%, rgba(0,30,28,0.16) 100%),
    url('../images/menu/menu-hero-bg.png');
}
.page-hero.photo-occasions::after {
  background-image:
    radial-gradient(60% 95% at 50% 42%, rgba(0, 20, 18, 0.5), rgba(0, 20, 18, 0.32) 48%, rgba(0, 20, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(0,45,42,0.04) 0%, rgba(0,30,28,0.16) 100%),
    url('../images/occasions/gift-baskets.jpg');
}
.page-hero.photo-branches::after {
  background-image:
    radial-gradient(60% 95% at 50% 42%, rgba(0, 20, 18, 0.5), rgba(0, 20, 18, 0.32) 48%, rgba(0, 20, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(0,45,42,0.04) 0%, rgba(0,30,28,0.16) 100%),
    url('../images/branches/branches-hero-collage.jpg');
}

/* =========================================================
   Utility
   ========================================================= */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.disclaimer-box {
  background: var(--teal-tint);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 30px;
}
.section-pad { padding: 70px 0; }

/* =========================================================
   Menu page — back-to-categories floating button
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  z-index: 60;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(223, 92, 53, 0.4);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), background var(--speed) var(--ease);
  border: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--coral-dark); }
.back-to-top svg { width: 22px; height: 22px; }

/* Category pills — framed presentation (was a bare row) */
.category-pills-wrap {
  position: relative;
  text-align: center;
  padding: 10px 0 8px;
}
.category-pills-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 680px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-light), transparent);
  z-index: 0;
}
.category-pills-wrap .category-pills {
  position: relative;
  z-index: 1;
  justify-content: center;
  padding: 6px 0;
}
.category-pills-wrap .category-pills a { background: var(--cream); }

/* =========================================================
   Menu item photo (real photography, replaces the gradient placeholder)
   ========================================================= */
.menu-item-media img { width: 100%; height: 100%; object-fit: cover; }

/* Multi-flavor image slider (currently used on the ورق عنب / waraq enab
   card in Savers — the only menu item with more than one photo) */
.flavor-slider {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
/* Homepage bestseller card reuses the slider inside a 4:3 card-media
   frame, so it needs to keep that ratio instead of the 1:1 default. */
.card-media.flavor-slider { aspect-ratio: 4 / 3; }
.flavor-slider .flavor-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.flavor-slider .flavor-slide.active { opacity: 1; }
.flavor-slider .flavor-slide img { width: 100%; height: 100%; object-fit: cover; }
.flavor-slider .flavor-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 6px;
}
.flavor-slider .flavor-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: none; padding: 0;
  transition: background var(--speed) var(--ease), width var(--speed) var(--ease);
}
.flavor-slider .flavor-dot.active { background: var(--white); width: 18px; border-radius: 999px; }
.flavor-slider .flavor-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  border: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}
.flavor-slider:hover .flavor-arrow { opacity: 1; }
.flavor-slider .flavor-arrow.prev { inset-inline-start: 8px; }
.flavor-slider .flavor-arrow.next { inset-inline-end: 8px; }
.flavor-badge {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 2;
  background: rgba(36,33,29,0.55);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

/* =========================================================
   Occasions — 3-step "how it works" alternating cards
   ========================================================= */
.how-steps { display: flex; flex-direction: column; gap: 54px; }
.how-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.how-step.reverse .how-step-media { order: 2; }
.how-step.reverse .how-step-text { order: 1; }
@media (max-width: 800px) {
  .how-step, .how-step.reverse { grid-template-columns: 1fr; }
  .how-step.reverse .how-step-media, .how-step .how-step-media { order: -1; }
}
.how-step-media { position: relative; }
.how-step-media .photo-card { aspect-ratio: 4 / 3; }
.how-step-num {
  position: absolute;
  top: -14px;
  inset-inline-start: -14px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(223,92,53,0.35);
}
.how-step-text .section-title { margin-top: 0; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

/* =========================================================
   Occasions — pricing tiers (updated 4-tier layout)
   ========================================================= */
.pricing-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .pricing-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pricing-tiers { grid-template-columns: 1fr; } }
.pricing-tier {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.pricing-tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.pricing-tier .tier-count { font-size: 1.7rem; font-weight: 800; color: var(--teal-dark); }
.pricing-tier .tier-unit { font-size: 0.82rem; color: var(--ink-soft); margin-top: 2px; }
.pricing-custom-note {
  margin-top: 22px;
  background: var(--teal-tint);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pricing-custom-note p { color: var(--teal-dark); font-weight: 600; }

/* =========================================================
   Branches — real photography on each card
   ========================================================= */
.branch-photo {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: -26px -24px 4px;
}
.branch-photo img { width: 100%; height: 100%; object-fit: cover; }
/* =========================================================
   Contact — WhatsApp focal card
   ========================================================= */
.whatsapp-card {
  background: linear-gradient(150deg, var(--teal-dark) 0%, var(--teal) 100%);
  border-radius: var(--radius-lg);
  padding: 46px 36px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}
.whatsapp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/brand/leaf-icon-white.png');
  background-repeat: no-repeat;
  background-position: 108% 120%;
  background-size: 280px;
  opacity: 0.12;
}
.whatsapp-card .container-inner { position: relative; z-index: 1; }
.whatsapp-number-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.8vw, 1.34rem);
  padding: 14px 28px;
  border-radius: 999px;
  margin: 14px 0 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  transition: transform var(--speed) var(--ease);
  direction: ltr;
}
.whatsapp-number-link:hover { transform: translateY(-3px); }
.whatsapp-number-link svg { width: 24px; height: 24px; flex-shrink: 0; color: #25D366; }
.whatsapp-label { font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.whatsapp-label-title {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.01em;
}
.social-row-card {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.social-row-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--teal-dark);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.social-row-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); background: var(--teal); color: var(--white); }

/* =========================================================
   Brand shape language — layered teal color-blocking with
   small coral/teal accent bursts, on the warm cream canvas.
   This is the visual system from the Occasions gift-basket
   photography: flat overlapping circles (not gradients),
   sparse 3-petal accent marks, generous negative space.
   Homepage is the pilot — same pieces reused sitewide once
   confirmed. ".has-decor" makes a section a hosting context;
   ".decor-blob" / ".decor-accent" are placed inside it and
   positioned per-instance with utility classes below.
   ========================================================= */
.has-decor { position: relative; overflow: hidden; }
.has-decor > .container { position: relative; z-index: 1; }
.decor-blob {
  position: absolute;
  width: 420px;
  height: 420px;
  background: url('../images/decor/blob-teal.svg') no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}
.decor-accent {
  position: absolute;
  width: 30px;
  height: 30px;
  pointer-events: none;
  z-index: 0;
}
.decor-accent.teal { background: url('../images/decor/accent-burst-teal.svg') no-repeat center / contain; }
.decor-accent.coral { background: url('../images/decor/accent-burst-coral.svg') no-repeat center / contain; }

/* Placement utilities — corner anchors, with a bleed past the
   section edge so the circles feel cropped by the frame like
   the reference photography, not floating in the middle. */
.decor-blob.pos-bl { left: -140px; bottom: -160px; }
.decor-blob.pos-br { right: -140px; bottom: -160px; transform: scaleX(-1); }
.decor-blob.pos-tr { right: -160px; top: -140px; transform: scaleX(-1); }
.decor-blob.pos-tl { left: -160px; top: -140px; }
.decor-blob.sm { width: 280px; height: 280px; }

@media (max-width: 900px) {
  .decor-blob { width: 260px; height: 260px; }
  .decor-blob.sm { width: 190px; height: 190px; }
  .decor-blob.pos-bl { left: -90px; bottom: -100px; }
  .decor-blob.pos-br { right: -90px; bottom: -100px; }
  .decor-blob.pos-tr { right: -100px; top: -80px; }
  .decor-blob.pos-tl { left: -100px; top: -80px; }
}

/* White variant — same shapes, for use on a dark teal/coral
   gradient (page heroes with no photo, e.g. Careers) where the
   teal-colored blob would disappear into the background. */
.decor-blob.white { background-image: url('../images/decor/blob-white.svg'); opacity: 0.5; }
.decor-accent.white { background-image: url('../images/decor/accent-burst-white.svg'); }

/* =========================================================
   Micro animations — small, purposeful motion. Each one is
   tied to a specific decorative or wayfinding element instead
   of being applied broadly, so the page stays calm and the
   motion reads as intentional.
   ========================================================= */

/* Decorative blobs breathe very slowly in place — barely
   perceptible, just enough to keep flat color-blocked sections
   from feeling static. Respects the position transform already
   set by .pos-br/.pos-tr (mirrored shapes), so the keyframes
   only add a translate, never override it. */
@keyframes decorFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
.decor-blob { animation: decorFloat 9s var(--ease) infinite; }
.decor-blob.pos-br, .decor-blob.pos-tr { animation: decorFloatMirror 9s var(--ease) infinite; }
@keyframes decorFloatMirror {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

/* Accent sparkle marks: a soft twinkle, each on its own
   offset delay so a pair in the same section doesn't pulse in
   lockstep. */
@keyframes decorTwinkle {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}
.decor-accent { animation: decorTwinkle 3.2s ease-in-out infinite; }
.decor-accent.coral { animation-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .decor-blob, .decor-blob.pos-br, .decor-blob.pos-tr, .decor-accent {
    animation: none;
  }
}

/* Branch pin icon — a small confirming nudge on hover/focus so
   the branch card reads as a tappable "find me" action, not just
   a static list row. */
.branch-icon { transition: transform var(--speed) var(--ease); }
.branch-card:hover .branch-icon, .branch-card:focus-within .branch-icon { transform: translateY(-3px) scale(1.08); }

/* Admin WhatsApp link on the Contact page's own card — the one
   place this number is allowed to appear, so it gets the same
   gentle "notice me" pulse the hero CTA uses, at a calmer pace. */
.whatsapp-number-link {
  display: inline-flex;
  animation: adminNumberPulse 3s ease-in-out infinite;
}
@keyframes adminNumberPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.35); }
  50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-number-link { animation: none; }
}

/* Back-to-top button — safe-area padding so it never sits under
   a phone's home-indicator bar, plus a slightly smaller footprint
   on small screens so it doesn't crowd thumb-reach content. */
@media (max-width: 480px) {
  .back-to-top {
    width: 46px;
    height: 46px;
    bottom: max(18px, env(safe-area-inset-bottom));
    inset-inline-end: 18px;
  }
  .back-to-top svg { width: 19px; height: 19px; }
}
