.lp-sectors {
  --lp-sec-d: 4;
  --lp-sec-m: 2;
  --lp-sec-r: 22px;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 64px 0 36px;
  color: #17315c;
  background: var(--lp-bg, #f8fbff);
  font-family: var(--lp-font, "Tajawal", Tahoma, Arial, sans-serif);
}

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

.lp-sectors-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.lp-sectors-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-sectors.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 249, 255, 0.88));
}

.lp-sectors-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.lp-sectors-sky {
  position: absolute;
  top: 8px;
  inset-inline-start: 0;
  width: min(48vw, 620px);
  height: auto;
  opacity: 0.85;
}

.lp-sectors-palm {
  position: absolute;
  bottom: 8%;
  width: 120px;
  height: auto;
  opacity: 0.9;
}

.lp-sectors-palm.is-start { inset-inline-start: -10px; }
.lp-sectors-palm.is-end { inset-inline-end: -18px; bottom: 18%; width: 100px; }

.lp-sectors-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.lp-sectors-head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
}

.lp-sectors-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: #3e5d86;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(32, 78, 140, 0.08);
}

.lp-sectors-badge svg { fill: #2f6fe4; }

.lp-sectors-head h2 {
  margin: 0;
  color: #16356b;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.28;
}

.lp-sectors-head h2 span {
  display: block;
  color: #2f6bff;
}

.lp-sectors-lead {
  margin: 12px auto 0;
  max-width: 640px;
  color: #60789b;
  font-size: 16px;
  line-height: 1.85;
}

.lp-sectors-float {
  display: none;
}

.lp-sectors-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0 0 22px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lp-sectors-filters::-webkit-scrollbar { display: none; }

.lp-sectors-filter {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  border: 1px solid #e5eef8;
  border-radius: 999px;
  background: #fff;
  color: #3d5278;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(30, 70, 140, 0.05);
}

.lp-sectors-filter .lp-icon { width: 16px; height: 16px; }
.lp-sectors-filter svg { fill: currentColor; }

.lp-sectors-filter.is-on {
  border-color: transparent;
  background: #2f6fe4;
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 111, 228, 0.28);
}

.lp-sectors-grid {
  display: grid;
  grid-template-columns: repeat(var(--lp-sec-m), minmax(0, 1fr));
  gap: 14px;
}

.lp-sectors-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: var(--lp-sec-r);
  overflow: hidden;
  color: #fff;
  text-align: start;
  cursor: pointer;
  background: #16324f;
  box-shadow: 0 10px 24px rgba(18, 42, 84, 0.08);
}

.lp-sectors-card[hidden],
.lp-sectors-more[hidden],
.lp-sectors-modal[hidden] { display: none !important; }

.lp-sectors-card.is-blue { background: linear-gradient(160deg, #24598f, #10283f 58%, #1b3348); }
.lp-sectors-card.is-teal { background: linear-gradient(160deg, #1c7f86, #12343c 55%, #163044); }
.lp-sectors-card.is-green { background: linear-gradient(160deg, #2f8f62, #163628 55%, #1c3044); }
.lp-sectors-card.is-orange { background: linear-gradient(160deg, #c56a32, #3a261c 52%, #1d2b3c); }
.lp-sectors-card.is-purple { background: linear-gradient(160deg, #6a4db8, #2a2144 55%, #1b2740); }
.lp-sectors-card.is-pink { background: linear-gradient(160deg, #c45b86, #3a2434 55%, #1c2838); }

.lp-sectors-media,
.lp-sectors-shade { position: absolute; inset: 0; }

.lp-sectors-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.lp-sectors-shade {
  background: linear-gradient(180deg, rgba(7, 16, 32, 0.05) 18%, rgba(7, 16, 32, 0.18) 48%, rgba(6, 14, 28, 0.78) 100%);
}

.lp-sectors-ico,
.lp-sectors-go {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.lp-sectors-ico {
  top: 12px;
  inset-inline-end: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.94);
  color: #2f6fe4;
}

.lp-sectors-card.is-orange .lp-sectors-ico { color: #e07a2f; }
.lp-sectors-card.is-green .lp-sectors-ico { color: #1f9d57; }
.lp-sectors-card.is-teal .lp-sectors-ico { color: #0f8f8a; }
.lp-sectors-card.is-purple .lp-sectors-ico { color: #7c4ddb; }
.lp-sectors-card.is-pink .lp-sectors-ico { color: #d4538a; }

.lp-sectors-ico .lp-icon { width: 18px; height: 18px; }

.lp-sectors-go {
  top: 14px;
  inset-inline-start: 12px;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.lp-sectors-card-copy {
  position: absolute;
  z-index: 2;
  inset-inline: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-sectors-card-copy strong {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.lp-sectors-card-copy > span,
.lp-sectors-card-badge {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.5;
}

.lp-sectors-card-badge {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.lp-sectors-morebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.lp-sectors-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: #121a33;
  color: #fff;
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 24, 48, 0.16);
}

.lp-sectors-more svg { transition: transform 0.2s ease; }
.lp-sectors-more.is-open svg { transform: rotate(180deg); }

.lp-sectors-morehint {
  margin: 0;
  color: #6a7f9e;
  font-size: 13px;
  font-weight: 700;
}

.lp-sectors-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lp-sectors-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(16, 32, 58, 0.28);
  cursor: pointer;
}

.lp-sectors-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  padding: 46px 18px 18px;
  box-shadow: 0 24px 70px rgba(16, 40, 80, 0.18);
}

.lp-sectors-x {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f4f7fb;
  color: #31486f;
  cursor: pointer;
}

.lp-sectors-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.lp-sectors[data-modal="stack"] .lp-sectors-layout { grid-template-columns: 1fr; }

.lp-sectors-copy { min-width: 0; padding: 12px 8px 8px; }
.lp-sectors-copy-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.lp-sectors-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: #2f6fe4;
  font-size: 14px;
  font-weight: 800;
}

.lp-sectors-kicker .lp-icon { width: 16px; height: 16px; }

.lp-sectors-copy h3 {
  margin: 0;
  color: #16356b;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.25;
}

.lp-sectors-text {
  margin: 12px 0 0;
  color: #5d7292;
  font-size: 15px;
  line-height: 1.85;
}

.lp-sectors-mark {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background:
    radial-gradient(circle at 30% 30%, #fff, #f3f7ff 55%, #e7eef8);
  box-shadow: 0 8px 20px rgba(30, 60, 110, 0.08);
}

.lp-sectors-mark.is-icon {
  display: grid;
  place-items: center;
  color: #e07a2f;
}

.lp-sectors-mark.is-blue { color: #2f6fe4; }
.lp-sectors-mark.is-teal { color: #0f8f8a; }
.lp-sectors-mark.is-green { color: #1f9d57; }
.lp-sectors-mark.is-purple { color: #7c4ddb; }
.lp-sectors-mark.is-pink { color: #d4538a; }
.lp-sectors-mark .lp-icon { width: 36px; height: 36px; }

.lp-sectors-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.lp-sectors-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f6f8fb;
  color: #1d355e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.lp-sectors-features li > span {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff4e8;
  color: #e07a2f;
}

.lp-sectors-features li.is-blue > span { background: #e8f1ff; color: #2f6fe4; }
.lp-sectors-features li.is-teal > span { background: #e5f8f6; color: #0f8f8a; }
.lp-sectors-features li.is-green > span { background: #e7f8ee; color: #1f9d57; }
.lp-sectors-features li.is-purple > span { background: #f3eaff; color: #7c4ddb; }
.lp-sectors-features li.is-pink > span { background: #fde8f2; color: #d4538a; }
.lp-sectors-features .lp-icon { width: 18px; height: 18px; }

.lp-sectors-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lp-sectors-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.lp-sectors-btn.is-primary { background: #2f6fe4; color: #fff; }
.lp-sectors-btn.is-ghost { background: #fff; color: #2a446e; border: 1px solid #d9e3f0; }
.lp-sectors-btn .lp-icon { width: 16px; height: 16px; }

.lp-sectors-player {
  position: relative;
  min-height: 240px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(160deg, #3c342c, #1b2836 70%);
}

.lp-sectors-player img,
.lp-sectors-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.lp-sectors-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #2f6fe4;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.lp-sectors-yt {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 8px;
  background: #ff2d2d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

html.lp-sectors-lock,
html.lp-sectors-lock body { overflow: hidden; }

@media (hover: hover) and (pointer: fine) {
  .lp-sectors-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .lp-sectors-media img { transition: transform 0.35s ease; }
  .lp-sectors-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(16, 42, 88, 0.16);
  }
  .lp-sectors-card:hover .lp-sectors-media img { transform: scale(1.02); }
}

.lp-sectors-card.is-reveal { animation: lp-sectors-in 0.35s ease; }

@keyframes lp-sectors-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 900px) {
  .lp-sectors-grid { grid-template-columns: repeat(var(--lp-sec-d), minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .lp-sectors-float {
    position: absolute;
    z-index: 2;
    display: block;
    max-width: 150px;
    margin: 0;
    padding: 12px 14px 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: #1d3f73;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
    box-shadow: 0 10px 28px rgba(32, 72, 130, 0.08);
  }
  .lp-sectors-float svg { display: block; width: 72px; height: 28px; margin-top: 4px; color: #8fb0d4; }
  .lp-sectors-float.is-start { top: 92px; inset-inline-start: max(12px, calc((100% - 1180px) / 2)); }
  .lp-sectors-float.is-end { top: 48px; inset-inline-end: max(12px, calc((100% - 1180px) / 2)); }
}

@media (max-width: 899px) {
  .lp-sectors { padding: 28px 0 20px; }
  .lp-sectors-head h2 { font-size: 28px; }
  .lp-sectors-lead { font-size: 14px; }
  .lp-sectors-scene,
  .lp-sectors-float { display: none; }
  .lp-sectors-filters { justify-content: flex-start; margin-inline: -4px; padding-bottom: 4px; }
  .lp-sectors-card-copy strong { font-size: 15px; }
  .lp-sectors-modal { align-items: end; padding: 0; }
  .lp-sectors-dialog {
    width: 100%;
    max-height: min(92dvh, 920px);
    border-radius: 22px 22px 0 0;
    padding: 46px 16px calc(16px + env(safe-area-inset-bottom));
  }
  .lp-sectors-layout { grid-template-columns: 1fr; }
  .lp-sectors-player { order: -1; min-height: 210px; }
  .lp-sectors-actions .lp-sectors-btn { flex: 1 1 140px; }
}

.lp-sectors.is-force-mobile .lp-sectors-grid,
.lp-sectors.is-force-tablet .lp-sectors-grid { grid-template-columns: repeat(var(--lp-sec-m), minmax(0, 1fr)); }
.lp-sectors.is-force-desktop .lp-sectors-grid { grid-template-columns: repeat(var(--lp-sec-d), minmax(0, 1fr)); }

.lp-sectors.is-force-mobile .lp-sectors-scene,
.lp-sectors.is-force-mobile .lp-sectors-float { display: none; }

.lp-sectors.is-force-mobile .lp-sectors-modal { align-items: end; padding: 0; }
.lp-sectors.is-force-mobile .lp-sectors-dialog {
  width: 100%;
  max-height: 92%;
  border-radius: 22px 22px 0 0;
}
.lp-sectors.is-force-mobile .lp-sectors-layout { grid-template-columns: 1fr; }
.lp-sectors.is-force-mobile .lp-sectors-player { order: -1; }

.lp-sectors-frame {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid #e6eef6;
  border-radius: 16px;
  background: #f4f8fc;
}

.lp-sectors-frame.is-mobile { width: 390px; max-width: 100%; }
.lp-sectors-frame.is-tablet { width: 820px; max-width: 100%; }
.lp-sectors-frame.is-desktop { width: 100%; }
.lp-sectors-frame .lp-sectors-modal { position: absolute; }
.lp-sectors-frame.is-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .lp-sectors-card,
  .lp-sectors-media img,
  .lp-sectors-more svg { transition: none; }
  .lp-sectors-card.is-reveal { animation: none; }
}

[dir="ltr"] .lp-sectors-go svg,
[dir="ltr"] .lp-sectors-arrow { transform: scaleX(-1); }
