/* Landing page shown instead of the home page while LandingPageSettings.Enabled is on (Views/Home/Landing.cshtml) */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background: #f4f1ed;
  color: #273744;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input {
  font-family: inherit;
}

/* ===== HEADER ===== */
.site-header {
  height: 72px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.brand {
  height: 68px;
  display: block;
}
.brand img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}
.socials {
  position: absolute;
  left: 30px;
  top: 0;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 17px;
  direction: ltr;
}
.socials a {
  width: 25px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #111;
  font-size: 22px;
  line-height: 1;
  transition: 0.2s ease;
}
.socials a:hover {
  color: #a65a22;
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  padding: 12px 28px 28px;
  background-image: url(hero-bg.webp);
  background-size: cover;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 50% 70%,
      rgba(174, 91, 29, 0.12),
      transparent 30%
    ),
    radial-gradient(circle at 15% 65%, rgba(73, 46, 29, 0.08), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(221, 213, 204, 0.2));
  pointer-events: none;
}
.hero-title {
  position: relative;
  z-index: 3;
  text-align: center;
  margin: 0 auto;
  max-width: 1180px;
}
.hero-title h1 {
  margin: 0;
  color: #263642;
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -1px;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);
}
.hero-title p {
  margin: 1.2% 0 0;
  color: #3b3028;
  font-size: clamp(16px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.4;
}
.hero-title p strong {
  color: #ad5c20;
}

.hero-main {
  position: relative;
  z-index: 2;
  width: min(1500px, 100%);
  min-height: 520px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: end;
  direction: ltr;
  justify-content: space-between;
}

/* ===== LEFT: APP BADGES ===== */
.hero-left {
  position: relative;
  height: 510px;
  direction: rtl;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.stores {
  position: absolute;
  z-index: 5;
  bottom: 2px;
  left: 5px;
  display: flex;
  gap: 13px;
  direction: ltr;
  align-items: center;
}
.store-badge {
  display: block;
  width: 190px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.store-badge:hover {
  transform: translateY(-3px);
  filter: brightness(1.04);
}

.hero-footer {
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-footer p {
  display: inline-block;
  font-size: 23px;
  color: #3e1f08;
  font-weight: 700;
  margin: 2% 0 0;
  padding: 4px 14px;
  background: #ffffff8c;
  border-radius: 9px;
}
.hero-footer span {
  display: inline-block;
  margin: 0 12px;
}

/* ===== FORM ===== */
.offer-card {
  position: relative;
  z-index: 8;
  width: 100%;
  max-width: 430px;
  margin-bottom: 10px;
  background: linear-gradient(145deg, #1d2a33 0%, #273943 100%);
  border: 2px solid rgba(132, 73, 30, 0.78);
  border-radius: 15px;
  padding: 22px 14px 25px;
  color: #fff;
  box-shadow: 0 23px 38px rgba(30, 25, 20, 0.28);
  direction: rtl;
}
.card-top {
  text-align: center;
  margin: 0 0 17px;
}
.card-top p {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 700;
}
.card-top strong {
  color: #bd6b2b;
}

.field {
  position: relative;
  height: 49px;
  margin: 11px 0;
}
.field input {
  width: 100%;
  height: 49px;
  border: 0;
  outline: 0;
  background: #fff;
  color: #444;
  border-radius: 10px;
  padding: 0 18px 0 54px;
  font-size: 14px;
  text-align: right;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.field input::placeholder {
  color: #a5a09a;
  opacity: 1;
}
.field-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 41px;
  height: 49px;
  border-radius: 10px 0 0 10px;
  display: grid;
  place-items: center;
  background: #9b4f1b;
  color: #fff;
  z-index: 2;
  font-size: 18px;
}
.phone-field input {
  padding-left: 100px;
}
.country-code {
  position: absolute;
  left: 44px;
  top: 0;
  height: 49px;
  min-width: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  direction: ltr;
  color: #7c7771;
  font-size: 12px;
  pointer-events: none;
  z-index: 2;
}

.check {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  margin: 8px 2px 12px;
  color: #f3f3f3;
  font-size: 11.5px;
  line-height: 1.5;
  cursor: pointer;
}
.check input {
  appearance: none;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 0;
  border: 1px solid #aeb5b8;
  border-radius: 3px;
  background: #18242b;
  position: relative;
}
.check input:checked {
  background: #9b4f1b;
  border-color: #c47a3c;
}
.check input:checked:after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
}
.check b {
  color: #c97634;
}

.submit-btn {
  width: 100%;
  height: 49px;
  border: 0;
  border-radius: 9px;
  background: #9b4f19;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.18);
  transition: 0.2s ease;
}
.submit-btn:hover {
  background: #ad5a20;
  transform: translateY(-1px);
}
.submit-btn:disabled {
  opacity: 0.75;
  cursor: default;
  transform: none;
}
.form-note {
  min-height: 16px;
  margin: 7px 0 -3px;
  text-align: center;
  color: #e2b183;
  font-size: 11px;
}
.form-note.error {
  color: #ff9d8a;
}

@media (max-width: 1200px) {
  .store-badge {
    width: 160px;
  }
}
@media(max-width:767px) {

    .hero-left {
        height: auto;
        margin-top: -40% !important;
        margin-bottom: 40% !important;
        margin-right: auto;
        margin-left: auto;
    }
}
@media(max-width:950px) {
    .hero {
        padding-inline: 16px;
        background-size: contain;
        background-repeat: no-repeat;
        padding-top: 60%
    }

    .hero-main {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 0;
        padding-top: 5%;
        display: flex;
        flex-direction: column;
    }

    .hero-footer p {
        font-size: 23px;
        color: #3e1f08;
        font-weight: 700;
        padding-top: 0%;
    }

    .hero-footer {
        background: #ffffff8c;
        border-radius: 9px;
        white-space: pre-line;
        margin-top: 4%;
    }

    .offer-card {
        order: 1;
        justify-self: center;
        max-width: 500px;
        margin: 15px auto 0;
    }

    .hero-center {
        order: 2;
        height: 390px;
    }

        .hero-center img {
            width: 600px;
            height: 390px;
        }

    .hero-left {
        order: 1;
        height: auto;
    }

    .hero-left {
        height: auto;
        margin-top: -25%;
        margin-bottom: 25%;
        margin-right: auto;
        margin-left: auto;
    }

    .hero-left-art {
        width: 500px;
        right: 50%;
        transform: translateX(50%);
        top: -45px;
    }

    .stores {
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
    }

    .feature-grid {
        grid-template-columns: 1fr
    }

    .cta {
        margin-inline: 18px;
        flex-direction: column;
        text-align: center
    }
}
@media (max-width: 600px) {
  .site-header {
    height: 62px;
  }
  .brand {
    height: 59px;
  }
  .socials {
    left: 15px;
    height: 62px;
    gap: 11px;
  }
  .socials a {
    font-size: 19px;
    width: 21px;
  }
  .hero-title h1 {
    font-size: 27px;
    letter-spacing: -0.5px;
  }
  .hero-title p {
    font-size: 14px;
  }
  .store-badge {
    width: 142px;
    border-radius: 9px;
  }
  .stores {
    gap: 8px;
  }
  .offer-card {
    padding: 19px 12px 22px;
  }
  .card-top p {
    font-size: 16px;
  }
  .hero-footer p {
    font-size: 16px;
  }
}
