/**
 * Kahramanat Baghdad - Main Stylesheet
 * Optimized & cleaned - v2.0.0
 */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
  /* Colors */
  --bg: #050505;
  --fg: #FFFFFF;
  --muted: #9CA3AF;
  --brand: #D4AF37;
  
  /* Brand opacity variations */
  --brand-10: rgba(212, 175, 55, 0.10);
  --brand-25: rgba(212, 175, 55, 0.25);
  --brand-40: rgba(212, 175, 55, 0.40);
  
  /* Lines */
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.10);
  
  /* Layout */
  --container: 1100px;
  
  /* Fonts */
  --font-en: "Inter", system-ui, -apple-system, sans-serif;
  --font-ar: "Cairo", system-ui, -apple-system, sans-serif;
}

/* ==========================================
   BASE STYLES
   ========================================== */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.rtl {
  font-family: var(--font-ar);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.anchor {
  scroll-margin-top: 92px;
}

section[id] {
  scroll-margin-top: 92px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
}

/* ==========================================
   PAGE LOADER
   ========================================== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.3s ease;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--line-soft);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

@supports not (backdrop-filter: blur(12px)) {
  .site-header {
    background: rgba(5, 5, 5, 0.85);
  }
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  gap: 14px;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  white-space: nowrap;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.nav a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
  border: 1px solid transparent;
}

.nav a:hover {
  color: var(--fg);
  background: var(--brand-10);
  border-color: var(--brand-25);
  transform: translateY(-1px);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.logo:hover {
  background: var(--brand-10);
  border-color: var(--brand-25);
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.lang {
  appearance: none;
  background: transparent;
  color: var(--fg);
  font: inherit;
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  border: 1px solid var(--line);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.lang:hover {
  background: var(--brand-10);
  border-color: var(--brand-40);
  transform: translateY(-1px);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 3px;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
  opacity: 0.9;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-drawer {
  display: none;
  grid-column: 1 / -1;
  margin: 10px 0 16px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: rgba(5, 5, 5, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-drawer a {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--fg);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  transition: background 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
}

.mobile-drawer a:hover {
  background: var(--brand-10);
  border-color: var(--brand-25);
}

.mobile-drawer hr {
  border: none;
  height: 1px;
  background: var(--line-soft);
  margin: 8px 0;
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .logo {
    justify-self: center;
  }
  .logo-img {
    height: 40px;
  }
  .nav-toggle:checked ~ .mobile-drawer {
    display: block;
  }
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 92px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 18% 28%, rgba(255, 255, 255, 0.10), transparent 55%),
    radial-gradient(900px 600px at 72% 62%, rgba(212, 175, 55, 0.10), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.85));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 24px 0 46px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content .warning,
.hero-content .hero-title,
.hero-content .hero-actions,
.hero-content .hero-controls {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInUp 0.7s ease forwards;
}

.hero-content .warning { animation-delay: 0.08s; }
.hero-content .hero-title { animation-delay: 0.18s; }
.hero-content .hero-actions { animation-delay: 0.30s; }
.hero-content .hero-controls { animation-delay: 0.42s; }

.warning {
  max-width: 740px;
  margin: 0 0 18px;
}

.warning-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.warning-label {
  color: var(--brand);
  font-family: var(--font-en);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
}

body.rtl .warning-label {
  font-family: var(--font-ar);
  font-weight: 900;
  color: var(--brand);
  font-size: clamp(34px, 5vw, 74px);
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1;
}

.warning-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, var(--brand), transparent);
  opacity: 0.9;
}

body.rtl .warning-line {
  background: linear-gradient(to left, var(--brand), transparent);
}

.warning-text {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.55;
}

.hero-title {
  margin: 0 0 20px;
  max-width: 920px;
  font-family: var(--font-en);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.12;
  font-size: clamp(26px, 4vw, 54px);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

body.rtl .hero-title {
  font-family: var(--font-ar);
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-controls {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-controls .dot {
  width: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

@keyframes scrollHint {
  0% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
  100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 2px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0), rgba(212, 175, 55, 0.95), rgba(212, 175, 55, 0));
  transform: translateX(-50%);
  opacity: 0.85;
  z-index: 2;
  animation: scrollHint 1.4s ease-in-out infinite;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--brand-10);
  border-color: var(--brand-25);
}

.btn-primary {
  background: var(--brand-10);
  border-color: var(--brand-40);
}

.btn-primary:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
}

/* ==========================================
   SECTIONS
   ========================================== */
.section {
  padding: 84px 0;
}

.section-head {
  margin: 0 0 22px;
  max-width: 900px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}

body.rtl .section-kicker {
  letter-spacing: 0.04em;
  text-transform: none;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 900;
  text-shadow: 0 0 22px rgba(212, 175, 55, 0.12);
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ==========================================
   CARDS
   ========================================== */
.card {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 16px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  background: var(--brand-10);
  border-color: var(--brand-25);
  transform: translateY(-2px);
}

/* ==========================================
   STORY SECTION
   ========================================== */
.story-section {
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: url("./assets/story.png") center/cover no-repeat;
  opacity: 0.07;
  filter: blur(1px) saturate(0.9) contrast(0.95);
  transform: scale(1.05);
  pointer-events: none;
  z-index: 0;
}

.story-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 30% 20%, rgba(212, 175, 55, 0.08), transparent 55%),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.35), rgba(5, 5, 5, 0.65));
  pointer-events: none;
  z-index: 0;
}

.story-section .container {
  position: relative;
  z-index: 1;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 22px;
  align-items: start;
}

.story-text {
  padding: 18px;
}

.story-paragraph {
  margin: 0 0 14px;
  font-weight: 400;
  line-height: 1.95;
  color: var(--muted);
}

.story-media {
  padding: 14px;
}

.story-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  object-fit: cover;
}

/* ==========================================
   OWNER SECTION
   ========================================== */
.owner-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
}

.owner-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}

.owner-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.owner-name {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
}

.owner-role {
  margin: 6px 0 14px;
  color: var(--muted);
  font-weight: 700;
}

.owner-text {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.9;
}

.owner-quote {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--brand-40);
  background: rgba(212, 175, 55, 0.06);
  border-radius: 14px;
  color: var(--fg);
}

body.rtl .owner-quote {
  border-left: none;
  border-right: 3px solid var(--brand-40);
}

/* ==========================================
   GALLERY (NEW)
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  border-color: var(--brand-40);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-overlay h4 {
  margin: 0;
  color: var(--fg);
  font-weight: 700;
  font-size: 18px;
}

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

/* ==========================================
   TESTIMONIALS (NEW)
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial-card {
  padding: 20px;
}

.stars {
  color: var(--brand);
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  margin: 0 0 14px;
  line-height: 1.8;
  font-style: italic;
  color: var(--fg);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author strong {
  color: var(--fg);
  font-weight: 700;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 14px;
}

/* ==========================================
   MENU SECTION
   ========================================== */
.menu-card {
  text-align: center;
  padding: 32px 24px;
}

.menu-btn {
  margin-bottom: 12px;
}

.menu-secondary {
  margin-bottom: 16px;
}

.menu-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ==========================================
   FAQ (NEW)
   ========================================== */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.faq-item:hover {
  background: var(--brand-10);
}

.faq-question {
  padding: 16px 18px;
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--brand);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 18px 16px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.active-branch {
  margin-bottom: 24px;
  padding: 24px;
}

.active-branch-head {
  margin-bottom: 16px;
}

.active-branch-kicker {
  margin: 0 0 6px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.active-branch-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.active-branch-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.active-chip:hover {
  background: var(--brand-10);
  border-color: var(--brand-25);
  transform: translateY(-1px);
}

.active-chip-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.active-chip-value {
  color: var(--fg);
  font-weight: 800;
  font-size: 14px;
}

.active-branch-wa {
  flex: 1;
  min-width: 200px;
}

.active-branch-hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.branch-card {
  cursor: pointer;
  position: relative;
}

.branch-card.is-selected {
  background: var(--brand-10);
  border-color: var(--brand-40);
}

.branch-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pin-ico {
  color: var(--brand);
  flex: 0 0 auto;
}

.branch-title {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
}

.branch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}

.branch-label {
  color: var(--muted);
  font-weight: 400;
}

.branch-value {
  font-weight: 700;
}

.phone-link {
  color: var(--brand);
}

.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--brand-25);
  background: rgba(212, 175, 55, 0.08);
  color: var(--brand);
  font-weight: 700;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
}

.map-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

.contact-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.contact-chip:hover {
  background: var(--brand-10);
  border-color: var(--brand-25);
  transform: translateY(-2px);
}

.chip-ico {
  color: var(--brand);
}

.chip-label {
  color: var(--muted);
  font-weight: 700;
}

.chip-value {
  color: var(--fg);
  font-weight: 800;
}

/* ==========================================
   WHATSAPP FAB
   ========================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--brand-25);
  background: rgba(5, 5, 5, 0.60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--fg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.3s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  background: rgba(212, 175, 55, 0.10);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.2);
}

.whatsapp-fab.is-idle {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(212, 175, 55, 0.3);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(212, 175, 55, 0.2);
  }
  50% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 25px rgba(212, 175, 55, 0.5);
  }
}

body.rtl .whatsapp-fab {
  left: auto;
  right: 16px;
}

.wa-ico {
  color: var(--brand);
}

.whatsapp-fab-text {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

body.rtl .whatsapp-fab-text {
  text-transform: none;
  letter-spacing: 0.04em;
}

/* ==========================================
   TOAST NOTIFICATIONS
   ========================================== */
.toast-container {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: grid;
  gap: 10px;
}

body.rtl .toast-container {
  right: auto;
  left: 16px;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast {
  min-width: 260px;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--brand-25);
  background: rgba(5, 5, 5, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: toastIn 0.22s ease-out;
  transition: opacity 0.3s ease;
}

.toast p {
  margin: 0;
  color: var(--fg);
  font-weight: 600;
}

.toast-success {
  border-color: rgba(34, 197, 94, 0.4);
}

.toast-error {
  border-color: rgba(239, 68, 68, 0.4);
}

/* ==========================================
   RTL ADJUSTMENTS
   ========================================== */

/* Ensure RTL layout works even if body.rtl isn't present (uses <html dir="rtl">) */
html[dir="rtl"] .hero-content { text-align: right; }
html[dir="rtl"] .warning-top { flex-direction: row-reverse; }
html[dir="rtl"] .warning-line { background: linear-gradient(to left, var(--brand), transparent); }

body.rtl .hero-content {
  text-align: right;
}

body.rtl .warning-top {
  flex-direction: row-reverse;
}

body.rtl .hero-actions {
  justify-content: flex-end;
}

body.rtl .hero-controls {
  justify-content: flex-end;
}

body.rtl .mobile-drawer {
  text-align: right;
}

body.rtl .story-text {
  text-align: right;
}

body.rtl .owner-content {
  text-align: right;
}

body.rtl .nav a,
body.rtl .btn,
body.rtl .warning-text,
body.rtl .hero-controls {
  letter-spacing: 0.04em;
  text-transform: none;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 980px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
  .owner-card {
    grid-template-columns: 1fr;
  }
  .branch-grid {
    grid-template-columns: 1fr;
  }
  .contact-footer {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .hero {
    min-height: 88vh;
  }
  .gallery-item img {
    height: 220px;
  }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-content .warning,
  .hero-content .hero-title,
  .hero-content .hero-actions,
  .hero-content .hero-controls {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .scroll-indicator {
    animation: none;
  }
  .btn,
  .card,
  .nav a,
  .lang,
  .logo,
  .whatsapp-fab,
  .gallery-item {
    transition: none;
  }
  .btn:hover,
  .card:hover,
  .nav a:hover,
  .lang:hover,
  .gallery-item:hover {
    transform: none;
  }
  .whatsapp-fab.is-idle {
    animation: none;
  }
}