/* ========================================
   FaraNetOne â€” Mobile-First UI (exact mockup)
   ======================================== */

:root {
  --bg: #020617;
  --bg-elevated: #07111f;
  --card: rgba(12, 24, 48, 0.85);
  --card-border: rgba(56, 120, 240, 0.28);
  --blue: #2f6bff;
  --blue-hi: #4d8cff;
  --blue-glow: rgba(47, 107, 255, 0.45);
  --text: #f4f7ff;
  --muted: #9aa8c3;
  --dim: #6b7a96;
  --green: #22c55e;
  --radius: 14px;
  --radius-sm: 12px;
  --font: "Vazirmatn", Tahoma, sans-serif;
  --app: 420px;
  --pad: 16px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --header-h: calc(66px + var(--safe-t));
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font);
  background: #000814;
  color: var(--text);
  line-height: 1.65;
  direction: rtl;
  overflow-x: hidden;
  min-height: 100dvh;
  font-size: 14px;
}

/* Phone shell on desktop â€” always show mobile UI */
.app {
  width: 100%;
  max-width: var(--app);
  margin-inline: auto;
  min-height: 100dvh;
  position: relative;
  background:
    radial-gradient(ellipse 120% 55% at 78% 8%, rgba(40, 90, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 80% 40% at 10% 35%, rgba(20, 80, 200, 0.12), transparent 50%),
    radial-gradient(ellipse 70% 35% at 50% 85%, rgba(30, 70, 200, 0.14), transparent 55%),
    linear-gradient(180deg, #020617 0%, #050d1c 45%, #020617 100%);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.08), 0 25px 80px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

@media (min-width: 480px) {
  body {
    padding: 24px 12px;
    background:
      radial-gradient(circle at 50% 0%, #0a1a3a, #00050f 60%);
  }

  .app {
    border-radius: 28px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    overflow: hidden;
  }
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  -webkit-appearance: none;
}

.container {
  width: 100%;
  padding-inline: var(--pad);
  position: relative;
  z-index: 1;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  width: 100%;
  max-width: var(--app);
  padding: calc(10px + var(--safe-t)) var(--pad) 10px;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  transform: translateX(-50%) translateY(0);
  transition: transform 0.28s ease, opacity 0.28s ease;
  will-change: transform;
}

@media (min-width: 480px) {
  .header {
    top: 24px;
  }
}

.header.is-hidden {
  transform: translateX(-50%) translateY(calc(-100% - 12px));
  opacity: 0;
  pointer-events: none;
}

.header-spacer {
  height: var(--header-h);
  flex-shrink: 0;
  pointer-events: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr; /* ظ„ظˆع¯ظˆ ع†ظ¾ | طھظ„ظپظ† ظˆ ظ…ظ†ظˆ ط±ط§ط³طھ â€” ظ…ط«ظ„ طھطµظˆغŒط± */
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}

.logo__img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  flex-shrink: 0;
  display: block;
  padding: 3px;
  background: #020617;
  box-shadow: 0 0 20px rgba(47, 107, 255, 0.45);
  border: 1px solid rgba(77, 140, 255, 0.3);
}

.logo__text {
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(
    90deg,
    #7dd3fc 0%,
    #ffffff 25%,
    #38bdf8 50%,
    #a5b4fc 75%,
    #7dd3fc 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: logoFlow 5.5s linear infinite;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.45));
}

@keyframes logoFlow {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 20, 42, 0.75);
  color: #ffffff;
  transition: background 0.2s, transform 0.15s;
}

.icon-btn:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.12);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  color: #ffffff;
}

/* ========== Drawer (opens from right) ========== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: min(310px, 86vw);
  height: 100%;
  background:
    radial-gradient(ellipse 80% 40% at 100% 0%, rgba(47, 107, 255, 0.22), transparent 55%),
    linear-gradient(180deg, #0c1a36 0%, #060f22 45%, #020617 100%);
  border-left: 1px solid rgba(77, 140, 255, 0.28);
  z-index: 160;
  padding: calc(14px + var(--safe-t)) 14px calc(20px + var(--safe-b));
  transform: translateX(105%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
  direction: rtl;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.18);
}

.mobile-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mobile-nav__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  padding: 2px;
  background: #020617;
  border: 1px solid rgba(77, 140, 255, 0.3);
  box-shadow: 0 0 16px rgba(47, 107, 255, 0.35);
  flex-shrink: 0;
}

.mobile-nav__brand strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.mobile-nav__brand span {
  display: block;
  font-size: 11px;
  color: var(--dim);
  margin-top: 1px;
}

.mobile-nav__close {
  flex-shrink: 0;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  background: rgba(10, 22, 48, 0.55);
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.mobile-nav__link:active {
  transform: scale(0.98);
  background: rgba(47, 107, 255, 0.2);
  border-color: rgba(77, 140, 255, 0.45);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.15);
}

.mobile-nav__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(47, 107, 255, 0.14);
  border: 1px solid rgba(77, 140, 255, 0.28);
  color: var(--blue-hi);
  flex-shrink: 0;
}

.mobile-nav__icon svg {
  width: 18px;
  height: 18px;
}

.mobile-nav__label {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.mobile-nav__label strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.mobile-nav__label small {
  display: block;
  font-size: 10.5px;
  color: var(--dim);
  margin-top: 2px;
}

.mobile-nav__arrow {
  width: 22px;
  height: 22px;
  color: var(--blue-hi);
  opacity: 0.7;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.mobile-nav__arrow svg {
  width: 16px;
  height: 16px;
}

.mobile-nav__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(59, 130, 246, 0.18);
}

.mobile-nav__cta {
  width: 100%;
  min-height: 44px;
  font-size: 13px;
}

.mobile-nav__sms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
  font-size: 12.5px;
  font-weight: 600;
}

.mobile-nav__sms svg {
  width: 16px;
  height: 16px;
}

.mobile-nav__sms:active {
  background: rgba(34, 197, 94, 0.2);
}

/* ========== Hero Banner (mobile) ========== */
.hero {
  padding: 0;
  position: relative;
}

.hero__banner {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  margin-top: 0;
  background: #e8eef6;
}

.hero__banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  min-height: 240px;
  padding-top: 20px;
  padding-bottom: 16px;
  direction: rtl;
}

.hero__content {
  width: 56%;
  max-width: 236px;
  text-align: right;
  padding: 14px 8px 16px 10px;
  border-radius: 16px;
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.82) 68%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(77, 140, 255, 0.45);
  background: rgba(47, 107, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--blue-hi);
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 10px;
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulse 2s ease infinite;
}

.hero__kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #1e40af !important;
  -webkit-text-fill-color: #1e40af !important;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.hero__title {
  display: block;
  font-size: clamp(30px, 8.4vw, 36px);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
  color: #071a33 !important;
  -webkit-text-fill-color: #071a33 !important;
}

.hero__title-accent {
  color: #1d4ed8 !important;
  -webkit-text-fill-color: #1d4ed8 !important;
}

.hero__lead {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: #0a2342 !important;
  -webkit-text-fill-color: #0a2342 !important;
  margin: 0 0 10px;
}

.hero__desc {
  display: block;
  color: #1e3a5f !important;
  -webkit-text-fill-color: #1e3a5f !important;
  font-size: 12px;
  line-height: 1.75;
  margin: 0 0 18px;
  font-weight: 500;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 11.5px;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  flex: 1;
  min-height: 40px;
}

.btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.btn--primary {
  background: linear-gradient(135deg, #2f6bff, #1d4ed8);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.45);
}

.btn--primary:active {
  transform: scale(0.97);
}

.btn--ghost {
  border: 1px solid rgba(77, 140, 255, 0.55);
  background: rgba(8, 16, 36, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
}

.btn--ghost:active {
  background: rgba(47, 107, 255, 0.2);
}

@media (min-width: 390px) {
  .hero__banner,
  .hero__grid {
    min-height: 260px;
  }

  .hero__grid {
    padding-top: 22px;
  }

  .hero__content {
    max-width: 255px;
    padding: 16px 10px 18px 12px;
  }

  .hero__title {
    font-size: 36px;
    margin-bottom: 14px;
  }

  .hero__kicker {
    font-size: 12.5px;
    margin-bottom: 12px;
  }

  .hero__lead {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .hero__desc {
    font-size: 12.5px;
    margin-bottom: 20px;
  }

  .hero__ctas {
    gap: 14px;
  }

  .btn {
    font-size: 12.5px;
    padding: 11px 14px;
  }
}

@media (max-width: 340px) {
  .hero__banner,
  .hero__grid {
    min-height: 220px;
  }

  .hero__content {
    width: 62%;
    max-width: none;
  }

  .hero__ctas {
    flex-direction: column;
    gap: 10px;
  }
}

/* ========== Sections ========== */
.section {
  padding: 18px 0 6px;
  position: relative;
  z-index: 1;
}

.section__head {
  text-align: center;
  margin-bottom: 14px;
}

.section__title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.section__title .arrow {
  color: var(--blue);
  font-size: 14px;
}

.section__subtitle {
  color: var(--muted);
  font-size: 11.5px;
}

/* ========== Services â€” 2 cols (mobile), 4 cols matching mockup ========== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 14px 10px 12px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.service-card:active {
  transform: translateY(-2px);
  border-color: rgba(77, 140, 255, 0.55);
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.18);
}

.service-card--link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.service-card--link:active {
  transform: translateY(-2px);
  border-color: rgba(77, 140, 255, 0.65);
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.22);
}

.service-card__icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(47, 107, 255, 0.12);
  border: 1px solid rgba(77, 140, 255, 0.28);
  color: var(--blue-hi);
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
}

.service-card__title {
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 3px;
}

.service-card__desc {
  font-size: 10px;
  color: var(--dim);
  line-height: 1.55;
}

/* Mockup exact: 4 compact cards per row */
@media (min-width: 380px) {
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .service-card {
    padding: 12px 6px 10px;
  }

  .service-card__icon {
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
    border-radius: 10px;
  }

  .service-card__icon svg {
    width: 18px;
    height: 18px;
  }

  .service-card__title {
    font-size: 11px;
  }

  .service-card__desc {
    font-size: 9px;
  }
}

/* ========== About â€” image above, text below (fits phone shell) ========== */
.about {
  padding-top: 14px;
}

.about__box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 10px;
  overflow: hidden;
  direction: rtl;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(77, 140, 255, 0.06);
}

.about__media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  min-height: 148px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(59, 130, 246, 0.28);
  box-shadow: 0 0 24px rgba(47, 107, 255, 0.22);
  background: #04102a;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.45s ease;
}

.about__box:active .about__img,
.about__box:hover .about__img {
  transform: scale(1.04);
}

.about__media-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(47, 107, 255, 0.18), transparent 45%),
    linear-gradient(180deg, transparent 55%, rgba(2, 6, 23, 0.35) 100%);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.12);
}

.about__content {
  direction: rtl;
  text-align: right;
  padding: 2px 4px 4px;
  min-width: 0;
  width: 100%;
}

.about__title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.45;
}

.about__text {
  color: var(--muted);
  font-size: 11.5px;
  margin-bottom: 10px;
  line-height: 1.8;
}

.about__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.32);
  color: #86efac;
  font-size: 10px;
  font-weight: 600;
}

.about__badge svg {
  width: 13px;
  height: 13px;
  color: var(--green);
}

/* ========== Social â€” 3 panels per row ========== */
.social__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 8px 14px;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  background:
    linear-gradient(180deg, rgba(14, 28, 56, 0.92), rgba(8, 16, 36, 0.88));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  text-align: center;
  min-height: 108px;
}

.social-item:active {
  transform: scale(0.97);
  border-color: rgba(77, 140, 255, 0.5);
  box-shadow: 0 8px 26px rgba(47, 107, 255, 0.2);
}

.social-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.social-item__icon svg {
  width: 28px;
  height: 28px;
}

.social-item__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0;
}

.social-item__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

/* Brand backgrounds â€” custom image icons */
.social-item--instagram .social-item__icon,
.social-item--telegram .social-item__icon,
.social-item--bale .social-item__icon,
.social-item--rubika .social-item__icon,
.social-item--eitaa .social-item__icon,
.social-item--sms .social-item__icon {
  background: transparent;
  box-shadow: none;
  border: none;
  overflow: visible;
}

.social-item--instagram .social-item__img,
.social-item--telegram .social-item__img,
.social-item--bale .social-item__img,
.social-item--rubika .social-item__img,
.social-item--eitaa .social-item__img,
.social-item--sms .social-item__img {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

/* ========== Features â€” 3 in one row ========== */
.features {
  padding-top: 10px;
}

.features__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 12px 6px;
  overflow: hidden;
}

.feature {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: right;
  gap: 7px;
  padding: 4px 5px;
  position: relative;
}

.feature:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(59, 130, 246, 0.18);
}

.feature__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(47, 107, 255, 0.12);
  border: 1px solid rgba(77, 140, 255, 0.28);
  color: var(--blue-hi);
  flex-shrink: 0;
}

.feature__icon svg {
  width: 16px;
  height: 16px;
}

.feature__title {
  font-weight: 700;
  font-size: 10.5px;
  margin-bottom: 1px;
  line-height: 1.3;
}

.feature__desc {
  font-size: 8.5px;
  color: var(--dim);
  line-height: 1.35;
}

/* ========== FAQ ========== */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
}

.faq-item.is-open {
  border-color: rgba(77, 140, 255, 0.5);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  text-align: right;
  font-weight: 600;
  font-size: 11.5px;
  color: var(--text);
  line-height: 1.5;
}

.faq-item__chevron {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid var(--card-border);
  color: var(--blue-hi);
  flex-shrink: 0;
  transition: transform 0.28s, background 0.2s;
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
  background: rgba(47, 107, 255, 0.2);
}

.faq-item__chevron svg {
  width: 12px;
  height: 12px;
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, padding 0.28s ease;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
  padding: 0 12px;
}

.faq-item.is-open .faq-item__a {
  max-height: 240px;
  padding: 0 12px 12px;
}

/* ========== Footer ========== */
.footer {
  padding: 20px var(--pad) calc(22px + var(--safe-b));
  text-align: center;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(59, 130, 246, 0.08);
  margin-top: 12px;
}

.footer__text {
  color: var(--dim);
  font-size: 10.5px;
}

.footer__text a {
  color: inherit;
  text-decoration: none;
}

.footer__text a:hover {
  color: var(--blue-hi);
}

.footer__copy {
  color: var(--dim);
  font-size: 11px;
}

.footer--compact {
  padding-top: 14px;
  margin-top: 0;
}

.btn--block {
  width: 100%;
}

.icon-btn--back {
  transform: scaleX(-1);
}

/* ========== Services Page ========== */
.services-page {
  padding-bottom: 8px;
}

.seo-breadcrumb {
  padding: 12px var(--pad) 0;
  font-size: 12px;
  color: var(--dim);
}

.seo-breadcrumb a {
  color: var(--blue-hi);
  text-decoration: none;
  font-weight: 600;
}

.services-page__hero {
  padding: 8px 0 6px;
}

.services-page__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-hi);
  margin-bottom: 12px;
}

.services-page__back svg {
  width: 16px;
  height: 16px;
  transform: scaleX(-1);
}

.services-page__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.services-page__subtitle {
  color: var(--muted);
  font-size: 12.5px;
  margin-bottom: 10px;
}

.services-page__count {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(77, 140, 255, 0.35);
  background: rgba(47, 107, 255, 0.12);
  color: var(--blue-hi);
  font-size: 11px;
  font-weight: 700;
}

.services-page__section {
  padding-top: 14px;
}

/* طµظپط­ظ‡ ط®ط¯ظ…ط§طھ â€” ظ‡ظ…غŒط´ظ‡ غ´ ط³طھظˆظ† ط¯ط± ظ‡ط± ط±ط¯غŒظپ */
.app--services .services__grid--full {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.app--services .service-card--page {
  padding: 10px 4px 8px;
  min-height: 100%;
}

.app--services .service-card--page .service-card__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 5px;
  border-radius: 10px;
}

.app--services .service-card--page .service-card__icon svg {
  width: 17px;
  height: 17px;
}

.app--services .service-card--page .service-card__title {
  font-size: 9.5px;
  line-height: 1.35;
  margin-bottom: 2px;
  word-break: break-word;
  hyphens: auto;
}

.app--services .service-card--page .service-card__desc {
  font-size: 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 380px) {
  .app--services .services__grid--full {
    gap: 8px;
  }

  .app--services .service-card--page {
    padding: 12px 6px 10px;
  }

  .app--services .service-card--page .service-card__icon {
    width: 36px;
    height: 36px;
  }

  .app--services .service-card--page .service-card__title {
    font-size: 10.5px;
  }

  .app--services .service-card--page .service-card__desc {
    font-size: 9px;
  }
}

.services__grid--full {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 380px) {
  .services__grid--full {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

.service-card--full {
  min-height: 100%;
}

.services-page__cta {
  padding: 18px 0 8px;
}

.services-page__cta-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
}

.services-page__cta-box h2 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}

.services-page__cta-box p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 14px;
  line-height: 1.6;
}

/* ========== Modal ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 100%;
  max-width: var(--app);
  max-height: 92dvh;
  overflow-y: auto;
  background: linear-gradient(180deg, #0d1a36, #06102a);
  border: 1px solid rgba(77, 140, 255, 0.35);
  border-radius: 22px 22px 0 0;
  padding: 18px 16px calc(20px + var(--safe-b));
  box-shadow: 0 -10px 40px rgba(47, 107, 255, 0.2);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

@media (min-width: 480px) {
  .modal-overlay {
    align-items: center;
    padding: 16px;
  }

  .modal {
    border-radius: 20px;
    transform: translateY(24px) scale(0.98);
  }

  .modal-overlay.is-open .modal {
    transform: translateY(0) scale(1);
  }
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.modal__title {
  font-size: 16px;
  font-weight: 800;
}

.modal__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  display: grid;
  place-items: center;
  color: var(--muted);
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(2, 6, 23, 0.65);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group textarea {
  min-height: 88px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  padding-left: 32px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px 8px;
  color: #86efac;
}

.form-success.is-visible { display: block; }

.form-success svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  color: var(--green);
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  bottom: calc(20px + var(--safe-b));
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  width: max-content;
  max-width: calc(100% - 32px);
  background: #0f172a;
  border: 1px solid rgba(77, 140, 255, 0.4);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  z-index: 300;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  box-shadow: 0 8px 28px rgba(47, 107, 255, 0.25);
  pointer-events: none;
  text-align: center;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ========== Animations ========== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

@keyframes tunnelPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.95; }
}

@keyframes coreGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

@keyframes screenFlicker {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; box-shadow: 0 0 22px rgba(59, 130, 246, 0.55); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slightly larger phones / small tablets inside shell */
@media (min-width: 390px) {
  .service-card__title { font-size: 13px; }
  .feature__title { font-size: 11.5px; }
  .feature__desc { font-size: 9.5px; }
}

/* Tiny phones */
@media (max-width: 340px) {
  :root { --pad: 12px; }
  .features__row { grid-template-columns: 1fr; gap: 8px; }
  .feature:not(:last-child)::after { display: none; }
  .feature { flex-direction: row; text-align: right; justify-content: flex-start; padding: 8px 10px; }
}

/* ========== Mobile-only: Add to Home Screen ========== */
.a2hs {
  display: none;
}

@media (max-width: 899px) {
  .a2hs {
    display: block;
    position: fixed;
    left: 50%;
    bottom: calc(14px + var(--safe-b));
    z-index: 120;
    width: calc(100% - 24px);
    max-width: calc(var(--app) - 24px);
    transform: translateX(-50%) translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  }

  .a2hs.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .a2hs[hidden] {
    display: none !important;
  }

  .a2hs__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px 12px 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(10, 22, 48, 0.96), rgba(8, 18, 40, 0.94));
    border: 1px solid rgba(77, 140, 255, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(47, 107, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    direction: rtl;
  }

  .a2hs__logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: contain;
    flex-shrink: 0;
    background: #020617;
  }

  .a2hs__text {
    flex: 1;
    min-width: 0;
    text-align: right;
  }

  .a2hs__text strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #f4f7ff;
    margin-bottom: 2px;
  }

  .a2hs__text span {
    display: block;
    font-size: 11px;
    color: #9aa8c3;
    line-height: 1.45;
  }

  .a2hs__install {
    flex-shrink: 0;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #2f6bff, #1d4ed8);
    color: #fff;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(47, 107, 255, 0.35);
  }

  .a2hs__install:active {
    transform: scale(0.97);
  }

  .a2hs__close {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    font-size: 18px;
    line-height: 1;
    display: grid;
    place-items: center;
    font-family: inherit;
  }
}

@media (min-width: 900px) {
  .a2hs {
    display: none !important;
  }
}

/* =========================================================
   DESKTOP LAYOUT ONLY — do not change mobile rules above
   ========================================================= */
.desktop-nav,
.desktop-support {
  display: none !important;
}

@media (min-width: 900px) {
  :root {
    --pad: 32px;
    --header-h: 80px;
    --desk: 1200px;
  }

  /* Kill phone-shell completely */
  body {
    padding: 0 !important;
    background: #01060f !important;
    font-size: 15px;
  }

  .app,
  .app.app--services {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    min-height: 100dvh;
    background:
      radial-gradient(ellipse 55% 40% at 88% -5%, rgba(47, 107, 255, 0.24), transparent 60%),
      radial-gradient(ellipse 40% 35% at 8% 25%, rgba(20, 90, 220, 0.1), transparent 55%),
      linear-gradient(180deg, #020617 0%, #040b1a 40%, #020617 100%) !important;
  }

  .container {
    width: 100%;
    max-width: var(--desk);
    margin-inline: auto;
    padding-inline: var(--pad);
  }

  /* ===== Header ===== */
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    padding: 0 var(--pad) !important;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(2, 6, 23, 0.9) !important;
    border-bottom: 1px solid rgba(59, 130, 246, 0.14);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 200;
  }

  .header.is-hidden {
    transform: translateY(-110%) !important;
    opacity: 0;
  }

  .header__inner {
    width: 100%;
    max-width: var(--desk);
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    direction: ltr;
  }

  .logo {
    font-size: 18px;
    gap: 12px;
  }

  .logo__img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .desktop-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    direction: rtl;
    background: transparent;
    border: none;
    padding: 0;
  }

  .desktop-nav a {
    position: relative;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #8fa0bf;
    transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
  }

  .desktop-nav a::after {
    content: "";
    position: absolute;
    right: 16px;
    left: 16px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
    opacity: 0.95;
  }

  .desktop-nav a:hover {
    color: #60a5fa;
    background: rgba(47, 107, 255, 0.1);
    transform: translateY(-1px);
  }

  .desktop-nav a:hover::after {
    transform: scaleX(1);
  }

  .desktop-nav a[aria-current="page"],
  .desktop-nav a.is-active {
    color: #93c5fd;
    background: rgba(47, 107, 255, 0.16);
  }

  .desktop-nav a[aria-current="page"]::after,
  .desktop-nav a.is-active::after {
    transform: scaleX(1);
  }

  .header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .desktop-support {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, #2f6bff, #1d4ed8);
    box-shadow: 0 8px 22px rgba(47, 107, 255, 0.35);
    white-space: nowrap;
    transition: transform 0.15s ease, filter 0.2s ease;
  }

  .desktop-support:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
  }

  .header__actions .icon-btn,
  .header__actions .icon-btn--back {
    display: none !important;
  }

  .header-spacer {
    height: var(--header-h) !important;
  }

  .nav-overlay,
  .mobile-nav {
    display: none !important;
  }

  /* ===== Hero — soft fade like mobile, refined type ===== */
  .hero {
    width: 100%;
  }

  .hero__banner {
    min-height: 540px !important;
    border-radius: 0 0 40px 40px;
    background: #eef3f9;
  }

  .hero__banner-img {
    object-fit: cover;
    object-position: left center;
  }

  .hero__grid {
    min-height: 540px !important;
    max-width: var(--desk);
    margin-inline: auto;
    padding: 68px var(--pad) 60px;
    align-items: center !important;
    justify-content: flex-start;
  }

  .hero__content {
    width: min(500px, 46%);
    max-width: 500px;
    padding: 28px 18px 28px 48px;
    border-radius: 0 24px 24px 0;
    /* مثل موبایل: راست پررنگ‌تر، چپ محو و بدون لبه */
    background: linear-gradient(
      270deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.52) 42%,
      rgba(255, 255, 255, 0.16) 78%,
      rgba(255, 255, 255, 0) 100%
    );
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: visible;
  }

  .hero__content::before {
    display: none;
  }

  .hero__kicker {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    color: #3b82f6 !important;
    -webkit-text-fill-color: #3b82f6 !important;
    text-transform: none;
    opacity: 0.95;
  }

  .hero__kicker::before {
    display: none !important;
  }

  .hero__title {
    font-size: 58px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.045em !important;
    margin: 0 0 20px !important;
    color: #071528 !important;
    -webkit-text-fill-color: #071528 !important;
  }

  .hero__title-accent {
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8 !important;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
  }

  .hero__lead {
    position: relative;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    margin: 0 0 18px !important;
    padding: 0 0 0 0 !important;
    color: #0f2748 !important;
    -webkit-text-fill-color: #0f2748 !important;
  }

  .hero__lead::before {
    display: none !important;
  }

  .hero__lead::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, rgba(37, 99, 235, 0));
  }

  .hero__desc {
    font-size: 15.5px !important;
    font-weight: 500 !important;
    line-height: 1.9 !important;
    margin: 0 0 32px !important;
    max-width: 26rem;
    color: #3d5678 !important;
    -webkit-text-fill-color: #3d5678 !important;
  }

  .hero__ctas {
    display: flex;
    gap: 14px !important;
    width: auto;
    max-width: 400px;
    margin-top: 2px;
  }

  .hero .btn {
    flex: 1;
    min-width: 0;
    min-height: 50px;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 999px;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  }

  .hero .btn:hover {
    transform: translateY(-2px);
  }

  .hero .btn--primary {
    background: linear-gradient(135deg, #2f6bff, #1d4ed8);
    box-shadow: 0 10px 26px rgba(47, 107, 255, 0.35);
  }

  .hero .btn--ghost {
    border: 1px solid rgba(77, 140, 255, 0.5);
    background: rgba(8, 16, 36, 0.55);
    color: #f4f7ff !important;
    -webkit-text-fill-color: #f4f7ff !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: none;
  }

  .hero .btn--ghost:hover {
    background: rgba(47, 107, 255, 0.28);
    border-color: rgba(77, 140, 255, 0.75);
  }

  .btn {
    flex: 1;
    min-height: 48px;
    font-size: 14.5px;
    padding: 12px 18px;
    border-radius: 999px;
  }

  /* ===== Sections — titles centered ===== */
  .section {
    padding: 64px 0 28px;
  }

  .section__head {
    margin-bottom: 32px;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .section__title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 30px;
    margin-bottom: 10px;
    text-align: center;
  }

  .section__title .arrow {
    font-size: 20px;
  }

  .section__subtitle {
    font-size: 15.5px;
    text-align: center;
    max-width: 34rem;
    margin-inline: auto;
  }

  .services-page__hero .container,
  .services-page__hero {
    text-align: center;
  }

  .services-page__title,
  .services-page__subtitle {
    text-align: center;
  }

  /* Services — 4 columns desktop */
  .services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .service-card {
    padding: 26px 18px 22px;
    border-radius: 18px;
    text-align: center;
  }

  .service-card:hover,
  .service-card--link:hover {
    transform: translateY(-5px);
    border-color: rgba(77, 140, 255, 0.55);
    box-shadow: 0 16px 36px rgba(47, 107, 255, 0.18);
  }

  .service-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 16px;
  }

  .service-card__icon svg {
    width: 28px;
    height: 28px;
  }

  .service-card__title {
    font-size: 16px !important;
    margin-bottom: 8px;
  }

  .service-card__desc {
    font-size: 13px !important;
    line-height: 1.7;
  }

  /* About — split */
  .about {
    padding-top: 28px;
  }

  .about__box {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    gap: 36px;
    padding: 22px;
    border-radius: 24px;
    align-items: center;
  }

  .about__media {
    min-height: 320px;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
  }

  .about__content {
    padding: 10px 8px;
  }

  .about__title {
    font-size: 30px;
    margin-bottom: 14px;
    line-height: 1.35;
  }

  .about__text {
    font-size: 15.5px;
    line-height: 1.9;
    margin-bottom: 18px;
  }

  .about__badge {
    font-size: 13px;
    padding: 9px 16px;
  }

  .about__badge svg {
    width: 16px;
    height: 16px;
  }

  /* Social */
  .social__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .social-item {
    min-height: 140px;
    padding: 22px 12px;
    border-radius: 18px;
  }

  .social-item:hover {
    transform: translateY(-4px);
    border-color: rgba(77, 140, 255, 0.5);
  }

  .social-item__name {
    font-size: 14px;
  }

  .social-item--instagram .social-item__img,
  .social-item--telegram .social-item__img,
  .social-item--bale .social-item__img,
  .social-item--rubika .social-item__img,
  .social-item--eitaa .social-item__img,
  .social-item--sms .social-item__img {
    width: 60px;
    height: 60px;
  }

  /* Features */
  .features {
    padding-top: 20px;
  }

  .features__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 22px 10px;
    border-radius: 20px;
  }

  .feature {
    flex-direction: row;
    justify-content: flex-start;
    text-align: right;
    gap: 14px;
    padding: 12px 22px;
  }

  .feature__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .feature__icon svg {
    width: 24px;
    height: 24px;
  }

  .feature__title {
    font-size: 15px !important;
    margin-bottom: 4px;
  }

  .feature__desc {
    font-size: 13px !important;
  }

  /* FAQ */
  .faq__list {
    max-width: 860px;
    margin-inline: auto;
    gap: 12px;
  }

  .faq-item {
    border-radius: 16px;
  }

  .faq-item__q {
    font-size: 16px;
    padding: 18px 20px;
  }

  .faq-item__a,
  .faq-item__a p {
    font-size: 14.5px;
    line-height: 1.85;
  }

  /* Footer */
  .footer {
    padding: 36px 0 48px;
    margin-top: 20px;
  }

  .footer__text {
    font-size: 14px;
  }

  /* Modal */
  .modal-overlay {
    align-items: center;
    padding: 24px;
  }

  .modal {
    max-width: 520px;
    border-radius: 22px;
    padding: 24px;
  }

  /* Services page */
  .services-page__hero {
    padding: 28px 0 10px;
  }

  .services-page__title {
    font-size: 36px;
  }

  .services-page__subtitle {
    font-size: 16px;
  }

  .app--services .services__grid--full {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .app--services .service-card--page {
    padding: 22px 14px 18px;
  }

  .seo-breadcrumb {
    padding-top: 20px;
    font-size: 14px;
  }
}

@media (min-width: 1280px) {
  :root {
    --desk: 1280px;
  }

  .hero__banner,
  .hero__grid {
    min-height: 580px !important;
  }

  .hero__title {
    font-size: 62px !important;
  }

  .hero__content {
    width: min(520px, 44%);
    max-width: 520px;
    padding: 32px 20px 32px 56px;
    border-radius: 0 28px 28px 0;
    background: linear-gradient(
      270deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.42) 45%,
      rgba(255, 255, 255, 0.1) 80%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .hero__kicker {
    font-size: 13.5px !important;
    margin-bottom: 16px !important;
    letter-spacing: 0.16em;
  }

  .hero__lead {
    font-size: 19px !important;
    margin-bottom: 20px !important;
  }

  .hero__desc {
    font-size: 16px !important;
    margin-bottom: 34px !important;
  }

  .desktop-nav a {
    padding: 11px 18px;
    font-size: 14.5px;
  }

  .section__title {
    font-size: 32px;
  }
}