/* Explain: Styles specific to the paid landing pages. */
/* =========================================================
   DMA — PAID LANDING PAGES (.lp-page)
   Reuses the campaign utility layer (css/campaign.css: .lp-*)
   plus the shared tokens in css/theme.css.
   `.lp-page` is deliberately NOT `.lp-campaign`: that class is
   reserved for the Arabic growth page and drives the consent
   banner language, so landing pages take their language from
   <html lang> / direction instead.
   ========================================================= */

.lp-page {
  background: var(--lp-canvas);
  color: var(--lp-ink);
  font-family: var(--font-body);
}

.lp-page h1,
.lp-page h2,
.lp-page h3,
.lp-page h4,
.lp-page p,
.lp-page dl,
.lp-page dd,
.lp-page figure {
  margin: 0;
}

.lp-page ul,
.lp-page ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-page fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

/* clearance for the fixed minimal header */
.lp-main {
  padding-top: 64px;
}

@media (min-width: 768px) {
  .lp-main {
    padding-top: 80px;
  }
}

/* ---------- hero ---------- */
.lp-hero {
  border-bottom: 1px solid var(--lp-line);
}

.lp-statstrip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  border-top: 1px solid var(--lp-line);
  padding-top: 32px;
}

@media (min-width: 640px) {
  .lp-statstrip {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* ---------- portfolio ---------- */
.lp-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .lp-work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.lp-work-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: var(--lp-mist);
}

.lp-work-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease-out;
}

.lp-work-card:hover .lp-work-media img {
  transform: scale(1.03);
}

/* ---------- offer ---------- */
.lp-offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .lp-offer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.lp-step-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--lp-line);
}

.lp-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--lp-line);
}

@media (min-width: 768px) {
  .lp-step {
    grid-template-columns: 4fr 8fr;
    gap: 32px;
    align-items: start;
  }
}

/* ---------- form ---------- */
.lp-form-card {
  border: 1px solid var(--lp-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 60px var(--lp-shadow);
}

.lp-select-wrap {
  position: relative;
}

.lp-caret {
  position: absolute;
  top: 50%;
  left: auto;
  right: 0;
  transform: translateY(-50%);
  font-size: 12px;
  opacity: .4;
  pointer-events: none;
}

[dir="rtl"] .lp-caret {
  left: 0;
  right: auto;
}

/* ---------- mobile contact dock ---------- */
.lp-dock {
  position: fixed;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  width: 250px;
  height: 48px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--lp-ink);
  color: #fff;
  box-shadow: 0 20px 40px rgba(19, 12, 14, .28);
  transition: opacity .3s ease, transform .3s ease;
}

@media (min-width: 768px) {
  .lp-dock {
    display: none;
  }
}

.lp-dock a {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 12px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  transition: background-color .25s ease;
}

.lp-dock a + a {
  border-inline-start: 1px solid rgba(255, 255, 255, .14);
}

.lp-dock a:hover {
  background: rgba(255, 255, 255, .08);
}

.lp-dock a:focus-visible {
  outline: 2px solid var(--lp-accent);
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  .lp-work-media img,
  .lp-dock,
  .lp-dock a {
    transition: none;
  }

  .lp-work-card:hover .lp-work-media img {
    transform: none;
  }
}