
:root {
  --navy: #102746;
  --blue: #173d68;
  --gold: #c5a15d;
  --gold-light: #ead9b2;
  --red: #a93636;
  --white: #ffffff;
  --bg: #f3f6fa;
  --text: #1b2c42;
  --muted: #718096;
  --border: #e1e7ef;
  --shadow: 0 12px 32px rgba(16, 39, 70, .09);
}

* {
  box-sizing: border-box;
}

h1, h2, h3, h4,
.brand small,
.topbar nav,
.btn,
.eyebrow {
  font-family: "Cairo", "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  direction: rtl;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", "Cairo", Tahoma, Arial, sans-serif;
  line-height: 1.8;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 14px clamp(16px, 5%, 72px);
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 5px 20px #10274620;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: 3px;
  font-size: 21px;
  line-height: 1.5;
}

.brand small {
  color: var(--gold-light);
  font-size: 11px;
}

.topbar nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
}

.topbar nav a {
  color: #e6edf6;
  padding: 6px 0;
}

.topbar nav a:hover,
.topbar nav a.active {
  color: var(--gold-light);
}

.top-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  transition: .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-gold {
  background: var(--gold);
  color: #17253a;
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: #ffffff65;
}

.btn-dark {
  background: var(--navy);
  color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 82px) clamp(20px, 7%, 90px);
  color: white;
  background:
    radial-gradient(ellipse at 12% 20%, #31577f 0, transparent 45%),
    linear-gradient(125deg, #0b1d35, #173d68 65%, #102746);
  border-bottom: 5px solid var(--gold);
}

.hero::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  left: -90px;
  bottom: -140px;
  border: 1px solid #c5a15d65;
  border-radius: 50%;
  box-shadow: 0 0 0 25px #c5a15d0b,
              0 0 0 50px #c5a15d0b;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: bold;
}

.hero h1 {
  margin: 8px 0 14px;
  font-family: "Cairo", "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: clamp(25px, 3.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.4;
}

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

.hero-content > p:last-child {
  max-width: 650px;
  color: #e0e8f2;
  font-size: 15px;
}

.search-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(2, minmax(145px, 1fr)) auto;
  align-items: end;
  gap: 14px;
  width: min(1120px, 92%);
  margin: -25px auto 28px;
  padding: 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.search-panel label,
#offerForm > label {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
  font-size: 12px;
  font-weight: bold;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--text);
  background: #fff;
  border: 1px solid #d7e0eb;
  border-radius: 8px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px #c5a15d20;
}

.section,
.how-section {
  padding: clamp(30px, 4vw, 48px) clamp(16px, 6%, 76px);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.section-heading h2,
.how-section > h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(23px, 3vw, 30px);
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
}

.category {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: white;
  color: var(--navy);
  font-size: 12px;
}

.category.active,
.category:hover {
  color: white;
  background: var(--navy);
  border-color: var(--gold);
}

.status-message {
  padding: 12px 15px;
  border-right: 4px solid var(--gold);
  border-radius: 5px;
  background: #fffaf0;
  color: #665333;
  font-size: 12px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  margin-top: 20px;
}

.offer-card {
  min-width: 0;
  padding: 20px;
  overflow-wrap: anywhere;
  background: white;
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: 0 6px 22px #1027460b;
  transition: transform .2s, box-shadow .2s;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.offer-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.6;
}

.offer-card p {
  margin: 8px 0;
  font-size: 13px;
}

.offer-card p:nth-of-type(n+2) {
  color: var(--blue);
}

.how-section {
  background: white;
  border-top: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 25px;
}

.steps article {
  min-width: 0;
  padding: 22px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.steps article > b {
  color: var(--gold);
  font-size: 28px;
}

.steps h3 {
  color: var(--navy);
}

.steps p {
  color: var(--muted);
  font-size: 13px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 25px clamp(16px, 6%, 76px);
  color: white;
  background: #0b1d35;
  border-top: 3px solid var(--gold);
}

footer p {
  color: #d4deeb;
  font-size: 12px;
}

#offerDialog {
  width: min(650px, calc(100% - 24px));
  max-height: 90vh;
  overflow-y: auto;
  padding: 25px;
  color: var(--text);
  background: #f8fafc;
  border: 1px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 25px 90px #0005;
}

#offerDialog::backdrop {
  background: #071629c9;
  backdrop-filter: blur(3px);
}

#offerForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dialog-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 23px;
}

.close-btn {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--red);
  font-size: 25px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
  font-size: 12px;
  font-weight: bold;
}

.form-note {
  padding: 10px;
  color: #765d2e;
  background: #fff6e4;
  border-radius: 7px;
  font-size: 11px;
}

.full-width {
  width: 100%;
}

.brand-logo {
  max-width: 100%;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1000px) {
  .topbar {
    justify-content: center;
  }

  .topbar nav {
    order: 3;
    width: 100%;
  }

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

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

@media (max-width: 600px) {
  .topbar {
    justify-content: space-between;
    gap: 12px;
    padding: 12px 4%;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand strong {
    font-size: 17px;
    letter-spacing: 2px;
  }

  .brand small {
    font-size: 10px;
  }

  .top-actions {
    gap: 6px;
  }

  .top-actions .btn {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .topbar nav {
    order: 3;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
  }

  .hero {
    padding: 42px 6%;
  }

  .hero h1 {
    font-size: clamp(27px, 7vw, 34px);
    line-height: 1.55;
  }

  .hero-content > p:last-child {
    font-size: 13px;
  }

  .search-panel {
    width: 92%;
    margin-top: -14px;
    padding: 15px;
    gap: 11px;
    grid-template-columns: minmax(0, 1fr);
  }

  .section,
  .how-section {
    padding: 30px 5%;
  }

  .section-heading {
    align-items: stretch;
  }

  .offers-grid,
  .steps,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .offer-card {
    padding: 17px;
  }

  #offerDialog {
    padding: 16px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* LAYAN - layout repair */
.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}

.topbar,
.brand,
.top-actions,
.section-heading {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand span {
  display: flex;
  flex-direction: column;
}

.topbar nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.hero-content,
.section,
.how-section {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.search-panel {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.search-panel label,
#offerForm label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.search-panel input,
.search-panel select,
#offerForm input,
#offerForm select,
#offerForm textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.section-heading {
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.category-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-block: 20px;
}

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

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

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

#offerDialog {
  width: min(680px, calc(100% - 24px));
  max-height: 90vh;
  overflow-y: auto;
  border: 0;
  border-radius: 16px;
  padding: 24px;
}

#offerForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

.full-width {
  width: 100%;
}

@media (max-width: 800px) {
  .search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .topbar {
    justify-content: center;
  }

  .topbar nav {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .search-panel,
  .offers-grid,
  .steps,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .topbar nav {
    gap: 12px;
  }

  .top-actions {
    justify-content: center;
  }

  .hero-content,
  .section,
  .how-section {
    width: calc(100% - 24px);
  }

  #offerDialog {
    padding: 16px;
  }
}
6
/* إصلاح زر إغلاق نافذة إضافة العرض */
.dialog-header,
.dialog-head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

#closeDialog {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #a93636;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 10;
}

/* LAYAN AQAR — تحسين الواجهة المعتمدة */
.offers-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
}

.filters {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1fr auto;
  gap: 12px;
  margin: 24px 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 16px;
  box-shadow: 0 10px 28px #10274612;
}

#statusMessage {
  margin: 12px 0;
}

#offersGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 18px;
  box-shadow: 0 8px 28px #10274610;
}

.offer-image {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #e9eef5;
}

.offer-image-placeholder {
  display: grid;
  place-items: center;
  color: #ead9b2;
  background: linear-gradient(135deg, #102746, #244c76);
  font-size: 24px;
  font-weight: bold;
}

.offer-card-content {
  padding: 20px;
}

.offer-type {
  display: inline-block;
  padding: 4px 12px;
  color: #102746;
  background: #f4e7c9;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.offer-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.offer-details > div {
  padding: 12px;
  background: #f2f5f9;
  border-radius: 10px;
}

.offer-details span,
.offer-details strong {
  display: block;
}

.offer-details span {
  color: #718096;
  font-size: 12px;
}

.offer-details strong {
  color: #102746;
  overflow-wrap: anywhere;
}

.offer-card .btn-dark {
  min-height: 46px;
  border-radius: 10px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 36px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 16px;
}

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

.how-card {
  padding: 22px;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 14px;
}

@media (max-width: 700px) {
  .filters,
  #offersGrid,
  .how-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .offers-section {
    width: calc(100% - 24px);
    padding: 24px 0;
  }

  .offer-image {
    height: 210px;
  }

  .offer-card-content {
    padding: 16px;
  }
}
/* LAYAN AQAR — Mobile polish */
@media (max-width: 520px) {
  body {
    overflow-x: hidden;
    font-size: 14px;
  }

  .topbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .topbar nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 8px;
  }

  .top-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .top-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .hero {
    padding: 28px 16px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.4;
  }

  .filters,
  #offersGrid,
  .how-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .filters input,
  .filters select,
  .filters button {
    width: 100%;
    min-height: 44px;
  }

  .offer-card {
    min-width: 0;
    border-radius: 16px;
  }

  .offer-image {
    height: 220px;
  }

  .offer-card-content {
    padding: 14px;
  }

  .offer-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .offer-card .btn,
  #offerForm button {
    width: 100%;
    min-height: 46px;
  }

  #offerDialog {
    width: calc(100% - 16px);
    max-width: none;
    max-height: 92dvh;
    overflow-y: auto;
  }

  #offerForm input,
  #offerForm select,
  #offerForm textarea {
    font-size: 16px;
  }
}


/* LAYAN AQAR - Final mobile header */
@media (max-width: 520px) {
  .topbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .brand {
    width: 100%;
    gap: 10px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    object-fit: contain;
  }

  .brand strong {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .brand small {
    font-size: 10px;
  }

  .topbar nav {
    order: 0;
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }

  .topbar nav a {
    padding: 8px 3px;
    font-size: 12px;
    white-space: nowrap;
  }

  .top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .top-actions .btn {
    width: 100%;
    min-height: 44px;
    padding: 9px 6px;
    font-size: 12px;
  }
}


/* LAYAN assignment calculator */
.calculator-section {
  padding: clamp(30px, 4vw, 48px) clamp(16px, 6%, 76px);
  background: #f3f6fa;
}
.calculator-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(16px, 3vw, 28px);
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.calculator-card > label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: bold;
}
.calculator-results {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.calculator-results > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px;
  border-radius: 10px;
  background: #102746;
  color: #fff;
}
.calculator-results span { color: #ead9b2; font-size: 12px; }
.calculator-results strong { font-size: clamp(16px, 2.6vw, 23px); overflow-wrap: anywhere; }
.calculator-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }
@media (max-width: 700px) {
  .calculator-card { grid-template-columns: 1fr; }
  .calculator-results { grid-template-columns: 1fr; }
}


/* Paid featured listings */
.featured-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 8px;
  padding: 4px 10px;
  border: 1px solid #c5a15d;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff8e7, #ead9b2);
  color: #102746;
  font-family: "Cairo", "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}
#offerForm label small {
  display: block;
  margin-top: 5px;
  color: #718096;
  font-size: 12px;
  line-height: 1.7;
}
.offer-card:has(.featured-badge) {
  border: 2px solid #c5a15d;
  box-shadow: 0 12px 28px rgba(197, 161, 93, .18);
}


/* LAYAN: make property details and contact actions usable on mobile */
.details-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
}
.details-button:focus-visible,
.details-contact a:focus-visible,
#closeDetailsDialog:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.details-dialog {
  width: min(650px, calc(100% - 20px));
  max-width: none;
  max-height: 90dvh;
  overflow-y: auto;
  padding: 20px;
  border: 1px solid var(--gold);
  border-radius: 16px;
  color: var(--text);
  background: #fff;
  box-shadow: 0 24px 80px #0005;
}
.details-dialog::backdrop { background: #071629c9; }
.details-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.details-dialog-header h2 { margin: 0; color: var(--navy); font-size: 21px; }
#closeDetailsDialog {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 28px;
  line-height: 1;
}
.details-image {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}
.details-placeholder { border-radius: 12px; margin-bottom: 16px; }
.details-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.details-info p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  background: #f2f5f9;
}
.details-info span { color: var(--muted); font-size: 12px; }
.details-info strong { color: var(--navy); overflow-wrap: anywhere; }
.details-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.details-warning { padding: 10px; border-radius: 8px; background: #fff7e8; color: #765d2e; font-size: 12px; }
@media (max-width: 520px) {
  .details-dialog { padding: 14px; }
  .details-info, .details-contact { grid-template-columns: minmax(0, 1fr); }
}


/* LAYAN audience, company directory and promotion plans */
.audience-section,.company-section,.pricing-section{padding:clamp(28px,4vw,48px) clamp(16px,6%,76px)}
.audience-section,.pricing-section{background:#fff}
.audience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.audience-card{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:24px;text-align:right;border:1px solid var(--border);border-radius:14px;background:#fff;color:var(--text);box-shadow:var(--shadow);font:inherit;cursor:pointer}
.audience-card:hover,.audience-card:focus-visible{border-color:var(--gold);outline:2px solid #c5a15d55}
.audience-card strong{font-size:20px;color:var(--navy)}
.audience-card span:not(.audience-icon){font-size:13px;color:var(--muted)}
.audience-card b{margin-top:5px;color:var(--red)}
.audience-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#f7efdc;color:var(--navy);font-size:26px}
.company-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;max-width:720px}
.company-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.company-card{padding:18px;border:1px solid var(--border);border-radius:12px;background:white}
.company-card h3{margin:0 0 5px;color:var(--navy)}
.company-card p{margin:5px 0;color:var(--muted);font-size:13px}
.company-empty{color:var(--muted);font-size:13px}
.pricing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pricing-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;border:1px solid var(--border);border-radius:14px;background:#fff}
.pricing-card-featured{border:2px solid var(--gold);background:linear-gradient(160deg,#fff,#fffaf0)}
.pricing-card h3{margin:0;color:var(--navy);font-size:20px}
.pricing-label{color:var(--red);font-size:12px;font-weight:800}
.pricing-price{margin:0;color:var(--navy);font-size:30px;font-weight:800}
.pricing-price small{font-size:13px}
.pricing-card p:not(.pricing-price){margin:0 0 8px;color:var(--muted);font-size:12px}
.pricing-card .btn{margin-top:auto;width:100%}
.pricing-note{padding:12px 14px;border-right:3px solid var(--gold);background:#fff8e8;color:#6e572b;font-size:12px}
.btn-outline-dark{border:1px solid var(--navy);background:#fff;color:var(--navy)}
[hidden]{display:none!important}
@media(max-width:900px){.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.company-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.audience-grid,.pricing-grid,.company-grid{grid-template-columns:1fr}.company-search{grid-template-columns:1fr}.audience-card{padding:18px}}


/* تجربة تطبيق ويب قابلة للتثبيت — LAYAN AQAR */
.install-app-banner{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px;padding:10px 16px;background:#fffaf0;border-bottom:1px solid #ead9b2;box-shadow:0 5px 18px #10274612}
.install-app-banner[hidden]{display:none}
.install-app-banner span{display:grid;flex:1;line-height:1.5}
.install-app-banner strong{color:#102746;font-size:14px}
.install-app-banner small{color:#718096;font-size:11px}
.install-dismiss{border:0;background:transparent;color:#718096;font-size:26px;line-height:1;padding:4px 8px}
.mobile-nav{display:none}
@media(max-width:700px){
 body{padding-bottom:72px}
 .topbar{gap:10px;padding:12px 14px}
 .brand-logo{width:46px;height:46px;flex-basis:46px}
 .brand strong{font-size:17px;letter-spacing:2px}
 .topbar nav{order:3;justify-content:space-between;width:100%;gap:8px;font-size:12px}
 .top-actions{gap:8px}
 .top-actions .btn{padding:8px 12px;font-size:12px}
 .hero{min-height:unset;padding:44px 18px}
 .hero-content{width:100%}
 .audience-grid,.pricing-grid,.company-grid,#offersGrid,.how-grid{grid-template-columns:minmax(0,1fr)}
 .filters{grid-template-columns:minmax(0,1fr);padding:12px}
 .calculator-card{padding:16px}
 .mobile-nav{position:fixed;bottom:0;right:0;left:0;z-index:30;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:8px 8px max(8px,env(safe-area-inset-bottom));background:#102746;border-top:2px solid #c5a15d;box-shadow:0 -8px 24px #10274622}
 .mobile-nav a,.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:48px;border:0;border-radius:10px;background:transparent;color:#fff;font:inherit}
 .mobile-nav span{font-size:21px;line-height:1.25;color:#ead9b2}
 .mobile-nav small{font-size:10px}
 .mobile-nav button span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#c5a15d;color:#102746;font-weight:bold}
 .footer{padding-bottom:22px}
}
@media(min-width:701px){.install-app-banner{max-width:1120px;margin:0 auto;border-radius:0 0 14px 14px}}


/* LAYAN AQAR — Premium navy, champagne-gold and restrained ruby palette */
:root{
  --navy:#081b32;
  --blue:#15385b;
  --gold:#d4b16a;
  --gold-light:#f2e4bf;
  --red:#a52f42;
  --white:#fff;
  --bg:#f5f6f8;
  --text:#18283c;
  --muted:#68788b;
  --border:#e2e6ec;
  --shadow:0 14px 38px rgba(8,27,50,.10);
}
body{background:var(--bg);color:var(--text)}
.topbar{
  background:linear-gradient(112deg,#07172b 0%,#0d2948 62%,#143758 100%);
  border-bottom:3px solid var(--gold);
  box-shadow:0 8px 28px rgba(8,27,50,.16)
}
.brand-logo{
  padding:3px;
  border:1px solid rgba(212,177,106,.85);
  border-radius:12px;
  background:linear-gradient(145deg,#fffdf6,#e7d4a4);
  box-shadow:0 0 0 3px rgba(212,177,106,.10),0 5px 16px rgba(0,0,0,.18)
}
/* Keep the original logo file untouched; use gold around it, not a destructive recolor. */
.brand strong{color:#fffdf7}
.brand small{color:var(--gold-light)}
.topbar nav a{transition:color .18s ease}
.topbar nav a:hover,.topbar nav a.active{color:var(--gold-light)}
.btn-gold{
  background:linear-gradient(135deg,#f0dba5 0%,#d4b16a 48%,#bd9447 100%);
  color:#10233b;
  border:1px solid #e9d39a;
  box-shadow:0 5px 14px rgba(212,177,106,.22)
}
.btn-gold:hover{filter:brightness(1.06);box-shadow:0 8px 18px rgba(212,177,106,.30)}
.btn-outline{border-color:rgba(242,228,191,.55);color:#fffdf7}
.btn-outline:hover{background:rgba(242,228,191,.09);border-color:var(--gold)}
.btn-dark{background:linear-gradient(135deg,#0a203a,#173b60);color:#fff}
.btn-outline-dark{border-color:#173b60;color:#102746}
.btn-outline-dark:hover{background:#102746;color:#fff}
.hero{
  background:
    radial-gradient(ellipse at 88% 8%,rgba(212,177,106,.18) 0,transparent 34%),
    radial-gradient(ellipse at 12% 20%,#234b70 0,transparent 42%),
    linear-gradient(125deg,#07172b 0%,#0c2744 54%,#163d60 100%);
  border-bottom:4px solid var(--gold)
}
.hero::after{border-color:rgba(212,177,106,.48);box-shadow:0 0 0 25px rgba(212,177,106,.05),0 0 0 50px rgba(212,177,106,.035)}
.eyebrow{color:#b18b43}
.hero .eyebrow,.hero .hero-content .eyebrow{color:var(--gold-light)}
.hero h1 span{color:var(--gold-light)}
.section-heading h2,.how-section>h2{color:var(--navy)}
input:focus,select:focus,textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(212,177,106,.19)}
.audience-card{border-color:#e3e6eb;box-shadow:0 8px 24px rgba(8,27,50,.055)}
.audience-card:hover,.audience-card:focus-visible{border-color:var(--gold);box-shadow:0 12px 28px rgba(8,27,50,.10),0 0 0 2px rgba(212,177,106,.14)}
.audience-icon{background:linear-gradient(145deg,#fffaf0,#f0e1bd);color:#102746;border:1px solid #ead9b2}
.audience-card b,.pricing-label{color:var(--red)}
.pricing-card{border-color:#e3e6eb;box-shadow:0 8px 24px rgba(8,27,50,.045)}
.pricing-card-featured{border-color:var(--gold);background:linear-gradient(155deg,#fff 0%,#fffaf0 100%);box-shadow:0 12px 28px rgba(212,177,106,.14)}
.pricing-price{color:#102746}
.offer-card{border-color:#e1e5eb;box-shadow:0 8px 26px rgba(8,27,50,.055)}
.offer-card:hover{box-shadow:0 16px 36px rgba(8,27,50,.12)}
.offer-type{background:#f3e8cb;color:#102746;border:1px solid #e6d4a6}
.offer-details>div,.details-info p{background:#f3f5f8;border:1px solid #e7ebf0}
.featured-badge{border-color:#d4b16a;background:linear-gradient(135deg,#fff9e8,#e8d19a);color:#102746}
.offer-card:has(.featured-badge){border-color:#d4b16a;box-shadow:0 12px 30px rgba(212,177,106,.20)}
.calculator-card{border-top-color:var(--gold)}
.calculator-results>div{background:linear-gradient(135deg,#081b32,#173b60)}
.calculator-results span{color:#f2e4bf}
.how-section{background:#fff}
.how-card,.steps article{border-color:#e4e8ee;background:#fff}
.how-card h3,.steps h3{color:#102746}
.footer,footer{background:linear-gradient(115deg,#061529,#102c4b);border-top-color:var(--gold)}
#offerDialog,.details-dialog{border:1px solid var(--gold)}
#offerDialog::backdrop,.details-dialog::backdrop{background:rgba(4,15,29,.78)}
#closeDialog,#closeDetailsDialog{background:var(--red)}
.pricing-note,.form-note,.status-message{border-right-color:var(--gold);background:#fff8e8;color:#67542d}
.install-app-banner{background:#fffaf0;border-bottom-color:#e4d09d}
.mobile-nav{background:linear-gradient(110deg,#07172b,#123556);border-top-color:var(--gold)}
.mobile-nav span{color:var(--gold-light)}
.mobile-nav button span{background:linear-gradient(135deg,#f0dba5,#c9a052);color:#10233b}
::selection{background:rgba(212,177,106,.32);color:#081b32}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* LAYAN AQAR — pre-launch free registration campaign */
.launch-campaign{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(230px,.8fr);gap:28px;align-items:center;
  margin:28px auto;padding:clamp(22px,4vw,42px);width:min(1180px,calc(100% - 32px));
  color:#fff;background:radial-gradient(ellipse at 10% 0%,rgba(212,177,106,.17),transparent 45%),linear-gradient(125deg,#07172b,#123556);
  border:1px solid rgba(212,177,106,.62);border-radius:24px;box-shadow:0 16px 38px rgba(8,27,50,.14)
}
.launch-campaign-copy h2{margin:14px 0 10px;color:#f2e4bf;font-size:clamp(1.45rem,3vw,2.2rem);line-height:1.4}
.launch-campaign-copy p{margin:0 0 12px;color:#fff;line-height:1.9}
.launch-campaign-copy small{display:block;color:#e5eaf0;line-height:1.9}
.launch-pill{display:inline-flex;padding:7px 12px;border:1px solid rgba(212,177,106,.65);border-radius:999px;color:#f2e4bf;background:rgba(212,177,106,.1);font-size:.88rem;font-weight:700}
.launch-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.launch-benefits{display:grid;gap:12px}
.launch-benefits>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;border:1px solid rgba(242,228,191,.2);border-radius:15px;background:rgba(255,255,255,.06)}
.launch-benefits strong{color:#f2d89a;font-size:1.15rem;white-space:nowrap}
.launch-benefits span{color:#fff;font-size:.92rem}
@media(max-width:700px){.launch-campaign{grid-template-columns:1fr;gap:20px;margin:18px auto;padding:22px 18px;width:calc(100% - 24px);border-radius:18px}.launch-benefits{grid-template-columns:1fr}.launch-actions .btn{flex:1;justify-content:center}}

/* LAYAN account authentication */
.auth-dialog{width:min(460px,calc(100% - 20px))}
.auth-intro{color:var(--muted);line-height:1.8;margin:0 0 16px}
.auth-form{display:grid;gap:13px}
.auth-form label{display:grid;gap:7px;font-weight:700;color:var(--navy)}
.auth-form input{width:100%;min-height:46px;padding:11px 12px;border:1px solid var(--border);border-radius:10px;font:inherit;box-sizing:border-box}
.auth-form input:focus{outline:0;border-color:var(--gold);box-shadow:0 0 0 3px rgba(212,177,106,.18)}
#authStatus{margin:0;min-height:24px;color:var(--red);font-size:13px;line-height:1.8;overflow-wrap:anywhere}
#authStatus:empty{display:none}
.auth-form button{width:100%;min-height:46px}
#loginBtn{max-width:100%;overflow:hidden;text-overflow:ellipsis}
@media(max-width:520px){.auth-dialog{padding:16px}.auth-dialog .details-dialog-header h2{font-size:18px}}


/* LAYAN AQAR — unified visual system */
:root{
  --navy:#0a1d35;
  --blue:#183b60;
  --gold:#cba65c;
  --gold-light:#f0dfb4;
  --red:#a63746;
  --bg:#f5f6f8;
  --text:#1b2b40;
  --muted:#69798c;
  --border:#e3e7ed;
  --shadow:0 12px 30px rgba(10,29,53,.08);
}
/* Preserve the original logo artwork and its natural colors. */
.brand-logo{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  object-fit:contain;
}
.topbar{color:#fff}
.hero{color:#fff}
.search-panel,.filters,.calculator-card,.pricing-card,.company-card,.audience-card,.how-card{
  box-shadow:0 8px 24px rgba(10,29,53,.055);
}
.offer-card,.company-card,.how-card,.steps article,.audience-card,.pricing-card{
  border-color:var(--border);
}
.offer-card h3,.section-heading h2,.how-section>h2,.pricing-card h3,.company-card h3{
  color:var(--navy);
}
.offer-details>div,.details-info p{
  background:#f4f6f9;
  border:1px solid #e7ebf0;
}
.offer-details strong,.details-info strong{color:var(--navy)}
.btn{border-radius:10px}
.btn-gold{color:#10233b}
input,select,textarea{border-color:#dbe2eb;background:#fff}
input:focus,select:focus,textarea:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(203,166,92,.18);
}
.category{transition:background .18s,border-color .18s,color .18s}
.category.active,.category:hover{background:var(--navy);border-color:var(--gold)}
.sponsor-card{border:1px solid #d8bf83;background:linear-gradient(180deg,#fff 0%,#fffdf8 100%)}
.sponsor-label{background:#f6edd8;color:#735721;border:1px solid #ead9b2}
.pricing-card-featured{border:2px solid var(--gold);box-shadow:0 12px 28px rgba(203,166,92,.14)}
.status-message,.form-note,.pricing-note,.sponsor-price-note{
  border-right-color:var(--gold);
  background:#fff8e9;
  color:#68552f;
}
footer{background:linear-gradient(115deg,#07172b,#123556);border-top-color:var(--gold)}
.mobile-nav{background:linear-gradient(110deg,#07172b,#123556);border-top-color:var(--gold)}
.mobile-nav span{color:var(--gold-light)}
.btn:focus-visible,button:focus-visible,a:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}
@media(max-width:700px){
  .offer-card{border-radius:16px}
  .offer-image{background:#e9edf3}
  .launch-campaign{box-shadow:0 12px 28px rgba(10,29,53,.12)}
}


/* LAYAN partner ads — three free trial spaces */
.partner-ads-section{
  width:min(1120px,calc(100% - 32px));
  margin:24px auto;
  padding:clamp(24px,4vw,42px);
  background:linear-gradient(145deg,#fff,#fbf8f0);
  border:1px solid #ead9b2;
  border-radius:20px;
  box-shadow:0 12px 32px rgba(16,39,70,.06);
}
.partner-ads-section .section-heading{margin-bottom:24px}
.partner-free-note{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  border:1px solid #ead9b2;
  border-radius:30px;
  background:#f7efdE;
  color:#6f5420;
  font-size:12px;
  font-weight:800;
}
.partner-ads-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.partner-ad{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 22px rgba(16,39,70,.055);
}
.partner-ad-art{
  display:grid;
  place-items:center;
  height:112px;
  color:#ead9b2;
  background:linear-gradient(130deg,#102746,#244c76);
  font-size:44px;
  font-weight:800;
}
.partner-ad-furniture .partner-ad-art{background:linear-gradient(130deg,#4b3828,#94734b)}
.partner-ad-decor .partner-ad-art{background:linear-gradient(130deg,#6c3030,#a93636)}
.partner-ad-content{padding:19px}
.partner-ad-category{
  display:inline-block;
  padding:4px 10px;
  border-radius:20px;
  background:#f6edd8;
  color:#735721;
  font-size:11px;
  font-weight:800;
}
.partner-ad-content h3{margin:12px 0 8px;color:var(--navy);font-size:19px}
.partner-ad-content p{margin:0 0 12px;color:#4b5b70;font-size:13px}
.partner-ad-content small{display:block;min-height:42px;margin-bottom:15px;color:#718096;font-size:11px}
.partner-ad-content .btn{width:100%;min-height:44px}
.partner-ads-disclaimer{margin:20px 0 0;padding:12px 14px;border-right:3px solid var(--gold);border-radius:6px;background:#fff;color:#596779;font-size:12px}
@media(max-width:800px){.partner-ads-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
 .partner-ads-section{width:calc(100% - 24px);padding:18px 14px}
 .partner-ads-grid{grid-template-columns:minmax(0,1fr)}
 .partner-free-note{width:100%}
 .partner-ad-content small{min-height:0}
}


/* LAYAN social media links — visible in footer on desktop and mobile */
.social-links{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin:0 auto 18px;
  padding:0 12px;
}
.social-links-title{
  flex-basis:100%;
  text-align:center;
  color:#f0dfb4;
  font-weight:700;
  font-size:14px;
  margin-bottom:2px;
}
.social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:9px 16px;
  border:1px solid rgba(240,223,180,.55);
  border-radius:999px;
  color:#fff!important;
  text-decoration:none;
  font-weight:700;
  line-height:1;
  transition:transform .18s ease,background .18s ease;
}
.social-link svg{width:21px;height:21px;fill:currentColor;flex:0 0 21px}
.social-facebook{background:#1877f2;border-color:#1877f2}
.social-instagram{background:linear-gradient(120deg,#833ab4,#e1306c,#f77737);border-color:#d65a83}
.social-link:hover{transform:translateY(-2px);filter:brightness(1.08)}
.social-link:focus-visible{outline:3px solid #f0dfb4;outline-offset:3px}
@media(max-width:520px){.social-links{gap:10px}.social-link{flex:1;max-width:190px;padding:10px 12px}.social-links-title{font-size:13px}}


/* Compact social links in LAYAN footer */
.social-links{gap:8px}
.social-link{min-height:34px;padding:7px 11px;gap:6px;font-size:13px}
.social-link svg{width:16px;height:16px;flex:0 0 16px}
@media(max-width:520px){
  .social-link{flex:0 1 auto;max-width:none;min-height:32px;padding:7px 10px;font-size:12px}
  .social-link svg{width:15px;height:15px;flex-basis:15px}
}


/* Strong override: make footer social icons tiny */
footer.footer .social-links .social-link svg,
footer.footer .social-links .social-link img{
  width:12px !important;
  height:12px !important;
  min-width:12px !important;
  min-height:12px !important;
  max-width:12px !important;
  max-height:12px !important;
  flex:0 0 12px !important;
}
footer.footer .social-links .social-link{
  min-height:28px !important;
  padding:5px 8px !important;
  gap:4px !important;
  font-size:11px !important;
  line-height:1 !important;
}
footer.footer .social-links{gap:6px !important}
@media(max-width:520px){
  footer.footer .social-links .social-link{flex:0 1 auto !important;max-width:none !important;padding:5px 7px !important;font-size:10px !important}
  footer.footer .social-links .social-link svg{width:11px !important;height:11px !important;flex-basis:11px !important}
}


/* LAYAN AQAR — premium visual refinement */
:root {
  --navy: #102746;
  --blue: #173d68;
  --gold: #c5a15d;
  --gold-light: #ead9b2;
  --red: #b52f3b;
  --bg: #f5f7fb;
  --text: #172a43;
  --muted: #6f7f93;
  --border: #e4e9f1;
  --shadow: 0 16px 42px rgba(16, 39, 70, .10);
}
body { background: #f5f7fb; }
.topbar {
  position: sticky; top: 0; backdrop-filter: blur(14px);
  padding-block: 12px;
  background: rgba(16,39,70,.97);
}
.brand-logo { background: #fff; padding: 3px; border: 1px solid rgba(234,217,178,.65); }
.topbar nav a { position: relative; transition: color .2s ease; }
.topbar nav a.active::after, .topbar nav a:hover::after {
  content: ""; position: absolute; right: 0; left: 0; bottom: -5px;
  height: 2px; border-radius: 3px; background: var(--gold);
}
.btn { min-height: 44px; padding-inline: 20px; border-radius: 10px; box-shadow: 0 3px 10px rgba(16,39,70,.05); }
.btn-gold { background: linear-gradient(135deg,#e0c17d,#c5a15d); color: #14263e; }
.btn-gold:hover { box-shadow: 0 8px 20px rgba(197,161,93,.28); }
.btn-outline:hover { border-color: var(--gold-light); background: rgba(255,255,255,.07); }
.hero {
  padding-block: clamp(54px, 7vw, 96px);
  background:
    radial-gradient(ellipse at 8% 12%, rgba(197,161,93,.18), transparent 35%),
    radial-gradient(ellipse at 90% 90%, rgba(181,47,59,.14), transparent 28%),
    linear-gradient(120deg,#091a30 0%,#173d68 58%,#102746 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0 55% 0 0; pointer-events: none;
  background: linear-gradient(135deg, transparent 48%, rgba(255,255,255,.025) 49%, transparent 50%);
}
.hero-content { max-width: 1120px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 13px; border: 1px solid rgba(234,217,178,.32);
  border-radius: 999px; background: rgba(255,255,255,.05);
  letter-spacing: .12em;
}
.hero h1 { font-size: clamp(34px,5vw,54px); margin-top: 15px; }
.hero-content > p:first-of-type { color: var(--gold-light); font-size: clamp(16px,2vw,21px); font-weight: 700; }
.hero-content > p:last-child { max-width: 720px; font-size: 15px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.search-panel {
  position: relative; z-index: 3; margin: -26px auto 36px;
  padding: 22px; border-radius: 18px; box-shadow: 0 18px 45px rgba(16,39,70,.12);
}
.section, .how-section { padding-block: clamp(36px,5vw,64px); }
.section-heading { margin-bottom: 18px; }
.section-heading h2, .how-section h2 { color: var(--navy); font-size: clamp(22px,3vw,30px); margin: 0; }
.section-heading p { color: var(--muted); margin: 5px 0 0; font-size: 13px; }
.offers-grid { gap: 22px; }
.offer-card {
  position: relative; border-radius: 17px; padding: 22px;
  border-color: #e5eaf2; box-shadow: 0 7px 24px rgba(16,39,70,.055);
}
.offer-card::before {
  content: ""; position: absolute; right: 0; top: 18px; bottom: 18px; width: 3px;
  border-radius: 4px 0 0 4px; background: var(--gold);
}
.offer-card:hover { border-color: #d8c18f; transform: translateY(-4px); }
.offer-card h3 { font-size: 18px; padding-right: 2px; }
.category { padding: 8px 17px; transition: .2s ease; }
.steps { gap: 20px; }
.steps article { border-radius: 16px; background: linear-gradient(160deg,#fff,#f7f9fc); padding: 25px; }
.steps article > b { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #f5ecd8; color: #8b6a2d; font-size: 20px; }
.layan-ai-section, .launch-campaign {
  width: min(1120px, calc(100% - 32px)); margin: 32px auto;
  padding: clamp(22px,4vw,38px); border-radius: 20px;
  border: 1px solid var(--border); box-shadow: 0 12px 36px rgba(16,39,70,.07);
}
.layan-ai-section { background: linear-gradient(135deg,#fff,#f7f9fc); }
.layan-ai-head { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:14px; }
.layan-ai-head h2, .launch-campaign h2 { color:var(--navy); margin:0 0 8px; }
.layan-ai-head p, .launch-campaign p { color:var(--muted); }
.layan-ai-head > span { color:#8d6c2d; background:#f5ecd8; border-radius:999px; padding:7px 12px; font-size:12px; font-weight:700; }
.layan-ai-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 14px; }
.layan-ai-tabs button { border:1px solid var(--border); background:#fff; border-radius:999px; padding:9px 15px; color:var(--navy); }
.layan-ai-tabs button[aria-pressed="true"] { background:var(--navy); color:#fff; border-color:var(--navy); }
.layan-ai-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:stretch; }
.layan-ai-form textarea { min-height:64px; border-radius:12px; }
.layan-ai-note { display:block; margin-top:14px; color:var(--muted); line-height:1.9; }
.layan-ai-answer { margin-top:14px; }
.launch-campaign { background:linear-gradient(125deg,#102746,#173d68); color:#fff; border:1px solid #29496e; }
.launch-campaign h2 { color:#fff; font-size:clamp(23px,3vw,32px); }
.launch-campaign p { color:#e2eaf4; }
.launch-campaign small { color:#d0dbea; line-height:1.9; }
.launch-pill { display:inline-block; color:#f4dfac; background:#ffffff12; border:1px solid #ead9b244; border-radius:999px; padding:5px 12px; font-size:12px; }
footer { gap:24px; }
footer .brand-logo { background:#fff; }
input, select, textarea { border-radius:10px; }
input:focus, select:focus, textarea:focus { border-color:var(--gold); box-shadow:0 0 0 4px rgba(197,161,93,.14); }
#offerDialog, .details-dialog { border-radius:20px; border-color:#d9c28e; }
#offerDialog::backdrop, .details-dialog::backdrop { background:rgba(6,19,36,.72); backdrop-filter:blur(5px); }
.install-app-banner { border-bottom:1px solid var(--border); box-shadow:0 8px 25px rgba(16,39,70,.08); }
button:focus-visible, a:focus-visible { outline:3px solid #e0c17d; outline-offset:3px; }
@media (max-width: 760px) {
  .topbar { position:relative; gap:12px; }
  .hero { padding-block:46px; }
  .search-panel { margin-top:18px; }
  .layan-ai-form { grid-template-columns:minmax(0,1fr); }
  .layan-ai-section, .launch-campaign { margin:22px auto; border-radius:16px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size:clamp(31px,9vw,40px); }
  .hero-actions .btn { flex:1 1 145px; }
  .section-heading { align-items:flex-start; }
  .offers-grid { gap:14px; }
  .offer-card { padding:20px; }
  .steps article { padding:20px; }
}


/* Group up to three published properties inside each company advertisement card. */
.company-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.company-count{display:inline-flex;align-items:center;justify-content:center;min-width:38px;padding:4px 8px;border-radius:999px;background:var(--navy);color:#fff;font-size:12px;font-weight:700}
.company-property-list{display:grid;gap:8px;margin:12px 0;padding:0;list-style:none}
.company-property{display:grid;gap:4px;padding:10px;border:1px solid var(--border);border-radius:9px;background:#faf9f6}
.company-property-type{font-size:11px;color:var(--muted)}
.company-property strong{font-size:14px;color:var(--navy)}
.company-property span:not(.company-property-type){font-size:12px;color:var(--muted)}
.company-property b{font-size:13px;color:var(--navy)}
.company-card .btn{width:100%;margin-top:8px}



/* Refined four-category selector: clear hierarchy, touch-friendly cards, and selected state. */
.category-explorer{margin:0 auto;padding:clamp(30px,5vw,58px) max(18px,calc((100% - 1180px)/2));background:linear-gradient(180deg,#fff 0%,#f5f7fa 100%)}
.category-explorer-intro{max-width:720px;margin:0 auto 28px;text-align:center}
.category-explorer-intro h2{margin:7px 0 8px;color:var(--navy);font-size:clamp(25px,3.5vw,38px)}
.category-explorer-intro p{margin:0;color:var(--muted);font-size:15px}
.category-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:1180px;margin:0 auto}
.category-tile{display:flex;min-width:0;min-height:210px;flex-direction:column;align-items:flex-start;gap:10px;padding:22px 20px;text-align:right;border:1px solid var(--border);border-radius:20px;background:#fff;color:var(--text);box-shadow:0 8px 22px rgba(16,39,70,.055);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;cursor:pointer}
.category-tile:hover,.category-tile:focus-visible,.category-tile.active{transform:translateY(-3px);border-color:var(--gold);box-shadow:0 14px 28px rgba(16,39,70,.12);outline:none}
.category-tile.active{background:#fffaf0;box-shadow:inset 0 0 0 1px var(--gold),0 12px 24px rgba(16,39,70,.08)}
.category-tile-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:14px;background:#f4ecdc;color:var(--gold);font-size:28px;font-weight:800}
.category-tile strong{font-size:20px;color:var(--navy)}
.category-tile>span:not(.category-tile-icon){font-size:13px;color:var(--muted);line-height:1.8}
.category-tile b{margin-top:auto;color:var(--red);font-size:13px;line-height:1.7}
.category-trust-strip{display:flex;align-items:center;gap:14px;max-width:1180px;margin:24px auto 0;padding:20px 22px;border:1px solid rgba(197,161,93,.32);border-radius:18px;background:#fff}
.trust-mark{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:50%;background:#edf4ed;color:#28734a;font-size:22px;font-weight:900}
.category-trust-strip>div{flex:1}.category-trust-strip strong{color:var(--navy)}
.category-trust-strip p{margin:3px 0 0;color:var(--muted);font-size:13px;line-height:1.8}.category-trust-strip .btn{flex-shrink:0}
@media(max-width:800px){.category-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-tile{min-height:184px;padding:18px 16px}.category-trust-strip{align-items:flex-start;flex-wrap:wrap}.category-trust-strip>div{flex:1 1 calc(100% - 60px)}.category-trust-strip .btn{width:100%;text-align:center}}
@media(max-width:380px){.category-explorer{padding-inline:12px}.category-tiles{gap:9px}.category-tile{min-height:175px;padding:14px 12px;border-radius:15px}.category-tile strong{font-size:17px}.category-tile>span:not(.category-tile-icon){font-size:12px}}
@media(prefers-reduced-motion:reduce){.category-tile{transition:none}}


/* Share and report actions on each listing detail dialog. */
.details-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 4px}
.details-actions .btn{flex:1 1 180px;text-align:center;justify-content:center}
#reportOfferBtn{border-color:#b94747;color:#a52e35}
#reportOfferBtn:hover{background:#fff0f0}
@media(max-width:520px){.details-actions .btn{flex-basis:100%;width:100%}}


/* LAYAN AQAR — premium real-estate color system */
:root {
  --navy: #102746;
  --blue: #1b416b;
  --gold: #c7a45e;
  --gold-light: #f0dfb6;
  --red: #b8323a;
  --white: #ffffff;
  --bg: #f5f7fa;
  --text: #1b2c42;
  --muted: #6f7d90;
  --border: #e2e7ef;
  --shadow: 0 14px 36px rgba(16, 39, 70, .10);
}
body { background: #f5f7fa; color: #1b2c42; }
.topbar { background: #102746; border-bottom: 3px solid #c7a45e; }
.brand small, .topbar nav a:hover, .topbar nav a.active { color: #f0dfb6; }
.btn { border-radius: 10px; font-weight: 700; }
.btn-gold {
  color: #102746;
  background: linear-gradient(135deg, #e2c783, #c7a45e);
  border-color: #c7a45e;
  box-shadow: 0 4px 12px rgba(199,164,94,.20);
}
.btn-gold:hover { background: #ecd69d; }
.btn-dark { background: #102746; color: #fff; border-color: #102746; }
.btn-dark:hover { background: #1b416b; }
.btn-outline { border-color: rgba(255,255,255,.48); }
.btn-outline:hover { border-color: #c7a45e; color: #f0dfb6; }
.hero {
  background:
    radial-gradient(ellipse at 12% 18%, rgba(199,164,94,.20), transparent 38%),
    radial-gradient(ellipse at 90% 100%, rgba(184,50,58,.16), transparent 35%),
    linear-gradient(125deg, #0b1b30 0%, #102746 58%, #1b416b 100%);
  border-bottom: 5px solid #c7a45e;
}
.hero h1 span, .hero .eyebrow { color: #f0dfb6; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; }
.section-heading h2, .how-section > h2 { color:#102746; }
.category { transition: .18s ease; }
.category.active, .category:hover {
  color:#fff; background:#102746; border-color:#c7a45e;
  box-shadow: 0 4px 12px rgba(16,39,70,.12);
}
.search-panel, .filters { border-color:#e2e7ef; box-shadow:0 12px 30px rgba(16,39,70,.08); }
input:focus, select:focus, textarea:focus {
  border-color:#c7a45e; box-shadow:0 0 0 3px rgba(199,164,94,.20);
}
.offer-card, #offersGrid .offer-card {
  border-color:#e2e7ef; border-radius:16px;
  box-shadow:0 8px 24px rgba(16,39,70,.07);
}
.offer-card:hover, #offersGrid .offer-card:hover {
  border-color:#d5bd84; box-shadow:0 16px 34px rgba(16,39,70,.12);
}
.offer-card h3 { color:#102746; }
.offer-type { color:#102746; background:#f4e7c9; border:1px solid #ead9b2; }
.offer-details > div { background:#f4f6f9; border:1px solid #edf0f4; }
.offer-details strong { color:#102746; }
.status-message { border-right-color:#c7a45e; background:#fffaf0; }
.steps article, .how-card { background:#fff; border-color:#e2e7ef; }
.steps article > b { color:#b8323a; }
.close-btn, #closeDialog { background:#b8323a; }
.close-btn:hover, #closeDialog:hover { background:#96252d; }
footer { background:#0b1b30; border-top:3px solid #c7a45e; }
.launch-pill, .partner-free-note { border-color:#c7a45e; }
.pricing-card-featured { border-color:#c7a45e; box-shadow:0 12px 30px rgba(199,164,94,.16); }
.pricing-label { color:#102746; }
.pricing-price { color:#102746; }
a:focus-visible, button:focus-visible { outline:3px solid #c7a45e; outline-offset:3px; }
@media (max-width:600px) {
  .hero-actions .btn { flex:1 1 145px; }
  .offer-card, #offersGrid .offer-card { border-radius:14px; }
}


/* Partner finishing ads — consistent image-led responsive cards */
.partner-ads-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  gap:18px;
}
.partner-ad{
  display:flex;
  flex-direction:column;
  height:100%;
  border:1px solid #e4e9f1;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 28px rgba(16,39,70,.09);
  transition:transform .2s ease,box-shadow .2s ease;
}
.partner-ad:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 34px rgba(16,39,70,.14);
}
.partner-ad img.partner-ad-art{
  display:block;
  width:100%;
  height:190px;
  min-height:190px;
  object-fit:cover;
  object-position:center;
  background:#eef1f5;
}
.partner-ad-content{
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:stretch;
  padding:18px;
}
.partner-ad-content h3{font-size:18px;line-height:1.5}
.partner-ad-content p{line-height:1.85}
.partner-ad-content small{flex:1;line-height:1.7}
.partner-ad-content .btn{margin-top:10px}
@media(max-width:1050px){
  .partner-ads-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .partner-ad img.partner-ad-art{height:210px;min-height:210px}
}
@media(max-width:560px){
  .partner-ads-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .partner-ad{border-radius:13px}
  .partner-ad img.partner-ad-art{height:125px;min-height:125px}
  .partner-ad-content{padding:11px}
  .partner-ad-content h3{font-size:14px;margin:9px 0 6px}
  .partner-ad-content p{font-size:12px;line-height:1.7}
  .partner-ad-content small{font-size:10px}
  .partner-ad-content .btn{padding-inline:8px;font-size:11px;min-height:40px}
}


/* Final layout fix: make all four partner ads fill the section and show full images */
#partner-ads.partner-ads-section{
  display:block !important;
  width:min(1240px,calc(100% - 32px)) !important;
  max-width:1240px !important;
  margin:32px auto !important;
  box-sizing:border-box !important;
}
#partner-ads .partner-ads-grid{
  display:grid !important;
  width:100% !important;
  max-width:none !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:22px !important;
  align-items:stretch !important;
}
#partner-ads .partner-ad{
  width:100% !important;
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}
#partner-ads img.partner-ad-art{
  display:block !important;
  width:100% !important;
  height:260px !important;
  min-height:260px !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center !important;
}
#partner-ads .partner-ad-content{width:100%;box-sizing:border-box;padding:20px}
#partner-ads .partner-ad-content h3{font-size:20px;line-height:1.5}
#partner-ads .partner-ad-content p{font-size:14px;line-height:1.9}
#partner-ads .partner-ad-content small{font-size:12px;line-height:1.8}
@media(max-width:600px){
  #partner-ads.partner-ads-section{width:calc(100% - 20px) !important;padding:16px 12px !important}
  #partner-ads .partner-ads-grid{grid-template-columns:minmax(0,1fr) !important;gap:16px !important}
  #partner-ads img.partner-ad-art{height:220px !important;min-height:220px !important}
  #partner-ads .partner-ad-content{padding:16px}
}


/* LAYAN AQAR refresh: sky blue + gold + red; keep the original logo untouched */
:root{
  --navy:#168fc4;
  --blue:#0879ad;
  --gold:#c7a45e;
  --gold-light:#f0dfb6;
  --red:#b8323a;
  --text:#183447;
  --muted:#647b8b;
  --bg:#f3faff;
  --border:#d9eaf3;
  --shadow:0 14px 36px rgba(8,121,173,.12);
}
body{background:#f3faff;color:#183447}
.topbar{background:#0879ad;border-bottom:3px solid #c7a45e}
.brand small,.topbar nav a:hover,.topbar nav a.active{color:#fff0c8}
.btn-dark{background:#0879ad;color:#fff;border-color:#0879ad}
.btn-dark:hover{background:#06658f}
.hero{
 background:
  radial-gradient(ellipse at 12% 18%,rgba(199,164,94,.22),transparent 38%),
  radial-gradient(ellipse at 90% 100%,rgba(184,50,58,.13),transparent 35%),
  linear-gradient(125deg,#075b83 0%,#0879ad 58%,#35b3df 100%);
 border-bottom:5px solid #c7a45e
}
.section-heading h2,.how-section>h2,.offer-card h3,.offer-details strong,
.pricing-label,.pricing-price{color:#0879ad}
.category.active,.category:hover{background:#0879ad;border-color:#c7a45e}
.offer-card,#offersGrid .offer-card{box-shadow:0 8px 24px rgba(8,121,173,.09)}
.offer-card:hover,#offersGrid .offer-card:hover{box-shadow:0 16px 34px rgba(8,121,173,.16)}
input:focus,select:focus,textarea:focus{border-color:#35a9d4;box-shadow:0 0 0 3px rgba(53,169,212,.18)}
footer{background:#064d70;border-top:3px solid #c7a45e}

/* Partner ads: full-width cards and prominent images, including small phones */
#partner-ads.partner-ads-section{width:min(1240px,calc(100% - 24px))!important;max-width:1240px!important;margin:32px auto!important;padding:clamp(14px,2.5vw,28px)!important;box-sizing:border-box!important;background:#f0f9fe;border:1px solid #d6edf8;border-radius:22px}
#partner-ads .partner-ads-grid{display:grid!important;width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important}
#partner-ads .partner-ad{display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;overflow:hidden!important;border:1px solid #d7eaf3!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 26px rgba(8,121,173,.11)!important}
#partner-ads img.partner-ad-art{display:block!important;width:100%!important;height:clamp(220px,26vw,320px)!important;min-height:220px!important;max-height:none!important;object-fit:cover!important;object-position:center!important;flex:0 0 auto!important}
#partner-ads .partner-ad-content{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;box-sizing:border-box!important;padding:20px!important}
#partner-ads .partner-ad-content .btn{margin-top:auto!important}
#partner-ads .partner-ad-category{color:#0879ad;font-weight:800}
@media(max-width:600px){
 #partner-ads.partner-ads-section{width:calc(100% - 16px)!important;padding:12px!important;border-radius:16px!important}
 #partner-ads .partner-ads-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 #partner-ads img.partner-ad-art{height:240px!important;min-height:240px!important}
 #partner-ads .partner-ad-content{padding:16px!important}
 #partner-ads .partner-ad-content h3{font-size:18px!important}
 #partner-ads .partner-ad-content p{font-size:14px!important}
}


/* Complete LAYAN AQAR visual refresh — ocean waves, sky blue, gold and red */
:root{
 --navy:#073b5b;--blue:#0788bd;--sky:#35bde9;--gold:#d4ad62;--gold-light:#f8e7b8;
 --red:#bf2028;--white:#fff;--bg:#f2faff;--text:#123b57;--muted:#54758a;
 --border:#d4eaf5;--shadow:0 12px 32px rgba(7,83,121,.12)
}
body{background:linear-gradient(180deg,#eefaff 0%,#fff 42%,#f0faff 100%);color:var(--text)}
.topbar{background:rgba(240,250,255,.97)!important;color:var(--navy)!important;border-bottom:2px solid var(--gold)!important;box-shadow:0 4px 20px rgba(4,70,103,.08)}
.topbar nav a,.topbar .brand strong,.topbar .brand small{color:var(--navy)}
.topbar nav a.active,.topbar nav a:hover{background:#dff5ff;color:#056d9e;border-radius:10px}
.brand-logo{object-fit:contain}
.btn{border-radius:10px;font-weight:800;transition:transform .18s ease,box-shadow .18s ease}
.btn:hover{transform:translateY(-1px)}
.btn-gold{background:linear-gradient(135deg,#f4d88e,#cda34e)!important;color:#073b5b!important;border:1px solid #cda34e!important}
.btn-dark{background:#0788bd!important;border-color:#0788bd!important;color:#fff!important}
.btn-outline{border:1px solid #168dbb;color:#0875a3}
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:360px;padding:clamp(52px,8vw,100px) clamp(18px,7vw,90px)!important;background:linear-gradient(90deg,rgba(226,247,255,.35),rgba(231,248,255,.8)),url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=2200&q=85') center 52%/cover no-repeat!important;border-bottom:5px solid var(--gold)!important}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(242,251,255,.12),rgba(230,248,255,.78));z-index:-1}
.hero-content{position:relative;max-width:1180px;margin:auto}
.hero h1,.hero p,.hero .eyebrow{color:#073b5b;text-shadow:0 1px 8px rgba(255,255,255,.35)}
.hero h1{font-size:clamp(34px,5vw,58px)}
.hero .eyebrow{color:#087eb0;font-weight:900}
.hero-actions .btn-outline{background:rgba(255,255,255,.72);color:#073b5b;border-color:#fff}
main>section:not(.hero){position:relative}
.section-heading h2,.how-section>h2{color:#087eaf}
.section-heading .eyebrow,.eyebrow{color:#0788bd}
.search-panel,.filters,.company-search,.buyer-preference-form,.buyer-match-results,.pricing-card,.audience-card,.offer-card,.how-card,.steps article,.company-grid>*{border-color:var(--border);box-shadow:var(--shadow);border-radius:18px}
.category,.category-tile{border-radius:15px}
.category.active,.category:hover,.category-tile:hover{background:#0788bd!important;color:#fff;border-color:var(--gold)}
.offer-card h3,.offer-details strong,.pricing-price,.pricing-label{color:#087eaf}
.offer-card img,.offer-image,.offer-card .offer-photo{object-fit:cover}
.launch-campaign{background:linear-gradient(120deg,#075879,#0788bd 72%,#39bce5)!important;border:1px solid #6bc9e9!important;border-radius:24px!important;color:#fff!important}
.launch-campaign h2,.launch-campaign p,.launch-campaign small,.launch-campaign .launch-pill{color:#fff}
.launch-benefits>div{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.28);border-radius:14px}
.audience-card{background:linear-gradient(180deg,#fff,#f0faff)!important}
.audience-card b{background:#0788bd;color:#fff;border-radius:9px;padding:9px 12px}
.pricing-card-featured{border:2px solid var(--gold)!important;transform:translateY(-3px)}
.layan-ai-section{background:linear-gradient(125deg,#064b70,#0788bd)!important;border:1px solid #48b8dc!important;border-radius:22px!important;box-shadow:var(--shadow)}
.layan-ai-section h2,.layan-ai-section p,.layan-ai-section .layan-ai-head p{color:#fff}
.layan-ai-tabs button[aria-pressed=true]{background:var(--gold)!important;color:#073b5b!important}
#partner-ads.partner-ads-section{background:linear-gradient(180deg,#eaf8ff,#fff)!important;border:1px solid #cceaf7!important;border-radius:24px!important}
#partner-ads .partner-ad{border-radius:18px!important;border-color:#d1eaf5!important;box-shadow:0 12px 28px rgba(7,83,121,.12)!important}
#partner-ads img.partner-ad-art{object-fit:cover!important}
#partner-ads .partner-ad-content .btn{background:#0788bd!important;color:#fff!important;border-color:#0788bd!important}
footer,.footer{background:linear-gradient(110deg,#052f4b,#075b80 65%,#087eaa)!important;border-top:4px solid var(--gold)!important;color:#fff!important}
footer p,footer a,.footer p,.footer a{color:#fff}
.status-message{border-right-color:var(--gold);background:#fff9e9}
input:focus,select:focus,textarea:focus{border-color:#32b7e3;box-shadow:0 0 0 3px rgba(50,183,227,.2)}
a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
@media(max-width:700px){
 .topbar{gap:10px}
 .hero{min-height:300px;padding:42px 18px!important;background-position:center!important}
 .hero h1{font-size:34px}
 .hero p{max-width:100%}
 .pricing-card-featured{transform:none}
 #partner-ads .partner-ad{border-radius:15px!important}
}
@media(prefers-reduced-motion:reduce){.btn{transition:none}}


/* Requested polish: paid/remaining figures in sky blue, and a brighter ocean hero */
.offer-details>div,
.offer-details > div,
.details-info p,
.offer-details .detail-item{
 background:linear-gradient(135deg,#eaf8ff,#d8f3ff)!important;
 border:1px solid #a9e1f5!important;
 border-radius:10px!important;
}
.offer-details span,.details-info span{color:#32718d!important}
.offer-details strong,.details-info strong,
.offer-details [class*="paid"],.offer-details [class*="remaining"],
.details-info [class*="paid"],.details-info [class*="remaining"]{
 color:#0788bd!important;
}
.hero{
 background:
  linear-gradient(90deg,rgba(231,249,255,.14),rgba(230,249,255,.28)),
  url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=2200&q=90') center 52%/cover no-repeat!important;
}
.hero:before{
 background:
  radial-gradient(ellipse at 78% 20%,rgba(255,255,255,.32),transparent 42%),
  linear-gradient(90deg,rgba(220,247,255,.06),rgba(224,248,255,.34))!important;
}
.hero h1,.hero p,.hero .eyebrow{ text-shadow:0 1px 10px rgba(255,255,255,.7)!important }
@media(max-width:700px){
 .hero{background-position:center!important}
}


/* Final typography and contrast polish */
.hero{
 background:
  linear-gradient(100deg,rgba(3,66,100,.68),rgba(5,107,151,.54)),
  url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=2200&q=90') center 52%/cover no-repeat!important;
}
.hero:before{
 background:linear-gradient(90deg,rgba(3,54,83,.16),rgba(2,77,113,.22))!important;
}
.hero h1,.hero p,.hero .eyebrow,.hero-content p{
 color:#fff!important;
 text-shadow:0 2px 8px rgba(0,35,57,.75)!important;
}
.hero .eyebrow{color:#ffe3a0!important}
.brand strong{
 display:block!important;
 font-size:clamp(25px,2.7vw,34px)!important;
 line-height:1.12!important;
 letter-spacing:.07em!important;
 font-weight:900!important;
 color:#07527b!important;
}
.brand small{
 display:block!important;
 margin-top:3px!important;
 font-size:12px!important;
 line-height:1.35!important;
 font-weight:600!important;
 letter-spacing:0!important;
 color:#3287aa!important;
}
h1,h2,h3,h4,.section-heading h2,.offer-card h3{
 font-family:"Cairo","IBM Plex Sans Arabic",Tahoma,Arial,sans-serif!important;
 letter-spacing:-.02em!important;
}
p,button,a,label,input,select,textarea,.offer-details,.pricing-card{
 font-family:"IBM Plex Sans Arabic","Cairo",Tahoma,Arial,sans-serif;
}
@media(max-width:600px){
 .brand strong{font-size:24px!important}
 .brand small{font-size:11px!important}
 .hero{background-position:center!important}
}


/* Header brand hierarchy: English name prominent, Arabic subtitle smaller */
.topbar .brand>span>strong,
.brand>span>strong{
 font-size:clamp(28px,3vw,36px)!important;
 line-height:1.05!important;
 font-weight:900!important;
 letter-spacing:.08em!important;
}
.topbar .brand>span>small,
.brand>span>small{
 font-size:10px!important;
 line-height:1.25!important;
 margin-top:2px!important;
 font-weight:600!important;
}
@media(max-width:600px){
 .topbar .brand>span>strong,.brand>span>strong{font-size:25px!important}
 .topbar .brand>span>small,.brand>span>small{font-size:9px!important}
}


/* LAYAN AQAR — Semsar-inspired clean property marketplace polish.
   Inspired by modern real-estate listing layouts; preserves LAYAN name and original logo. */
:root{
 --market-primary:#087fae;
 --market-primary-dark:#075477;
 --market-accent:#d2ad62;
 --market-red:#bd3038;
 --market-ink:#18384c;
 --market-muted:#6a8292;
 --market-line:#dceaf1;
 --market-surface:#ffffff;
 --market-soft:#f2f9fc;
}
body{
 color:var(--market-ink);
 background:#f5fafc;
 font-family:"Cairo","IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;
}
h1,h2,h3,h4,.section-heading h2,.offer-card h3{
 font-family:"Cairo","IBM Plex Sans Arabic",Tahoma,Arial,sans-serif!important;
 font-weight:800!important;
 letter-spacing:-.025em!important;
 line-height:1.45;
}
p,small,label,input,select,textarea,button,a,.offer-details{
 font-family:"IBM Plex Sans Arabic","Cairo",Tahoma,Arial,sans-serif;
}
.topbar{
 background:rgba(255,255,255,.98)!important;
 color:var(--market-primary-dark)!important;
 border-bottom:3px solid var(--market-accent)!important;
 box-shadow:0 5px 22px rgba(7,84,119,.09)!important;
}
.topbar nav a{color:#31596d!important;font-weight:700}
.topbar nav a:hover,.topbar nav a.active{
 color:var(--market-primary)!important;
 background:#e7f6fc;
 border-radius:9px;
}
.topbar .brand strong,.brand strong{color:var(--market-primary-dark)!important}
.topbar .brand small,.brand small{color:#53849b!important}
.hero{
 background:
  linear-gradient(90deg,rgba(4,58,86,.76),rgba(5,111,151,.48)),
  url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=2200&q=90') center 52%/cover no-repeat!important;
 border-bottom:4px solid var(--market-accent)!important;
}
.hero:before{
 background:linear-gradient(90deg,rgba(2,43,65,.2),rgba(4,84,119,.18))!important;
}
.hero h1,.hero p,.hero .eyebrow,.hero-content p{
 color:#fff!important;
 text-shadow:0 2px 9px rgba(0,28,43,.65)!important;
}
.hero .eyebrow{color:#ffe5a8!important;font-weight:800}
.hero h1{font-size:clamp(30px,4.4vw,50px)!important;line-height:1.35!important}
.search-panel,.filters{
 background:#fff!important;
 border:1px solid var(--market-line)!important;
 border-radius:16px!important;
 box-shadow:0 12px 32px rgba(7,84,119,.10)!important;
}
input,select,textarea{
 border:1px solid #d5e5ed;
 border-radius:10px;
 background:#fff;
}
input:focus,select:focus,textarea:focus{
 border-color:#39a9d2!important;
 box-shadow:0 0 0 3px rgba(57,169,210,.17)!important;
}
.section-heading h2,.how-section>h2{color:var(--market-primary-dark)!important}
.section-heading{margin-bottom:24px}
.category{
 background:#fff;
 color:#31596d;
 border:1px solid #dceaf1;
 border-radius:999px;
 font-weight:700;
 transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.category.active,.category:hover,.category-tile:hover{
 background:var(--market-primary)!important;
 border-color:var(--market-accent)!important;
 color:#fff!important;
}
#offersGrid .offer-card,.offer-card{
 border:1px solid var(--market-line)!important;
 border-radius:17px!important;
 background:#fff!important;
 box-shadow:0 8px 25px rgba(7,84,119,.075)!important;
 overflow:hidden;
}
#offersGrid .offer-card:hover,.offer-card:hover{
 border-color:#b8deed!important;
 box-shadow:0 16px 34px rgba(7,84,119,.14)!important;
}
.offer-card h3{color:var(--market-primary-dark)!important;font-size:20px!important}
.offer-card-content{padding:20px}
.offer-type{
 color:#075477!important;
 background:#fff4d9!important;
 border:1px solid #efdfb7!important;
 border-radius:999px!important;
 font-weight:800!important;
}
.offer-details{gap:9px!important}
.offer-details>div{
 background:linear-gradient(135deg,#effaff,#e1f5fc)!important;
 border:1px solid #ccebf6!important;
 border-radius:11px!important;
 padding:12px!important;
}
.offer-details span{color:#527d91!important;font-size:12px!important}
.offer-details strong{color:#087fae!important;font-weight:900!important}
.btn{font-weight:800!important;border-radius:10px!important}
.btn-dark{
 background:var(--market-primary)!important;
 border-color:var(--market-primary)!important;
 color:#fff!important;
}
.btn-dark:hover{background:var(--market-primary-dark)!important}
.btn-gold{
 background:linear-gradient(135deg,#f4d991,#d2ad62)!important;
 border-color:#c49b4a!important;
 color:#17384b!important;
}
.close-btn,#closeDialog{background:var(--market-red)!important}
.how-section{background:#f0f8fc!important;border-top:1px solid var(--market-line)!important}
.how-card,.steps article{
 background:#fff!important;
 border:1px solid var(--market-line)!important;
 border-radius:15px!important;
 box-shadow:0 7px 20px rgba(7,84,119,.05);
}
.how-card h3,.steps h3{color:var(--market-primary-dark)!important}
.steps article>b{color:var(--market-red)!important}
#partner-ads.partner-ads-section{
 background:linear-gradient(180deg,#eaf7fc,#fff)!important;
 border-color:#d4eaf4!important;
}
#partner-ads .partner-ad{
 border:1px solid #d9eaf1!important;
 border-radius:16px!important;
}
footer,.footer{
 background:linear-gradient(110deg,#063b58,#075f83 70%,#087fae)!important;
 border-top:4px solid var(--market-accent)!important;
}
@media(max-width:700px){
 .hero h1{font-size:clamp(28px,8vw,36px)!important}
 .offer-card-content{padding:15px!important}
 .offer-card h3{font-size:18px!important}
}


/* User-requested final corrections: darker ocean hero, smaller Arabic brand line, English LAYAN more prominent, paid/remaining boxes clear */
.hero{
  background:
    linear-gradient(100deg,rgba(2,35,57,.78),rgba(3,62,91,.70)),
    url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=2200&q=90') center 52%/cover no-repeat!important;
}
.hero:before{
  background:linear-gradient(90deg,rgba(1,29,47,.22),rgba(2,51,77,.30))!important;
}
.hero h1,.hero p,.hero .eyebrow,.hero-content p{
  color:#fff!important;
  text-shadow:0 2px 8px rgba(0,20,34,.8)!important;
}
.hero .eyebrow{color:#ffe5a8!important}

/* Paid and remaining amounts: darker, readable pale-blue tiles */
.offer-details > div{
  background:linear-gradient(135deg,#d9f2ff,#c5eaff)!important;
  border:1px solid #8fd1ed!important;
}
.offer-details span{color:#315e75!important;font-size:12px!important;font-weight:600!important}
.offer-details strong{color:#075477!important;font-size:17px!important;font-weight:900!important}
.offer-details [class*="paid"],.offer-details [class*="remaining"]{color:#075477!important}

/* English brand is the main word; Arabic subtitle deliberately smaller */
.topbar .brand>span>strong,.brand>span>strong{
  font-size:clamp(29px,3.2vw,38px)!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:.09em!important;
}
.topbar .brand>span>small,.brand>span>small{
  font-size:9px!important;
  line-height:1.2!important;
  margin-top:3px!important;
  font-weight:600!important;
}
h1,h2,h3,h4,.section-heading h2,.offer-card h3{
  font-family:"Cairo",Tahoma,Arial,sans-serif!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
}
p,small,label,input,select,textarea,button,a,.offer-details{
  font-family:"IBM Plex Sans Arabic","Cairo",Tahoma,Arial,sans-serif!important;
}
@media(max-width:600px){
  .topbar .brand>span>strong,.brand>span>strong{font-size:26px!important}
  .topbar .brand>span>small,.brand>span>small{font-size:8px!important}
  .offer-details strong{font-size:15px!important}
  .hero{background-position:center!important}
}


/* Exact correction requested:
   Ocean-wave hero: ENGLISH LAYAN AQAR larger, Arabic "ليان عقار" smaller.
   Main top header: English brand slightly smaller, Arabic brand line larger. */
.hero .hero-content > .eyebrow{
  display:block!important;
  font-size:clamp(34px,5vw,52px)!important;
  line-height:1.12!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  margin:0 0 8px!important;
}
.hero .hero-content > h1{
  font-size:clamp(22px,3vw,30px)!important;
  line-height:1.35!important;
  font-weight:700!important;
  margin:6px 0 12px!important;
}
.topbar .brand>span>strong{
  font-size:clamp(23px,2.4vw,30px)!important;
  line-height:1.1!important;
  letter-spacing:.06em!important;
}
.topbar .brand>span>small{
  font-size:clamp(13px,1.5vw,16px)!important;
  line-height:1.3!important;
  font-weight:700!important;
}
@media(max-width:600px){
  .hero .hero-content > .eyebrow{font-size:36px!important}
  .hero .hero-content > h1{font-size:23px!important}
  .topbar .brand>span>strong{font-size:22px!important}
  .topbar .brand>span>small{font-size:14px!important}
}


/* LAYAN smart search: clear, mobile-friendly budget filters */
.filters .smart-filter-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
  color:var(--navy);
  font-size:12px;
  font-weight:800;
}
.filters .smart-filter-field input{
  width:100%;
  min-width:0;
  min-height:44px;
  border:1px solid #cbd8e6;
  border-radius:9px;
  background:#f8fbff;
}
.filters .smart-filter-field input:focus{
  border-color:#0788bd;
  box-shadow:0 0 0 3px #0788bd20;
}
@media(max-width:700px){
  .filters .smart-filter-field{grid-column:1 / -1}
}
