:root {
  --primary: #ff6060;
  --primary-dark: #e24d4d;
  --ink: #2f3640;
  --ink-soft: #6f7985;
  --line: #e6eaef;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --shadow: 0 16px 40px rgba(23, 32, 43, 0.08);
  --container: min(1180px, calc(100vw - 32px));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background: #f5f6f8;
  overflow-x: hidden;
}
[dir="rtl"] body,
body.is-ar {
  font-family: "Cairo", "Montserrat", sans-serif !important;
  line-height: 1.75;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] .hero h1,
[dir="rtl"] .page-hero h1,
[dir="rtl"] .project-hero h1,
[dir="rtl"] .section-heading h2,
[dir="rtl"] .about-copy h2,
[dir="rtl"] .promo-card h2,
[dir="rtl"] .project-copy h2,
[dir="rtl"] .contact-card h3 {
  font-family: "Cairo", "Montserrat", sans-serif;
}
[dir="rtl"] {
  text-align: right;
}
[dir="rtl"] body,
[dir="rtl"] body *:not(svg):not(path):not(code):not(pre) {
  font-family: "Cairo", "Montserrat", sans-serif !important;
}
[dir="rtl"] p,
[dir="rtl"] li,
[dir="rtl"] span,
[dir="rtl"] a,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] label {
  letter-spacing: normal !important;
}
[dir="rtl"] .hero-kicker,
[dir="rtl"] .section-kicker,
[dir="rtl"] .news-meta,
[dir="rtl"] .project-meta,
[dir="rtl"] .project-type-badge,
[dir="rtl"] .news-badge,
[dir="rtl"] .project-status,
[dir="rtl"] .article-meta,
[dir="rtl"] .footer-about-badges span {
  text-transform: none !important;
  letter-spacing: normal !important;
}
[dir="rtl"] .hero-kicker,
[dir="rtl"] .section-kicker {
  font-size: 1rem;
  font-weight: 700;
}
[dir="rtl"] .nav a {
  font-size: 1.06rem;
  font-weight: 700;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
  line-height: 1.35;
}
[dir="rtl"] .button,
[dir="rtl"] .project-link,
[dir="rtl"] .contact-box a {
  font-weight: 700;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, select { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
  text-align: right;
  font-family: "Cairo", "Montserrat", sans-serif;
}

.topbar { background: #1f2630; color: #dfe6ee; font-size: 0.86rem; }
.topbar-inner, .topbar-actions, .header-inner, .nav, .hero-buttons, .section-heading,
.pagination, .about-inner, .footer-top, .footer-social, .footer-bottom-inner,
.project-hero-meta, .project-stats, .filter-bar, .project-grid, .project-layout,
.gallery-grid, .detail-tags, .contact-box { display: flex; }
[dir="rtl"] .topbar-inner, [dir="rtl"] .topbar-actions, [dir="rtl"] .header-inner, [dir="rtl"] .nav,
[dir="rtl"] .hero-buttons, [dir="rtl"] .pagination, [dir="rtl"] .about-inner, [dir="rtl"] .footer-top,
[dir="rtl"] .footer-social, [dir="rtl"] .footer-bottom-inner, [dir="rtl"] .project-hero-meta,
[dir="rtl"] .project-stats, [dir="rtl"] .filter-bar, [dir="rtl"] .project-grid, [dir="rtl"] .project-layout,
[dir="rtl"] .gallery-grid, [dir="rtl"] .detail-tags, [dir="rtl"] .contact-box { direction: rtl; }
[dir="rtl"] .topbar-item,
[dir="rtl"] .section-heading,
[dir="rtl"] .about-copy,
[dir="rtl"] .about-panel,
[dir="rtl"] .project-copy,
[dir="rtl"] .detail-sidebar,
[dir="rtl"] .contact-card,
[dir="rtl"] .news-body,
[dir="rtl"] .project-card-body,
[dir="rtl"] .callback-copy,
[dir="rtl"] .callback-form label,
[dir="rtl"] .team-slide-copy {
  text-align: right;
}
[dir="rtl"] .section-heading { align-items: flex-end; }
[dir="rtl"] .hero-buttons { justify-content: flex-end; }
[dir="rtl"] .site-lang-switch { direction: rtl; }
.topbar-inner {
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-actions { gap: 18px; flex-wrap: wrap; }
.topbar-actions.with-lang-switch { align-items: center; }
.site-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}
.site-lang-switch span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  padding-inline-start: 8px;
}
.site-lang-switch a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.93rem;
  color: #fff;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.site-lang-switch a.is-active {
  background: var(--primary);
  color: #fff;
}
.site-lang-switch a:hover,
.site-lang-switch a:focus-visible {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.14);
}
.site-lang-switch a.is-active:hover,
.site-lang-switch a.is-active:focus-visible {
  background: var(--primary);
}

.quick-contact-fab {
  position: fixed;
  right: 22px;
  bottom: 110px;
  z-index: 35;
}
[dir="rtl"] .quick-contact-fab {
  right: auto;
  left: 22px;
}
.quick-contact-toggle {
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6060, #cf4141);
  color: #fff;
  box-shadow: 0 18px 34px rgba(207, 65, 65, 0.35);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 800;
}
.quick-contact-menu {
  position: absolute;
  inset: auto 0 78px auto;
  min-width: 220px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(31,38,48,0.96);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 22px 44px rgba(17, 24, 39, 0.28);
}
[dir="rtl"] .quick-contact-menu {
  inset: auto auto 78px 0;
}
.quick-contact-menu p {
  margin: 0 0 12px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}
.quick-contact-links {
  display: grid;
  gap: 10px;
}
.quick-contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  font-weight: 700;
}
.quick-contact-links a:hover,
.quick-contact-links a:focus-visible {
  background: rgba(255,255,255,0.14);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { flex: 0 0 auto; }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}
.menu-toggle span { position: relative; }
.menu-toggle::before { transform: translateY(-6px); }
.menu-toggle::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }
.brand img, .footer-brand img { width: 180px; height: auto; }
.nav { flex: 1 1 auto; gap: 28px; font-size: 0.94rem; font-weight: 700; flex-wrap: wrap; justify-content: center; }
.nav a { position: relative; padding: 8px 0; }
.nav a[href="/"],
.nav a[href="#home"] { order: 1; }
.nav a[href="/real-estate-locations.php"] { order: 2; }
.nav a[href="/projects.php"] { order: 3; }
.nav a[href="/impact-resale.php"] { order: 4; }
.nav a[href="/news.php"] { order: 5; }
.nav a[href="/#partners"],
.nav a[href="#partners"] { order: 6; }
.nav a[href="/#about"],
.nav a[href="#about"] { order: 7; }
.nav a[href="/chat.php"] { order: 8; }
.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}
.nav a:hover::after, .nav a:focus-visible::after, .nav a.is-active::after { transform: scaleX(1); }

.hero, .page-hero, .project-hero {
  position: relative;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(24, 32, 41, 0.82) 0%, rgba(24, 32, 41, 0.58) 42%, rgba(24, 32, 41, 0.16) 100%),
    url("assets/hero.png") center/cover no-repeat;
}
.hero { min-height: 610px; }
.page-hero, .project-hero { min-height: 420px; }
.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(245, 246, 248, 0), rgba(245, 246, 248, 0.95));
}
.hero-inner, .page-hero-inner, .project-hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-copy, .page-hero-copy, .project-hero-copy { max-width: 700px; color: #ffffff; padding: 72px 0 72px clamp(26px, 5vw, 72px); }
[dir="rtl"] .hero-copy,
[dir="rtl"] .page-hero-copy,
[dir="rtl"] .project-hero-copy { padding: 72px clamp(26px, 5vw, 72px) 72px 0; }
.hero-kicker, .section-kicker {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1, .page-hero h1, .project-hero h1, .section-heading h2, .about-copy h2,
.promo-card h2, .project-copy h2, .contact-card h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.12;
}
.hero h1, .page-hero h1, .project-hero h1 { font-size: clamp(2.7rem, 6vw, 4.7rem); text-transform: capitalize; }
.hero-copy p:last-of-type, .page-hero-copy p:last-of-type, .project-hero-copy p:last-of-type {
  margin: 18px 0 0;
  max-width: 58ch;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}
.hero-buttons { gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 3px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
  cursor: pointer;
}
.button:hover, .button:focus-visible { transform: translateY(-1px); }
.button.primary { background: var(--primary); color: #ffffff; }
.button.primary:hover, .button.primary:focus-visible { background: var(--primary-dark); }
.button.secondary { border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.button.light { background: #ffffff; color: var(--ink); }

.news-section, .projects-promo, .clients-section, .about-section, .filters-section,
.projects-section, .project-section, .callback-section { padding: 72px 0; }
.section-heading { flex-direction: column; gap: 14px; margin-bottom: 30px; }
.section-heading.compact { margin-bottom: 26px; }
.section-heading h2, .about-copy h2, .promo-card h2, .project-copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-heading p, .about-copy p, .about-panel p, .footer-about p, .news-card p,
.promo-card p, .project-copy p, .contact-card p, .detail-meta p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.news-grid, .clients-grid, .gallery-grid { display: grid; }
.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card, .client-card, .about-panel, .promo-card, .filter-panel, .project-card,
.contact-card, .detail-sidebar, .gallery-main {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.news-card, .project-card { overflow: hidden; }
.news-image, .project-card-media {
  position: relative;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(18, 24, 31, 0.08), rgba(18, 24, 31, 0.64)),
    var(--card-bg, linear-gradient(135deg, #dde5ef, #f6f8fb));
}
.news-image img, .project-card-media img, .gallery-main img, .gallery-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-badge, .project-type-badge, .detail-badge, .stat-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.news-body, .project-card-body, .contact-card, .detail-sidebar, .project-copy, .filter-panel { padding: 22px; }
.news-meta, .project-meta {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.news-card h3, .about-panel h3, .project-card h3 {
  margin: 0 0 12px;
  font-family: "Poppins", sans-serif;
  font-size: 1.35rem;
  line-height: 1.35;
}
.news-body h3 { min-height: 3.4em; }
.news-body h3 a { color: inherit; }
.pagination { justify-content: center; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.page-button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #d5dde8;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.page-button.is-active { border-color: var(--primary); background: var(--primary); color: #ffffff; }

.promo-card { align-items: center; justify-content: space-between; gap: 24px; padding: 28px; }
.clients-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.client-card { min-height: 148px; display: grid; place-items: center; padding: 22px; }
.client-card img { width: 100%; height: 86px; object-fit: contain; }
.client-card-fallback {
  width: 100%;
  min-height: 86px;
  display: none;
  place-items: center;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 96, 96, 0.08), rgba(31, 38, 48, 0.08));
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}
.about-inner { align-items: stretch; gap: 26px; }
.about-copy, .about-panel, .footer-about { background: #ffffff; }
.about-copy {
  flex: 1.35;
  padding: 34px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-panel {
  flex: 0.9;
  padding: 34px;
  background: linear-gradient(180deg, rgba(255, 96, 96, 0.08), rgba(255, 96, 96, 0.02)), #ffffff;
}
.about-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #ffe8e8;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}
.team-slider-shell {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(31, 38, 48, 0.95), rgba(52, 21, 21, 0.94));
  color: #fff;
  box-shadow: 0 24px 40px rgba(31, 38, 48, 0.18);
  overflow: hidden;
}
.team-badge {
  margin-bottom: 0;
  width: fit-content;
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.team-slider-shell h4 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  line-height: 1.3;
}
[dir="rtl"] .team-slider-shell h4 { text-align: right; }
.team-slider-track {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}
.team-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 420ms ease, transform 420ms ease;
  pointer-events: none;
}
.team-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}
.team-slide.is-leaving-left {
  opacity: 0;
  transform: translateX(-100%);
  z-index: 1;
}
.team-slide.is-leaving-right {
  opacity: 0;
  transform: translateX(100%);
  z-index: 1;
}
.team-slide.is-entering-left {
  opacity: 1;
  transform: translateX(-100%);
  z-index: 2;
}
.team-slide.is-entering-right {
  opacity: 1;
  transform: translateX(100%);
  z-index: 2;
}
.team-slide-media {
  width: 128px;
  height: 152px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
}
.team-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-slide-copy {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}
[dir="rtl"] .team-slide-copy {
  text-align: right;
  justify-items: start;
}
.team-slide-copy strong {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  line-height: 1.2;
}
.team-slide-copy span {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.team-slide-copy p {
  color: rgba(255,255,255,0.76);
  font-size: 0.88rem;
  line-height: 1.7;
  word-break: break-word;
}
.team-slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 2px;
}
.team-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.24);
  cursor: pointer;
}
.team-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.callback-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 96, 96, 0.16), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(31, 38, 48, 0.16), transparent 24%),
    linear-gradient(180deg, #fff7f7 0%, #f7f9fc 100%);
}
.callback-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 96, 96, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 30px 70px rgba(31, 38, 48, 0.1);
  backdrop-filter: blur(16px);
}
.callback-scene {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(31, 38, 48, 0.96), rgba(70, 20, 20, 0.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  perspective: 1200px;
}
.callback-grid-floor {
  position: absolute;
  inset: auto -6% -18% -6%;
  height: 48%;
  background:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  transform: perspective(800px) rotateX(72deg);
  transform-origin: top;
  opacity: 0.6;
}
.callback-orb,
.callback-ring,
.callback-tower {
  position: absolute;
  animation: floaty 6.8s ease-in-out infinite;
}
.callback-orb {
  border-radius: 50%;
  filter: blur(2px);
}
.orb-one {
  width: 120px;
  height: 120px;
  top: 34px;
  left: 28px;
  background: radial-gradient(circle at 35% 35%, #ffb0b0, rgba(255, 96, 96, 0.25));
}
.orb-two {
  width: 170px;
  height: 170px;
  right: 18px;
  top: 92px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.3), rgba(120, 160, 220, 0.16));
  animation-delay: -2s;
}
.callback-ring {
  inset: auto auto 24px 22px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  animation-delay: -1.4s;
}
.callback-tower {
  bottom: 0;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}
.tower-back {
  left: 70px;
  width: 88px;
  height: 210px;
}
.tower-front {
  left: 150px;
  width: 124px;
  height: 285px;
  animation-delay: -3s;
}
.callback-card {
  position: absolute;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  min-width: 170px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 18px 30px rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
}
.callback-card strong {
  font-size: 0.95rem;
}
.callback-card span:last-child {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}
.callback-card-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,96,96,0.22);
  color: #fff;
  font-weight: 700;
}
.card-one {
  top: 34px;
  right: 28px;
  transform: rotate(-8deg);
}
.card-two {
  bottom: 34px;
  right: 56px;
  transform: rotate(8deg);
}
.callback-copy {
  display: grid;
  gap: 14px;
}
.callback-copy h2 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}
.callback-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}
[dir="rtl"] .callback-copy,
[dir="rtl"] .callback-copy h2,
[dir="rtl"] .callback-copy p {
  text-align: right;
}
[dir="rtl"] .callback-copy h2,
[dir="rtl"] .callback-copy p,
[dir="rtl"] .callback-copy .section-kicker,
[dir="rtl"] .callback-points span,
[dir="rtl"] .callback-feature-list div {
  font-family: "Cairo", "Montserrat", sans-serif;
}
[dir="rtl"] .callback-copy h2 {
  letter-spacing: 0;
}
.callback-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
[dir="rtl"] .callback-points {
  justify-content: flex-start;
}
.callback-points span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff0f0;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}
.callback-points i {
  font-style: normal;
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 0.72rem;
}
.callback-feature-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
[dir="rtl"] .callback-feature-list {
  justify-items: stretch;
}
.callback-feature-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,96,96,0.08);
}
[dir="rtl"] .callback-feature-list div {
  text-align: right;
}
.callback-feature-list strong {
  color: var(--primary);
}
.callback-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(31, 38, 48, 0.96);
  color: #fff;
  box-shadow: 0 20px 50px rgba(31, 38, 48, 0.18);
  transform: translateY(-8px);
}
.callback-form label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}
.callback-form input,
.callback-form select,
.callback-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  color: #fff;
  font: inherit;
}
.callback-form option {
  color: var(--ink);
}
.callback-form textarea {
  min-height: 108px;
  resize: vertical;
}
[dir="rtl"] .callback-form input,
[dir="rtl"] .callback-form select,
[dir="rtl"] .callback-form textarea {
  text-align: right;
}
.callback-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.callback-note {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer { position: relative; overflow: hidden; background: #1f2630; color: #ffffff; }
.footer-pattern { position: absolute; inset: 0 0 auto 0; opacity: 0.15; pointer-events: none; }
.footer-pattern img { width: 100%; }
.footer-top, .footer-main { position: relative; z-index: 1; }
.footer-top {
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-social { gap: 12px; flex-wrap: wrap; }
.footer-social a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-main { padding: 38px 0 26px; }
.footer-story {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}
.footer-about {
  max-width: none;
  padding: 34px;
  color: #ffffff;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  backdrop-filter: blur(16px);
}
.footer-about h3 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
}
.footer-about-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.footer-about-badges span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.footer-glass {
  display: grid;
  gap: 12px;
  align-content: stretch;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 96, 96, 0.18), rgba(255,255,255,0.05));
  backdrop-filter: blur(20px);
}
.footer-glass-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
}
.footer-glass-panel strong {
  font-size: 1.1rem;
}
.footer-glass-panel p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}
.footer-glass-actions {
  display: grid;
  gap: 10px;
}
.footer-glass-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.footer-rights-mark {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.9);
}
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-bottom-inner {
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}
.scroll-up {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 32px rgba(255, 96, 96, 0.3);
  cursor: pointer;
}
.scroll-up::before {
  content: "\2191";
  font-size: 1.3rem;
  font-weight: 700;
}

.filter-panel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 16px; }
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group label { font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.filter-group select {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #d5dde8;
  background: #ffffff;
}
.project-grid { flex-wrap: wrap; gap: 22px; }
.project-card { width: calc(33.333% - 15px); }
.project-card-body { display: grid; gap: 10px; }
.project-card-body h3 a { color: inherit; }
.project-card-tags, .detail-tags { flex-wrap: wrap; gap: 10px; }
.project-card-tags span, .detail-tags span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  background: #fff3f3;
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}
.project-link { margin-top: 4px; color: var(--primary); font-weight: 700; }
.project-link-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 16px 0 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 96, 96, 0.12), rgba(255, 96, 96, 0.22));
  border: 1px solid rgba(255, 96, 96, 0.18);
  color: var(--primary);
  box-shadow: 0 14px 26px rgba(255, 96, 96, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.project-link-cta span {
  letter-spacing: 0.01em;
}
.project-link-cta strong {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 1rem;
  transition: transform 180ms ease;
}
.project-link-cta:hover,
.project-link-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(255, 96, 96, 0.18);
  background: linear-gradient(135deg, rgba(255, 96, 96, 0.16), rgba(255, 96, 96, 0.3));
}
.project-link-cta:hover strong,
.project-link-cta:focus-visible strong {
  transform: translate(2px, -2px);
}
.project-link-green {
  background: linear-gradient(135deg, rgba(26, 166, 118, 0.14), rgba(39, 196, 140, 0.24));
  border-color: rgba(26, 166, 118, 0.22);
  color: #118a62;
  box-shadow: 0 16px 28px rgba(17, 138, 98, 0.14);
}
.project-link-green strong {
  color: #118a62;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 0 0 1px rgba(17, 138, 98, 0.1);
}
.project-link-green:hover,
.project-link-green:focus-visible {
  box-shadow: 0 20px 34px rgba(17, 138, 98, 0.18);
  background: linear-gradient(135deg, rgba(26, 166, 118, 0.18), rgba(39, 196, 140, 0.32));
}
.project-link-home {
  min-width: 170px;
}
.project-link-spotlight {
  position: relative;
  overflow: hidden;
  min-width: 186px;
  padding-right: 14px;
}
.project-link-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 12%, rgba(255,255,255,0.42) 28%, transparent 44%);
  transform: translateX(-130%);
  transition: transform 420ms ease;
}
.project-link-spotlight::after {
  content: "";
  position: absolute;
  inset: auto 18px -10px 18px;
  height: 14px;
  border-radius: 999px;
  background: rgba(17, 138, 98, 0.22);
  filter: blur(12px);
}
.project-link-spotlight span,
.project-link-spotlight strong {
  position: relative;
  z-index: 1;
}
.project-link-spotlight span {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.project-link-spotlight strong {
  width: 34px;
  height: 34px;
  font-size: 1.15rem;
  transform: rotate(0deg);
}
.project-link-spotlight:hover::before,
.project-link-spotlight:focus-visible::before {
  transform: translateX(130%);
}
.project-link-spotlight:hover strong,
.project-link-spotlight:focus-visible strong {
  transform: rotate(90deg) scale(1.06);
}
.empty-state {
  width: 100%;
  padding: 24px;
  text-align: center;
  color: var(--ink-soft);
  background: #ffffff;
  border: 1px dashed #d5dde8;
}
.empty-state p { margin: 10px 0 0; }
.project-hero-meta, .project-stats, .contact-box { gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.project-layout { align-items: flex-start; gap: 24px; }
.project-copy { flex: 1.2; }
.detail-sidebar { flex: 0.82; display: grid; gap: 18px; margin-left: 12px; }
.article-section { padding: 72px 0; }
.article-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.article-main {
  flex: 1.2;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.article-header-card {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 96, 96, 0.04), rgba(255,255,255,0));
}
.article-intro {
  display: grid;
  gap: 12px;
}
.article-intro h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}
.article-slug {
  margin: 0;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  word-break: break-word;
}
.article-excerpt {
  margin: 0;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.9;
}
.article-excerpt.compact {
  font-size: 0.96rem;
}
.article-meta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}
.article-meta-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff3f3;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.article-cover {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.article-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-richtext {
  padding: 28px;
  color: var(--ink-soft);
  line-height: 1.9;
}
.article-richtext p,
.article-richtext ul,
.article-richtext ol,
.article-richtext h2,
.article-richtext h3 {
  margin: 0 0 18px;
}
.article-richtext h2,
.article-richtext h3 {
  color: var(--ink);
  font-family: "Poppins", sans-serif;
}
.article-share {
  display: grid;
  gap: 14px;
  padding: 0 28px 28px;
}
.article-share strong {
  color: var(--ink);
}
.article-share-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.article-share-icons a {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 96, 96, 0.12), rgba(31, 38, 48, 0.08));
  border: 1px solid rgba(255, 96, 96, 0.12);
  color: var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.article-share-icons a:hover,
.article-share-icons a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(31, 38, 48, 0.12);
}
.article-share-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.article-next {
  display: grid;
  gap: 12px;
  margin: 0 28px 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(17, 138, 98, 0.06), rgba(255,255,255,0.96));
}
.article-next h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  line-height: 1.2;
}
.article-next p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}
.article-sidebar {
  flex: 0.82;
  display: grid;
  gap: 18px;
}
.article-side-summary {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.article-side-summary h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  line-height: 1.2;
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
}
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs span[aria-hidden="true"] { opacity: 0.55; }
.gallery-main { position: relative; min-height: 420px; overflow: hidden; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-richtext { color: var(--ink-soft); line-height: 1.8; }
.project-richtext p,
.project-richtext ul,
.project-richtext ol { margin: 0 0 16px; }
.project-richtext strong { color: var(--ink); }
[dir="rtl"] .project-copy .section-heading {
  align-items: stretch;
}
[dir="rtl"] .project-copy .section-heading h2,
[dir="rtl"] .project-copy .section-heading p,
[dir="rtl"] .project-copy .section-kicker,
[dir="rtl"] .project-richtext,
[dir="rtl"] .project-richtext p,
[dir="rtl"] .project-richtext ul,
[dir="rtl"] .project-richtext ol {
  text-align: right;
  direction: rtl;
}
[dir="rtl"] .breadcrumbs {
  direction: rtl;
  justify-content: flex-start;
}
[dir="rtl"] .breadcrumbs span[aria-hidden="true"] {
  transform: scaleX(-1);
}
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.gallery-grid article,
.project-gallery-thumb {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.gallery-grid article.is-active,
.gallery-grid article:hover,
.gallery-grid article:focus-visible,
.project-gallery-thumb.is-active,
.project-gallery-thumb:hover,
.project-gallery-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(17, 138, 98, 0.35);
  box-shadow: 0 18px 34px rgba(17, 138, 98, 0.16);
}
.media-thumb {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-thumb .delete-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(31, 38, 48, 0.92);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.media-thumb .delete-icon.is-active { background: var(--primary); }
.gallery-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.gallery-admin-card {
  border: 1px solid #e3e8ef;
  padding: 12px;
  border-radius: 12px;
  display: grid;
  gap: 10px;
  background: #fff;
}
.mini-editor {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.mini-editor-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.mini-editor-toolbar button {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}
.mini-editor-surface {
  min-height: 220px;
  padding: 14px;
  outline: none;
}
.mini-editor-surface p {
  margin: 0 0 12px;
}
.detail-list { display: grid; gap: 12px; }
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.detail-row strong { color: var(--ink); }
.contact-card { display: grid; gap: 14px; }
.contact-box {
  flex-wrap: wrap;
}
.contact-box a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #d5dde8;
  background: #ffffff;
  font-weight: 700;
}
.map-card { align-content: start; }
.map-frame {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 96, 96, 0.05), rgba(31, 38, 48, 0.03));
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-frame-empty {
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.8;
}
.map-fallback {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: 340px;
}
.map-fallback strong {
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
}
.map-fallback span {
  color: var(--ink-soft);
}
.button-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(17, 138, 98, 0.14), rgba(39, 196, 140, 0.24));
  border: 1px solid rgba(17, 138, 98, 0.18);
  color: #118a62;
  font-weight: 700;
 }
.upload-progress {
  width: 100%;
  height: 12px;
  margin-top: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #edf1f7;
}
.upload-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), #ff8f8f);
}

.resale-section {
  padding-top: 8px;
}

.resale-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.resale-card {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.resale-card-media {
  display: block;
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 96, 96, 0.12), rgba(31, 38, 48, 0.12));
}

.resale-card-media img,
.resale-gallery-main img,
.resale-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resale-card-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.resale-price,
.resale-price-row strong {
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.resale-quick-meta,
.resale-stat-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.resale-quick-meta span,
.resale-stat-strip span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #f5f7fb;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.resale-detail-section {
  padding-top: 40px;
}

.resale-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
}

.resale-detail-main,
.resale-detail-sidebar {
  display: grid;
  gap: 22px;
}

.resale-gallery-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 220px;
  gap: 14px;
}

.resale-gallery-main,
.resale-gallery-thumb {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.resale-gallery-main {
  min-height: 430px;
}

.resale-gallery-side {
  display: grid;
  gap: 14px;
}

.resale-gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  cursor: pointer;
  min-height: 208px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.resale-gallery-thumb.is-active,
.resale-gallery-thumb:hover,
.resale-gallery-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(17, 138, 98, 0.35);
  box-shadow: 0 18px 34px rgba(17, 138, 98, 0.16);
}

.resale-price-row,
.resale-intro-card,
.resale-detail-card,
.resale-contact-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.resale-price-row {
  display: grid;
  gap: 14px;
  padding: 22px 24px;
}

.resale-intro-card,
.resale-detail-card,
.resale-contact-card {
  padding: 24px;
}

.resale-intro-card h1,
.resale-detail-card h3 {
  margin: 0 0 12px;
}

.resale-location-line {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.resale-detail-grid,
.resale-amenities-grid {
  display: grid;
  gap: 14px;
}

.resale-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resale-amenities-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resale-info-chip,
.resale-amenity-chip {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.resale-info-icon,
.resale-amenity-chip i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(17, 138, 98, 0.18), rgba(39, 196, 140, 0.26));
  color: #118a62;
  font-style: normal;
  font-size: 1rem;
  font-weight: 700;
}

.resale-info-copy {
  display: grid;
  gap: 4px;
}

.resale-info-copy strong {
  color: var(--ink);
}

.resale-info-copy span,
.resale-amenity-chip {
  color: var(--ink-soft);
  font-weight: 600;
}

.map-showcase-section {
  padding: 78px 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(255,96,96,0.12), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(31,38,48,0.12), transparent 30%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.map-insights-section {
  padding: 0 0 26px;
}
.map-guide-highlight {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.map-guide-highlight::after {
  content: "";
  display: block;
  width: 130px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(255, 96, 96, 0.18));
}
[dir="rtl"] .map-guide-highlight {
  font-family: "Cairo", "Montserrat", sans-serif;
  text-align: right;
}
[dir="rtl"] .map-guide-highlight::after {
  margin-right: 0;
  margin-left: auto;
  background: linear-gradient(90deg, rgba(255, 96, 96, 0.18), var(--primary));
}

.map-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.map-guide-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 96, 96, 0.32);
  background: linear-gradient(135deg, rgba(255, 96, 96, 0.1), rgba(255, 255, 255, 0.92));
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.75;
  font-weight: 600;
}
[dir="rtl"] .map-insights-grid {
  direction: rtl;
}

.map-insight-card {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  border-radius: 16px;
  background:
    linear-gradient(140deg, rgba(255,255,255,1), rgba(255,252,252,1)),
    radial-gradient(circle at 90% 8%, rgba(255,96,96,0.09), transparent 40%);
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(31,38,48,.06);
  transition: transform 240ms ease, box-shadow 240ms ease;
  animation: mapCardFloat 5.2s ease-in-out infinite;
}
.map-insight-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), rgba(255, 96, 96, 0.2));
}
.map-insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px rgba(31,38,48,.1);
}
.map-insight-card:nth-child(2) {
  animation-delay: .35s;
}
.map-insight-card:nth-child(3) {
  animation-delay: .7s;
}
[dir="rtl"] .map-insight-card::before {
  inset: 0 0 0 auto;
}

.map-insight-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Poppins", sans-serif;
  color: var(--primary-dark);
}
[dir="rtl"] .map-insight-card strong {
  font-family: "Cairo", "Montserrat", sans-serif;
}

.map-insight-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.92rem;
}
[dir="rtl"] .map-insight-card p,
[dir="rtl"] .map-showcase-side h3,
[dir="rtl"] .map-showcase-side p,
[dir="rtl"] .map-insights-section .section-kicker {
  text-align: right;
  font-family: "Cairo", "Montserrat", sans-serif;
}
[dir="rtl"] .map-insights-section .section-heading {
  align-items: flex-end;
}
[dir="rtl"] .map-insights-section .map-guide-highlight {
  order: 1;
}
[dir="rtl"] .map-insights-section .section-kicker {
  order: 2;
}

.map-rtl .map-insights-section,
.map-rtl .map-showcase-section,
.map-rtl .map-showcase-shell,
.map-rtl .map-insights-grid,
.map-rtl .map-showcase-side {
  direction: rtl;
}
.map-rtl .map-insights-section .section-heading,
.map-rtl .map-insights-section .section-kicker,
.map-rtl .map-insights-section .map-guide-highlight,
.map-rtl .map-insight-card,
.map-rtl .map-insight-card p,
.map-rtl .map-guide-note,
.map-rtl .map-showcase-side h3,
.map-rtl .map-showcase-side p {
  text-align: right !important;
}

.map-showcase-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 380px);
  gap: 20px;
  align-items: stretch;
}

.map-showcase-stage {
  position: relative;
  padding: 16px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(31,38,48,0.95), rgba(51,58,71,0.94));
  box-shadow: 0 30px 58px rgba(20, 27, 36, 0.28);
  transform-style: preserve-3d;
}

.map-showcase-stage::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
}

.project-locations-map {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.map-showcase-side {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-showcase-side h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 1.45rem;
}
[dir="rtl"] .map-showcase-side h3 {
  font-family: "Cairo", "Montserrat", sans-serif;
}

.map-showcase-side p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* Reversible map art mode: remove dark frame and blend map into site identity.
   Revoke quickly by removing `map-art-modern` from body class. */
.map-art-modern .map-showcase-shell {
  gap: 22px;
}
.map-art-modern .map-showcase-stage {
  padding: 14px;
  border-radius: 28px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 96, 96, 0.15), transparent 44%),
    radial-gradient(120% 120% at 100% 100%, rgba(17, 138, 98, 0.16), transparent 46%),
    linear-gradient(145deg, rgba(255,255,255,0.82), rgba(245,248,252,0.9));
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow:
    0 26px 50px rgba(26, 33, 45, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  isolation: isolate;
}
.map-art-modern .map-showcase-stage::before {
  inset: 8px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.68);
}
.map-art-modern .map-showcase-stage::after {
  content: "";
  position: absolute;
  inset: auto -8% -42% -8%;
  height: 62%;
  background: linear-gradient(90deg, rgba(255,96,96,0.12), rgba(17,138,98,0.12));
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  animation: mapGlowFloat 8s ease-in-out infinite;
}
.map-art-modern .project-locations-map {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow:
    0 16px 30px rgba(19, 26, 36, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.88);
}
.map-art-modern .project-locations-map .leaflet-container {
  background: linear-gradient(180deg, #f1f6fb, #eaf1f8);
}
.map-art-modern .project-locations-map .leaflet-pane {
  filter: saturate(1.08) contrast(1.02);
}
.map-art-modern .project-locations-map .leaflet-control-zoom a {
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 10px 18px rgba(30, 37, 48, 0.12);
}
.map-art-modern .impact-map-pin-core {
  animation: mapPinPulse 2.7s ease-in-out infinite;
}
.map-art-modern .impact-map-cluster-core {
  animation: mapClusterBreathe 3.2s ease-in-out infinite;
}

@keyframes mapGlowFloat {
  0% { transform: translateY(0px) scale(1); opacity: 0.75; }
  50% { transform: translateY(-10px) scale(1.03); opacity: 0.95; }
  100% { transform: translateY(0px) scale(1); opacity: 0.75; }
}

@keyframes mapPinPulse {
  0% { box-shadow: 0 10px 20px rgba(207, 65, 65, 0.35); }
  50% { box-shadow: 0 14px 26px rgba(207, 65, 65, 0.48); }
  100% { box-shadow: 0 10px 20px rgba(207, 65, 65, 0.35); }
}

@keyframes mapClusterBreathe {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .map-art-modern .map-showcase-stage::after,
  .map-art-modern .impact-map-pin-core,
  .map-art-modern .impact-map-cluster-core {
    animation: none !important;
  }
}

.impact-map-pin {
  background: transparent;
  border: 0;
}

.impact-map-pin-core {
  position: relative;
  display: inline-grid;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #ff6060, #cf4141);
  box-shadow: 0 10px 20px rgba(207, 65, 65, 0.35);
}

.impact-map-pin-core::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  inset: 7px;
}

.impact-map-cluster {
  background: transparent;
  border: 0;
}

.impact-map-cluster-core {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #118a62, #27c48c);
  border: 3px solid rgba(255,255,255,0.8);
  box-shadow: 0 16px 28px rgba(17, 138, 98, 0.28);
}

.impact-map-popup h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
}

.impact-map-popup p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.86rem;
}

.impact-map-popup ul {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
}

.impact-map-popup-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 10px;
  background: #ff6060;
  color: #fff;
  font-weight: 700;
}

.impact-map-popup.is-ar {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .impact-map-popup h4 {
  font-family: "Cairo", "Montserrat", sans-serif;
}

.leaflet-popup-content-wrapper {
  border-radius: 16px;
}

.leaflet-container {
  font-family: "Montserrat", "Cairo", sans-serif;
}

[dir="rtl"] .leaflet-container {
  font-family: "Cairo", "Montserrat", sans-serif;
}
[dir="rtl"] .leaflet-top.leaflet-left {
  left: auto;
  right: 10px;
}

@media (max-width: 980px) {
  .topbar-inner, .header-inner, .about-inner, .footer-top, .footer-bottom-inner,
  .promo-card, .project-layout { flex-direction: column; align-items: flex-start; }
  .news-grid, .clients-grid, .gallery-grid, .resale-grid, .resale-detail-grid, .resale-amenities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card { width: calc(50% - 11px); }
  .filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-sidebar { margin-left: 0; width: 100%; }
  .article-layout { flex-direction: column; }
  .article-sidebar { width: 100%; }
  .callback-shell,
  .footer-story { grid-template-columns: 1fr; }
  .card-one,
  .card-two { right: 18px; }
  .team-slide { grid-template-columns: 120px 1fr; }
  .team-slide-media { width: 120px; height: 148px; }
  .resale-detail-layout,
  .resale-gallery-shell,
  .map-showcase-shell,
  .map-insights-grid { grid-template-columns: 1fr; }
  .resale-gallery-main { min-height: 320px; }
  .resale-gallery-thumb { min-height: 180px; }
  .resale-gallery-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header { position: static; }
  .header-inner { padding: 14px 0; }
  .nav { width: 100%; justify-content: flex-start; gap: 18px 22px; }
  [dir="rtl"] .topbar-inner,
  [dir="rtl"] .header-inner,
  [dir="rtl"] .about-inner,
  [dir="rtl"] .footer-top,
  [dir="rtl"] .footer-bottom-inner,
  [dir="rtl"] .promo-card,
  [dir="rtl"] .project-layout { align-items: flex-end; }
  [dir="rtl"] .nav { justify-content: flex-end; }
  .project-copy,
  .detail-sidebar,
  .article-main,
  .article-sidebar { width: 100%; flex: 1 1 100%; }
  .detail-sidebar { margin-left: 0; }
  .callback-shell { grid-template-columns: 1fr 1fr; }
  .callback-form { grid-column: 1 / -1; transform: none; }
  .footer-story { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .topbar-inner { align-items: flex-start; }
  .topbar-item,
  .topbar-actions { width: 100%; }
  .topbar-actions { gap: 12px; }
  .hero-copy,
  .page-hero-copy,
  .project-hero-copy { padding: 56px 0 56px 0; max-width: 100%; }
  .hero,
  .page-hero,
  .project-hero { min-height: 480px; }
  .callback-shell { grid-template-columns: 1fr; padding: 26px; }
  .callback-scene,
  .callback-copy,
  .callback-form { width: 100%; }
  .callback-copy { order: 1; }
  .callback-form { order: 2; }
  .callback-scene { order: 3; min-height: 300px; }
  .footer-top,
  .footer-bottom-inner { align-items: flex-start; }
  .article-header-card,
  .article-richtext,
  .article-share,
  .article-next,
  .article-side-summary,
  .project-copy,
  .detail-sidebar,
  .about-copy,
  .about-panel { padding-left: 22px; padding-right: 22px; }
}

@media (max-width: 680px) {
  body.menu-open { overflow: hidden; }
  .menu-toggle { display: inline-flex; }
  .nav, .topbar-actions, .hero-buttons { width: 100%; flex-wrap: wrap; }
  .header-inner { align-items: center; }
  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0 4px;
  }
  [dir="rtl"] .nav { align-items: flex-end; }
  .nav.is-open { display: flex; }
  .hero, .page-hero, .project-hero { min-height: 520px; background-position: 70% center; }
  .news-grid, .clients-grid, .gallery-grid, .resale-grid, .resale-detail-grid, .resale-amenities-grid { grid-template-columns: 1fr; }
  .button, .project-card, .filter-panel { width: 100%; }
  .filter-panel { grid-template-columns: 1fr; }
  .gallery-main { min-height: 280px; }
  .news-image, .project-card-media { min-height: 190px; }
  .article-cover { min-height: 240px; }
  .callback-shell { padding: 22px; }
  .callback-scene { min-height: 260px; }
  .callback-actions { flex-direction: column; }
  .callback-actions .button,
  .callback-actions a { width: 100%; }
  .callback-card { min-width: 140px; padding: 12px; }
  .card-one { top: 18px; right: 14px; }
  .card-two { bottom: 18px; right: 18px; }
  .footer-top,
  .footer-bottom-inner { flex-direction: column; }
  .team-slider-track { min-height: 430px; }
  .resale-card-media { min-height: 210px; }
  .topbar { font-size: 0.8rem; }
  .brand img,
  .footer-brand img { width: 150px; }
  .nav { gap: 12px 18px; font-size: 0.88rem; }
  .nav a { padding: 4px 0; }
  .project-hero-meta,
  .project-stats,
  .detail-tags,
  .project-card-tags,
  .footer-about-badges,
  .callback-points,
  .footer-social { gap: 8px; }
  .detail-row { flex-direction: column; gap: 6px; }
  .contact-box a,
  .button-link { width: 100%; justify-content: center; }
  .gallery-grid { gap: 12px; }
  .gallery-grid article,
  .project-gallery-thumb { min-height: 130px; }
  .resale-gallery-side { grid-template-columns: 1fr; }
  .team-slide {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    align-content: start;
  }
  .team-slide-media { width: 180px; height: 210px; }
  .team-slide-copy { justify-items: center; }
}

@media (max-width: 480px) {
  :root { --container: min(1180px, calc(100vw - 24px)); }
  .hero h1,
  .page-hero h1,
  .project-hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .section-heading h2,
  .about-copy h2,
  .promo-card h2,
  .project-copy h2,
  .article-intro h2 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .news-body,
  .project-card-body,
  .contact-card,
  .detail-sidebar,
  .project-copy,
  .filter-panel { padding: 18px; }
  .callback-shell { padding: 18px; border-radius: 24px; }
  .callback-form { padding: 18px; border-radius: 20px; }
  .footer-about,
  .footer-glass,
  .about-copy,
  .about-panel { padding: 22px; }
  .news-image,
  .project-card-media,
  .article-cover,
  .gallery-main,
  .resale-gallery-main { min-height: 220px; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}
@keyframes mapCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .map-insight-card {
    animation: none !important;
  }
}

@keyframes chatbot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.chatbot-widget {
  position: fixed;
  right: 20px;
  bottom: 102px;
  z-index: 35;
  display: grid;
  gap: 8px;
  justify-items: end;
}
[dir="rtl"] .chatbot-widget {
  right: auto;
  left: 20px;
  justify-items: start;
}

.chatbot-quick-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}
[dir="rtl"] .chatbot-quick-actions {
  justify-items: start;
}

.chatbot-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(30, 37, 46, .94);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(22, 28, 35, .2);
  animation: chatbot-float 3.4s ease-in-out infinite;
}
[dir="rtl"] .chatbot-quick-link {
  padding: 0 8px 0 12px;
  direction: rtl;
}
.chatbot-quick-link.is-phone {
  animation-delay: .4s;
}
.chatbot-quick-link:hover,
.chatbot-quick-link:focus-visible {
  background: rgba(47, 56, 67, .98);
}
.chatbot-quick-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6060, #cf4141);
  color: #fff;
}
.chatbot-quick-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.chatbot-quick-link.is-whatsapp .chatbot-quick-icon {
  background: linear-gradient(135deg, #18a96f, #0f7f55);
}

.chatbot-launcher {
  position: relative;
  width: 76px;
  height: 76px;
  border: 0;
  background: transparent;
  cursor: pointer;
  animation: chatbot-float 3.4s ease-in-out infinite;
}

.chatbot-launch-copy {
  max-width: 220px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(30, 37, 46, .94);
  color: #fff;
  font: 600 12px/1.4 inherit;
  box-shadow: 0 16px 34px rgba(22, 28, 35, .18);
  cursor: pointer;
  text-align: start;
}
[dir="rtl"] .chatbot-launch-copy {
  text-align: right;
}

.chatbot-planet,
.chatbot-ring,
.chatbot-core {
  position: absolute;
  border-radius: 50%;
}

.chatbot-planet {
  inset: 0;
  background: radial-gradient(circle at 30% 30%, #ff8b8b 0%, #ff6060 28%, #361f24 100%);
  box-shadow: 0 18px 34px rgba(255, 96, 96, 0.28);
}

.chatbot-ring {
  inset: 8px -8px -8px 8px;
  border: 2px solid rgba(255,255,255,.42);
  transform: rotate(-16deg);
}

.chatbot-core {
  inset: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
}

.chatbot-eye {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1f2630;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 16px);
  width: min(390px, calc(100vw - 28px));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(30, 37, 46, .98), rgba(55, 30, 34, .98));
  box-shadow: 0 30px 60px rgba(22, 28, 35, .24);
  overflow: hidden;
}
[dir="rtl"] .chatbot-panel {
  right: auto;
  left: 0;
}

.chatbot-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 18px 18px 14px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
[dir="rtl"] .chatbot-header {
  text-align: right;
}

.chatbot-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatbot-header span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.72);
  font-size: .84rem;
}

.chatbot-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
}

.chatbot-close {
  justify-self: end;
}

.chatbot-header-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.chatbot-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.chatbot-start,
.chatbot-body,
.chat-page-card {
  padding: 18px;
}

.chatbot-start p,
.chat-page-card p {
  margin: 0 0 16px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
}
[dir="rtl"] .chatbot-start p,
[dir="rtl"] .chat-page-card p {
  text-align: right;
}

.chatbot-start-grid {
  display: grid;
  gap: 10px;
}

.chatbot-start-grid input,
.chatbot-composer input,
.chat-page-card input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font: inherit;
}

.chatbot-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
[dir="rtl"] .chatbot-actions {
  justify-content: flex-start;
}

.button-small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 12px;
}

.chatbot-actions-top {
  margin-top: 0;
  margin-bottom: 14px;
}

.chatbot-actions-stacked {
  flex-direction: column;
}

.chatbot-messages {
  display: grid;
  gap: 12px;
  max-height: 380px;
  overflow: auto;
  padding-right: 4px;
}

.chatbot-message {
  display: grid;
  gap: 8px;
}

.chatbot-message-user {
  justify-items: end;
}
[dir="rtl"] .chatbot-message-user {
  justify-items: start;
}

.chatbot-bubble {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.7;
  font-size: .94rem;
}

.chatbot-message-bot .chatbot-bubble {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.chatbot-message-user .chatbot-bubble {
  background: linear-gradient(135deg, #118a62, #27c48c);
  color: #fff;
}

.chatbot-link-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
[dir="rtl"] .chatbot-link-list {
  justify-content: flex-start;
}

.chatbot-link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
}

.chatbot-card-list {
  display: grid;
  gap: 10px;
}

.chatbot-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.1);
  color: #fff;
}
[dir="rtl"] .chatbot-card {
  grid-template-columns: 1fr 84px;
}

.chatbot-card-media {
  min-height: 84px;
  background-size: cover;
  background-position: center;
}

.chatbot-card-body {
  display: grid;
  gap: 6px;
  padding: 10px 12px 10px 0;
  align-content: center;
}
[dir="rtl"] .chatbot-card-body {
  padding: 10px 0 10px 12px;
  text-align: right;
}

.chatbot-card-body strong {
  font-size: .9rem;
  line-height: 1.35;
}

.chatbot-card-meta,
.chatbot-card-price {
  font-size: .78rem;
  color: rgba(255,255,255,.78);
}

.chatbot-card-price {
  color: #fff;
  font-weight: 700;
}

.chatbot-inline-button {
  width: fit-content;
}

.chatbot-suggestion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chatbot-suggestion-chip {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  color: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.chatbot-suggestion-chip:hover {
  background: rgba(255,255,255,.18);
}

.button.ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
}

.chatbot-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
}
[dir="rtl"] .chatbot-composer {
  grid-template-columns: auto minmax(0, 1fr);
}

.chat-page-section {
  padding: 72px 0;
}

.chat-page-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
}

.chat-page-card,
.chatbot-body-page {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(30, 37, 46, .98), rgba(55, 30, 34, .98));
  box-shadow: var(--shadow);
}

.chatbot-body-page .chatbot-messages {
  min-height: 420px;
  max-height: 520px;
}

@media (max-width: 980px) {
  .chat-page-shell { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .chatbot-widget {
    right: 14px;
    bottom: 90px;
  }
  [dir="rtl"] .chatbot-widget {
    right: auto;
    left: 14px;
  }
  .chatbot-launcher {
    width: 66px;
    height: 66px;
  }
  .chatbot-launch-copy {
    max-width: 180px;
    font-size: 11px;
  }
  .chatbot-quick-link {
    min-height: 34px;
    padding: 0 10px 0 6px;
    font-size: 11px;
  }
  .chatbot-quick-icon {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .chatbot-composer {
    grid-template-columns: 1fr;
  }
  [dir="rtl"] .chatbot-panel {
    left: 0;
    right: auto;
  }
}

/* Arabic index alignment hard-fix */
body.is-ar .projects-section .section-heading,
body.is-ar .map-showcase-section .section-heading,
body.is-ar .news-section .section-heading,
body.is-ar .clients-section .section-heading {
  align-items: flex-end !important;
  text-align: right !important;
}
body.is-ar .projects-section .section-heading .section-kicker,
body.is-ar .projects-section .section-heading h2,
body.is-ar .projects-section .section-heading p,
body.is-ar .map-showcase-section .section-heading .section-kicker,
body.is-ar .map-showcase-section .section-heading h2,
body.is-ar .map-showcase-section .section-heading p,
body.is-ar .news-section .section-heading .section-kicker,
body.is-ar .news-section .section-heading h2,
body.is-ar .news-section .section-heading p,
body.is-ar .clients-section .section-heading .section-kicker,
body.is-ar .clients-section .section-heading h2,
body.is-ar .clients-section .section-heading p {
  width: 100%;
  text-align: right !important;
}

/* Keep floating contact/chatbot on RIGHT in both EN and AR */
[dir="rtl"] .quick-contact-fab,
body.is-ar .quick-contact-fab {
  right: 22px !important;
  left: auto !important;
}
[dir="rtl"] .quick-contact-menu,
body.is-ar .quick-contact-menu {
  inset: auto 0 78px auto !important;
}

[dir="rtl"] .chatbot-widget,
body.is-ar .chatbot-widget {
  right: 20px !important;
  left: auto !important;
  justify-items: end !important;
}
[dir="rtl"] .chatbot-quick-actions,
body.is-ar .chatbot-quick-actions {
  justify-items: end !important;
}
[dir="rtl"] .chatbot-panel,
body.is-ar .chatbot-panel {
  right: 0 !important;
  left: auto !important;
}

@media (max-width: 680px) {
  [dir="rtl"] .chatbot-widget,
  body.is-ar .chatbot-widget {
    right: 14px !important;
    left: auto !important;
  }
  [dir="rtl"] .chatbot-panel,
  body.is-ar .chatbot-panel {
    right: 0 !important;
    left: auto !important;
  }
}

/* Chatbot keeps English-style layout in both Arabic and English */
.chatbot-widget,
.chatbot-panel,
.chatbot-header,
.chatbot-body,
.chatbot-messages,
.chatbot-composer {
  direction: ltr !important;
}
.chatbot-header,
.chatbot-start p,
.chatbot-bubble,
.chatbot-composer input {
  text-align: left !important;
}
