/* storefront/components.css — Buttons, section rhythm, heroes, gallery grid and viewer, tabs and chips,
   package cards, reviews, forms and about / restaurant / contact blocks.
   (The catering offer and the package builder are styled in catering.css.)
   Part 4 of 9; files are linked in this order in views/storefront.html (cascade order matters).
   (The static 404 page and Back Office notice also load tokens + base + this file for .btn.) */

/* ============================================================================
   BUTTONS & LINKS
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius-control);
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--transition);
}

.btn i {
  font-size: 1.05em;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary:hover,
.btn-whatsapp:hover {
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #3a3530;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--bg-card);
}

.btn-outline .fa-whatsapp {
  color: var(--whatsapp);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.text-link i {
  font-size: 0.75rem;
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  border-color: var(--brand-primary);
  color: var(--brand-ink);
}

.text-link:hover .fa-arrow-right {
  transform: translateX(3px);
}

.text-link-wa i {
  font-size: 1rem;
  color: var(--whatsapp);
}

.center-link {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* ============================================================================
   SECTION RHYTHM & HEADINGS
   ============================================================================ */
.section-pad {
  padding: var(--section-y) 0;
}

.section-tight-top {
  padding-top: clamp(28px, 4vw, 48px);
}

.section-ivory {
  background: var(--bg-ivory);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.section-title {
  font-size: var(--fs-h2);
  margin-top: 12px;
}

/* Dalia's signature hairline under section titles, drawn crisply with a short gold centre */
.section-header .section-title::after {
  content: '';
  display: block;
  width: min(420px, 80%);
  height: 1px;
  margin: 22px auto 0;
  background:
    linear-gradient(var(--brand-primary), var(--brand-primary)) center / 48px 1px no-repeat,
    linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
}

.section-desc {
  margin: 20px auto 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-header-start {
  text-align: start;
  margin-inline: 0;
}

.section-header-start .section-title::after {
  margin-inline: 0;
  background:
    linear-gradient(var(--brand-primary), var(--brand-primary)) left / 48px 1px no-repeat,
    linear-gradient(90deg, var(--line-strong), transparent);
}

.empty-state {
  text-align: center;
  padding: 56px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.empty-state i {
  font-size: 2rem;
  color: var(--brand-primary);
  margin-bottom: 14px;
}

.empty-state p {
  color: var(--text-muted);
  margin: 6px auto 20px;
}

/* ============================================================================
   HEROES
   ============================================================================ */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* Home: centred headline over one large, full-width event photo */
.home-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(460px, calc(100vh - var(--header-h)), 820px);
  padding: clamp(56px, 7vw, 96px) 0;
  color: #fff;
}

.home-hero-media {
  position: absolute;
  inset: 0;
  background: var(--ink);
}

/* Slideshow: photos stacked, the active one fades in (js/storefront/motion.js) */
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero controls: one thin bar per photo (the active bar fills while it plays) and a pause button */
.hero-slider-ui {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(18px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 38px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.hero-dot-bar {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.38);
  overflow: hidden;
}

.hero-dot-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}

.hero-dot.is-active .hero-dot-bar::after {
  transform: scaleX(1);
}

.home-hero.is-playing .hero-dot.is-active .hero-dot-bar::after {
  animation: mk-hero-progress var(--slide-ms, 6500ms) linear both;
}

[dir='rtl'] .hero-dot-bar::after {
  transform-origin: right center;
}

@keyframes mk-hero-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero-pause {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(20, 18, 15, 0.25);
  color: #fff;
  font-size: 0.72rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.hero-pause:hover {
  background: rgba(20, 18, 15, 0.5);
}

/* A thin line that runs down, inviting a scroll (desktop only) */
.hero-scroll-cue {
  position: absolute;
  inset-inline-end: clamp(20px, 4vw, 48px);
  bottom: 0;
  width: 1px;
  height: 64px;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7));
  overflow: hidden;
}

.home-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 15, 0.45) 0%, rgba(20, 18, 15, 0.62) 100%);
}

.home-hero-copy {
  position: relative;
  text-align: center;
  max-width: 860px;
}

.home-hero .eyebrow {
  color: #f0d79a;
}

.home-hero-title {
  font-size: var(--fs-h1);
  line-height: 1.1;
  margin: 16px auto 0;
  max-width: 19ch;
  color: #fff;
}

.home-hero-text {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 20px auto 0;
  max-width: 44ch;
}

.home-hero .hero-actions {
  justify-content: center;
}

.home-hero .btn-primary,
.page-hero.has-photo .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.home-hero .btn-primary:hover,
.page-hero.has-photo .btn-primary:hover {
  background: #f1ece2;
}

.home-hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.home-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Inner pages: light header with an optional photo beside the text */
.page-hero {
  padding: clamp(32px, 4.5vw, 60px) 0;
  border-bottom: 1px solid var(--line);
}

.page-hero.has-photo {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(380px, 48vw, 560px);
  padding: clamp(48px, 6vw, 88px) 0;
  border-bottom: none;
  color: #fff;
}

/* The photo fills the whole hero; a dark fade on the text side keeps white text readable */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--ink);
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 18, 15, 0.82) 0%,
    rgba(20, 18, 15, 0.62) 45%,
    rgba(20, 18, 15, 0.25) 100%
  );
}

[dir='rtl'] .page-hero-bg::after {
  transform: scaleX(-1);
}

.page-hero.has-photo .page-hero-inner {
  position: relative;
  width: 100%;
}

.page-hero.has-photo .page-hero-copy {
  margin: 0;
  max-width: 620px;
  text-align: start;
}

.page-hero.has-photo .hero-actions,
.page-hero.has-photo .hero-meta {
  justify-content: flex-start;
}

.page-hero.has-photo .eyebrow,
.page-hero.has-photo .hero-meta i {
  color: #f0d79a;
}

.page-hero.has-photo .page-hero-title {
  color: #fff;
}

.page-hero.has-photo .page-hero-text,
.page-hero.has-photo .hero-meta {
  color: rgba(255, 255, 255, 0.88);
}

.page-hero.has-photo .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.page-hero.has-photo .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.page-hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.12;
  margin-top: 14px;
}

.page-hero-text {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin: 18px auto 0;
  max-width: 58ch;
}

.page-hero .page-hero-text {
  margin-inline: 0;
}

.page-hero-media {
  background: var(--bg-sunken);
  border-radius: var(--radius-photo);
  overflow: hidden;
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 460px;
  object-fit: cover;
}

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.hero-meta i {
  color: var(--brand-ink);
  margin-inline-end: 6px;
}

/* ============================================================================
   GALLERY GRID & FULL-SCREEN VIEWER
   ============================================================================ */
.gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius-photo);
  overflow: hidden;
  background: var(--bg-sunken);
  cursor: zoom-in;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.gallery-tile-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(20, 18, 15, 0.62), transparent);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 500;
  text-align: start;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s var(--ease);
}

.gallery-tile:hover .gallery-tile-caption,
.gallery-tile:focus-visible .gallery-tile-caption {
  opacity: 1;
  transform: none;
}

/* Editorial rhythm (shapes are set in pages/sections.js): tall, wide and square photos */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(170px, 21vw, 290px);
  grid-auto-flow: dense;
  gap: 10px;
}

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

.gallery-grid .tile-wide {
  grid-column: span 2;
}

.gallery-grid .tile-full {
  grid-column: 1 / -1;
}

html.lightbox-lock,
html.lightbox-lock body {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px 72px;
  background: rgba(252, 251, 248, 0.97);
}

.lightbox.open {
  display: flex;
  animation: lightboxIn 0.3s var(--ease);
}

@keyframes lightboxIn {
  from {
    opacity: 0;
  }
}

.lightbox-figure {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  object-fit: contain;
  border-radius: var(--radius-photo);
  box-shadow: var(--shadow-dialog);
  background: var(--bg-sunken);
}

.lightbox-caption {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 70ch;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--text);
}

.lightbox-count {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
}

.lightbox-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--ink);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-btn:hover {
  border-color: var(--ink);
}

.lightbox-close {
  top: 16px;
  inset-inline-end: 16px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  margin-top: -24px;
}

.lightbox-prev {
  inset-inline-start: 16px;
}

.lightbox-next {
  inset-inline-end: 16px;
}

.lightbox.single .lightbox-prev,
.lightbox.single .lightbox-next {
  display: none;
}

/* ============================================================================
   TABS, CHIPS & PACKAGE CARDS
   ============================================================================ */

.segmented {
  display: flex;
  justify-content: center;
  gap: 8px 32px;
  flex-wrap: wrap;
  margin: 0 auto 40px;
  border-bottom: 1px solid var(--line);
}

.segmented-btn {
  position: relative;
  padding: 12px 2px 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.segmented-btn::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.segmented-btn:hover {
  color: var(--ink);
}

.segmented-btn.active {
  color: var(--ink);
  font-weight: 600;
}

.segmented-btn.active::after {
  transform: scaleX(1);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.chip-row-center {
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
}

.chip:hover {
  border-color: var(--ink);
}

.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr));
  gap: 24px;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.package-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.package-card-media img {
  transition: transform 1.2s var(--ease);
}

.package-card:hover .package-card-media img {
  transform: scale(1.03);
}

.package-card-media {
  position: relative;
  background: var(--bg-sunken);
}

.package-card-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.package-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
}

.package-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 22px;
}

.package-card-cat {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.package-card-title {
  font-size: 1.4rem;
  margin: 10px 0 6px;
}

.package-card-price {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.package-card-price span {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
  margin-inline-end: 4px;
}

.package-card-sub {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.package-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.package-card-footer .btn {
  flex: 1;
}

/* ============================================================================
   REVIEWS
   ============================================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-5);
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-6) var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

/* Large serif quotation mark, decorative */
.review-mark {
  position: absolute;
  top: 10px;
  inset-inline-end: 22px;
  font-family: var(--font-serif);
  font-size: 4.6rem;
  line-height: 1;
  color: var(--brand-soft);
  pointer-events: none;
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--brand-primary);
  font-size: 0.78rem;
  margin-bottom: var(--space-4);
}

.review-quote {
  position: relative;
  flex: 1;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: var(--space-5);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.review-author img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-sunken);
}

.review-name {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
}

.review-role {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.45;
}

/* ============================================================================
   HOW IT WORKS (catering) & FREQUENTLY ASKED QUESTIONS
   ============================================================================ */
.section-how {
  border-top: 1px solid var(--line);
}

.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  counter-reset: how;
}

.how-step {
  position: relative;
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

/* A hairline arrow between the steps on wide screens */
.how-step + .how-step::before {
  content: '';
  position: absolute;
  top: 52px;
  inset-inline-start: calc(-1 * var(--space-5));
  width: var(--space-5);
  height: 1px;
  background: var(--line-strong);
}

.how-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 1.05rem;
}

.how-step-num {
  display: block;
  margin-top: var(--space-4);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

.how-step-title {
  font-size: 1.3rem;
  margin: 6px 0 8px;
}

.how-step-text {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.how-steps-compact .how-step {
  padding: var(--space-5);
}

.how-steps-compact .how-step + .how-step::before {
  top: 46px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 20px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--brand-ink);
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--ink);
  transition:
    transform 0.3s var(--ease),
    background-color 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.faq-answer {
  padding: 0 2px 22px;
  color: var(--text);
  font-size: 0.97rem;
}

/* ============================================================================
   FORMS
   ============================================================================ */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3.5vw, 40px);
}

.form-card-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.form-card-text {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: -12px 0 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.form-control {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: var(--radius-field);
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--ink);
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-control::placeholder {
  color: var(--text-placeholder);
}

.form-control:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

textarea.form-control {
  resize: vertical;
}

.form-control-sm {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 0.88rem;
}

.form-submit {
  margin-top: 20px;
}

/* ============================================================================
   ABOUT, RESTAURANT & CONTACT BLOCKS
   ============================================================================ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.split-copy p {
  color: var(--text);
  margin-top: 16px;
}

.split-copy .section-title {
  margin-bottom: 8px;
}

.split-media {
  background: var(--bg-sunken);
  border-radius: var(--radius-photo);
  overflow: hidden;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 20px 16px;
  text-align: center;
}

.stat + .stat {
  border-inline-start: 1px solid var(--line);
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--ink);
  line-height: 1.1;
}

.stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 6px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 32px 24px;
}

.team-card-media {
  border-radius: var(--radius-photo);
  overflow: hidden;
  background: var(--bg-sunken);
  margin-bottom: 18px;
}

.team-card-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.team-card:hover .team-card-media img {
  transform: scale(1.03);
}

.team-role {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.team-name {
  font-size: 1.25rem;
  margin: 6px 0 8px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.visit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  margin-top: 48px;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.visit-panel-title {
  font-size: 1.65rem;
  margin: 10px 0 12px;
}

.visit-panel-copy > p {
  color: var(--text-muted);
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.94rem;
}

.info-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.info-list i {
  width: 16px;
  flex-shrink: 0;
  color: var(--brand-ink);
}

.info-list a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.map-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 340px;
  background: var(--bg-sunken);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 2px solid #c59b27;
  border-radius: var(--radius-card);
  transition:
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.contact-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

/* Catering is the main business: its card leads */
.contact-card-catering {
  background: linear-gradient(180deg, var(--brand-soft), var(--bg-card) 55%);
}

.contact-card-link {
  align-self: center;
  margin: var(--space-4) 0 -6px;
}

.contact-card-phone i {
  font-size: 0.85em;
  color: var(--brand-ink);
  margin-inline-end: 6px;
}

.contact-card-restaurant {
  border-top-color: #3d7a5e;
}

.contact-card-delivery {
  border-top-color: #c4623a;
}

.contact-card-title {
  font-size: 1.6rem;
  margin: 10px 0 8px;
}

.contact-card-text {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
  flex: 1;
}

.contact-card-phone {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--ink);
  direction: ltr;
  align-self: flex-start;
}

.contact-card-lines {
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 8px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-aside .map-frame {
  margin: 24px 0 18px;
  height: 300px;
}

.contact-aside .hero-actions {
  margin-top: 0;
  gap: 8px;
}

/* ============================================================================
   404 PAGE (public/404.html)
   ============================================================================ */
.nf-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.nf-card {
  max-width: 560px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-dialog);
  padding: 44px 32px;
  box-shadow: var(--shadow-soft);
}

.nf-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--brand-soft);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-ink);
  font-size: 1.6rem;
}

.nf-title {
  font-size: 2.1rem;
  margin: 10px 0 12px;
}

.nf-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 auto 28px;
}

.nf-text-ar,
.nf-actions [lang='ar'] {
  font-family: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', var(--font-sans);
  line-height: 1.8;
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================================================================
   MOTION (js/storefront/motion.js adds .motion-ok when the visitor allows motion)
   ============================================================================ */

/* Slow zoom on the photo on screen ("Ken Burns"); alternate photos drift the other way */
.motion-ok .hero-slide.is-active img,
.motion-ok .hero-slide.was-active img {
  animation: mk-kenburns 12s ease-out both;
}

.motion-ok .hero-slide:nth-child(even).is-active img,
.motion-ok .hero-slide:nth-child(even).was-active img {
  animation-name: mk-kenburns-alt;
}

@keyframes mk-kenburns {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes mk-kenburns-alt {
  from {
    transform: scale(1.14) translate3d(1.5%, 1%, 0);
  }
  to {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
}

/* Hero text arrives line by line */
.motion-ok .hero-enter .home-hero-copy > *,
.motion-ok .hero-enter .page-hero-copy > * {
  animation: mk-rise 1s var(--ease) both;
}
.motion-ok .hero-enter .home-hero-copy > :nth-child(2),
.motion-ok .hero-enter .page-hero-copy > :nth-child(2) {
  animation-delay: 0.12s;
}
.motion-ok .hero-enter .home-hero-copy > :nth-child(3),
.motion-ok .hero-enter .page-hero-copy > :nth-child(3) {
  animation-delay: 0.24s;
}
.motion-ok .hero-enter .home-hero-copy > :nth-child(n + 4),
.motion-ok .hero-enter .page-hero-copy > :nth-child(n + 4) {
  animation-delay: 0.36s;
}

@keyframes mk-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

.motion-ok .hero-scroll-cue::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: -40%;
  height: 40%;
  background: #fff;
  animation: mk-scroll-cue 2.4s var(--ease) infinite;
}

@keyframes mk-scroll-cue {
  to {
    top: 100%;
  }
}

/* Parallax: photos drift a little slower than the page (--parallax is set while scrolling) */
.motion-ok .home-hero-media {
  translate: 0 var(--parallax, 0);
  inset: -32px 0;
}

.motion-ok .page-hero-bg img,
.motion-ok .split-media img {
  translate: 0 var(--parallax, 0);
  scale: 1.1;
}

/* Section titles: the hairline draws itself in from the middle */
.reveal-ready .section-header.reveal .section-title::after {
  transform: scaleX(0);
  transition: transform 1.1s var(--ease) 0.2s;
}

.reveal-ready .section-header.reveal.in-view .section-title::after {
  transform: scaleX(1);
}

/* Photo cards: the photo eases in closer on hover */
.motion-ok .package-card-media img,
.motion-ok .gallery-tile img {
  transition:
    opacity 0.6s ease,
    transform 1.4s var(--ease);
}

.motion-ok .package-card:hover .package-card-media img,
.motion-ok .gallery-tile:hover img {
  transform: scale(1.06);
}

/* ============================================================================
   SHOWCASE STRIP (two rows of event photos gliding in opposite directions)
   ============================================================================ */
.showcase {
  padding: clamp(56px, 7vw, 96px) 0;
  overflow: hidden;
}

.showcase-row {
  /* Photos have no reading order; keeping the row LTR lets one animation serve both languages */
  direction: ltr;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.showcase-row + .showcase-row {
  margin-top: 16px;
}

.showcase-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.motion-ok .showcase-track {
  animation: mk-showcase 70s linear infinite;
}

.motion-ok .showcase-row-reverse .showcase-track {
  animation-direction: reverse;
  animation-duration: 82s;
}

.showcase-row:hover .showcase-track,
.showcase-row:focus-within .showcase-track {
  animation-play-state: paused;
}

/* Each row holds its photos twice, so moving by half the track loops seamlessly */
@keyframes mk-showcase {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.showcase-tile {
  position: relative;
  flex: 0 0 auto;
  width: clamp(220px, 26vw, 360px);
  aspect-ratio: 13 / 9;
  padding: 0;
  border: none;
  border-radius: var(--radius-photo);
  overflow: hidden;
  background: var(--bg-sunken);
  cursor: zoom-in;
}

.showcase-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.6s ease,
    transform 1.4s var(--ease);
}

.showcase-tile:hover img {
  transform: scale(1.07);
}

.showcase-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  direction: auto;
  text-align: start;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(20, 18, 15, 0.72));
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.showcase-tile:hover .showcase-caption,
.showcase-tile:focus-visible .showcase-caption {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .hero-scroll-cue {
    display: none;
  }
}

/* Without motion the strip is a plain row the visitor scrolls by hand */
@media (prefers-reduced-motion: reduce) {
  .showcase-row {
    overflow-x: auto;
    mask-image: none;
  }
  .showcase-track,
  .hero-slide img,
  .hero-scroll-cue::after {
    animation: none !important;
  }
  .showcase-tile[aria-hidden='true'] {
    display: none;
  }
}
