/* ── Google Font: Open Sans (brand font of Drone.il) ── */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ══════════════════════════════════════════
   AIRBNB DESIGN TOKENS
   Palette: Rausch · Babu · Arches · Foggy
══════════════════════════════════════════ */
:root {
  /* Brand */
  --rausch:        #1078a3;   /* primary — drone blue */
  --rausch-dark:   #0b5e7e;
  --rausch-light:  #e6f3f8;
  --babu:          #1078a3;   /* keep consistent */
  --arches:        #b6b7af;   /* warm gray accent */
  --hof:           #b6b7af;   /* warm gray */

  /* Neutrals */
  --black:         #1a1a1a;
  --gray-900:      #2a2a2a;
  --gray-700:      #4a4a4a;
  --gray-500:      #b6b7af;   /* brand warm gray */
  --gray-300:      #e0e1da;
  --gray-100:      #f4f4f2;
  --white:         #FFFFFF;

  /* Semantic aliases */
  --accent:        var(--rausch);
  --accent-light:  var(--rausch-light);
  --accent-dark:   var(--rausch-dark);

  /* Spacing & shape */
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Shadows — layered, warm */
  --shadow-sm:  0 1px 2px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.06);
  --shadow:     0 4px 12px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.05);
  --shadow-lg:  0 8px 28px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.15), 0 4px 16px rgba(0,0,0,.08);
}

/* ══════════════════════════════════════════
   APPLE HIG DESIGN TOKENS
   Human Interface Guidelines — iOS 17 / macOS Sonoma
   Source: developer.apple.com/design/human-interface-guidelines
══════════════════════════════════════════ */
:root {
  /* ── Apple System Colors ── */
  --apple-blue:      #007AFF;
  --apple-red:       #FF3B30;
  --apple-green:     #34C759;
  --apple-orange:    #FF9500;
  --apple-yellow:    #FFCC00;
  --apple-teal:      #5AC8FA;
  --apple-indigo:    #5856D6;
  --apple-purple:    #AF52DE;
  --apple-pink:      #FF2D55;
  --apple-brown:     #A2845E;
  --apple-mint:      #00C7BE;
  --apple-cyan:      #32ADE6;

  /* ── Apple Fill Colors (iOS semantic backgrounds) ── */
  --fill-1:          rgba(120,120,128,.2);
  --fill-2:          rgba(120,120,128,.16);
  --fill-3:          rgba(118,118,128,.12);
  --fill-4:          rgba(116,116,128,.08);

  /* ── Apple Background Colors ── */
  --bg-primary:      #FFFFFF;
  --bg-secondary:    #F2F2F7;    /* iOS grouped table background */
  --bg-tertiary:     #FFFFFF;
  --bg-grouped:      #F2F2F7;
  --bg-elevated:     #FFFFFF;

  /* ── Apple Label Colors ── */
  --label-primary:   #000000;
  --label-secondary: rgba(60,60,67,.6);
  --label-tertiary:  rgba(60,60,67,.3);
  --label-quaternary:rgba(60,60,67,.18);
  --label-link:      var(--apple-blue);

  /* ── Apple Separator ── */
  --separator:       rgba(60,60,67,.29);
  --separator-opaque:#C6C6C8;

  /* ── Apple Border Radius Scale ── */
  --apple-radius-xs: 6px;
  --apple-radius-sm: 10px;
  --apple-radius-md: 13px;   /* iOS app icon-like */
  --apple-radius-lg: 16px;
  --apple-radius-xl: 20px;
  --apple-radius-2xl:28px;
  --apple-radius-full: 9999px;

  /* ── Apple Typography Scale (SF Pro) ── */
  --text-large-title: 34px;
  --text-title1:      28px;
  --text-title2:      22px;
  --text-title3:      20px;
  --text-headline:    17px;    /* semibold */
  --text-body:        17px;
  --text-callout:     16px;
  --text-subhead:     15px;
  --text-footnote:    13px;
  --text-caption1:    12px;
  --text-caption2:    11px;

  /* ── Apple Shadows (extremely subtle — Apple avoids heavy shadows) ── */
  --apple-shadow-xs:  0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
  --apple-shadow-sm:  0 2px 8px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --apple-shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --apple-shadow-lg:  0 8px 30px rgba(0,0,0,.10), 0 3px 8px rgba(0,0,0,.04);
  --apple-shadow-xl:  0 20px 60px rgba(0,0,0,.12), 0 6px 20px rgba(0,0,0,.06);

  /* ── Apple Blur (SF Symbols, nav bars, sheets) ── */
  --apple-blur:       blur(20px) saturate(180%);
  --apple-blur-sm:    blur(12px) saturate(160%);

  /* ── Apple Animation Curves ── */
  --apple-ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --apple-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --apple-duration:   0.25s;

  /* ── Override existing shadows with Apple equivalents ── */
  --shadow-sm: var(--apple-shadow-xs);
  --shadow:    var(--apple-shadow-sm);
  --shadow-lg: var(--apple-shadow-md);
  --shadow-xl: var(--apple-shadow-xl);

  /* ── Override radius with Apple equivalents ── */
  --radius-sm: var(--apple-radius-sm);
  --radius:    var(--apple-radius-md);
  --radius-lg: var(--apple-radius-lg);
  --radius-xl: var(--apple-radius-xl);

  /* ── Additional grays aligned with Apple's system gray scale ── */
  --gray-50:  #F2F2F7;   /* systemBackground secondary */
  --gray-100: #F2F2F7;
  --gray-200: #E5E5EA;   /* Apple systemGray5 */
  --gray-300: #D1D1D6;   /* Apple systemGray4 */
  --gray-400: #AEAEB2;   /* Apple systemGray3 */
  --gray-500: #8E8E93;   /* Apple systemGray */
  --gray-600: #636366;   /* Apple systemGray2 */
}


/* ══ RESET ══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Open Sans', 'Segoe UI', sans-serif;
  background: #f4f6f9;
  color: #1a2332;
  direction: rtl;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ══ LAYOUT ══ */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 96px 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rausch);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}

/* ══ NAV ══ */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-300);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--rausch);
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  justify-content: center;
  gap: 4px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 4px 7px;
  border-radius: 6px;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--rausch); background: rgba(16,120,163,.06); }

/* ── Nav Dropdown ── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 4px 7px;
  border-radius: 6px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
  height: 100%;
}
.nav-dropdown-btn:hover,
.nav-dropdown-btn.active { color: var(--rausch); background: rgba(16,120,163,.06); }
.nav-dropdown-btn svg { width: 11px; height: 11px; flex-shrink: 0; transition: transform .2s; }
.nav-dropdown.open .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: fixed;
  background: #fff;
  border: 1.5px solid #eaeef3;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
  min-width: 160px;
  z-index: 9999;
  overflow: hidden;
  padding: 5px 0;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: .82rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: background .12s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: #f4f6f9; color: var(--rausch); }
.nav-dropdown-menu a.nav-active { color: var(--rausch); background: #e6f3f8; }
.nav-dropdown-divider { height: 1px; background: #eaeef3; margin: 4px 0; }

/* ── Notification Bell ── */
.nav-bell-btn {
  position: relative;
  width: 34px; height: 34px;
  border: none; background: none; cursor: pointer;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-700);
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.nav-bell-btn:hover { background: rgba(16,120,163,.08); color: var(--rausch); }
.nav-bell-btn svg { width: 17px; height: 17px; }
.nav-bell-badge {
  position: absolute;
  top: 3px; left: 3px;
  min-width: 16px; height: 16px;
  background: #ef4444;
  color: #fff;
  border-radius: 100px;
  font-size: .62rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  line-height: 1;
  border: 1.5px solid #fff;
}

/* ── Notification Panel ── */
.notif-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.25);
  z-index: 4000;
}
.notif-overlay.open { display: block; }
.notif-panel {
  position: fixed;
  top: 0; left: 0;
  width: min(380px, 100vw);
  height: 100vh;
  background: #fff;
  border-right: 1.5px solid #eaeef3;
  box-shadow: 4px 0 32px rgba(0,0,0,.14);
  z-index: 4001;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.notif-panel.open { transform: translateX(0); }
.notif-panel-hdr {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px 16px;
  border-bottom: 1.5px solid #eaeef3;
  flex-shrink: 0;
}
.notif-panel-title { font-size: 1rem; font-weight: 800; color: #1a2332; }
.notif-mark-all {
  font-size: .74rem; font-weight: 700; color: #1078a3;
  background: none; border: none; cursor: pointer; padding: 4px 8px;
  border-radius: 6px; font-family: inherit;
}
.notif-mark-all:hover { background: #e6f3f8; }
.notif-close-btn {
  width: 28px; height: 28px; border-radius: 7px;
  border: none; background: #f4f6f9; cursor: pointer;
  font-size: .9rem; color: #6b7a8d; display: flex; align-items: center; justify-content: center;
}
.notif-close-btn:hover { background: #eaeef3; }
.notif-list { flex: 1; overflow-y: auto; padding: 8px 0; }
.notif-empty { text-align: center; padding: 40px 20px; color: #9ca3af; font-size: .85rem; }
.notif-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 20px; cursor: pointer;
  border-bottom: 1px solid #f4f6f9;
  transition: background .12s;
}
.notif-item:hover { background: #f9fafb; }
.notif-item.unread { background: #f0f7fb; }
.notif-item.unread:hover { background: #e6f3f8; }
.notif-item-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-top: 5px;
}
.notif-item-body { flex: 1; min-width: 0; }
.notif-item-title { font-size: .85rem; font-weight: 700; color: #1a2332; margin-bottom: 2px; }
.notif-item.unread .notif-item-title { font-weight: 800; }
.notif-item-text { font-size: .78rem; color: #6b7a8d; line-height: 1.45; margin-bottom: 4px; }
.notif-item-date { font-size: .7rem; color: #9ca3af; }

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--rausch);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(255,90,95,0.25);
}
.btn-primary:hover {
  background: var(--rausch-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,90,95,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-accent {
  background: var(--rausch);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--rausch-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,90,95,0.35);
}

/* ══ HERO ══ */
.hero {
  padding: 100px 0 88px;
  background: linear-gradient(160deg, #fff9f9 0%, var(--white) 60%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,90,95,.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rausch-light);
  color: var(--rausch);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--black);
  max-width: 780px;
  margin-bottom: 22px;
}

.hero h1 span { color: var(--rausch); }

.hero p {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.75;
}

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

/* ══ STATS BAR ══ */
.stats-bar {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  padding: 52px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--black);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 6px;
  font-weight: 500;
}

/* ══ FEATURES ══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--rausch-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--rausch);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ══ EVENTS ══ */
.events-section { background: var(--gray-100); }
.events-list { margin-top: 52px; display: flex; flex-direction: column; gap: 14px; }

.event-row {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.event-row:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.event-date-box { text-align: center; min-width: 52px; }
.event-date-day {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--rausch);
}
.event-date-month {
  font-size: 0.72rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
  font-weight: 600;
}

.event-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-300);
}

.event-info { flex: 1; }
.event-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--black);
}
.event-meta {
  font-size: 0.82rem;
  color: var(--gray-500);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.event-tag {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--rausch-light);
  color: var(--rausch);
  letter-spacing: 0.02em;
}

/* ══ CTA ══ */
.cta-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,90,95,.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section .section-title { color: var(--white); margin: 0 auto 16px; }
.cta-section .section-sub   { color: #aaa; margin: 0 auto 40px; }

/* ══ FOOTER ══ */
footer {
  border-top: 1px solid var(--gray-300);
  padding: 40px 0;
  background: var(--white);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.85rem; color: var(--gray-500); }

/* ══ AUTH / MEMBERS ══ */
.auth-card {
  max-width: 448px;
  margin: 60px auto;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-xl);
}

.auth-card h2 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
  color: var(--black);
}
.auth-card .sub { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 32px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--gray-700);
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.15s, box-shadow 0.15s;
  direction: rtl;
  outline: none;
  color: var(--gray-700);
  background: var(--white);
}
.form-group input:focus {
  border-color: var(--rausch);
  box-shadow: 0 0 0 3px rgba(255,90,95,0.12);
}
.form-group input::placeholder { color: var(--gray-300); }

.auth-card .btn { width: 100%; margin-top: 6px; padding: 14px; font-size: 0.95rem; }
.auth-footer { text-align: center; margin-top: 22px; font-size: 0.85rem; color: var(--gray-500); }
.auth-footer a { color: var(--rausch); font-weight: 700; }

/* ══ DASHBOARD ══ */
.dashboard-header {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-300);
  padding: 28px 0;
}
.welcome-text { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--black); }
.welcome-sub  { color: var(--gray-500); font-size: 0.9rem; margin-top: 4px; }

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.dash-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.18s;
}
.dash-card:hover { box-shadow: var(--shadow); }
.dash-card .label {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 10px;
}
.dash-card .value {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
}

/* ══ LISTING CARDS ══ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.listing-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
}
.listing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.listing-img {
  position: relative;
  height: 190px;
  background: linear-gradient(135deg, #f7f7f7, #ebebeb);
  overflow: hidden;
}
.listing-img img { width: 100%; height: 100%; object-fit: cover; }

.listing-badge {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 0.68rem; font-weight: 800;
  padding: 3px 10px; border-radius: 100px;
  letter-spacing: .04em; text-transform: uppercase;
}
.listing-badge.vip     { background: #FFB400; color: #fff; }
.listing-badge.premium { background: var(--rausch); color: #fff; }
.listing-badge.basic   { background: var(--babu); color: #fff; }

.listing-body { padding: 16px; }
.listing-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }

.tag {
  display: inline-flex; align-items: center;
  font-size: 0.72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 100px;
  background: var(--gray-100); color: var(--gray-500);
}
.tag.new      { background: #f0fdf4; color: #16a34a; }
.tag.like-new { background: var(--rausch-light); color: var(--rausch); }
.tag.used     { background: #fffbeb; color: #d97706; }

.listing-location { font-size: 0.76rem; color: var(--gray-500); margin-right: auto; }
.listing-title { font-size: 0.98rem; font-weight: 700; color: var(--black); margin-bottom: 6px; line-height: 1.3; }
.listing-price { font-size: 1.25rem; font-weight: 800; color: var(--black); letter-spacing: -.02em; margin-bottom: 12px; }

.listing-footer { display: flex; align-items: center; justify-content: space-between; }
.listing-date { font-size: 0.75rem; color: var(--gray-500); }

.btn-wa {
  display: inline-flex; align-items: center; gap: 6px;
  background: #25D366; color: white;
  font-size: 0.78rem; font-weight: 700;
  padding: 7px 14px; border-radius: 8px;
  border: none; cursor: pointer; font-family: inherit;
  transition: all .15s;
}
.btn-wa:hover { background: #1ebe5d; transform: translateY(-1px); }
.btn-wa svg { width: 14px; height: 14px; fill: white; }

/* ══ QUICK NAV ══ */
.quick-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.quick-nav-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  padding: 20px 12px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--gray-700);
  font-size: 0.82rem; font-weight: 600;
  transition: all .18s;
  text-align: center;
}
.quick-nav-item:hover {
  border-color: var(--rausch);
  color: var(--rausch);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.quick-nav-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--rausch-light);
  display: flex; align-items: center; justify-content: center;
}
.quick-nav-icon svg { width: 22px; height: 22px; stroke: var(--rausch); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick-nav-item:hover .quick-nav-icon { background: var(--rausch); }
.quick-nav-item:hover .quick-nav-icon svg { stroke: white; }

/* ══ SOCIAL CARDS ══ */
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.social-card {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 20px;
  background: var(--white); border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  text-decoration: none; color: var(--black);
  transition: all .18s;
  font-weight: 600;
}
.social-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.social-icon { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 100px; flex-shrink: 0; }
.social-icon.wa   { background: #25D366; }
.social-icon.fb   { background: #1877F2; }
.social-icon.ig   { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon svg  { width: 22px; height: 22px; fill: white; }
.social-card-label { font-size: 0.95rem; }
.social-card-sub   { font-size: 0.78rem; color: var(--gray-500); font-weight: 400; margin-top: 2px; }

/* ══ NEWSLETTER ══ */
.newsletter-form { display: flex; gap: 10px; max-width: 440px; margin-top: 24px; }
.newsletter-form input {
  flex: 1; padding: 12px 16px;
  border: 1.5px solid var(--gray-300); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color .15s;
  direction: rtl;
}
.newsletter-form input:focus { border-color: var(--rausch); }

/* ══ FILTER BAR ══ */
.filter-bar {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--gray-300);
  margin-bottom: 24px;
}
.filter-input {
  flex: 1; min-width: 200px;
  padding: 10px 16px; border: 1.5px solid var(--gray-300); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  outline: none; transition: border-color .15s; direction: rtl;
}
.filter-input:focus { border-color: var(--rausch); }
.filter-select {
  padding: 10px 14px; border: 1.5px solid var(--gray-300); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem;
  outline: none; cursor: pointer; direction: rtl; background: white;
  transition: border-color .15s;
}
.filter-select:focus { border-color: var(--rausch); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 100px;
  background: var(--rausch-light); color: var(--rausch);
  font-size: 0.78rem; font-weight: 600;
  cursor: pointer; border: none; font-family: inherit;
}
.chip:hover { background: var(--rausch); color: white; }

/* ══ PAGE HERO (inner pages) ══ */
.page-hero {
  padding: 56px 0 48px;
  background: linear-gradient(160deg, #fff9f9, var(--white));
  border-bottom: 1px solid var(--gray-300);
}
.page-hero h1 { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; color: var(--black); margin-bottom: 8px; }
.page-hero p  { color: var(--gray-500); font-size: 1rem; }

/* ══ ARTICLE CARD ══ */
.article-card {
  background: var(--white); border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .2s, transform .2s; cursor: pointer;
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.article-img { height: 180px; background: linear-gradient(135deg, var(--rausch-light), var(--gray-100)); overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 18px; }
.article-cat { font-size: 0.72rem; font-weight: 700; color: var(--rausch); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.article-title { font-size: 1rem; font-weight: 700; color: var(--black); line-height: 1.3; margin-bottom: 8px; }
.article-meta  { font-size: 0.78rem; color: var(--gray-500); display: flex; gap: 12px; }

/* ══ FORUM QUESTION CARD ══ */
.q-card {
  background: var(--white); border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg); padding: 20px 22px;
  transition: box-shadow .18s, transform .18s; cursor: pointer;
}
.q-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.q-card-title { font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.q-card-meta  { display: flex; align-items: center; gap: 14px; font-size: 0.78rem; color: var(--gray-500); flex-wrap: wrap; }
.q-card-answers { display: flex; align-items: center; gap: 5px; font-weight: 600; color: var(--rausch); font-size: 0.8rem; }

/* ══ UPVOTE ══ */
.upvote-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 12px; border: 1.5px solid var(--gray-300); border-radius: 8px;
  background: none; cursor: pointer; font-family: inherit;
  transition: all .15s; min-width: 44px;
}
.upvote-btn:hover, .upvote-btn.voted { border-color: var(--rausch); color: var(--rausch); }
.upvote-btn .count { font-size: 0.9rem; font-weight: 700; }
.upvote-btn .label { font-size: 0.62rem; color: var(--gray-500); }

/* ══ TOAST ══ */
.toast {
  position: fixed; bottom: 80px; left: 50%;
  transform: translateX(-50%) translateY(60px);
  opacity: 0; visibility: hidden;
  background: var(--black); color: white;
  padding: 11px 22px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 500;
  z-index: 9999; transition: transform .25s, opacity .25s, visibility .25s; pointer-events: none;
  white-space: nowrap; box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }
.toast.success { background: #16a34a; }
.toast.error   { background: #dc2626; }

/* ══ MODAL (shared) ══ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 1000; display: flex; align-items: flex-end;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
@media (min-width: 640px) { .modal-overlay { align-items: center; } }
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: white; border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 28px 24px 32px; width: 100%; max-height: 90vh; overflow-y: auto;
  direction: rtl; transform: translateY(40px); transition: transform .25s;
}
@media (min-width: 640px) {
  .modal { border-radius: var(--radius-xl); width: min(560px, 95vw); max-height: 85vh; transform: translateY(16px); }
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-handle { width: 40px; height: 4px; background: var(--gray-300); border-radius: 2px; margin: 0 auto 20px; }
.modal-title  { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--black); margin-bottom: 20px; }

/* ══ FORM SHARED ══ */
.f-label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--gray-700); margin-bottom: 6px; }
.f-input, .f-select, .f-textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-300);
  border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  direction: rtl; outline: none; transition: border-color .15s; background: white;
  color: var(--gray-700);
}
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--rausch); box-shadow: 0 0 0 3px rgba(255,90,95,.1); }
.f-textarea { min-height: 100px; resize: vertical; }
.f-group { margin-bottom: 16px; }

/* ══ MOBILE BOTTOM NAV ══ */
.mobile-bottom-nav {
  display: none;
  position: fixed; top: auto; bottom: 0; left: 0; right: 0;
  height: 62px; background: white;
  border-top: 1px solid var(--gray-300);
  z-index: 500; padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bottom-nav ul {
  display: flex; height: 100%; list-style: none; padding: 0; margin: 0;
}
.mobile-bottom-nav li { flex: 1; }
.mobile-bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; gap: 2px; color: var(--gray-500); font-size: 0.62rem; font-weight: 600;
  text-decoration: none; transition: color .15s;
}
.mobile-bottom-nav a.active, .mobile-bottom-nav a:hover { color: var(--rausch); }
.nav-ic-pill {
  display: block; width: fit-content; margin: 0 auto;
  padding: 5px 13px; border-radius: 100px;
  transition: background .18s;
}
.mobile-bottom-nav a.active .nav-ic-pill { background: rgba(16,120,163,.13); }
.mobile-bottom-nav a:hover .nav-ic-pill  { background: rgba(16,120,163,.07); }
.mobile-bottom-nav svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile-bottom-nav a.active svg { stroke-width: 2.4; }

/* ══ RESPONSIVE ══ */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.9rem; }
  .hero h1 { font-size: 2rem; }
  .nav-links { display: none; }
  .hero { padding: 72px 0 56px; }
  .quick-nav { grid-template-columns: repeat(3, 1fr); }
  .social-grid { grid-template-columns: 1fr; }
  .mobile-bottom-nav { display: block; }
  html, body { overflow-x: hidden; max-width: 100%; }
  body { padding-bottom: 62px; }
  .section { padding: 60px 0; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

/* ══════════════════════════════════════════
   CALM UI — LIGHT THEME
   Clean, airy, professional
══════════════════════════════════════════ */
:root {
  --dp-bg:         #f4f6f9;
  --dp-surface:    #ffffff;
  --dp-surface2:   #f4f6f9;
  --dp-surface3:   #eaeef3;
  --dp-border:     #eaeef3;
  --dp-border-hi:  #d0d7e0;
  --dp-brand:      #1078a3;
  --dp-brand-hi:   #0b5e7e;
  --dp-brand-dim:  rgba(16,120,163,.1);
  --dp-brand-glow: rgba(16,120,163,.2);
  --dp-text:       #1a2332;
  --dp-text2:      #6b7a8d;
  --dp-text3:      #a0aab8;
  --dp-green:      #16a34a;
  --dp-red:        #dc2626;
  --dp-amber:      #d97706;
}

/* ── Base ── */
body {
  background: var(--dp-bg);
  color: var(--dp-text);
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Nav ── */
.nav {
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--dp-border) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.nav-logo { color: var(--dp-text) !important; }
.nav-links a { color: var(--dp-text2) !important; }
.nav-links a:hover { color: var(--dp-text) !important; }
.nav-links a.active { color: var(--dp-brand) !important; }
.nav-cta, .btn-primary {
  background: var(--dp-brand) !important;
  border-color: var(--dp-brand) !important;
  color: #fff !important;
  box-shadow: 0 2px 12px var(--dp-brand-glow);
}
.nav-cta:hover, .btn-primary:hover {
  background: var(--dp-brand-hi) !important;
  border-color: var(--dp-brand-hi) !important;
}
.btn-outline {
  border-color: var(--dp-border-hi) !important;
  color: var(--dp-text2) !important;
  background: transparent !important;
}
.btn-outline:hover {
  border-color: var(--dp-brand) !important;
  color: var(--dp-brand) !important;
  background: var(--dp-brand-dim) !important;
}

/* ── Section labels & titles ── */
.section-label { color: var(--dp-brand) !important; }
.section-title  { color: var(--dp-text) !important; }

/* ── Quick-grid cards ── */
.qg-card {
  background: var(--dp-surface) !important;
  border-color: var(--dp-border) !important;
  transition: transform .2s, box-shadow .2s, border-color .2s !important;
}
.qg-card:hover {
  border-color: var(--dp-brand) !important;
  box-shadow: 0 0 0 1px var(--dp-brand), 0 12px 40px rgba(16,120,163,.1) !important;
  transform: translateY(-4px) !important;
}
.qg-label { color: var(--dp-text) !important; }
.qg-desc  { color: var(--dp-text2) !important; }

/* ── Listings cards ── */
.lc-mini {
  background: var(--dp-surface) !important;
  border-color: var(--dp-border) !important;
}
.lc-mini:hover {
  border-color: var(--dp-brand) !important;
  box-shadow: 0 8px 32px rgba(16,120,163,.1) !important;
}
.lc-img { background: var(--dp-surface2) !important; }
.lc-title { color: var(--dp-text) !important; }
.lc-price { color: var(--dp-brand) !important; }
.lc-meta  { color: var(--dp-text3) !important; }

/* ── Forum rows ── */
.fq-row {
  background: var(--dp-surface) !important;
  border-color: var(--dp-border) !important;
}
.fq-row:hover {
  border-color: var(--dp-brand) !important;
  background: #f4f8fc !important;
  box-shadow: 0 4px 20px rgba(16,120,163,.08) !important;
}
.fq-title  { color: var(--dp-text) !important; }
.fq-meta   { color: var(--dp-text3) !important; }
.fq-answers{ color: var(--dp-text3) !important; }
.fq-upvote { color: var(--dp-brand) !important; }
.view-all  { color: var(--dp-brand) !important; }

/* ── Social section ── */
.social-section {
  background: linear-gradient(135deg, var(--dp-surface) 0%, var(--dp-surface2) 100%) !important;
  border: 1px solid var(--dp-border) !important;
  box-shadow: 0 4px 24px rgba(16,120,163,.06);
}
.avatars-stack .av {
  border-color: var(--dp-surface) !important;
  background: var(--dp-brand) !important;
}

/* ── Newsletter ── */
.newsletter-section {
  background: var(--dp-surface) !important;
  border: 1px solid var(--dp-border) !important;
}
.newsletter-section h3 { color: var(--dp-text) !important; }
.newsletter-section p  { color: var(--dp-text2) !important; }
.newsletter-form-inline input {
  background: var(--dp-surface2) !important;
  border-color: var(--dp-border) !important;
  color: var(--dp-text) !important;
}
.newsletter-form-inline input:focus {
  border-color: var(--dp-brand) !important;
  box-shadow: 0 0 0 3px var(--dp-brand-dim) !important;
}
.newsletter-form-inline input::placeholder { color: var(--dp-text3) !important; }

/* ── Modals ── */
.modal {
  background: var(--dp-surface) !important;
  color: var(--dp-text) !important;
  border: 1px solid var(--dp-border);
}
.modal-title { color: var(--dp-text) !important; }
.modal-handle { background: var(--dp-border-hi) !important; }
.f-label { color: var(--dp-text2) !important; }
.f-input, .f-select, .f-textarea {
  background: var(--dp-surface2) !important;
  border-color: var(--dp-border) !important;
  color: var(--dp-text) !important;
}
.f-input:focus, .f-select:focus, .f-textarea:focus {
  border-color: var(--dp-brand) !important;
  box-shadow: 0 0 0 3px var(--dp-brand-dim) !important;
}

/* ── Cards / Dashboards ── */
.card, .stat-card, .dashboard-card {
  background: var(--dp-surface) !important;
  border-color: var(--dp-border) !important;
  color: var(--dp-text) !important;
}
.stat-card .stat-label { color: var(--dp-text2) !important; }
.stat-card .stat-value { color: var(--dp-text) !important; }

/* ── Tags & badges ── */
.tag, .chip { background: var(--dp-surface2) !important; color: var(--dp-text2) !important; border-color: var(--dp-border) !important; }

/* ── Filter bar ── */
.filter-bar {
  background: var(--dp-surface) !important;
  border-color: var(--dp-border) !important;
}
.filter-bar input, .filter-bar select {
  background: var(--dp-surface2) !important;
  border-color: var(--dp-border) !important;
  color: var(--dp-text) !important;
}

/* ── Footer ── */
footer {
  background: var(--dp-surface) !important;
  border-top: 1px solid var(--dp-border) !important;
  color: var(--dp-text2) !important;
}
footer .footer-copy { color: var(--dp-text3) !important; }
footer a { color: var(--dp-text2) !important; }
footer a:hover { color: var(--dp-brand) !important; }
.logo span { color: var(--dp-text) !important; }

/* ── Mobile bottom nav ── */
.mobile-bottom-nav {
  background: var(--dp-surface) !important;
  border-top-color: var(--dp-border) !important;
}
.mobile-bottom-nav a { color: var(--dp-text3) !important; }
.mobile-bottom-nav a.active, .mobile-bottom-nav a:hover { color: var(--dp-brand) !important; }

/* ── Tables ── */
table { border-color: var(--dp-border) !important; }
thead th { background: var(--dp-surface2) !important; color: var(--dp-text2) !important; border-color: var(--dp-border) !important; }
tbody tr:nth-child(even) { background: #fafbfc !important; }
tbody tr:nth-child(odd)  { background: var(--dp-surface) !important; }
tbody td { color: var(--dp-text) !important; border-color: var(--dp-border) !important; }
tbody tr:hover td { background: #f0f4f8 !important; }

/* ── Scrollbars ── */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--dp-border-hi) transparent;
}
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--dp-border-hi); border-radius: 3px; }
*::-webkit-scrollbar-thumb:hover { background: #b8c2cc; }

/* ── Selection highlight ── */
::selection { background: rgba(16,120,163,.15); color: var(--dp-text); }

/* ══ NAV ACTIVE STATE ══ */
.nav-links a.nav-active {
  color: var(--rausch) !important;
  font-weight: 700 !important;
  position: relative;
}
.nav-links {
  height: 68px;
}
.nav-links li {
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0; left: 0;
  height: 2px;
  background: var(--rausch);
  border-radius: 1px 1px 0 0;
}

/* ══ NAV END AREA ══ */
.nav-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-mgmt-link {
  font-size: .78rem;
  color: var(--rausch);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .15s;
}
.nav-mgmt-link:hover { background: rgba(16,120,163,.08); }

/* ── Logged-in user pill ── */
.nav-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 6px;
  border-radius: 100px;
  border: 1.5px solid var(--dp-border);
  background: #fff;
  color: var(--dp-text);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  text-decoration: none;
}
.nav-user-btn:hover { border-color: var(--rausch); box-shadow: 0 2px 8px rgba(16,120,163,.12); }
.nav-user-avatar {
  width: 26px; height: 26px;
  background: var(--rausch);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800;
  flex-shrink: 0;
}
.nav-user-name { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Login button ── */
.nav-login-btn { font-size: .82rem !important; padding: 8px 16px !important; }

/* ── Accessibility button ── */
.nav-acc-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  background: none;
  border: 1.5px solid var(--dp-border);
  border-radius: 8px;
  color: var(--dp-text2);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.nav-acc-btn:hover { border-color: var(--rausch); color: var(--rausch); background: rgba(16,120,163,.05); }
.nav-acc-btn[aria-expanded="true"] { border-color: var(--rausch); color: var(--rausch); background: rgba(16,120,163,.08); }
@media (max-width: 768px) { .nav-acc-btn span { display: none; } }

/* ── Language pills ── */
.nav-lang-wrap {
  display: flex;
  border: 1.5px solid var(--dp-border);
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-lang-pill {
  padding: 5px 9px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dp-text2);
  font-family: inherit;
  transition: background .15s, color .15s;
  line-height: 1;
}
.nav-lang-pill + .nav-lang-pill { border-right: 1.5px solid var(--dp-border); }
[dir="ltr"] .nav-lang-pill + .nav-lang-pill { border-right: none; border-left: 1.5px solid var(--dp-border); }
.nav-lang-pill:hover { background: rgba(16,120,163,.07); color: var(--rausch); }
.nav-lang-pill.active { background: var(--rausch); color: #fff; }

/* ══ ACCESSIBILITY PANEL ══ */
.acc-panel[hidden] { display: none; }

.acc-panel {
  position: fixed;
  top: 74px;
  left: 20px;
  width: 268px;
  background: #fff;
  border: 1px solid var(--dp-border);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.14);
  z-index: 600;
  padding: 0;
  direction: rtl;
  overflow: hidden;
}
.acc-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px 12px;
  border-bottom: 1px solid var(--dp-border);
  font-size: .9rem;
  font-weight: 700;
  color: var(--dp-text);
  background: #f8fafc;
}
.acc-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--dp-text2);
  padding: 2px 6px;
  border-radius: 6px;
  line-height: 1;
  transition: background .12s;
  font-family: inherit;
}
.acc-close-btn:hover { background: #eaeef3; color: var(--dp-text); }
.acc-section-title {
  font-size: .68rem;
  font-weight: 700;
  color: var(--dp-text3);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 11px 16px 5px;
}
.acc-font-row {
  display: flex;
  gap: 7px;
  padding: 2px 16px 10px;
}
.acc-font-btn {
  flex: 1;
  padding: 7px 4px;
  border: 1.5px solid var(--dp-border);
  border-radius: 8px;
  background: #fff;
  color: var(--dp-text2);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all .14s;
}
.acc-font-btn:hover { border-color: var(--rausch); color: var(--rausch); }
.acc-font-btn.active { border-color: var(--rausch); background: rgba(16,120,163,.08); color: var(--rausch); }

.acc-toggle-btn {
  display: flex;
  align-items: center;
  width: calc(100% - 32px);
  margin: 0 16px 6px;
  padding: 8px 12px;
  border: 1.5px solid var(--dp-border);
  border-radius: 8px;
  background: #fff;
  color: var(--dp-text2);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-align: right;
  transition: all .14s;
}
.acc-toggle-btn:hover { border-color: var(--rausch); color: var(--rausch); background: rgba(16,120,163,.04); }
.acc-toggle-btn.active { border-color: var(--rausch); background: rgba(16,120,163,.1); color: var(--rausch); }
.acc-toggle-btn.active::before { content: '✓ '; }

.acc-reset-btn {
  display: block;
  width: calc(100% - 32px);
  margin: 4px 16px 10px;
  padding: 7px 12px;
  border: none;
  border-radius: 8px;
  background: #f4f6f9;
  color: var(--dp-text3);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .14s;
}
.acc-reset-btn:hover { background: #eaeef3; color: var(--dp-text); }

.acc-divider { height: 1px; background: var(--dp-border); margin: 4px 0; }

.acc-link-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border: none;
  background: none;
  color: var(--dp-text2);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-align: right;
  transition: background .12s, color .12s;
  border-bottom: 1px solid var(--dp-border);
}
.acc-link-btn:last-child { border-bottom: none; padding-bottom: 14px; }
.acc-link-btn:hover { background: #f4f8fc; color: var(--rausch); }

/* ══ ACCESSIBILITY MODAL ══ */
.acc-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 900;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.acc-modal-overlay[hidden] { display: none; }
.acc-modal-box {
  background: #fff;
  border-radius: 14px;
  width: min(520px, 100%);
  max-height: 80vh;
  overflow-y: auto;
  direction: rtl;
  box-shadow: 0 16px 60px rgba(0,0,0,.16);
}
.acc-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--dp-border);
  background: #f8fafc;
  border-radius: 14px 14px 0 0;
  font-size: 1rem; font-weight: 700; color: var(--dp-text);
}
.acc-modal-body {
  padding: 20px;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--dp-text);
}
.acc-modal-body h4 { font-size: .9rem; font-weight: 700; margin: 14px 0 5px; color: var(--dp-text); }
.acc-modal-body h4:first-child { margin-top: 0; }
.acc-modal-body p  { color: var(--dp-text2); margin-bottom: 8px; }
.acc-modal-body ul { padding-right: 18px; color: var(--dp-text2); }
.acc-modal-body li { margin-bottom: 4px; }
.acc-modal-body a  { color: var(--rausch); text-decoration: underline; }

/* ══ ACCESSIBILITY FEATURE CLASSES ══ */

/* High contrast */
html.acc-hc body          { background: #fff !important; color: #000 !important; }
html.acc-hc a             { color: #00007a !important; }
html.acc-hc .btn-primary,
html.acc-hc .nav-login-btn { background: #000 !important; color: #fff !important; border: 2px solid #000 !important; }
html.acc-hc nav           { background: #fff !important; border-bottom: 2px solid #000 !important; }
html.acc-hc .nav-links a  { color: #000 !important; }
html.acc-hc .nav-links a.nav-active { color: #00007a !important; }

/* Link highlighting */
html.acc-links a {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}
html.acc-links .btn, html.acc-links .nav-user-btn, html.acc-links .logo { text-decoration: none !important; }

/* Grayscale */
html.acc-gray * { filter: grayscale(1) !important; }

/* Larger text */
html.acc-font-lg  { font-size: 18px; }
html.acc-font-xl  { font-size: 20px; }

/* ── Skip-to-content link (keyboard nav) ── */
.skip-to-content {
  position: fixed; top: -100px; right: 16px;
  background: var(--rausch); color: #fff;
  padding: 10px 20px; border-radius: 0 0 8px 8px;
  font-weight: 700; font-size: .9rem; z-index: 9999;
  text-decoration: none; transition: top .2s;
}
.skip-to-content:focus { top: 0; }

/* ══ COOKIE CONSENT BANNER ══ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1a2332; color: #e8edf3;
  z-index: 9000; padding: 14px 20px;
  border-top: 2px solid #1078a3;
  animation: cookieSlideUp .35s ease;
}
.cookie-banner-hide { animation: cookieSlideDown .4s ease forwards; }
@keyframes cookieSlideUp  { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes cookieSlideDown { from { transform: translateY(0); } to { transform: translateY(110%); } }
.cookie-banner-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; font-size: .85rem; line-height: 1.6; color: #c5d0dc; margin: 0; }
.cookie-banner-text strong { color: #fff; }
.cookie-link-btn {
  background: none; border: none; color: #5bc0e8;
  font-size: .85rem; cursor: pointer; text-decoration: underline;
  padding: 0 3px; font-family: inherit;
}
.cookie-link-btn:hover { color: #8dd6f0; }
.cookie-accept-btn {
  flex-shrink: 0; background: #1078a3; color: #fff;
  border: none; border-radius: 8px; padding: 9px 22px;
  font-size: .88rem; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background .15s; white-space: nowrap;
}
.cookie-accept-btn:hover { background: #0b5e7e; }
