/* ============================================================
   STEIGENBERGER PYRAMIDS — BRAND TOKENS, RESET & SHARED LAYOUT
   Source: 2024 SHR CI/CD Manual
   ============================================================ */

:root {
  --brown: #382F2D;          /* Pantone 412 C */
  --brown-soft: #5A4A45;
  --brown-ink: #2A2220;
  --grey: #A8AEB2;           /* Pantone 428 C */
  --grey-soft: #D8DBDD;
  --sand: #C4A77D;           /* Pantone 468 C */
  --sand-light: #E8DCC4;
  --sand-deep: #A8895E;
  --mint: #A0D9C0;           /* Pantone 331 C */
  --peach: #F4C7C2;          /* Pantone 7605 C */
  --cream: #FAF7F2;
  --paper: #F4EFE6;
  --white: #FFFFFF;
  --black: #0E0B0A;

  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-ar: 'Tajawal', 'Jost', sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 4px 14px rgba(56, 47, 45, 0.06);
  --shadow-md: 0 10px 30px rgba(56, 47, 45, 0.10);
  --shadow-lg: 0 24px 60px rgba(56, 47, 45, 0.18);

  --container: 1240px;
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--brown);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; letter-spacing: 0.02em; margin: 0; }

/* -------- Utility bar -------- */
.utility-bar {
  background: var(--brown-ink);
  color: var(--sand-light);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.utility-bar .wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.utility-bar .left { display: flex; gap: 22px; opacity: 0.85; flex-wrap: wrap; }
.utility-bar .left span svg { vertical-align: -3px; margin-right: 6px; }
.utility-bar .right { display: flex; gap: 18px; align-items: center; }
.lang-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 2px;
}
.lang-toggle button {
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--sand-light);
  border-radius: 999px;
  transition: all 0.25s ease;
}
.lang-toggle button.active { background: var(--sand); color: var(--brown-ink); }

/* -------- Site header / nav -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(56, 47, 45, 0.08);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.brand-mark {
  display: flex;
  align-items: center;
  line-height: 0;
}
.site-header .brand-mark { align-items: center; }
.site-footer .brand-mark { align-items: flex-start; }

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand-logo--header {
  width: clamp(180px, 22vw, 280px);
}

.brand-logo--footer {
  width: clamp(190px, 24vw, 300px);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.nav-links a {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 400;
  padding: 6px 2px;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--sand-deep); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--brown);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.nav-cart:hover { background: var(--sand-deep); transform: translateY(-1px); }
.nav-cart .count {
  display: inline-flex;
  width: 22px; height: 22px;
  background: var(--sand);
  color: var(--brown-ink);
  font-weight: 600;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  letter-spacing: 0;
}
.menu-toggle { display: none; }

/* -------- Sections (shared) -------- */
.section {
  padding: 100px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--sand-deep);
  margin-bottom: 18px;
  padding-bottom: 14px;
  position: relative;
}
.section-head .eyebrow::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 28px; height: 1px;
  background: var(--sand);
}
.section-head h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 300;
  font-style: italic;
  color: var(--brown);
}
.section-head p {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--brown-soft);
  font-size: 15px;
  font-weight: 300;
}

/* -------- Buttons / chips -------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--sand);
  color: var(--brown-ink);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.3s ease;
}
.btn-primary:hover { background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid rgba(56, 47, 45, 0.2);
  color: var(--brown);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.btn-outline:hover { border-color: var(--sand); color: var(--sand-deep); }

/* -------- Footer -------- */
.site-footer {
  background: var(--brown);
  color: var(--cream);
  padding: 80px 24px 0;
}
.site-footer .grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.site-footer h4 {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 22px;
  font-family: var(--font-sans);
  font-weight: 500;
}
.site-footer p, .site-footer a, .site-footer li {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.72);
  line-height: 1.9;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a:hover { color: var(--sand); }
.site-footer .brand-line { margin-top: 18px; max-width: 340px; }

.hours-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(250, 247, 242, 0.12);
  font-size: 12px;
}
.hours-row:last-child { border: none; }
.hours-row span:last-child { color: var(--sand-light); letter-spacing: 0.06em; }

.contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.contact-line svg { flex-shrink: 0; margin-top: 3px; opacity: 0.7; }

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-bottom small { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; }
.footer-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.service-link {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-link--staff { opacity: 0.85; }
.service-link--login { opacity: 0.6; }

.service-link:hover { color: var(--sand); }
.powered {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid rgba(250, 247, 242, 0.15);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.powered:hover { background: var(--sand); color: var(--brown-ink); border-color: var(--sand); }
.powered .dot {
  width: 6px; height: 6px;
  background: var(--mint);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* -------- Floating actions (FAB) -------- */
.floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--white);
  transition: all 0.3s ease;
  position: relative;
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab.waiter { background: var(--brown); }
.fab.whatsapp { background: #25D366; }
.fab .label {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brown-ink);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.fab:hover .label { opacity: 1; }

/* -------- Toast -------- */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--brown-ink);
  color: var(--white);
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(.22, .61, .36, 1);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast .check {
  width: 18px; height: 18px;
  background: var(--mint);
  color: var(--brown-ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* -------- Scroll-in animations -------- */
.reveal { opacity: 0; transform: translateY(28px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* -------- Responsive -------- */
@media (max-width: 1024px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.18em; }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: auto auto; }
  .brand-logo--header { width: clamp(150px, 40vw, 220px); }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .menu-toggle {
    display: inline-flex;
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cream);
  }
  .nav-cart { display: none; }
  .utility-bar .left span:first-child { display: none; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .section { padding: 70px 20px; }
  .brand-logo--footer { width: min(260px, 72vw); }
  .site-footer .grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* -------- Print -------- */
@media print {
  .utility-bar, .site-header, .floating, .nav-cart { display: none !important; }
  body { background: white; }
}
