﻿/* =====================================================
   صفحه درباره ما — About Us
   هماهنگ با Design System سایر صفحات سایت (contact / terms)
   Brand: #42C0F8 | BG: #fff + هاله‌های نوری | Card: #fff
   ===================================================== */

:root {
  --ab-brand: #42C0F8;
  --ab-brand-dark: #1f63c2;
  --ab-brand-deep: #1A3A5C;
  --ab-brand-soft: #E8F5FC;
  --ab-brand-soft-2: #F4FAFE;
  --ab-bg: #fff;
  --ab-border: #E8F1F8;
  --ab-border-2: #DCEBF7;
  --ab-text: #1A3A5C;
  --ab-text-2: #3D5B7A;
  --ab-text-3: #6B87A3;
  --ab-shadow: 0 8px 30px rgba(40, 78, 120, 0.07);
  --ab-shadow-hover: 0 16px 40px rgba(40, 78, 120, 0.12);
  --ab-shadow-brand: 0 10px 26px rgba(66, 192, 248, 0.28);
  --ab-radius: 22px;
  --ab-radius-sm: 14px;
  --ab-transition: 0.24s ease-out;
  --ab-gold: #E8A93A;
}

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

/* ---------- پس‌زمینه صفحه ---------- */
.ab-page {
  position: relative;
  background:
    radial-gradient(900px 420px at 92% -8%, rgba(66, 192, 248, 0.12), transparent 60%),
    radial-gradient(760px 380px at 4% 14%, rgba(31, 99, 194, 0.08), transparent 62%),
    var(--ab-bg);
  overflow-x: clip;
  padding: 44px 0 72px;
  font-family: inherit;
  direction: rtl;
  animation: abFade 0.5s ease-out;
}

@keyframes abFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- برگ‌های تزئینی ---------- */
.ab-leaf {
  position: absolute;
  z-index: 0;
  width: 240px;
  opacity: 0.07;
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
}

.ab-leaf svg {
  display: block;
  width: 100%;
  height: auto;
}

.ab-leaf--tr {
  top: -70px;
  right: -60px;
  transform: rotate(-12deg);
}

.ab-leaf--bl {
  bottom: -70px;
  left: -60px;
  transform: rotate(14deg);
}

/* ---------- کانتینر ---------- */
.ab-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 46px;
}

/* ---------- مسیر صفحه ---------- */
.ab-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ab-text-3);
}

.ab-breadcrumb a {
  color: var(--ab-brand);
  text-decoration: none;
  font-weight: 700;
  transition: color var(--ab-transition);
}

.ab-breadcrumb a:hover {
  color: var(--ab-brand-dark);
}

.ab-breadcrumb-sep {
  opacity: 0.7;
}

.ab-breadcrumb-current {
  font-weight: 700;
  color: var(--ab-text);
}

/* ---------- دکمه‌ها ---------- */
.ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--ab-radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all var(--ab-transition);
}

.ab-btn i {
  font-size: 17px;
  transition: transform var(--ab-transition);
}

.ab-btn--primary {
  background: var(--ab-brand);
  color: #ffffff;
  box-shadow: var(--ab-shadow-brand);
}

.ab-btn--primary:hover {
  background: var(--ab-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(66, 192, 248, 0.36);
}

.ab-btn--primary:hover i {
  transform: translateX(-3px);
}

.ab-btn--soft {
  background: #ffffff;
  color: var(--ab-brand-dark);
  border-color: var(--ab-border-2);
}

.ab-btn--soft:hover {
  background: var(--ab-brand-soft);
  border-color: var(--ab-brand);
  box-shadow: var(--ab-shadow-brand);
}

.ab-btn--light {
  background: #ffffff;
  color: var(--ab-brand-dark);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.ab-btn--light:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
}

.ab-btn--light:hover i {
  transform: translateX(-4px);
}

.ab-btn--ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}

.ab-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ---------- کارت پایه ---------- */
.ab-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
  transition: transform var(--ab-transition), box-shadow var(--ab-transition),
    border-color var(--ab-transition);
}

/* ---------- سربرگ (کارت هیرو) ---------- */
.ab-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(66, 192, 248, 0.16) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(31, 99, 194, 0.1) 100%),
    #fff;
  border: 1px solid var(--ab-border-2);
  box-shadow: var(--ab-shadow);
  overflow: hidden;
}

.ab-hero::after {
  content: "";
  position: absolute;
  inset-inline-start: -60px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 192, 248, 0.35), transparent 70%);
  pointer-events: none;
}

.ab-hero__main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.ab-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: #fff;
  color: var(--ab-brand);
  font-size: 30px;
  border: 1px solid var(--ab-border-2);
  box-shadow: 0 10px 24px rgba(66, 192, 248, 0.25);
}

.ab-hero__text {
  min-width: 0;
}

.ab-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--ab-border-2);
  color: var(--ab-brand-dark);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.ab-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ab-brand);
  animation: abPulse 2.2s infinite;
}

@keyframes abPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(66, 192, 248, 0.4);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(66, 192, 248, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(66, 192, 248, 0);
  }
}

.ab-hero__title {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--ab-text);
}

.ab-hero__sub {
  margin: 0 0 24px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ab-text-2);
  max-width: 560px;
}

.ab-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* تصویر هیرو + میکروکارت‌ها */
.ab-hero__visual {
  position: relative;
  z-index: 1;
  padding: 6px;
}

.ab-hero__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--ab-radius);
  overflow: hidden;
  border: 1px solid var(--ab-border-2);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(66, 192, 248, 0.22), transparent 60%),
    linear-gradient(135deg, var(--ab-brand-soft) 0%, #ffffff 65%, var(--ab-border-2) 100%);
  box-shadow: var(--ab-shadow);
}

.ab-hero__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-micro {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--ab-border-2);
  box-shadow: 0 12px 28px rgba(40, 78, 120, 0.14);
  z-index: 2;
}

.ab-micro__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--ab-brand-soft), #fff);
  border: 1px solid var(--ab-border-2);
  color: var(--ab-brand);
  font-size: 19px;
}

.ab-micro strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ab-text);
}

.ab-micro small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--ab-text-3);
}

.ab-micro--1 {
  top: 26px;
  left: -18px;
}

.ab-micro--2 {
  bottom: 58px;
  right: -18px;
}

.ab-micro--3 {
  bottom: -12px;
  left: 26px;
}

/* ---------- عنوان بخش‌ها ---------- */
.ab-section {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.ab-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.ab-head--start {
  align-items: flex-start;
  text-align: right;
}

.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ab-brand-soft);
  color: var(--ab-brand);
  font-size: 12.5px;
  font-weight: 700;
}

.ab-eyebrow i {
  font-size: 15px;
}

.ab-title {
  margin: 4px 0 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--ab-text);
}

.ab-sub {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ab-text-3);
  max-width: 680px;
}

/* =====================================================
   آمار و اعتماد
   ===================================================== */
.ab-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ab-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
  overflow: hidden;
  transition: all var(--ab-transition);
}

.ab-stat::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ab-brand), rgba(66, 192, 248, 0.05));
  opacity: 0;
  transition: opacity var(--ab-transition);
}

.ab-stat:hover {
  transform: translateY(-5px);
  border-color: #CBE9FB;
  box-shadow: var(--ab-shadow-hover);
}

.ab-stat:hover::before {
  opacity: 1;
}

.ab-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  margin-bottom: 10px;
  font-size: 23px;
  border: 1px solid var(--ab-border-2);
}

.ab-stat__icon--green {
  background: linear-gradient(140deg, var(--ab-brand-soft), #fff);
  color: var(--ab-brand);
}

.ab-stat__icon--mint {
  background: linear-gradient(140deg, #EAF3F4, #fff);
  color: #3E7B88;
}

.ab-stat__icon--cream {
  background: linear-gradient(140deg, #FAF3E7, #fff);
  color: #A97E32;
}

.ab-stat__value {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ab-text);
}

.ab-stat__value small {
  font-size: 13px;
  font-weight: 600;
  color: var(--ab-text-3);
}

.ab-stat__label {
  font-size: 13px;
  color: var(--ab-text-3);
}

/* =====================================================
   داستان ما + تایم‌لاین
   ===================================================== */
.ab-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 24px;
  align-items: start;
}

.ab-story__text {
  padding: 30px 30px 26px;
}

.ab-story__p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--ab-text-2);
}

.ab-story__p:last-child {
  margin-bottom: 0;
}

.ab-timeline {
  padding: 26px;
}

.ab-timeline__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ab-timeline__head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--ab-brand-soft), #fff);
  border: 1px solid var(--ab-border-2);
  color: var(--ab-brand);
  font-size: 20px;
}

.ab-timeline__head strong {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ab-text);
}

.ab-timeline__head span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ab-text-3);
}

.ab-timeline__list {
  position: relative;
  display: flex;
  flex-direction: column;
}

.ab-timeline__list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 22px;
  right: 7px;
  width: 2px;
  background: linear-gradient(180deg, var(--ab-brand), rgba(66, 192, 248, 0.12));
  border-radius: 2px;
}

.ab-timeline__item {
  position: relative;
  padding: 0 30px 16px 0;
}

.ab-timeline__item:last-child {
  padding-bottom: 0;
}

.ab-timeline__dot {
  position: absolute;
  top: 5px;
  right: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--ab-brand);
  box-shadow: 0 0 0 4px rgba(66, 192, 248, 0.16);
}

.ab-timeline__item--now .ab-timeline__dot {
  background: var(--ab-brand);
}

.ab-timeline__body {
  padding: 14px 16px;
  background: var(--ab-brand-soft-2);
  border: 1px solid var(--ab-border);
  border-radius: 16px;
  transition: all var(--ab-transition);
}

.ab-timeline__item:hover .ab-timeline__body {
  background: #ffffff;
  border-color: #CBE9FB;
  box-shadow: var(--ab-shadow);
}

.ab-timeline__body strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ab-text);
}

.ab-timeline__item--now .ab-timeline__body strong {
  color: var(--ab-brand-dark);
}

.ab-timeline__body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ab-text-3);
}

/* =====================================================
   مأموریت و چشم‌انداز
   ===================================================== */
.ab-mv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ab-mv__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 30px 34px;
  border-radius: var(--ab-radius);
  border: 1px solid var(--ab-border);
  overflow: hidden;
  transition: all var(--ab-transition);
}

.ab-mv__card--mission {
  background:
    linear-gradient(150deg, rgba(66, 192, 248, 0.16) 0%, rgba(255, 255, 255, 0.9) 62%),
    #fff;
  border-color: #CBE9FB;
  box-shadow: var(--ab-shadow);
}

.ab-mv__card--vision {
  background: var(--ab-brand-soft-2);
  border-color: var(--ab-border-2);
}

.ab-mv__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ab-shadow-hover);
}

.ab-mv__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ab-mv__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--ab-brand);
  border: 1px solid var(--ab-border-2);
  font-size: 25px;
  box-shadow: 0 8px 20px rgba(66, 192, 248, 0.18);
}

.ab-mv__card--mission .ab-mv__icon {
  background: var(--ab-brand);
  color: #fff;
  border-color: var(--ab-brand);
  box-shadow: var(--ab-shadow-brand);
}

.ab-mv__head h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: var(--ab-text);
}

.ab-mv__card p {
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 2;
  color: var(--ab-text-2);
}

.ab-mv__deco {
  position: absolute;
  bottom: -18px;
  left: 12px;
  font-size: 120px;
  color: var(--ab-brand);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}

/* =====================================================
   ارزش‌های ما
   ===================================================== */
.ab-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ab-value {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
  overflow: hidden;
  transition: all var(--ab-transition);
}

.ab-value::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ab-brand), rgba(66, 192, 248, 0.05));
  opacity: 0;
  transition: opacity var(--ab-transition);
}

.ab-value:hover {
  transform: translateY(-5px);
  border-color: #CBE9FB;
  box-shadow: var(--ab-shadow-hover);
}

.ab-value:hover::before {
  opacity: 1;
}

.ab-value__num {
  position: absolute;
  top: 20px;
  left: 22px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--ab-brand);
  opacity: 0.75;
}

.ab-value__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--ab-brand-soft), #fff);
  border: 1px solid var(--ab-border-2);
  color: var(--ab-brand);
  font-size: 23px;
}

.ab-value h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--ab-text);
}

.ab-value p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ab-text-3);
}

/* =====================================================
   چرا ما؟
   ===================================================== */
.ab-why {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 40px;
  align-items: center;
}

.ab-why__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.ab-why__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ab-why__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: all var(--ab-transition);
}

.ab-why__item:hover {
  background: #ffffff;
  border-color: var(--ab-border-2);
  box-shadow: var(--ab-shadow);
}

.ab-why__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 13px;
  background: var(--ab-brand-soft);
  border: 1px solid var(--ab-border-2);
  color: var(--ab-brand);
  font-size: 20px;
}

.ab-why__item h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ab-text);
}

.ab-why__item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ab-text-3);
}

.ab-why__visual {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--ab-radius);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(66, 192, 248, 0.22), transparent 60%),
    linear-gradient(135deg, var(--ab-brand-soft) 0%, #ffffff 65%, var(--ab-border-2) 100%);
}

.ab-why__visual::before {
  content: "";
  position: absolute;
  inset: 22px -14px -14px 22px;
  border-radius: var(--ab-radius);
  background: var(--ab-brand-soft);
  z-index: 0;
}

.ab-why__img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--ab-radius);
  border: 1px solid var(--ab-border-2);
  box-shadow: var(--ab-shadow);
}

/* =====================================================
   فرآیند کاری
   ===================================================== */
.ab-process__flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.ab-process__flow::before {
  content: "";
  position: absolute;
  top: 54px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  background: var(--ab-border-2);
  border-radius: 2px;
}

.ab-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 26px 20px 24px;
  background: #fff;
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
  transition: all var(--ab-transition);
  z-index: 1;
}

.ab-step:hover {
  transform: translateY(-5px);
  border-color: #CBE9FB;
  box-shadow: var(--ab-shadow-hover);
}

.ab-step__num {
  position: absolute;
  top: 14px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ab-brand-soft);
  border: 1px solid var(--ab-border-2);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ab-brand-dark);
  letter-spacing: 0.5px;
}

.ab-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--ab-brand-soft), #fff);
  border: 1px solid var(--ab-border-2);
  color: var(--ab-brand);
  font-size: 26px;
  box-shadow: 0 0 0 7px #ffffff;
  margin-top: 6px;
}

.ab-step h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ab-text);
}

.ab-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ab-text-3);
}

/* =====================================================
   خدمات
   ===================================================== */
.ab-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ab-service {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
  text-decoration: none;
  overflow: hidden;
  transition: all var(--ab-transition);
}

.ab-service::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ab-brand), rgba(66, 192, 248, 0.05));
  opacity: 0;
  transition: opacity var(--ab-transition);
}

.ab-service:hover {
  transform: translateY(-5px);
  border-color: #CBE9FB;
  box-shadow: var(--ab-shadow-hover);
}

.ab-service:hover::before {
  opacity: 1;
}

.ab-service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--ab-brand-soft), #fff);
  border: 1px solid var(--ab-border-2);
  color: var(--ab-brand);
  font-size: 23px;
}

.ab-service__body {
  flex: 1;
  min-width: 0;
}

.ab-service__body h3 {
  margin: 0 0 3px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ab-text);
}

.ab-service__body p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ab-text-3);
}

.ab-service__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ab-brand-soft-2);
  border: 1px solid var(--ab-border-2);
  color: var(--ab-text-3);
  font-size: 18px;
  transition: all var(--ab-transition);
}

.ab-service:hover .ab-service__arrow {
  background: var(--ab-brand);
  border-color: var(--ab-brand);
  color: #fff;
  transform: translateX(-3px);
}

/* =====================================================
   تصویر زمینه (Showcase)
   ===================================================== */
.ab-showcase {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--ab-shadow-hover);
}

.ab-showcase__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(26, 58, 92, 0.88) 0%, rgba(31, 99, 194, 0.6) 55%, rgba(66, 192, 248, 0.4) 130%);
}

.ab-showcase__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 64px 28px;
  max-width: 720px;
}

.ab-showcase__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 6px;
}

.ab-showcase__title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.6;
  color: #ffffff;
}

.ab-showcase__sub {
  margin: 0;
  font-size: 15.5px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

/* =====================================================
   نظرات مشتریان
   ===================================================== */
.ab-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ab-testimonial {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
  transition: all var(--ab-transition);
}

.ab-testimonial:hover {
  transform: translateY(-5px);
  border-color: #CBE9FB;
  box-shadow: var(--ab-shadow-hover);
}

.ab-testimonial__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ab-testimonial__avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--ab-brand-soft);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px var(--ab-border-2), 0 6px 16px rgba(40, 78, 120, 0.12);
}

.ab-testimonial__who {
  flex: 1;
  min-width: 0;
}

.ab-testimonial__who strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ab-text);
}

.ab-testimonial__who span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ab-text-3);
}

.ab-testimonial__stars {
  display: inline-flex;
  gap: 1px;
  color: var(--ab-gold);
  font-size: 13px;
  flex-shrink: 0;
}

.ab-testimonial__text {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: var(--ab-text-2);
}

.ab-testimonial__date {
  font-size: 12px;
  color: var(--ab-text-3);
}

/* =====================================================
   تیم ما
   ===================================================== */
.ab-team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ab-member {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
  overflow: hidden;
  transition: all var(--ab-transition);
}

.ab-member:hover {
  transform: translateY(-5px);
  border-color: #CBE9FB;
  box-shadow: var(--ab-shadow-hover);
}

.ab-member__media {
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(66, 192, 248, 0.25), transparent 60%),
    linear-gradient(135deg, var(--ab-brand-soft) 0%, #ffffff 70%);
}

.ab-member__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-out;
}

.ab-member:hover .ab-member__media img {
  transform: scale(1.04);
}

.ab-member__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px 20px;
}

.ab-member__info strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--ab-text);
}

.ab-member__info span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ab-brand-dark);
}

.ab-member__info p {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ab-text-3);
}

/* =====================================================
   سوالات متداول
   ===================================================== */
.ab-faq__list {
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ab-faq__item {
  background: #ffffff;
  border: 1px solid var(--ab-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--ab-transition), box-shadow var(--ab-transition);
}

.ab-faq__item:hover {
  border-color: #CBE9FB;
}

.ab-faq__item[open] {
  border-color: var(--ab-border-2);
  box-shadow: var(--ab-shadow);
}

.ab-faq__item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ab-text);
  user-select: none;
  transition: color var(--ab-transition);
}

.ab-faq__item summary::-webkit-details-marker {
  display: none;
}

.ab-faq__item summary > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.ab-faq__q-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--ab-brand-soft);
  border: 1px solid var(--ab-border-2);
  color: var(--ab-brand);
  font-size: 17px;
}

.ab-faq__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ab-brand-soft-2);
  border: 1px solid var(--ab-border-2);
  color: var(--ab-text-3);
  font-size: 18px;
  transition: transform var(--ab-transition), background var(--ab-transition),
    color var(--ab-transition), border-color var(--ab-transition);
}

.ab-faq__item[open] .ab-faq__arrow {
  transform: rotate(180deg);
  background: var(--ab-brand);
  border-color: var(--ab-brand);
  color: #ffffff;
}

.ab-faq__answer {
  padding: 0 66px 18px;
}

.ab-faq__answer p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ab-text-3);
}

/* =====================================================
   CTA نهایی
   ===================================================== */
.ab-cta__card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 34px 36px;
  border-radius: 26px;
  background: linear-gradient(125deg, var(--ab-brand-deep) 0%, var(--ab-brand-dark) 55%, var(--ab-brand) 130%);
  box-shadow: 0 18px 44px rgba(26, 58, 92, 0.28);
  overflow: hidden;
}

.ab-cta__card::after {
  content: "";
  position: absolute;
  inset-inline-end: -50px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.ab-cta__text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.ab-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 26px;
}

.ab-cta__card h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.ab-cta__card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
}

.ab-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =====================================================
   انیمیشن ورود هنگام اسکرول (فقط با فعال بودن جاوااسکریپت)
   ===================================================== */
.ab-container.js-reveal > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ab-container.js-reveal > *.is-visible {
  opacity: 1;
  transform: none;
}

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

  .ab-container.js-reveal > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =====================================================
   واکنش‌گرایی
   ===================================================== */
@media (max-width: 1080px) {
  .ab-hero__title {
    font-size: 30px;
  }

  .ab-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-title {
    font-size: 26px;
  }
}

@media (max-width: 992px) {
  .ab-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 28px;
  }

  .ab-hero__visual {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .ab-story__grid,
  .ab-why {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .ab-why__visual {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
    order: -1;
  }

  .ab-process__flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-process__flow::before {
    display: none;
  }

  .ab-services__grid,
  .ab-testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-showcase {
    min-height: 340px;
  }
}

@media (max-width: 768px) {
  .ab-hero {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .ab-hero__main {
    flex-direction: column;
    gap: 14px;
  }

  .ab-hero__icon {
    width: 54px;
    height: 54px;
    font-size: 26px;
  }

  .ab-hero__title {
    font-size: 25px;
  }

  .ab-mv {
    grid-template-columns: minmax(0, 1fr);
  }

  .ab-cta__card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .ab-cta__text {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .ab-micro {
    display: none;
  }

  .ab-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ab-stat {
    padding: 18px;
  }

  .ab-stat__value {
    font-size: 22px;
  }

  .ab-values__grid,
  .ab-services__grid,
  .ab-testimonials__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ab-process__flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .ab-step {
    flex-direction: row;
    text-align: right;
    align-items: center;
    gap: 14px;
    padding: 18px;
  }

  .ab-step__num {
    position: static;
    align-self: flex-start;
  }

  .ab-step__icon {
    width: 52px;
    height: 52px;
    font-size: 23px;
    margin-top: 0;
    flex-shrink: 0;
  }

  .ab-step p {
    font-size: 12.5px;
  }

  .ab-why__item {
    padding: 12px 8px;
  }

  .ab-why__item:hover {
    padding: 12px 14px;
  }

  .ab-showcase {
    min-height: 320px;
  }

  .ab-showcase__title {
    font-size: 24px;
  }

  .ab-showcase__sub {
    font-size: 14.5px;
  }
}

@media (max-width: 576px) {
  .ab-page {
    padding: 30px 0 56px;
  }

  .ab-container {
    padding: 0 16px;
    gap: 36px;
  }

  .ab-title {
    font-size: 21px;
  }

  .ab-sub {
    font-size: 13.5px;
  }

  .ab-hero__title {
    font-size: 23px;
  }

  .ab-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ab-hero__actions .ab-btn {
    width: 100%;
  }

  .ab-team__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ab-story__text,
  .ab-timeline {
    padding: 22px 18px;
  }

  .ab-faq__answer {
    padding: 0 18px 16px;
  }

  .ab-cta__actions {
    width: 100%;
  }

  .ab-cta__actions .ab-btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
}

/* =========================================
 👨‍💻 Developer Information
 company: Rahe Roshd
 website : es-rahroshd.ir
 Instagram: @raheroshd55
 Tel: 09011267602 , 09030428445
 ========================================= */
