:root {
  --bg-cream: #f6f0e7;
  --abx-brown: #62392b;
  --abx-ink: #2a1810;
  --abx-muted: rgba(42, 24, 16, 0.68);
  --abx-card-edge: rgba(98, 57, 43, 0.18);
  --font: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --font-display: "El Messiri", "IBM Plex Sans Arabic", Tahoma, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-cream);
  color: var(--abx-ink);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font-family: inherit;
}

.abx-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.abx-bg__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 50% -5%, rgba(98, 57, 43, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #f8f2ea 0%, #f3ebe1 42%, #ebe0d2 100%);
}

.abx-bg__wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.abx-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.abx-bg__glow--tl {
  top: -8%;
  inset-inline-start: -18%;
  width: 70vw;
  height: 42vh;
  background: rgba(255, 248, 238, 0.85);
}

.abx-bg__glow--br {
  bottom: -12%;
  inset-inline-end: -20%;
  width: 65vw;
  height: 38vh;
  background: rgba(98, 57, 43, 0.12);
}

.abx {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  margin: 0 auto;
  padding: max(56px, calc(env(safe-area-inset-top, 0px) + 36px)) 1.15rem
    max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.abx-header,
.sheet {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
}

.abx-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 0.35rem;
}

.abx-brands img:first-child {
  height: 52px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.abx-brands img:last-child {
  height: 46px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.abx-brands__divider {
  width: 1px;
  height: 34px;
  background: rgba(98, 57, 43, 0.28);
}

.abx-title {
  margin: 0.1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
}

.abx-subtitle {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 3.6vw, 1.22rem);
  font-weight: 600;
  line-height: 1.55;
}

.abx-subtitle span {
  color: var(--abx-brown);
  font-weight: 700;
}

.abx-diamond {
  width: 8px;
  height: 8px;
  margin: 0.35rem 0 0.1rem;
  background: var(--abx-brown);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(98, 57, 43, 0.12);
}

.city-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--abx-brown);
}

.back {
  align-self: flex-start;
  color: rgba(42, 24, 16, 0.72);
  text-decoration: none;
  font-size: 0.86rem;
}

.back:hover {
  color: var(--abx-brown);
}

.offer {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.offer article {
  min-width: 0;
  padding: 0.75rem 0.4rem 0.7rem;
  border-radius: 16px;
  color: #fffdf9;
  background: linear-gradient(160deg, #7a4836 0%, #62392b 55%, #4a2a1f 100%);
  box-shadow: 0 10px 22px rgba(98, 57, 43, 0.18);
}

.offer p {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  opacity: 0.82;
}

.offer strong {
  display: block;
  margin-top: 0.28rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.85rem 1rem 0.75rem;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), transparent 42%),
    linear-gradient(180deg, #fffdf9 0%, #f7efe5 100%);
  border: 1px solid var(--abx-card-edge);
  box-shadow:
    0 12px 30px rgba(98, 57, 43, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(98, 57, 43, 0.35);
  outline: none;
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--abx-brown);
  background: rgba(98, 57, 43, 0.08);
  border: 1px solid rgba(98, 57, 43, 0.18);
}

.card__icon svg {
  width: 30px;
  height: 30px;
}

.card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(22%) sepia(42%) saturate(892%) hue-rotate(346deg)
    brightness(92%) contrast(88%);
}

.card__name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  text-align: start;
}

.card__meta {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.8rem;
  color: rgba(42, 24, 16, 0.62);
  text-align: start;
}

.card__cta {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fffdf9;
  background: linear-gradient(145deg, #7a4836 0%, #62392b 48%, #4a2a1f 100%);
}

.form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: start;
}

.field span {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(98, 57, 43, 0.2);
  background: #fffdf9;
  color: var(--abx-ink);
  font-size: 1rem;
}

.field input,
.field select {
  height: 52px;
  padding: 0 0.95rem;
}

.field textarea {
  min-height: 110px;
  padding: 0.8rem 0.95rem;
  resize: vertical;
}

.field input:focus {
  outline: 2px solid rgba(98, 57, 43, 0.35);
  border-color: transparent;
}

.submit {
  height: 54px;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 16px;
  color: #fffdf9;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(145deg, #7a4836 0%, #62392b 48%, #4a2a1f 100%);
  box-shadow: 0 10px 22px rgba(98, 57, 43, 0.24);
}

.submit:disabled {
  opacity: 0.65;
  cursor: progress;
}

.form-error {
  margin: 0;
  color: #8a2e22;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: start;
}

body.has-city-bg .form-error {
  color: #fff;
  text-shadow:
    0 0 1px #000,
    1px 0 0 #000,
    -1px 0 0 #000,
    0 1px 0 #000,
    0 -1px 0 #000;
}

.thanks {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.thanks-note {
  margin: 0;
  max-width: 22rem;
  color: var(--abx-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.partners {
  margin-top: 0.4rem;
  width: 100%;
}

.partners ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.partners img {
  display: block;
  height: clamp(34px, 8vw, 48px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.partners img.on-cream {
  filter: brightness(0) saturate(100%) invert(22%) sepia(42%) saturate(892%) hue-rotate(346deg)
    brightness(92%) contrast(88%);
}

body.has-city-bg {
  background-color: #1c1612;
  background-image: var(--city-mobile);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center top;
  background-size: auto 132%;
}

body.has-city-bg .abx-bg {
  display: none;
}

body.has-city-bg .abx {
  background: transparent;
  padding-top: max(28px, env(safe-area-inset-top));
  padding-bottom: 22vh;
}

body.has-city-bg .abx-brands,
body.has-city-bg .form,
body.has-city-bg .thanks,
body.has-city-bg .cards {
  background: transparent;
  box-shadow: none;
}

.abx-lockup {
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin: 0 auto;
}

.city-marks {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0.85rem auto 0;
}

.offer-box {
  margin-top: 1rem;
  padding: 0.85rem 0.6rem 0.75rem;
  border: 1.5px solid rgba(255, 253, 248, 0.92);
  text-align: center;
  color: #fffdf8;
}

.offer-box h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 7.2vw, 2.35rem);
  font-weight: 700;
  -webkit-text-stroke: 0.6px #fffdf8;
  line-height: 1.3;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.65);
}

.offer-box p {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.65);
}

.offer-box .offer-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 3.3rem);
  font-weight: 700;
  line-height: 1;
  text-shadow: none;
}

.offer-box .offer-amount img {
  height: 0.85em;
  width: auto;
  display: block;
}

.offer-box .offer-terms {
  margin: 0.55rem auto 0;
  max-width: 18rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
  text-shadow:
    0 0 1px #000,
    1px 0 0 #000,
    -1px 0 0 #000,
    0 1px 0 #000,
    0 -1px 0 #000;
}

body.has-city-bg .form {
  margin-top: 1rem;
}

body.has-city-bg .field span,
body.has-city-bg .thanks {
  color: #fff;
  font-weight: 700;
  text-shadow:
    0 0 2px #000,
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 8px rgba(0, 0, 0, 0.75);
}

body.has-city-bg .cards .card__name,
body.has-city-bg .cards .card__meta {
  color: #2a1810;
  text-shadow: none;
}

body.has-city-bg .card__icon {
  background: #62392b;
  border-color: transparent;
}

body.has-city-bg .card__icon img {
  width: 32px;
  height: 32px;
  filter: none;
}

body.has-city-bg .field span {
  text-shadow:
    0 0 1px #000,
    1px 0 0 #000,
    -1px 0 0 #000,
    0 1px 0 #000,
    0 -1px 0 #000;
}

@media (min-width: 960px) {
  body.has-city-bg {
    background-image: var(--city-desktop);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
  }

  body.has-city-bg .abx {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 1.6rem 1.15rem 1.4rem;
    background: transparent;
    box-shadow: none;
  }
}

.fform-card {
  --f-brown: #46332c;
  --f-label: #5a3f36;
  --f-line: #e2d9cf;
  --f-tan: #b89a7a;
  --f-tan-soft: #d2b896;
  --f-tan-deep: #9a7d5e;
  --f-field: #f2ede6;
  width: min(100%, 440px);
  margin: 0.4rem auto 0;
  padding: 1.25rem 1.05rem 1.3rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(70, 51, 44, 0.07);
}

.fform-note {
  margin: 0 0 0.85rem;
  color: var(--f-label);
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
}

.fform {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.fform__field {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  text-align: right;
}

.fform__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--f-label);
}

.fform__label em {
  color: #c0392b;
  font-style: normal;
}

.fform__control {
  position: relative;
  display: block;
}

.fform__control input,
.fform__control select,
.fform__control textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 0.86rem;
  color: #111;
  background: var(--f-field);
  border: 1px solid var(--f-line);
  border-radius: 9px;
  padding: 0.62rem 2.85rem 0.62rem 0.75rem;
}

.fform__control textarea {
  min-height: 92px;
  resize: vertical;
  padding-top: 0.7rem;
}

.fform__control input::placeholder,
.fform__control textarea::placeholder {
  color: rgba(70, 51, 44, 0.32);
}

.fform__control input:focus,
.fform__control select:focus,
.fform__control textarea:focus {
  outline: none;
  background: #fff;
  border-color: #cbb69a;
  box-shadow: 0 0 0 3px rgba(184, 154, 122, 0.14);
}

.fform__icon-box {
  position: absolute;
  top: 50%;
  right: 0.4rem;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid #e4d8c8;
  background: #ebe3d7;
  color: var(--f-tan-deep);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.fform__icon-box--top {
  top: 0.48rem;
  transform: none;
}

.fform__icon-box svg {
  width: 12px;
  height: 12px;
}

.fform__control--select select {
  appearance: none;
  padding-left: 2.7rem;
  padding-right: 0.75rem;
  cursor: pointer;
  color: #111;
}

.fform__caret {
  position: absolute;
  top: 50%;
  left: 0.35rem;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--f-tan-soft);
  pointer-events: none;
}

.fform__caret::after {
  content: "";
  position: absolute;
  top: 46%;
  left: 50%;
  width: 5.5px;
  height: 5.5px;
  border-right: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: translate(-50%, -65%) rotate(45deg);
}

.fform__error {
  margin: 0;
  color: #9b1c1c;
  font-size: 0.92rem;
  line-height: 1.6;
}

.fform__submit {
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 48px;
  margin-top: 0.1rem;
  border: 0;
  border-radius: 11px;
  background: var(--f-brown);
  color: #fff;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(70, 51, 44, 0.14);
}

.fform__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.fform__submit-text {
  direction: rtl;
}

.fform__submit-icon {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
}

.fform__submit-icon svg {
  width: 17px;
  height: 17px;
}

.fform-card .thanks,
.fform-card .thanks-note {
  text-align: center;
  margin-inline: auto;
}

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
}


.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 360px);
  margin: 0 auto;
  background: transparent;
}
.brand-row__split {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.7);
}
.brand-tatwir,
.brand-sab {
  display: block;
  width: auto;
  margin: 0;
  object-fit: contain;
  background: transparent;
}
.offer-box .offer-terms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  max-width: 22rem;
  margin-top: 0.7rem;
  line-height: 1.45;
  text-shadow: none;
}
.offer-box .offer-terms br {
  display: none;
}
.marker {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 0.2rem 0.75rem 0.28rem;
  color: #fff;
  background: transparent;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}
.marker::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 8px;
  background: rgba(8, 14, 8, 0.72);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.brand-tatwir {
  height: 46px;
  filter: brightness(0) invert(1);
}
.brand-sab {
  height: 48px;
}
body.has-city-bg .field span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}
body.has-city-bg .field input {
  height: 58px;
  border: 2px solid #fff;
  background: rgba(255, 253, 249, 0.96);
  color: #1c120e;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
body.has-city-bg .field input::placeholder {
  color: rgba(28, 18, 14, 0.45);
  font-weight: 600;
}
.thanks { margin: 0.6rem 0 0; text-align: center; font-family: var(--font-display); font-size: 1.35rem; }

.masterplan {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  line-height: 0;
  background: #1c1612;
}
.masterplan picture,
.masterplan img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}
.masterplan__ph img {
  filter: blur(14px);
  transform: scale(1.06);
}
@media (min-width: 960px) {
  .masterplan picture,
  .masterplan img {
    object-position: center center;
  }
}
.brand-tatwir {
  display: block;
  width: auto;
}
body.has-city-bg {
  background: #1c1612 !important;
  background-image: none !important;
}
body.has-city-bg .abx {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  margin: 0 auto;
  padding-bottom: 2rem;
}
@media (min-width: 960px) {
  body.has-city-bg {
    background-image: none !important;
    background-attachment: scroll !important;
  }
  body.has-city-bg .abx {
    position: relative;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    width: min(440px, 36vw);
    margin: 0 max(5vw, 2rem) 0 auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .masterplan::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to left, rgba(24, 14, 10, 0.92) 0%, rgba(24, 14, 10, 0.82) 30%, rgba(24, 14, 10, 0.35) 52%, rgba(24, 14, 10, 0) 66%),
      linear-gradient(to top, rgba(24, 14, 10, 0.35), rgba(24, 14, 10, 0) 30%);
  }
  .masterplan picture,
  .masterplan img {
    object-position: 20% center;
  }
  .offer-box {
    border-color: rgba(255, 253, 248, 0.45);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
  }
  .marker::before {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  }
}
