/* ===== KAHRAMANA BAGHDAD — SHARED DESIGN SYSTEM ===== */
:root {
  --col-void: #652d13;
  --col-soft: #6d3217;
  --col-walnut: #743417;
  --col-ember: #8b4524;
  --col-parchment: #dfc9aa;
  --col-gold: #d19f51;
  --col-gold-dim: #a8771c;
  --col-deep: #3a1a08;
  --col-dark: #2d180b;
  --col-cream: #f4ecd8;
  --col-black: #110b05;
  --col-success: #4ade80;
  --col-error: #c0392b;
  /* B2: Separate Latin / Arabic stacks — Latin text won't render with Arabic font */
  --font-primary-en: 'Cairo', sans-serif;
  --font-primary-ar: 'Cairo Arabic', 'Cairo', sans-serif;
  --font-primary: 'Cairo', sans-serif;
  --font-drama: 'Playfair Display', serif;
  /* B2: Real monospace stack */
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 2rem;
  --radius-sm: 1.2rem;
  --radius-btn: 60px;
  --radius-footer: 4rem;

  /* B2: Responsive Type Scale - adjusted for Arabic */
  --text-hero-1: clamp(1rem, 2.5vw, 1.3rem);
  --text-hero-2: clamp(1.4rem, 5vw, 2.8rem);
  --text-sec-title: clamp(1.3rem, 3.5vw, 2.2rem);
  --text-sec-label: 0.75rem;
  --text-card-title: clamp(0.95rem, 1.3vw, 1.2rem);
  --text-body: 1.05rem;
  --text-meta: clamp(0.7rem, 1vw, 0.8rem);
  --text-btn: clamp(0.85rem, 1.2vw, 1rem);
  --ease-magnetic: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Local Arabic Fonts */
@font-face {
  font-family: 'Cairo Arabic';
  src: url('../assets/fonts/cairo-arabic-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo Arabic';
  src: url('../assets/fonts/cairo-arabic-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo Arabic';
  src: url('../assets/fonts/cairo-arabic-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo Arabic';
  src: url('../assets/fonts/cairo-arabic-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[dir="rtl"] {
  direction: rtl;
  --font-primary: 'Cairo Arabic', 'Cairo', sans-serif;
  --font-drama: 'Cairo Arabic', 'Playfair Display', serif;
  --font-mono: 'Cairo Arabic', 'JetBrains Mono', monospace;
}

body {
  /* B2: LTR default uses Latin-first stack */
  font-family: var(--font-primary);
  background: var(--col-deep);
  color: var(--col-parchment);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  text-align: start;
}

/* B2: RTL body switches to Arabic-optimised font */
html[dir="rtl"] body {
  font-family: var(--font-primary-ar);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

::-webkit-scrollbar {
  width: 6px;
}

/* Firefox scrollbar config */
html {
  scrollbar-color: var(--col-gold-dim) var(--col-dark);
  scrollbar-width: thin;
}

::-webkit-scrollbar-track {
  background: var(--col-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--col-gold-dim);
  border-radius: 4px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--col-dark);
}

.section-deep {
  background: var(--col-deep);
}

.section-black {
  background: var(--col-black);
}

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--col-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

html[dir="rtl"] .section-label {
  letter-spacing: 0.05em;
}

.section-title {
  font-family: var(--font-drama);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--col-cream);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--col-parchment);
  opacity: 0.7;
  max-width: 600px;
  line-height: 1.7;
  margin-top: 1rem;
}

.text-gold {
  color: var(--col-gold);
}

.text-cream {
  color: var(--col-cream);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline-start: auto;
  margin-inline-end: auto;
}

/* ===== BUTTONS ===== */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  color: var(--col-dark);
  background: var(--col-gold);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.4s var(--ease-magnetic), box-shadow 0.4s var(--ease-magnetic);
  text-decoration: none;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--col-cream);
  transform: translateY(100%);
  transition: transform 0.45s var(--ease-magnetic);
  z-index: -1;
  border-radius: var(--radius-btn);
}

.btn-primary:active,
.btn-outline:active {
  transform: scale(0.98) translateY(1px);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 40px rgba(209, 159, 81, 0.25);
}

.btn-primary:hover::before {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border: 1.5px solid var(--col-gold-dim);
  border-radius: var(--radius-btn);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--col-parchment);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s var(--ease-magnetic);
}

.btn-outline:hover {
  background: var(--col-gold);
  color: var(--col-dark);
  border-color: var(--col-gold);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-btn);
  transition: all 0.5s var(--ease-magnetic);
  background: rgba(45, 24, 11, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(209, 159, 81, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  max-width: 95vw;
}

.navbar.at-hero {
  background: transparent;
  backdrop-filter: none;
  border-color: transparent;
  box-shadow: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 2.8rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--col-parchment);
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s var(--ease-magnetic);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--col-gold);
}

.nav-lang {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(209, 159, 81, 0.3);
  border-radius: 30px;
  color: var(--col-gold);
  background: rgba(209, 159, 81, 0.08);
  cursor: pointer;
  transition: all 0.3s var(--ease-magnetic);
  white-space: nowrap;
}

.nav-lang:hover {
  background: rgba(209, 159, 81, 0.2);
}

.nav-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-btn);
  background: var(--col-gold);
  color: var(--col-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.3s var(--ease-magnetic);
  white-space: nowrap;
}

.nav-cta-link:hover {
  background: var(--col-cream);
  transform: scale(1.03);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}

.nav-toggle svg {
  stroke: var(--col-gold);
  width: 24px;
  height: 24px;
}

@media (max-width: 900px) {

  .nav-links,
  .nav-cta-link {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .navbar {
    gap: 0.8rem;
    padding: 0.6rem 1.2rem;
  }
}

/* ===== MOBILE DRAWER (LUXURY BOTTOM SHEET) ===== */
#mobile-drawer {
  display: none;
}

@media (max-width: 900px) {
  #mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: auto;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: auto;
    max-height: 85vh;
    padding: 2rem 1.5rem 6rem;
    /* extra padding at bottom for the capsule */
    background: rgba(17, 11, 5, 0.95);
    /* --col-black equivalent */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(209, 159, 81, 0.2);
    /* --col-gold equivalent */
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);

    /* Spring slide-up physics */
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.4s ease;
    z-index: 9999;
    overflow-y: auto;
  }

  body.mobile-nav-open #mobile-drawer {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Drag Handle Affordance */
  .drawer-handle {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
  }

  .drawer-handle-bar {
    width: 48px;
    height: 6px;
    background: rgba(209, 159, 81, 0.2);
    /* --col-gold equivalent */
    border-radius: 10px;
  }

  #mobile-drawer a {
    font-size: 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(209, 159, 81, 0.05);
    /* --col-gold */
    text-align: center;
    font-weight: 700;
    color: var(--col-cream);
    text-decoration: none;
  }

  #mobile-drawer a:last-child {
    border-bottom: none;
  }
}

/* ===== MOBILE CAPSULE NAV (Luxury Pattern) ===== */
.mobile-capsule-nav {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 450px;
  z-index: 1000;
}

@media (max-width: 900px) {
  .mobile-capsule-nav {
    display: flex;
    justify-content: center;
  }

  body {
    padding-bottom: 90px;
    /* Prevent footer overlap */
  }
}

.capsule-inner {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  height: 70px;
  background: rgba(30, 26, 23, 0.95);
  /* Using var(--col-dark-bg) equivalent */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(223, 201, 170, 0.15);
  /* Using var(--col-parchment) with opacity */
  border-radius: 40px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 40px rgba(0, 0, 0, 0.8);
  padding: 0 0.5rem;
}

.capsule-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-decoration: none;
  color: rgba(223, 201, 170, 0.6);
  /* --col-parchment dimmed */
  transition: all 0.3s var(--ease-magnetic);
  gap: 0.2rem;
}

.capsule-item.active,
.capsule-item:hover {
  color: var(--col-gold);
  transform: translateY(-2px);
}

.capsule-item:active {
  transform: scale(0.96);
}

.capsule-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.capsule-label {
  font-size: 0.65rem;
  font-family: var(--font-primary);
  font-weight: 600;
  white-space: nowrap;
}

/* Luxury Pop-out Center Item */
.capsule-center-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  transform: translateY(-10px);
  /* Pop out naturally */
  transition: all 0.3s var(--ease-magnetic);
}

.capsule-center-logo:active {
  transform: translateY(-10px) scale(0.96);
}

.capsule-mask-logo {
  width: 38px;
  height: 38px;
  background-color: var(--col-gold);
  opacity: 0.9;
  transition: opacity 0.3s var(--ease-magnetic);
}

.capsule-center-logo:hover .capsule-mask-logo,
.capsule-center-logo.active .capsule-mask-logo {
  opacity: 1;
}

/* ===== DRAWER BACKDROP ===== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.drawer-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--col-deep) 0%, rgba(58, 26, 8, 0.85) 40%, rgba(101, 45, 19, 0.4) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 3rem;
}

.page-hero-content h1 {
  font-family: var(--font-drama);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--col-gold);
  line-height: 1.1;
}

.page-hero-content p {
  font-size: 1.1rem;
  color: var(--col-parchment);
  opacity: 0.8;
  max-width: 560px;
  margin-top: 1rem;
}

/* ===== PREMIUM ASYMMETRIC HERO SPLIT ===== */
.premium-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.premium-hero-split .hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 60vh;
  min-height: 500px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.premium-hero-split .hero-visual .bento-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 1.2s var(--ease-magnetic);
}

.premium-hero-split .hero-visual:hover .bento-image {
  transform: scale(1.05);
}

.premium-hero-split .glass-inset {
  position: absolute;
  inset: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .premium-hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .premium-hero-split .hero-visual {
    height: 40vh;
    min-height: 300px;
  }
}

/* ===== CARDS ===== */
.card {
  background: var(--col-deep);
  border: 1px solid rgba(209, 159, 81, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s var(--ease-magnetic);
  text-decoration: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(209, 159, 81, 0.15);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

/* ===== GRID LAYOUTS ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--col-deep);
  border-radius: var(--radius-footer) var(--radius-footer) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  /* Liquid Glass Top */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  /* Refraction Edge */
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .footer-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  opacity: 0.85;
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--col-cream);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

html[dir="rtl"] .footer-col h4 {
  letter-spacing: 0.02em;
}

.footer-col a {
  display: inline-block;
  font-size: 0.85rem;
  opacity: 0.8;
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: all 0.3s var(--ease-magnetic);
}

.footer-col a:hover {
  opacity: 1;
  color: var(--col-gold);
  transform: translateX(4px);
}

html[dir="rtl"] .footer-col a:hover {
  transform: translateX(-4px);
}

.footer-col a:active {
  transform: scale(0.98);
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.footer-socials a {
  display: inline-flex;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-socials a:hover {
  transform: translateY(-3px) scale(1.1);
  color: var(--col-gold);
}

.footer-socials a:active {
  transform: scale(0.9);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.5;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-premium 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.footer-legal {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse-premium {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.5;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stagger */
.stagger>* {
  opacity: 0;
  transform: translateY(25px);
}

.stagger.visible>* {
  opacity: 1;
  transform: translateY(0);
}

.stagger.visible>*:nth-child(1) {
  transition: all 0.6s 0s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.visible>*:nth-child(2) {
  transition: all 0.6s 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.visible>*:nth-child(3) {
  transition: all 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.visible>*:nth-child(4) {
  transition: all 0.6s 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.visible>*:nth-child(5) {
  transition: all 0.6s 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.visible>*:nth-child(6) {
  transition: all 0.6s 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.visible>*:nth-child(7) {
  transition: all 0.6s 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.visible>*:nth-child(8) {
  transition: all 0.6s 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.visible>*:nth-child(n+9) {
  transition: all 0.6s 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== ICONS ===== */
.wa-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--col-gold);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

/* ===== MENU-SPECIFIC ===== */
.menu-filter-bar {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 3rem;
  padding: 0.5rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border: 1.5px solid rgba(209, 159, 81, 0.2);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--col-parchment);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-magnetic);
  white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--col-gold);
  color: var(--col-dark);
  border-color: var(--col-gold);
}

.menu-item {
  background: var(--col-deep);
  border: 1px solid rgba(209, 159, 81, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s var(--ease-magnetic);
}

.menu-item:hover {
  transform: translateY(-3px);
  border-color: rgba(209, 159, 81, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.menu-item-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.menu-item-body {
  padding: 1.2rem;
}

.menu-item-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--col-cream);
  margin-bottom: 0.3rem;
}

.menu-item-desc {
  font-size: 0.82rem;
  opacity: 0.6;
  line-height: 1.5;
  /* C1: removed justify — causes ugly gaps on short descriptions */
  word-break: break-word;
}

.menu-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(209, 159, 81, 0.08);
}

.menu-item-price {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--col-gold);
}

.menu-item-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-btn);
  background: rgba(209, 159, 81, 0.1);
  color: var(--col-gold-dim);
}

/* ===== GALLERY ===== */
.gallery-masonry {
  columns: 3;
  column-gap: 1.2rem;
}

@media (max-width: 900px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media (max-width: 500px) {
  .gallery-masonry {
    columns: 1;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s var(--ease-magnetic);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 11, 5, 0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--col-cream);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(17, 11, 5, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  inset-inline-end: 1.5rem;
  background: none;
  border: none;
  color: var(--col-gold);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
}

/* ===== CONTACT / BRANCHES ===== */
.branch-card {
  background: var(--col-deep);
  border: 1px solid rgba(209, 159, 81, 0.1);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: all 0.4s var(--ease-magnetic);
}

.branch-card:hover {
  transform: translateY(-4px);
  border-color: rgba(209, 159, 81, 0.2);
}

.branch-card h3 {
  font-family: var(--font-drama);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--col-gold);
  margin-bottom: 1rem;
}

.branch-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  opacity: 0.8;
}

.branch-detail svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--col-gold);
  fill: none;
  stroke-width: 2;
}

.branch-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ===== RECIPE ===== */
.recipe-card {
  background: var(--col-deep);
  border: 1px solid rgba(209, 159, 81, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s var(--ease-magnetic);
}

.recipe-card:hover {
  transform: translateY(-4px);
  border-color: rgba(209, 159, 81, 0.2);
}

.recipe-card video,
.recipe-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.recipe-card-body {
  padding: 2rem;
}

.recipe-card-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--col-cream);
  margin-bottom: 0.5rem;
}

.recipe-card-body p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.6;
}

/* ===== EVENTS / CATERING ===== */
/* C3/B4: event-feature layout uses CSS order instead of direction:rtl
   direction:rtl on a wrapper element corrupts text direction of children */
.event-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

/* .reverse: visually swap columns with order, no direction hack */
.event-feature.reverse .event-feature-img {
  order: 1;
}

.event-feature.reverse .event-feature-text {
  order: -1;
}

@media (max-width: 768px) {

  .event-feature,
  .event-feature.reverse {
    grid-template-columns: 1fr;
  }

  /* Reset order on mobile — stack naturally */
  .event-feature.reverse .event-feature-img,
  .event-feature.reverse .event-feature-text {
    order: unset;
  }
}

.event-feature img {
  width: 100%;
  border-radius: var(--radius);
  height: 380px;
  object-fit: cover;
}

.event-feature h3 {
  font-family: var(--font-drama);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--col-cream);
  margin-bottom: 1rem;
}

.event-feature p {
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ===== STORY ===== */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .story-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.story-block img {
  width: 100%;
  border-radius: var(--radius);
  height: 450px;
  object-fit: cover;
}

.story-text h2 {
  font-family: var(--font-drama);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--col-cream);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.story-text p {
  font-size: 1.05rem;
  opacity: 0.75;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.story-quote {
  font-family: var(--font-drama);
  font-size: 1.4rem;
  color: var(--col-gold);
  border-inline-start: 3px solid var(--col-gold-dim);
  padding-inline-start: 1.5rem;
  margin: 2rem 0;
  line-height: 1.6;
}

/* border-inline-start automatically flips in RTL — no [dir="rtl"] override needed */

/* ===== PILLAR CARDS ===== */
.pillar-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  transition: all 0.4s var(--ease-magnetic);
}

.pillar-card:hover {
  transform: translateY(-5px);
}

.pillar-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 11, 5, 0.9) 0%, rgba(17, 11, 5, 0.2) 60%);
}

.pillar-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.pillar-card-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--col-cream);
  margin-bottom: 0.5rem;
}

.pillar-card-content p {
  font-size: 0.88rem;
  opacity: 0.7;
  line-height: 1.5;
}

/* ===== INTERIOR PHOTOS STRIP ===== */
.photo-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 2rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.photo-strip::-webkit-scrollbar {
  height: 4px;
}

.photo-strip::-webkit-scrollbar-thumb {
  background: var(--col-gold-dim);
  border-radius: 4px;
}

.photo-strip img {
  flex-shrink: 0;
  width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  scroll-snap-align: start;
}

/* ===== MAP PLACEHOLDER ===== */
.map-embed {
  width: 100%;
  height: 350px;
  border-radius: var(--radius);
  border: 1px solid rgba(209, 159, 81, 0.1);
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== FORM (contact) ===== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--col-cream);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid rgba(209, 159, 81, 0.15);
  border-radius: var(--radius-sm);
  background: var(--col-dark);
  color: var(--col-parchment);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-input:focus {
  border-color: var(--col-gold);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

/* ===== DIVIDER ===== */
.divider {
  width: 60px;
  height: 2px;
  background: var(--col-gold-dim);
  margin: 2rem 0;
}

.divider.center {
  margin-inline-start: auto;
  margin-inline-end: auto;
}

/* ===== SKIP LINK (Accessibility) ===== */
.skip-link {
  position: absolute;
  top: -100%;
  inset-inline-start: 0;
  padding: 0.8rem 1.5rem;
  background: var(--col-gold);
  color: var(--col-dark);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ===== GLOBAL FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--col-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== GRID-2 RESPONSIVE (fix: was missing breakpoint) ===== */
@media (max-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   SKELETON LOADERS (v1.2 DESIGN SYSTEM)
   ========================================================================= */

@keyframes pulse-skeleton {
  0% {
    opacity: 0.6;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 0.6;
  }
}

.skeleton {
  background: rgba(255, 255, 255, 0.05);
  /* Premium dark mode skeleton base */
  animation: pulse-skeleton 1.5s infinite ease-in-out;
  border-radius: var(--radius-btn);
  /* Default to pills */
}

.skeleton-text {
  height: 1rem;
  width: 100%;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}

.skeleton-text:last-child {
  margin-bottom: 0;
  width: 80%;
}

.skeleton-circle {
  border-radius: 50%;
}