/* ── صفحات عناصر المبنى — تصميم موحّد ── */
body.building-elements-page {
  --be-navy: #1b355b;
  --be-blue: #1f6aa5;
  --be-gold: #b3853b;
  --be-brown: #7a5a2a;
  --be-gold-light: #c9a96e;
  --be-teal: #2db08a;
  --be-cream: #f6f3ed;
  background: var(--be-cream) !important;
  color: #333;
}

/* ── هيرو الصفحة ── */
.be-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 0;
}
.be-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
}
body.building-elements-page.is-visible .be-hero__bg {
  transform: scale(1);
}
.be-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 34, 56, 0.35) 0%, rgba(27, 53, 91, 0.82) 72%, rgba(27, 53, 91, 0.95) 100%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(179, 133, 59, 0.2), transparent);
}
.be-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 48px 20px 40px;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
body.building-elements-page.is-visible .be-hero__inner {
  opacity: 1;
  transform: translateY(0);
}
.be-hero__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--be-gold), var(--be-brown));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
.be-hero__title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}
.be-hero__sub {
  margin: 0 auto;
  max-width: 560px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}
.be-hero__line {
  width: 72px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--be-gold), var(--be-gold-light), var(--be-gold));
  background-size: 200% 100%;
  animation: be-line-flow 4s linear infinite;
}
@keyframes be-line-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── تبويبات التنقل ── */
.building-elements-tabs.be-tabs-section,
body.building-elements-page .events-section {
  padding: 0 0 56px;
  background: transparent;
  position: relative;
}
.building-elements-tabs.be-tabs-section::before,
body.building-elements-page .events-section.be-main::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("/assets/img/%D8%B4%D8%B9%D8%A7%D8%B1%20%D8%A7%D9%84%D9%88%D9%82%D9%81%20%D8%B4%D9%81%D8%A7%D9%81%D8%A7.png");
  background-size: 140px;
  background-repeat: repeat;
  pointer-events: none;
}
.building-elements-tabs .container,
body.building-elements-page .events-section .container {
  max-width: 1200px;
  width: min(1200px, 92%);
  margin-inline: auto;
  padding: 28px 20px 0;
  position: relative;
  z-index: 1;
}
.building-elements-tabs .section-title,
body.building-elements-page .events-section .section-title {
  display: none;
}
.be-tabs-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  border: 1px solid rgba(27, 53, 91, 0.1);
  box-shadow: 0 8px 28px rgba(27, 53, 91, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.building-elements-tabs .tab,
body.building-elements-page .events-section .tab {
  background: transparent;
  border: 0;
  color: var(--be-brown);
  font-weight: 800;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  font-family: inherit;
}
.building-elements-tabs .tab:hover,
body.building-elements-page .events-section .tab:hover {
  color: var(--be-navy);
  background: rgba(27, 53, 91, 0.06);
}
.building-elements-tabs .tab.active,
body.building-elements-page .events-section .tab.active {
  color: #fff;
  background: linear-gradient(145deg, var(--be-navy), #2a4a75);
  box-shadow: 0 6px 18px rgba(27, 53, 91, 0.3);
  transform: translateY(-2px);
}

/* ── محتوى الصفحات الفرعية ── */
.be-content {
  max-width: 1200px;
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 8px 20px 56px;
  position: relative;
  z-index: 1;
}
.be-section-head {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.be-section-head__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--be-gold), var(--be-brown));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.be-section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--be-navy);
}

/* بطاقات عامة */
.be-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}
.be-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid rgba(27, 53, 91, 0.08);
  box-shadow: 0 8px 28px rgba(27, 53, 91, 0.07);
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
  opacity: 0;
  transform: translateY(28px);
}
body.building-elements-page.is-visible .be-card {
  opacity: 1;
  transform: translateY(0);
}
body.building-elements-page.is-visible .be-card:nth-child(1) { transition: opacity 0.55s 0.1s, transform 0.55s 0.1s, box-shadow 0.35s, border-color 0.35s; }
body.building-elements-page.is-visible .be-card:nth-child(2) { transition: opacity 0.55s 0.2s, transform 0.55s 0.2s, box-shadow 0.35s, border-color 0.35s; }
body.building-elements-page.is-visible .be-card:nth-child(3) { transition: opacity 0.55s 0.3s, transform 0.55s 0.3s, box-shadow 0.35s, border-color 0.35s; }
body.building-elements-page.is-visible .be-card:nth-child(4) { transition: opacity 0.55s 0.4s, transform 0.55s 0.4s, box-shadow 0.35s, border-color 0.35s; }
.be-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(27, 53, 91, 0.14);
  border-color: rgba(179, 133, 59, 0.35);
}
.be-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(27, 53, 91, 0.08), rgba(31, 106, 165, 0.12));
  color: var(--be-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform 0.4s, background 0.4s, color 0.4s;
}
.be-card:hover .be-card__icon {
  background: linear-gradient(145deg, var(--be-gold), var(--be-brown));
  color: #fff;
  transform: scale(1.08) rotate(-6deg);
}
.be-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--be-navy);
}
.be-card p {
  margin: 0;
  color: #555;
  line-height: 1.65;
  font-size: 0.95rem;
}
.be-card--accent { border-top: 4px solid var(--be-teal); }
.be-card--gold { border-top: 4px solid var(--be-gold); }

/* معارض */
.be-exhibition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.be-exhibition-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  border: 1px solid rgba(27, 53, 91, 0.08);
  box-shadow: 0 6px 22px rgba(27, 53, 91, 0.07);
  position: relative;
  transition: transform 0.35s, box-shadow 0.35s;
  opacity: 0;
  transform: translateY(24px);
}
body.building-elements-page.is-visible .be-exhibition-card {
  opacity: 1;
  transform: translateY(0);
}
.be-exhibition-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(27, 53, 91, 0.12);
}
.be-exhibition-card h2 {
  margin: 28px 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--be-navy);
}
.be-exhibition-card p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}
.be-status-tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}
.be-exhibition-card.vacant .be-status-tag { background: var(--be-teal); }
.be-exhibition-card.leased .be-status-tag { background: #c0392b; }
.be-exhibition-card .be-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  background: linear-gradient(145deg, var(--be-navy), #2a4a75);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.be-exhibition-card .be-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 53, 91, 0.25);
}
.be-exhibition-card .be-btn.disabled {
  background: #ccc;
  pointer-events: none;
  box-shadow: none;
}

/* features.html — القسم الرئيسي */
body.building-elements-page .events-section .filter-bar {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
body.building-elements-page .events-section .filter-select,
body.building-elements-page .events-section .sort-btn {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(27, 53, 91, 0.12);
  background: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--be-navy);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(27, 53, 91, 0.06);
  font-family: inherit;
}
body.building-elements-page .events-section .filter-select select {
  border: none;
  outline: none;
  background: transparent;
  appearance: none;
  font-family: inherit;
  color: var(--be-navy);
  font-weight: 700;
}
body.building-elements-page .events-section .tabs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  border: 1px solid rgba(27, 53, 91, 0.1);
  box-shadow: 0 8px 28px rgba(27, 53, 91, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.building-elements-page .events-section .building-bar {
  display: none;
  gap: 16px;
  margin: 0 0 24px;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  max-width: 640px;
  margin-inline: auto;
}

/* ── لوحة استعراض المكاتب ── */
.be-offices-panel {
  margin-bottom: 32px;
  padding: 24px 20px 28px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  border: 1px solid rgba(27, 53, 91, 0.1);
  box-shadow: 0 10px 36px rgba(27, 53, 91, 0.08);
}
.be-offices-panel[hidden] {
  display: none !important;
}
.be-offices-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  text-align: start;
}
.be-offices-panel__title {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--be-navy);
}
.be-offices-panel__hint {
  margin: 0;
  font-size: 0.92rem;
  color: #666;
  line-height: 1.6;
}
.be-offices-panel--active .be-offices-panel__hint {
  color: var(--be-teal);
  font-weight: 700;
}

body.building-elements-page .events-section .unit-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  text-align: start;
  flex: 1;
  gap: 10px;
}
body.building-elements-page .events-section .details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}
body.building-elements-page .events-section .details-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-bottom: 0;
  padding: 10px 12px;
  background: var(--be-cream);
  border-radius: 10px;
  border: 1px solid rgba(27, 53, 91, 0.06);
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: normal;
}
body.building-elements-page .events-section .details-list .label {
  color: #666;
  font-weight: 700;
  font-size: 0.82rem;
}
body.building-elements-page .events-section .details-list .value {
  font-weight: 800;
  color: var(--be-navy);
  font-size: 0.95rem;
  word-break: break-word;
}

body.building-elements-page .events-section .building-btn {
  background: #fff;
  border: 2px solid var(--be-navy);
  color: var(--be-navy);
  padding: 16px 22px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  font-size: 1.05rem;
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-align: center;
  box-shadow: 0 6px 18px rgba(27, 53, 91, 0.08);
  font-family: inherit;
}
body.building-elements-page .events-section .building-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(27, 53, 91, 0.14);
}
body.building-elements-page .events-section .building-btn.active {
  background: linear-gradient(145deg, var(--be-navy), #2a4a75);
  color: #fff;
  border-color: var(--be-navy);
}
body.building-elements-page .events-section .building-btn.B.active {
  background: linear-gradient(145deg, var(--be-gold), var(--be-brown));
  border-color: var(--be-gold);
}
body.building-elements-page .events-section .floor-bar {
  display: none;
  gap: 8px;
  margin: 0 0 20px;
  flex-wrap: wrap;
  justify-content: center;
}
body.building-elements-page .events-section .floor-btn {
  background: #fff;
  border: 1px solid rgba(27, 53, 91, 0.2);
  color: var(--be-navy);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  font-family: inherit;
  font-size: 0.88rem;
}
body.building-elements-page .events-section .floor-btn.active {
  background: var(--be-navy);
  color: #fff;
  border-color: var(--be-navy);
}
body.building-elements-page .events-section .office-grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 8px 0 24px;
}
body.building-elements-page .events-section .unit-card {
  background: #fff;
  border: 1px solid rgba(27, 53, 91, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(27, 53, 91, 0.07);
  transition: transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
body.building-elements-page .events-section .unit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(27, 53, 91, 0.12);
}
body.building-elements-page .events-section .unit-media {
  height: 180px;
  background: #eef1f5;
  overflow: hidden;
}
body.building-elements-page .events-section .unit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
body.building-elements-page .events-section .unit-card:hover .unit-media img {
  transform: scale(1.06);
}
body.building-elements-page .events-section .office-title {
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--be-navy);
  font-size: 1.05rem;
  border-bottom: 2px solid rgba(27, 53, 91, 0.08);
  padding-bottom: 10px;
  line-height: 1.5;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  word-break: break-word;
}
body.building-elements-page .events-section .details-list .status-available { color: var(--be-teal); }
body.building-elements-page .events-section .details-list .status-vacant { color: var(--be-gold); }
body.building-elements-page .events-section .details-button {
  display: block;
  padding: 11px 16px;
  background: linear-gradient(145deg, var(--be-navy), #2a4a75);
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 800;
  margin-top: auto;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 0.9rem;
}
body.building-elements-page .events-section .details-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 53, 91, 0.25);
}

body.building-elements-page .events-section .filter-bar.be-hidden {
  display: none !important;
}

body.building-elements-page .events-section .section-title {
  display: none;
}

body.building-elements-page .events-section.be-main {
  padding-top: 0;
}

body.building-elements-page .events-section .tabs-list.be-tabs-wrap {
  margin-top: -20px;
  position: relative;
  z-index: 5;
}

/* بطاقات العناصر — ظهور تدريجي */
body.building-elements-page.is-visible .events-section .feature-card {
  animation: be-card-in 0.55s ease both;
}
body.building-elements-page.is-visible .events-section .feature-card:nth-child(1) { animation-delay: 0.08s; }
body.building-elements-page.is-visible .events-section .feature-card:nth-child(2) { animation-delay: 0.16s; }
body.building-elements-page.is-visible .events-section .feature-card:nth-child(3) { animation-delay: 0.24s; }
body.building-elements-page.is-visible .events-section .feature-card:nth-child(4) { animation-delay: 0.32s; }
body.building-elements-page.is-visible .events-section .unit-card {
  animation: be-card-in 0.5s ease both;
}
@keyframes be-card-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

body.building-elements-page .events-section .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
}
body.building-elements-page .events-section .feature-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(27, 53, 91, 0.08);
  border: 1px solid rgba(27, 53, 91, 0.06);
  transition: transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
}
body.building-elements-page .events-section .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 42px rgba(27, 53, 91, 0.14);
}
body.building-elements-page .events-section .card-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}
body.building-elements-page .events-section .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
body.building-elements-page .events-section .feature-card:hover .card-image {
  transform: scale(1.06);
}
body.building-elements-page .events-section .tag {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}
body.building-elements-page .events-section .tag.primary {
  background: var(--be-navy);
}
body.building-elements-page .events-section .tag.secondary {
  background: var(--be-teal);
}
body.building-elements-page .events-section .card-body {
  padding: 20px 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
body.building-elements-page .events-section .card-category {
  font-size: 0.85rem;
  color: var(--be-gold);
  font-weight: 800;
  margin-bottom: 0;
  line-height: 1.4;
  white-space: normal;
}
body.building-elements-page .events-section .card-title,
body.building-elements-page .events-section .office-card .card-title,
body.building-elements-page .events-section .showroom-card .card-title,
body.building-elements-page .events-section .parking-card .card-title {
  color: var(--be-navy);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.55;
  height: auto !important;
  min-height: 0;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: unset !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
body.building-elements-page .events-section .card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  color: #444;
  padding-bottom: 4px;
  border-bottom: none;
  flex: 1;
}
body.building-elements-page .events-section .card-meta .meta-item {
  display: block;
  line-height: 1.65;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  word-break: break-word;
}
body.building-elements-page .events-section .details-link {
  display: block;
  text-align: center;
  padding: 14px;
  background: linear-gradient(145deg, var(--be-navy), #2a4a75);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  margin: 0;
  transition: background 0.3s;
  font-size: 0.95rem;
}
body.building-elements-page .events-section .details-link:hover {
  background: linear-gradient(145deg, #142a49, var(--be-navy));
}

/* تفاصيل المكتب */
.be-detail-wrap {
  max-width: 900px;
  width: min(900px, 92%);
  margin: 28px auto 56px;
  padding: 0 20px;
}
.be-detail-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(27, 53, 91, 0.12);
  border: 1px solid rgba(27, 53, 91, 0.08);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
body.building-elements-page.is-visible .be-detail-card {
  opacity: 1;
  transform: translateY(0);
}
.be-detail-media {
  height: 320px;
  overflow: hidden;
  position: relative;
}
.be-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.be-detail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(27, 53, 91, 0.4) 100%);
}
.be-detail-body {
  padding: 28px 28px 32px;
}
.be-detail-title {
  margin: 0 0 20px;
  color: var(--be-navy);
  font-size: 1.6rem;
  font-weight: 800;
}
.be-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}
.be-detail-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--be-cream);
  border-radius: 12px;
  border: 1px solid rgba(27, 53, 91, 0.06);
}
.be-detail-list .label {
  color: #666;
  font-weight: 700;
  min-width: 100px;
}
.be-detail-list .value {
  font-weight: 800;
  color: var(--be-navy);
}
.be-detail-list .status-available { color: var(--be-teal); }
.be-detail-list .status-vacant { color: var(--be-gold); }
.be-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.be-detail-btn {
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.be-detail-btn--primary {
  background: linear-gradient(145deg, var(--be-navy), #2a4a75);
  color: #fff;
}
.be-detail-btn--light {
  background: #eef2f7;
  color: var(--be-navy);
}
.be-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 53, 91, 0.18);
}

/* استجابة */
@media (max-width: 992px) {
  .be-exhibition-grid,
  body.building-elements-page .events-section .office-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .be-hero { min-height: 240px; }
  .be-tabs-wrap { border-radius: 18px; }
  body.building-elements-page .events-section .building-bar {
    grid-template-columns: 1fr;
  }
  .building-elements-tabs .tab,
  body.building-elements-page .events-section .tab {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  .be-exhibition-grid,
  body.building-elements-page .events-section .office-grid {
    grid-template-columns: 1fr;
  }
  .be-detail-body { padding: 22px 18px 26px; }
}

/* ── تواصل إدارة التأجير (مكاتب / معارض) ── */
.be-lease-panel {
  margin: 8px 0 40px;
  padding: 28px 24px 30px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(27, 53, 91, 0.08);
  box-shadow: 0 12px 36px rgba(27, 53, 91, 0.06);
}
.be-lease-panel__intro {
  margin: 0 0 22px;
  color: #4b5563;
  line-height: 1.7;
  font-size: 0.98rem;
  max-width: 52rem;
}
.be-lease-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-bottom: 14px;
}
.be-lease-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.be-lease-form__row .be-lease-form__group { margin-bottom: 0; }
.be-lease-form label {
  font-weight: 700;
  color: var(--be-navy);
  font-size: 0.92rem;
}
.be-lease-form .req { color: #b45309; }
.be-lease-form input,
.be-lease-form textarea {
  width: 100%;
  border: 1px solid #d7dde8;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: #1f2937;
  background: #fbfcfe;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.be-lease-form input:focus,
.be-lease-form textarea:focus {
  outline: none;
  border-color: var(--be-gold);
  box-shadow: 0 0 0 3px rgba(179, 133, 59, 0.18);
  background: #fff;
}
.be-lease-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 6px;
}
.be-lease-form__btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--be-navy), var(--be-blue));
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(27, 53, 91, 0.22);
  transition: transform 0.2s, box-shadow 0.2s;
}
.be-lease-form__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(27, 53, 91, 0.28);
}
.be-lease-form__btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.be-lease-form__link {
  color: var(--be-gold);
  font-weight: 700;
  text-decoration: none;
}
.be-lease-form__link:hover { text-decoration: underline; }
.be-lease-form__success {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(45, 176, 138, 0.12);
  color: #0f766e;
  font-weight: 700;
}
@media (max-width: 700px) {
  .be-lease-form__row { grid-template-columns: 1fr; }
  .be-lease-panel { padding: 22px 16px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .be-hero__line { animation: none; }
  .be-hero__inner,
  .be-card,
  .be-exhibition-card,
  .be-detail-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
