:root {
  --al-black: #0c0e12;
  --al-ink: #14171d;
  --al-muted: #6b7280;
  --al-line: #e2e5eb;
  --al-soft: #eceef2;
  --al-pearl: #f5f6f8;
  --al-red: #c8102e;
  --al-red-dark: #9a0c23;
  --al-red-soft: rgba(200, 16, 46, 0.1);
  --al-white: #ffffff;
  --al-shadow: 0 18px 40px rgba(12, 14, 18, 0.08);
  --al-shadow-soft: 0 8px 22px rgba(12, 14, 18, 0.05);
  --rc-accent: var(--al-red);
  --rc-accent-dark: var(--al-red-dark);
  --rc-ink: var(--al-ink);
  --rc-muted: var(--al-muted);
  --rc-line: var(--al-line);
  --rc-soft: var(--al-soft);
  --rc-gold: var(--al-red);
  --font-display: "Cairo", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Cairo", "Segoe UI", sans-serif;
  --radius: 0.35rem;
  --radius-sm: 0.2rem;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--al-ink);
  background:
    linear-gradient(90deg, rgba(12, 14, 18, 0.03) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(var(--al-pearl), var(--al-pearl));
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

body.locale-ar,
body.locale-ar .brand-mark,
body.locale-ar h1,
body.locale-ar h2,
body.locale-ar h3,
body.locale-ar h4,
body.locale-ar .display-font,
body.locale-ar .navbar-ramah .nav-link,
body.locale-ar .btn {
  font-family: var(--font-display);
}

h1, h2, h3, h4, .brand-mark, .display-font {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  font-weight: 800;
}

a { color: var(--al-red); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--al-red-dark); }

.bg-soft, .surface-band {
  background: var(--al-soft);
  border-block: 1px solid var(--al-line);
}
.surface-band::before { display: none; }
.text-muted-rc { color: var(--al-muted) !important; }

/* Slim industrial top ribbon */
.topbar {
  background: var(--al-black);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--al-red);
}
.topbar-inner {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topbar-cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}
.topbar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 0;
  border-radius: 0;
  transition: color 0.2s var(--ease);
}
.topbar-chip i { color: var(--al-red); font-size: 0.78rem; }
.topbar-chip:hover { color: #fff; background: none; }
.topbar-chip.muted { color: rgba(255, 255, 255, 0.55); cursor: default; }

.lang-pill {
  display: inline-flex;
  padding: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  gap: 0;
  overflow: hidden;
}
.lang-pill a {
  min-width: 1.85rem;
  text-align: center;
  padding: 0.2rem 0.5rem;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-pill a.active,
.lang-pill a:hover {
  background: var(--al-red);
  color: #fff;
}
.nav-panel .lang-pill {
  background: transparent;
  border-color: var(--al-line);
}
.nav-panel .lang-pill a { color: var(--al-muted); }
.nav-panel .lang-pill a.active {
  background: var(--al-ink);
  color: #fff;
}
.lang-pill-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}

/* Solid atelier header — not glass, not floating card */
.nav-shell {
  z-index: 1040;
  background: #fff;
  border-bottom: 1px solid var(--al-line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  transition: box-shadow 0.3s var(--ease);
}
.nav-shell.is-scrolled {
  box-shadow: 0 4px 18px rgba(12, 14, 18, 0.06);
}
.navbar-ramah { background: transparent; padding: 0.55rem 0; }
.nav-panel {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.navbar-ramah .navbar-collapse {
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem 1.4rem;
}
@media (min-width: 992px) {
  .navbar-expand-lg.navbar-ramah .navbar-collapse {
    display: flex !important;
    flex: 1 1 auto;
    visibility: visible !important;
    height: auto !important;
  }
}
@media (max-width: 991.98px) {
  .navbar-ramah .navbar-collapse { flex-basis: 100%; }
  .navbar-ramah .navbar-collapse.collapse:not(.show) { display: none !important; }
  .navbar-ramah .navbar-collapse.collapsing,
  .navbar-ramah .navbar-collapse.collapse.show { display: flex !important; }
}

.brand-mark {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--al-ink);
  line-height: 1.05;
}
.brand-mark .brand-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--al-red);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-logo {
  width: 118px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.brand-logo-footer {
  width: 140px;
  height: 58px;
  background: #fff;
  border-radius: 0;
  padding: 6px 8px;
}
.navbar-brand.brand-mark { gap: 0.7rem !important; margin: 0; }

/* Editorial tracked nav — left accent bar when active */
.nav-rail {
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.navbar-ramah .nav-link {
  color: var(--al-ink);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 0.85rem !important;
  border-radius: 0;
  opacity: 0.7;
  position: relative;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.navbar-ramah .nav-link:hover {
  color: var(--al-ink);
  background: var(--al-soft);
  opacity: 1;
}
.navbar-ramah .nav-link.active {
  color: var(--al-ink);
  background: transparent;
  box-shadow: none;
  opacity: 1;
  font-weight: 800;
}
.navbar-ramah .nav-link.active::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 2px;
  background: var(--al-red);
}
.navbar-ramah .nav-link.active::after { display: none; }

.nav-actions { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-grid;
  place-items: center;
  color: var(--al-ink);
  background: transparent;
  border: 1px solid var(--al-line);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-icon-btn:hover {
  color: #fff;
  border-color: var(--al-red);
  background: var(--al-red);
  transform: none;
}
.nav-icon-wa:hover { color: #fff; border-color: #128c7e; background: #128c7e; }

.nav-burger {
  border: 1px solid var(--al-line);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  gap: 5px;
  background: #fff;
}
.nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 0;
  background: #14171d;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.navbar-toggler-icon { display: none; }

/* Architectural buttons — squared, no pill language */
.btn {
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  border-radius: var(--radius) !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.btn-ramah {
  background: var(--al-red);
  border: 1px solid var(--al-red);
  color: #fff;
  padding: 0.82rem 1.35rem;
  box-shadow: none;
}
.btn-ramah:hover {
  background: var(--al-red-dark);
  border-color: var(--al-red-dark);
  color: #fff;
  transform: none;
  box-shadow: none;
}
.btn-outline-ramah {
  border: 1px solid var(--al-ink);
  color: var(--al-ink);
  padding: 0.8rem 1.3rem;
  background: transparent;
}
.btn-outline-ramah:hover {
  background: var(--al-ink);
  border-color: var(--al-ink);
  color: #fff;
  transform: none;
}
.btn-outline-light {
  border-radius: var(--radius) !important;
  border-width: 1px;
  font-weight: 700;
  background: transparent;
  backdrop-filter: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn-outline-light:hover {
  transform: none;
  background: #fff;
  color: #0c0e12;
}
.nav-cta {
  border-radius: var(--radius) !important;
  padding-inline: 1.1rem !important;
  letter-spacing: 0.08em;
}

/* Gallery hero — framed panel with a refined cinematic touch */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(12, 14, 18, 0.9) 0%, rgba(12, 14, 18, 0.52) 46%, rgba(12, 14, 18, 0.35) 68%, rgba(12, 14, 18, 0.7) 100%),
    var(--hero-image) center/cover no-repeat;
  border-bottom: 3px solid var(--al-red);
}
.hero::before {
  content: "";
  position: absolute;
  inset-inline-start: 1.1rem;
  top: 1.1rem;
  width: 64px;
  height: 64px;
  border-inline-start: 2px solid var(--al-red);
  border-top: 2px solid var(--al-red);
  z-index: 3;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: 1.1rem;
  bottom: 1.1rem;
  width: 64px;
  height: 64px;
  border-inline-end: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  z-index: 3;
  pointer-events: none;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 320px at 18% 78%, rgba(200, 16, 46, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(12, 14, 18, 0.12) 0%, transparent 42%, rgba(12, 14, 18, 0.42) 100%);
  animation: veilSoft 16s ease-in-out infinite alternate;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  width: 100%;
  padding: 5.2rem 0 4.6rem;
  z-index: 4;
}
.hero-copy {
  max-width: 40rem;
  padding: 1.7rem 1.7rem 1.55rem;
  border-inline-start: 3px solid var(--al-red);
  background: linear-gradient(135deg, rgba(12, 14, 18, 0.62), rgba(12, 14, 18, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-inline-start: 3px solid var(--al-red);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: heroPanelIn 0.9s var(--ease) both;
}
.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.95rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0;
  background: rgba(200, 16, 46, 0.92);
  border: 0;
  box-shadow: none;
  position: relative;
}
.brand-kicker::after {
  content: "";
  display: none;
}
.hero h1 {
  font-size: clamp(2.35rem, 4.8vw, 3.55rem);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 0.9rem;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 32rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.45rem;
}
.hero-actions .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
}
.hero-actions .btn-outline-light:hover {
  background: #fff;
  color: #0c0e12;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-meta i { color: rgba(255, 140, 150, 0.95); }

.section { padding: 4.5rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--al-line);
}
.section-title {
  font-weight: 800;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.section-title::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--al-red);
  flex: 0 0 auto;
}
.section-title::after { display: none; }
.section-lead {
  color: var(--al-muted);
  max-width: 36rem;
  margin-bottom: 1.6rem;
  font-size: 0.98rem;
}
.section-head .section-lead { margin-bottom: 0; }

/* Flat gallery cards + photo matte frames */
.car-card {
  border: 1px solid var(--al-line);
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  height: 100%;
  box-shadow: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.car-card:hover {
  transform: none;
  box-shadow: var(--al-shadow-soft);
  border-color: var(--al-ink);
}
.car-card .thumb {
  display: block;
  position: relative;
  background:
    linear-gradient(145deg, #1a1d24 0%, #0c0e12 55%, #171a21 100%);
  padding: 0.85rem 0.85rem 0.95rem;
  overflow: hidden;
  text-decoration: none;
}
.car-card .thumb::before,
.car-card .thumb::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 3;
  pointer-events: none;
  transition: border-color 0.25s var(--ease);
}
.car-card .thumb::before {
  top: 0.45rem;
  inset-inline-start: 0.45rem;
  border-top: 2px solid rgba(200, 16, 46, 0.85);
  border-inline-start: 2px solid rgba(200, 16, 46, 0.85);
}
.car-card .thumb::after {
  bottom: 0.45rem;
  inset-inline-end: 0.45rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  border-inline-end: 2px solid rgba(255, 255, 255, 0.35);
  background: none;
  opacity: 1;
}
.car-card:hover .thumb::before { border-color: var(--al-red); }
.car-card:hover .thumb::after { border-color: rgba(255, 255, 255, 0.65); }

.car-card .thumb-mat {
  display: block;
  background: #f4f5f7;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(12, 14, 18, 0.06);
}
.car-card .thumb-frame {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe2e8;
  border: 1px solid rgba(12, 14, 18, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 10px 24px rgba(0, 0, 0, 0.22);
}
.car-card .thumb-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(12, 14, 18, 0.28));
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.car-card:hover .thumb-frame::after { opacity: 1; }
.car-card .thumb img,
.car-card .thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease), filter 0.35s var(--ease);
  filter: saturate(0.95) contrast(1.03);
}
.car-card .thumb > img {
  aspect-ratio: 16 / 10;
}
.car-card:hover .thumb img,
.car-card:hover .thumb > img { transform: scale(1.045); filter: saturate(1.05) contrast(1.05); }
.car-card .body {
  padding: 1.1rem 1.15rem 1.2rem;
  border-top: 1px solid var(--al-line);
}

.listing-chip {
  position: absolute;
  top: 1.15rem;
  inset-inline-end: 1.15rem;
  z-index: 4;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.55rem;
  border-radius: 0;
  color: #fff;
  background: var(--al-red);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
.listing-chip.sale {
  background: var(--al-black);
  border-color: rgba(255, 255, 255, 0.12);
}
.listing-chip.rent {
  background: var(--al-red);
}
.listing-type-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 1.35rem;
  border: 1px solid var(--al-line);
  background: #fff;
}
.listing-type-tabs a {
  padding: 0.55rem 1.05rem;
  border-radius: 0;
  border: 0;
  border-inline-end: 1px solid var(--al-line);
  color: var(--al-muted);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.2s var(--ease);
}
.listing-type-tabs a:last-child { border-inline-end: 0; }
.listing-type-tabs a:hover {
  color: var(--al-ink);
  border-color: transparent;
}
.listing-type-tabs a.active {
  background: var(--al-ink);
  border-color: transparent;
  color: #fff;
}
.listing-type-tabs a.active.rent {
  background: var(--al-red);
  border-color: transparent;
}

.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--al-ink);
}
.price-old {
  text-decoration: line-through;
  color: var(--al-muted);
  font-size: 0.85rem;
  margin-inline-start: 0.35rem;
}
.badge-offer {
  background: var(--al-ink);
  color: #fff;
  font-weight: 700;
  border-radius: 0;
  padding: 0.3rem 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.category-tile, .brand-tile {
  display: block;
  border: 1px solid var(--al-line);
  border-radius: 0;
  padding: 1.4rem 1rem;
  text-align: center;
  color: var(--al-ink);
  background: #fff;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  height: 100%;
  box-shadow: none;
}
.category-tile:hover, .brand-tile:hover {
  border-color: var(--al-red);
  transform: none;
  color: var(--al-ink);
  box-shadow: none;
  background: #fff;
}
.tile-icon {
  color: var(--al-red);
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  display: grid !important;
  place-items: center;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--al-line);
}

.why-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--al-line);
  border-radius: 0;
  padding: 1.6rem 1.4rem 1.6rem 1.55rem;
  height: 100%;
  box-shadow: none;
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.why-item:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--al-ink);
}
.why-item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 0;
  background: var(--al-red);
}
html[dir="rtl"] .why-item { padding-right: 1.55rem; padding-left: 1.4rem; }

.page-hero {
  background: var(--al-soft);
  color: var(--al-ink);
  border-bottom: 3px solid var(--al-red);
  padding: 2.8rem 0 2rem;
}
.page-hero .text-muted-rc { color: var(--al-muted) !important; }
.page-hero h1 { color: var(--al-ink); letter-spacing: -0.01em; }

.cta-banner {
  padding: 2.2rem 2rem;
  border-radius: 0;
  color: #fff;
  background: var(--al-black);
  box-shadow: none;
  position: relative;
  overflow: hidden;
  border-inline-start: 4px solid var(--al-red);
}
.cta-banner::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  inset-inline-end: -40px;
  top: -50px;
}

.footer-ramah {
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  background: var(--al-black);
  color: #a8adb8;
  padding: 0 0 1.2rem;
}
.footer-ramah::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--al-red);
}
.footer-glow { display: none; }
.footer-ramah .container { position: relative; z-index: 1; }
.footer-ramah a { color: #fff; opacity: 0.88; text-decoration: none; }
.footer-ramah a:hover { opacity: 1; color: #fff; }
.footer-ramah h5, .footer-ramah .brand-mark { color: #fff; }
.footer-ramah h5 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 800;
  opacity: 0.9;
}

.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 2.2rem 0 2rem;
  padding: 1.5rem 1.6rem;
  border-radius: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: none;
}
.footer-cta-title {
  color: #fff;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  margin: 0 0 0.3rem;
}
.footer-cta-text { color: rgba(180, 186, 196, 0.9); max-width: 34rem; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.75fr 1.15fr;
  gap: 2rem 1.5rem;
  padding-bottom: 1.7rem;
}
.footer-note { margin: 1rem 0 1.2rem; max-width: 28rem; color: rgba(168, 173, 184, 0.95); line-height: 1.7; }
.footer-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--al-red);
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(220, 224, 232, 0.88);
  opacity: 1;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-links a::before {
  content: "";
  width: 8px;
  height: 1px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.2s var(--ease), width 0.2s var(--ease);
}
.footer-links a:hover {
  color: #fff;
  transform: none;
}
.footer-links a:hover::before { background: var(--al-red); width: 14px; }

.footer-contact-card {
  display: grid;
  gap: 0.25rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(220, 224, 232, 0.9);
  transition: color 0.2s var(--ease);
}
.footer-contact-row i { color: var(--al-red); margin-top: 0.12rem; }
.footer-contact-row:hover { background: transparent; color: #fff; }
.footer-contact-row.static:hover { background: transparent; }

.social-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social-row a:hover {
  background: var(--al-red);
  border-color: var(--al-red);
  color: #fff;
  transform: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 0.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: rgba(150, 156, 168, 0.9);
}
.footer-bottom-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }
.footer-admin {
  padding: 0.3rem 0.7rem;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-admin:hover { border-color: var(--al-red); color: #fff; }

.filter-panel {
  border: 1px solid var(--al-line);
  border-radius: 0;
  padding: 1.25rem;
  background: #fff;
  box-shadow: none;
}
.spec-grid dt { color: var(--al-muted); font-weight: 600; }
.spec-grid dd { font-weight: 700; }

.form-control, .form-select {
  border-radius: var(--radius);
  border-color: var(--al-line);
  padding: 0.68rem 0.85rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--al-red);
  box-shadow: 0 0 0 0.15rem rgba(200, 16, 46, 0.1);
}

.wa-float {
  position: fixed;
  inset-inline-end: 1.2rem;
  bottom: 1.2rem;
  width: 52px;
  height: 52px;
  border-radius: 0;
  background: #1ebe57;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1050;
  transition: background 0.2s var(--ease);
}
.wa-float:hover { color: #fff; transform: none; background: #17a34a; }

.admin-shell { min-height: 100vh; background: var(--al-soft); }
.admin-sidebar {
  width: 260px;
  background: var(--al-black);
  color: #c8ccd4;
  min-height: 100vh;
  position: sticky;
  top: 0;
  border-inline-end: 3px solid var(--al-red);
}
.admin-sidebar a {
  display: block;
  color: #c8ccd4;
  padding: 0.65rem 1rem;
  border-radius: 0;
  margin: 0.08rem 0.55rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  font-size: 0.86rem;
  font-weight: 600;
}
.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: var(--al-red);
  color: #fff;
}
.admin-sidebar .lang-switch a { color: #fff; display: inline; padding: 0; margin: 0; }
.admin-sidebar .lang-switch a.active { color: #ff8c92; }
.admin-main { flex: 1; }
.stat-card {
  background: #fff;
  border: 1px solid var(--al-line);
  border-radius: 0;
  padding: 1.2rem;
  box-shadow: none;
  border-top: 3px solid var(--al-red);
}
.stat-card .value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
}
.table thead th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--al-muted);
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(12, 14, 18, 0.04) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--al-soft);
}
.login-card {
  width: min(420px, 92vw);
  background: #fff;
  border: 1px solid var(--al-line);
  border-radius: 0;
  border-top: 3px solid var(--al-red);
  padding: 2rem;
  box-shadow: none;
}

.fade-up { animation: fadeUp 0.7s var(--ease) both; }
.reveal { animation: fadeUp 0.65s var(--ease) both; }
.soft-enter {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.soft-enter-in { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes veilSoft {
  from { opacity: 0.85; }
  to { opacity: 1; }
}
@keyframes heroPanelIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .soft-enter, .soft-enter-in, .fade-up, .reveal, .hero-veil, .hero-copy {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 991px) {
  .admin-sidebar { width: 100%; min-height: auto; position: relative; border-inline-end: 0; border-bottom: 3px solid var(--al-red); }
  .hero { min-height: 580px; align-items: center; }
  .hero::before, .hero::after { width: 48px; height: 48px; }
  .section { padding: 3.4rem 0; }
  .navbar-ramah .navbar-collapse {
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--al-line);
    flex-direction: column;
    align-items: stretch !important;
  }
  .nav-rail { width: 100%; display: grid !important; gap: 0; }
  .navbar-ramah .nav-link {
    border-radius: 0;
    padding: 0.75rem 0.85rem !important;
    letter-spacing: 0.06em;
  }
  .navbar-ramah .nav-link.active {
    background: var(--al-soft);
    color: var(--al-ink);
  }
  .navbar-ramah .nav-link.active::before {
    top: 0;
    bottom: 0;
  }
  .nav-actions { width: 100%; }
  .nav-cta { flex: 1; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
  .brand-logo { width: 104px; height: 44px; }
  .btn-ramah, .btn-outline-ramah, .btn-outline-light { width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-inline-start: 1rem; }
}
