/* =============================================================================
   ABOUT SECTION — شركة الإسراء لنقل وتغليف الأثاث
   Tokens from header.css (:root)
   Prefix  : ab  (abContent, abMedia, abTabs, abFeature…)
   Stack   : Bootstrap 5 RTL · No animation libs · RTL Arabic
   ============================================================================= */

/* ── 1. Section wrapper ─────────────────────────────────────────────────────── */
.aboutPremium {
  position: relative;
  background: #F8F9FB;
  /* Subtle radial highlight */
  background-image:
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(30, 96, 170, .055) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(246, 135, 18, .04)  0%, transparent 65%);
  padding: 88px 0 72px;
  overflow: hidden;
}

.aboutPremium__wrap { position: relative; }

/* ── 2. [data-animate] initial state ────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms cubic-bezier(.22, 1, .36, 1),
              transform 560ms cubic-bezier(.22, 1, .36, 1);
}

[data-animate].is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
[data-animate]:nth-child(2) { transition-delay: 80ms; }
[data-animate]:nth-child(3) { transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ── 3. Two-column grid ─────────────────────────────────────────────────────── */
.aboutPremium__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px 48px;
  align-items: start;
  margin-bottom: 64px;
}

@media (max-width: 991.98px) {
  .aboutPremium__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* ── 4. Content column ──────────────────────────────────────────────────────── */
.abContent { display: flex; flex-direction: column; gap: 0; }

/* Badge */
.abBadge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 16px;
  background: rgba(30, 96, 170, .08);
  border: 1px solid rgba(30, 96, 170, .20);
  border-radius: 50px;
  font-family: var(--es-font-ui);
  font-size: 12px;
  font-weight: 700;
  color: var(--es-blue);
  letter-spacing: .05em;
  margin-bottom: 18px;
  width: fit-content;
}

.abBadge .fas { font-size: 11px; }

/* Title */
.abTitle {
  font-family: var(--es-font-brand);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800;
  color: var(--es-navy);
  line-height: 1.28;
  margin: 0 0 20px;
}

.abTitle__accent {
  display: block;
  color: var(--es-orange);
}

/* Lead paragraph */
.abLead {
  font-family: var(--es-font-ui);
  font-size: clamp(15px, 1.5vw, 16.5px);
  font-weight: 600;
  color: var(--es-navy);
  line-height: 1.75;
  margin: 0 0 14px;
}

/* Supporting paragraph */
.abText {
  font-family: var(--es-font-ui);
  font-size: 14.5px;
  color: rgba(23, 34, 77, .68);
  line-height: 1.8;
  margin: 0 0 28px;
}

/* ── 5. Tabs ────────────────────────────────────────────────────────────────── */
.abTabs { margin-bottom: 28px; }

/* Tab nav row */
.abTabs__nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid rgba(23, 34, 77, .10);
  margin-bottom: 20px;
}

.abTab {
  position: relative;
  padding: 10px 18px;
  font-family: var(--es-font-ui);
  font-size: 14px;
  font-weight: 700;
  color: rgba(23, 34, 77, .55);
  background: transparent;
  border: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.abTab:hover { color: var(--es-blue); background: rgba(30, 96, 170, .05); }

.abTab.is-active { color: var(--es-navy); }

/* Active underline */
.abTab.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  inset-inline: 0;
  height: 2px;
  background: var(--es-orange);
  border-radius: 2px 2px 0 0;
}

.abTab:focus-visible {
  outline: 3px solid var(--es-orange);
  outline-offset: 2px;
}

/* Panels */
.abTabs__panels { position: relative; }

.abPanel {
  font-family: var(--es-font-ui);
  font-size: 14.5px;
  color: rgba(23, 34, 77, .72);
  line-height: 1.8;
  animation: abPanelIn 280ms ease;
}

.abPanel[hidden] { display: none; }

@keyframes abPanelIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .abPanel { animation: none; }
}

.abPanel p { margin: 0 0 12px; }
.abPanel p:last-child { margin-bottom: 0; }

/* Checklist inside panel */
.abList {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.abList li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: rgba(23, 34, 77, .75);
}

.abList__ico {
  color: var(--es-orange);
  font-size: 11px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ── 6. CTA Buttons ─────────────────────────────────────────────────────────── */
.abActions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.abBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 50px;
  font-family: var(--es-font-ui);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background 200ms ease, color 200ms ease,
              box-shadow 200ms ease, transform 130ms ease;
}

.abBtn:focus-visible { outline: 3px solid var(--es-orange); outline-offset: 3px; }
.abBtn:active        { transform: scale(.96); }

/* Call — solid orange */
.abBtn--call {
  background: linear-gradient(135deg, #f9a13a, var(--es-orange), #e8780a);
  color: #ffffff;
  box-shadow: 0 5px 18px rgba(246, 135, 18, .32);
}
.abBtn--call:hover { box-shadow: 0 8px 24px rgba(246, 135, 18, .46); color: #fff; }

/* WhatsApp — navy solid */
.abBtn--wa {
  background: var(--es-navy);
  color: #ffffff;
  border-color: var(--es-navy);
}
.abBtn--wa:hover {
  background: var(--es-blue);
  border-color: var(--es-blue);
  color: #fff;
  box-shadow: 0 5px 18px rgba(30, 96, 170, .28);
}

/* ── 7. Media column ────────────────────────────────────────────────────────── */
.abMedia {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 110px;            /* sticks below the sticky header on desktop */
}

@media (max-width: 991.98px) {
  .abMedia { position: static; order: -1; } /* video above text on mobile */
}

/* Video card */
.abVideoCard {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(23, 34, 77, .14);
  background: var(--es-navy);
  /* 16:9 aspect ratio — prevents CLS before video loads */
  aspect-ratio: 16 / 9;
}

.abVideo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* poster is shown immediately — no layout shift */
}

.abVideo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(23, 34, 77, .45) 100%
  );
  pointer-events: none;
}

/* ── 8. Trust proof cards ───────────────────────────────────────────────────── */
.abTrust {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.abTrust__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(23, 34, 77, .08);
  box-shadow: 0 2px 10px rgba(23, 34, 77, .05);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.abTrust__card:hover {
  box-shadow: 0 6px 20px rgba(23, 34, 77, .09);
  transform: translateY(-2px);
}

.abTrust__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(246, 135, 18, .10);
  color: var(--es-orange);
  font-size: 15px;
  flex-shrink: 0;
}

.abTrust__body { flex: 1; }

.abTrust__title {
  display: block;
  font-family: var(--es-font-ui);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--es-navy);
  margin-bottom: 3px;
}

.abTrust__text {
  font-family: var(--es-font-ui);
  font-size: 12.5px;
  color: rgba(23, 34, 77, .60);
  line-height: 1.55;
  margin: 0;
}

/* ── 9. Feature cards row ───────────────────────────────────────────────────── */
.abFeatures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 767.98px) {
  .abFeatures { grid-template-columns: 1fr; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .abFeatures { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

.abFeature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(23, 34, 77, .08);
  box-shadow: 0 2px 12px rgba(23, 34, 77, .05);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.abFeature:hover {
  box-shadow: 0 8px 28px rgba(23, 34, 77, .10);
  transform: translateY(-3px);
}

/* Icon wrapper colours */
.abFeature__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 18px;
  flex-shrink: 0;
}

.abFeature--orange .abFeature__ico { background: rgba(246, 135, 18, .12); color: var(--es-orange); }
.abFeature--blue   .abFeature__ico { background: rgba(30,  96, 170, .10); color: var(--es-blue);   }
.abFeature--navy   .abFeature__ico { background: rgba(23,  34,  77, .08); color: var(--es-navy);   }

.abFeature__body { flex: 1; }

.abFeature__title {
  font-family: var(--es-font-ui);
  font-size: 15px;
  font-weight: 700;
  color: var(--es-navy);
  margin: 0 0 6px;
}

.abFeature__text {
  font-family: var(--es-font-ui);
  font-size: 13.5px;
  color: rgba(23, 34, 77, .62);
  line-height: 1.65;
  margin: 0;
}

/* ── 10. Print ──────────────────────────────────────────────────────────────── */
@media print {
  .abMedia { display: none; }
  .aboutPremium { background: #fff; padding: 40px 0; }
}
