:root {
  --primary-800: #2C2A4C;
  --primary-300: #343A5D;
  --primary-200: #BDBDDB;
  --primary-100: #DEDEED;
  --secndary-600: #D89A3E;
  --secndary-700: #B87E28;
  --secndary-200: #EFD9AE;
  --secndary-100: #F8ECD8;
  --ink: #1A1535;
  --gray-600: #4B5563;
  --surface-50: #F4F7FA;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  background: #fff;
  overflow-x: hidden;
}

.container-page {
  max-width: 1512px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section-title {
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(28px, 2.083vw + 8px, 40px);
  line-height: 1.3;
  margin: 0;
}
.section-subtitle {
  color: var(--gray-600);
  font-weight: 600;
  font-size: clamp(17px, 1.25vw, 24px);
  line-height: 1.5;
  margin: 0;
}

/* ============ HEADER (light sticky bar) ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #EDEBF3;
  box-shadow: 0 1px 10px rgba(44, 42, 76, 0.05);
  padding-block: 9px;
}
.site-header .navbar-brand { display: inline-flex; align-items: center; gap: 10px; }
.site-header .navbar-brand img {
  width: auto;
  height: 44px;
  display: block;
  background: #fff;
  border-radius: 11px;
}
.site-header .brand-name { color: var(--ink); font-weight: 700; font-size: 20px; }
.site-header .nav-link {
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 15.5px;
  white-space: nowrap;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: background .15s ease;
}
.site-header .nav-link:hover { background: #F4F2FA; }
.site-header .nav-link[aria-current] { background: #F0EEF8; color: var(--primary-800) !important; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 9px;
  padding: 10px 18px;
  border: 1.5px solid #DFDDE9;
  white-space: nowrap;
  text-decoration: none;
  transition: all .15s ease;
}
.download-btn:hover { border-color: var(--primary-800); color: var(--primary-800); background: #fff; }
.download-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--primary-800);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 9px;
  padding: 11.5px 20px;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s ease;
}
.header-cta:hover { background: #1f1d38; color: #fff; }
.header-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.site-header .navbar-toggler { border-color: #DFDDE9; }
.site-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 21, 53, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Compact desktop: 1200–1400px needs tighter spacing to fit on one line */
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .site-header .nav-link { font-size: 14px; padding: 8px 9px !important; }
  .download-btn { font-size: 13.5px; padding: 9px 13px; }
  .header-cta { font-size: 13.5px; padding: 10px 15px; }
  .site-header .brand-name { font-size: 18px; }
}
/* Collapsed menu (below xl) */
@media (max-width: 1199.98px) {
  .site-header .navbar-collapse {
    background: #fff;
    border: 1px solid #EDEBF3;
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
    box-shadow: 0 12px 30px rgba(44, 42, 76, 0.10);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
  .site-header .nav-link { display: block; }
  .header-actions { flex-wrap: wrap; }
  .header-actions .download-btn,
  .header-actions .header-cta { flex: 1 1 170px; justify-content: center; }
}

/* ============ HERO (light, two-column) ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FDFCFF 0%, #F4F2FB 100%);
  padding: clamp(110px, 9vw, 150px) 0 clamp(40px, 4vw, 72px);
}
.hero-grid {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4vw, 72px);
}
.hero-copy {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.6vw, 26px);
}
.hero-title {
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 54px);
  line-height: 1.45;
  margin: 0;
}
.hero-title .accent { color: var(--secndary-600); }
.hero-text {
  color: var(--gray-600);
  font-weight: 400;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.9;
  margin: 0;
  max-width: 560px;
}
.hero-text strong { color: var(--ink); font-weight: 600; }
.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: #6B6880;
  font-size: 14.5px;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hero-trust svg { width: 18px; height: 18px; fill: none; stroke: var(--primary-800); stroke-width: 1.8; flex: 0 0 auto; }
.hero-trust img { width: 18px; height: 18px; }

.store-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge { display: inline-block; width: clamp(148px, 11vw, 176px); transition: transform .2s ease; }
.store-badge img { display: block; width: 100%; height: auto; }
.store-badge:hover { transform: translateY(-2px); }

/* Phone mockups scene */
.phone-scene {
  position: relative;
  flex: 0 1 46%;
  max-width: 620px;
  height: clamp(420px, 40vw, 640px);
}
.phone {
  position: absolute;
  background: #D8D8D8;
  border: 9px solid #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(44, 42, 76, 0.18);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone-front { right: 6%; top: 0; width: 52%; height: 92%; z-index: 2; }
.phone-back  { right: 62%; top: 16%; width: 38%; height: 68%; }
.review-card {
  position: absolute;
  right: 44%;
  top: 66%;
  width: 55%;
  z-index: 3;
  filter: drop-shadow(0px 8px 24px rgba(44, 42, 76, 0.20));
}
.review-card img { width: 100%; height: auto; object-fit: contain; display: block; }
.hero-toast {
  position: absolute;
  right: -4%;
  top: 6%;
  width: 62%;
  z-index: 3;
  filter: drop-shadow(0px 8px 24px rgba(44, 42, 76, 0.16));
}
.hero-toast img { width: 100%; height: auto; display: block; }
.hero-blob {
  position: absolute;
  inset: 8% 4%;
  background: radial-gradient(closest-side, #E9E5F6 0%, rgba(233, 229, 246, 0) 100%);
  border-radius: 50%;
  z-index: 0;
}

/* Badge chip used by inner-page heroes (dark gradient) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-800);
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 400;
}
.hero-badge img { width: 22px; height: 22px; }

@media (max-width: 991.98px) {
  .hero { padding-top: 96px; }
  .hero-grid { flex-direction: column; align-items: stretch; }
  .hero-copy { text-align: center; align-items: center; }
  .phone-scene {
    flex: 0 0 auto;
    width: min(92vw, 540px);
    height: min(110vw, 600px);
    margin: 8px auto 0;
  }
}

/* ============ STATS ============ */
.stats { position: relative; z-index: 5; }
@media (min-width: 992px) { .stats { margin-top: 56px; } }
@media (max-width: 991.98px) { .stats { margin-top: 24px; } }

.stat-card {
  position: relative;
  overflow: hidden;
  background: #EAEAF4;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}
.stat-card .stat-icon {
  position: absolute;
  top: -37px;
  inset-inline-start: 48%;
  width: 240px;
  opacity: 0.05;
  pointer-events: none;
}
.stat-number { color: var(--primary-800); font-weight: 700; font-size: 32px; margin: 0; }
.stat-label { color: #030712; font-size: 16px; line-height: 1.4; margin: 0; }

/* ============ HOW IT WORKS ============ */
.how { padding: 88px 0 96px; background: #fff; }
.how-header { max-width: 1116px; margin: 0 auto 96px; text-align: center; display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.step-shot {
  position: relative;
  width: min(240px, 84%);
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(160deg, #37345c 0%, #201e35 55%, #2f2c50 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.09),
    0 24px 50px rgba(44, 42, 76, 0.28),
    0 6px 14px rgba(44, 42, 76, 0.18);
}
/* side buttons */
.step-shot::before,
.step-shot::after {
  content: '';
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #181630;
}
.step-shot::before { inset-inline-end: -3px; top: 112px; height: 62px; }
.step-shot::after { inset-inline-start: -3px; top: 90px; height: 34px; box-shadow: 0 44px 0 #181630; }
.step-screen {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  background: #000;
  padding: 3px;
}
/* dynamic island */
.step-screen::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 20px;
  border-radius: 11px;
  background: #05050c;
  z-index: 2;
}
/* glass glare */
.step-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 30%);
  pointer-events: none;
  z-index: 3;
}
.step-screen img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top;
  border-radius: 35px;
  background: #fff;
}
.step-num {
  position: absolute;
  top: -16px;
  inset-inline-start: -16px;
  z-index: 1;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--secndary-600);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(216, 154, 62, 0.35);
}
.step h3 { color: #030712; font-weight: 600; font-size: 24px; margin: 0 0 12px; }
.step p { color: var(--gray-600); font-size: 16px; line-height: 27px; margin: 0; }

/* ============ CONSULTATION ============ */
.consult {
  background: linear-gradient(180deg, #FAF9FE 0%, #FFFFFF 50%, #F5F3FB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px;
}
@media (min-width: 992px) { .consult { min-height: 1042px; margin-top: 93px; } }
.consult-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.consult-pill {
  background: var(--secndary-100);
  border: 1px solid var(--secndary-200);
  color: var(--secndary-700);
  font-weight: 500;
  font-size: 13.12px;
  border-radius: 999px;
  padding: 9px 21px;
  line-height: 19.68px;
  white-space: nowrap;
}
.consult-cards { display: flex; gap: 32px; margin-top: 28px; flex-wrap: wrap; justify-content: center; }
.consult-card {
  background: #fff;
  border: 2px solid #E8E6EF;
  border-radius: 16px;
  width: 400px;
  max-width: 100%;
  min-height: 253px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 42px 16px;
  filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.04));
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
.consult-card:hover { transform: translateY(-4px); border-color: var(--secndary-600); }
.consult-card-icon {
  width: 72px; height: 72px;
  background: var(--primary-100);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.consult-card-icon img { width: 32px; height: 32px; }
.consult-card h3 { color: var(--ink); font-weight: 600; font-size: 20px; line-height: 30px; margin: 0; }
.consult-card p { color: #6B6880; font-size: 15.2px; line-height: 27.36px; margin: 0; }

/* ============ SERVICES ============ */
.services { padding: 96px 0; background: #FAF9FE; }
.services-header {
  max-width: 1116px;
  margin: 0 auto 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.service-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 2px solid #E8E6EF;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.04));
  transition: transform .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--secndary-600); }
.service-num {
  position: absolute;
  top: 8px;
  inset-inline-end: 16px;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--primary-100);
  pointer-events: none;
}
.service-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-100);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.service-icon img { width: 40px; height: 40px; }
.service-card h3 { color: var(--ink); font-weight: 600; font-size: 20px; line-height: 1.5; margin: 0; }
.service-card > p { color: #6B6880; font-size: 15.2px; line-height: 1.8; margin: 0; flex: 1 1 auto; }
.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #E8E6EF;
}
.service-price { display: flex; flex-direction: column; gap: 2px; }
.service-price small { color: #6B6880; font-size: 13px; }
.service-price strong { color: var(--primary-800); font-weight: 700; font-size: 20px; line-height: 1.2; }
.service-btn {
  background: var(--primary-800);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  border-radius: 8px;
  padding: 10px 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s ease;
}
.service-btn:hover { color: #fff; opacity: .85; }
@media (max-width: 767.98px) {
  .services { padding: 64px 0; }
  .services-header { margin-bottom: 40px; }
}

/* ============ APP CTA BANNER ============ */
.cta-app { padding: 91px 24px 79px; }
.cta-banner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  background: var(--primary-800);
  border-radius: 50px;
  overflow: hidden;
}
.cta-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cta-banner-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 420px;
  padding: 64px 72px 0;
}
.cta-banner-content {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  text-align: start;
  padding-bottom: 64px;
}
.cta-pill {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--secndary-200);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
}
.cta-banner-content h2 {
  color: #fff;
  font-weight: 600;
  font-size: clamp(26px, 2.083vw + 8px, 40px);
  line-height: 1.6;
  margin: 0;
}
.cta-sub {
  color: var(--primary-200);
  font-size: 17px;
  line-height: 1.9;
  margin: 0;
  max-width: 520px;
}
.cta-stores { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.cta-stores .store-badge img { height: 52px; width: auto; display: block; }
.cta-stores .store-badge { transition: transform .2s ease; display: block; }
.cta-stores .store-badge:hover { transform: translateY(-3px); }
/* Phone mockups rise out of the banner's bottom edge (cropped by overflow) */
.cta-phones {
  position: relative;
  flex: 0 1 40%;
  align-self: flex-end;
  min-width: 300px;
  height: 380px;
}
.cta-phone {
  position: absolute;
  bottom: 0;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.cta-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.cta-phone-main { right: 8%; width: 220px; height: 340px; z-index: 2; }
.cta-phone-side {
  right: 52%;
  bottom: -24px;
  width: 180px;
  height: 300px;
  transform: rotate(-6deg);
  opacity: .92;
}
@media (max-width: 991.98px) {
  .cta-banner-grid { flex-direction: column; gap: 16px; padding: 48px 24px 0; }
  .cta-banner-content { align-items: center; text-align: center; padding-bottom: 16px; }
  .cta-stores { justify-content: center; }
  .cta-phones { align-self: center; flex: none; width: 100%; max-width: 420px; min-width: 0; height: 260px; }
  .cta-phone-main { right: 50%; transform: translateX(50%); width: 190px; height: 260px; }
  .cta-phone-side { right: 10%; width: 140px; height: 210px; }
}

/* ============ FEATURES ============ */
.features { padding: 79px 0 88px; }
.features-header {
  max-width: 1116px;
  margin: 0 auto 72px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
/* Bento grid of live UI mockups */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}
.feat-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--primary-100);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 8px -2px rgba(17, 24, 39, 0.05), 0 2px 4px -2px rgba(17, 24, 39, 0.04);
}
.feat-card h3 { color: var(--ink); font-weight: 800; font-size: 21px; margin: 0 0 8px; }
.feat-card .feat-desc { color: var(--gray-600); font-size: 14.5px; line-height: 1.8; margin: 0 0 20px; }
.feat-card-dark { background: var(--primary-800); border-color: var(--primary-300); overflow: hidden; }
.feat-card-dark h3 { color: #fff; font-size: clamp(22px, 1.6vw, 28px); }
.feat-card-dark .feat-desc { color: rgba(255, 255, 255, 0.8); max-width: 440px; }
.feat-card-cream { background: var(--secndary-100); border-color: var(--secndary-200); }

.feat-call { grid-column: span 7; grid-row: span 2; }
.feat-chat { grid-column: span 5; }
.feat-pay { grid-column: span 5; }
.feat-files { grid-column: span 7; }
.feat-side { grid-column: span 5; display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }

/* Call UI */
.feat-call-glow {
  position: absolute;
  top: -128px;
  left: -128px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 154, 62, 0.22) 0%, transparent 65%);
  pointer-events: none;
}
.feat-call-ui {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.feat-call-avatar { position: relative; margin-bottom: 16px; }
.feat-call-avatar img {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(216, 154, 62, 0.4);
}
.feat-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(216, 154, 62, 0.3);
  animation: feat-ping 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes feat-ping { 75%, 100% { transform: scale(1.8); opacity: 0; } }
.feat-call-name { color: #fff; font-weight: 700; font-size: 16px; margin: 0; }
.feat-call-sub { color: rgba(255, 255, 255, 0.75); font-size: 12px; margin: 2px 0 0; }
.feat-call-timer { color: #fff; font-weight: 700; font-size: 26px; font-variant-numeric: tabular-nums; margin: 20px 0 0; }
.feat-call-label { color: rgba(255, 255, 255, 0.7); font-size: 11px; letter-spacing: 2px; margin: 4px 0 0; }
.feat-call-btns { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.feat-call-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-call-btn svg { width: 18px; height: 18px; }
.feat-call-end { width: 56px; background: #F43F5E; color: #fff; }
.feat-call-end svg { transform: rotate(135deg); width: 20px; height: 20px; }

/* Chat thread */
.feat-thread { display: flex; flex-direction: column; gap: 10px; }
.feat-msg { display: flex; align-items: flex-start; gap: 8px; }
.feat-msg > img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid var(--primary-100); flex: 0 0 auto; }
.feat-msg-name { color: var(--gray-600); font-size: 11px; margin: 0 0 4px; }
.feat-bubble {
  background: var(--surface-50);
  color: var(--ink);
  border-radius: 12px;
  border-start-start-radius: 4px;
  padding: 8px 12px;
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 90%;
  display: inline-block;
}
.feat-msg-me { justify-content: flex-end; }
.feat-bubble-me {
  background: var(--primary-800);
  color: #fff;
  border-radius: 12px;
  border-start-end-radius: 4px;
}
.feat-msg-time { display: block; color: rgba(255, 255, 255, 0.5); font-size: 9.5px; margin-top: 4px; text-align: start; font-variant-numeric: tabular-nums; }

/* Attachments */
.feat-attach-group { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 85%; }
.feat-attach {
  background: var(--primary-800);
  color: #fff;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 230px;
}
.feat-attach svg { width: 14px; height: 14px; color: rgba(255, 255, 255, 0.75); flex: 0 0 auto; }
.feat-attach-type {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  flex: 0 0 auto;
}
.feat-attach-pdf { background: rgba(244, 63, 94, 0.2); border: 1px solid rgba(244, 63, 94, 0.3); color: #FECDD3; }
.feat-attach-img { background: rgba(14, 165, 233, 0.2); border: 1px solid rgba(14, 165, 233, 0.3); color: #BAE6FD; }
.feat-attach-info { display: flex; flex-direction: column; min-width: 0; flex: 1; text-align: start; }
.feat-attach-info strong { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat-attach-info small { color: rgba(255, 255, 255, 0.75); font-size: 10px; font-variant-numeric: tabular-nums; }

/* Payment receipt */
.feat-receipt {
  background: #fff;
  border: 1px solid var(--secndary-200);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.feat-receipt-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--secndary-100);
  color: var(--secndary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.feat-receipt-icon svg { width: 22px; height: 22px; }
.feat-receipt-info { flex: 1; min-width: 0; }
.feat-receipt-title { color: var(--ink); font-weight: 700; font-size: 13.5px; margin: 0; }
.feat-receipt-status { color: #16A34A; font-size: 11.5px; font-weight: 600; margin: 3px 0 0; }
.feat-receipt-status::before { content: "\2713 "; }
.feat-receipt-amount { color: var(--ink); font-weight: 800; font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Notification + guarantee mini-cards */
.feat-notify { display: flex; flex-direction: column; }
.feat-live-dot { position: absolute; top: 24px; inset-inline-start: 24px; width: 8px; height: 8px; }
.feat-live-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--secndary-600);
  opacity: 0.6;
  animation: feat-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.feat-live-dot span { position: absolute; inset: 0; border-radius: 50%; background: var(--secndary-600); }
.feat-toast {
  margin-top: auto;
  background: var(--surface-50);
  border: 1px solid var(--primary-100);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.feat-toast img { width: 28px; height: 28px; border-radius: 6px; background: #fff; border: 1px solid var(--primary-100); padding: 2px; flex: 0 0 auto; }
.feat-toast-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink); font-weight: 700; font-size: 11px; margin: 0; }
.feat-toast-head span { color: var(--gray-600); font-weight: 400; font-size: 9.5px; }
.feat-toast-text { color: var(--gray-600); font-size: 11px; line-height: 1.5; margin: 4px 0 0; }
.feat-guarantee-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--secndary-200);
  color: var(--secndary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feat-guarantee-icon svg { width: 22px; height: 22px; }
.feat-guarantee .feat-desc { margin-bottom: 0; }

@media (max-width: 991.98px) {
  .feat-call, .feat-chat, .feat-pay, .feat-files, .feat-side { grid-column: span 12; }
  .feat-call { grid-row: auto; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .feat-chat, .feat-pay { grid-column: span 6; }
}
@media (max-width: 575.98px) {
  .features-header { margin-bottom: 48px; }
  .feat-card { padding: 22px; }
  .feat-side { grid-template-rows: none; }
}

/* ============ LAWYERS ============ */
.lawyers { padding: 88px 0 96px; background: #FAF9FE; }
.lawyers-header { max-width: 1116px; margin: 0 auto 64px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.lawyer-card { position: relative; }
.lawyer-figure {
  position: relative;
  width: min(100%, 450px);
  aspect-ratio: 450 / 360;
  margin: 0 auto 24px;
}
.lawyer-figure .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  background: #FAF9FE;
}
.lawyer-actions { display: flex; gap: 12px; width: 100%; }
.lawyer-btn {
  flex: 1 1 0;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s ease;
}
.lawyer-btn:hover { opacity: .85; }
.lawyer-btn img { width: 22px; height: 22px; }
.lawyer-btn-solid { background: var(--primary-800); color: #fff; }
.lawyer-btn-solid:hover { color: #fff; }
.lawyer-btn-outline { background: #fff; border: 2px solid var(--primary-800); color: var(--primary-800); }
.lawyer-btn-outline:hover { color: var(--primary-800); }

/* Featured lawyer cards (homepage) */
.lawyers .lawyer-card {
  height: 100%;
  background: #fff;
  border: 2px solid #E8E6EF;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.04));
  transition: transform .2s ease, border-color .2s ease;
}
.lawyers .lawyer-card:hover { transform: translateY(-4px); border-color: var(--secndary-600); }
.lawyers .lawyer-figure { width: min(100%, 280px); margin: 0 auto 20px; }
.lawyers .lawyer-body { display: flex; flex-direction: column; gap: 13px; flex: 1 1 auto; }
.lawyers .lawyer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lawyers .lawyer-name { color: var(--ink); font-weight: 700; font-size: 21px; line-height: 1.4; margin: 0; }
.lawyers .lawyer-rating { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.lawyers .lawyer-rating img { width: 18px; height: 18px; }
.lawyers .lawyer-rating small { color: #6B6880; font-weight: 400; font-size: 13px; }
.lawyers .lawyer-meta-line { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #6B6880; font-size: 14.5px; }
.lawyers .lawyer-meta-line span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lawyers .lawyer-meta-line svg { width: 17px; height: 17px; fill: none; stroke: #6B6880; stroke-width: 1.8; flex: 0 0 auto; }
.lawyers .lawyer-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lawyers .lawyer-chip {
  background: var(--primary-100);
  border-radius: 10px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.lawyers .lawyer-chip img { width: 20px; height: 20px; }
.lawyers .lawyer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lawyers .lawyer-tag {
  border: 1px solid #E8E6EF;
  background: #FAF9FE;
  color: var(--gray-600);
  font-size: 13.5px;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.lawyers .lawyer-actions { margin-top: auto; padding-top: 6px; }
.lawyers .lawyer-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF9FE;
  border-radius: 16px;
}
.lawyers .lawyer-initials span {
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--primary-800);
  color: #fff;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lawyers-more { text-align: center; margin-top: 48px; }
.lawyers-more-btn {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--primary-800);
  color: var(--primary-800);
  font-weight: 600;
  font-size: 16px;
  border-radius: 10px;
  padding: 14px 48px;
  text-decoration: none;
  transition: all .2s ease;
}
.lawyers-more-btn:hover { background: var(--primary-800); color: #fff; }

/* ============ TESTIMONIALS ============ */
.testimonials {
  background: var(--surface-50);
  padding: 88px 0 96px;
  margin-top: 57px;
}
.testimonials-header {
  max-width: 1116px;
  margin: 0 auto 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.testimonial-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid var(--primary-100);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 8px -2px rgba(17, 24, 39, 0.06), 0 2px 4px -2px rgba(17, 24, 39, 0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(17, 24, 39, 0.12);
}
.testimonial-stars { display: flex; gap: 6px; }
.testimonial-stars img { width: 18px; height: 18px; }
.testimonial-text {
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--primary-100);
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--primary-800);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-name { color: var(--ink); font-weight: 700; font-size: 16px; margin: 0; }
.testimonial-role { color: var(--gray-600); font-size: 13px; margin: 0; }

@media (max-width: 767.98px) {
  .testimonials { padding: 64px 0 72px; }
  .testimonials-header { margin-bottom: 40px; }
}

/* ============ FAQ ============ */
.faq { padding: 129px 24px 140px; }
.faq-list { max-width: 1240px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 24px; }
.faq-item {
  background: #F9F9F9;
  border: 1px solid #F0F0F0;
  border-radius: 24px;
  padding: 24px 16px;
}
.faq-item:has(.collapse.show), .faq-item:has(.collapsing) { background: #fff; border-color: var(--secndary-200); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #292929;
  font-weight: 500;
  font-size: clamp(18px, 1.25vw, 24px);
  font-family: inherit;
  text-align: start;
}
.faq-q .faq-arrow { width: 24px; height: 24px; flex: 0 0 auto; transition: transform .25s ease; transform: rotate(180deg); }
.faq-q[aria-expanded="false"] .faq-arrow { transform: rotate(0deg); }
.faq-a { color: #3D3D3D; font-size: clamp(16px, 1.04vw, 20px); line-height: 1.6; margin: 24px 0 0; }

/* ============ FOOTER ============ */
.footer {
  background: var(--primary-800);
  color: #fff;
  padding: 72px 0 0;
}
.footer .logo { display: inline-block; margin-bottom: 20px; }
.footer .logo img { width: 123px; height: 44px; display: block; }
.footer-about {
  color: var(--primary-200);
  font-size: 15.5px;
  line-height: 1.9;
  max-width: 420px;
  margin: 0 0 24px;
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--secndary-600); border-color: var(--secndary-600); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer h4 {
  color: var(--secndary-600);
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a {
  color: var(--primary-200);
  text-decoration: none;
  font-size: 15px;
  transition: color .2s ease;
}
.footer ul a:hover { color: var(--secndary-600); }
.footer-stores { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-stores .store-badge { width: 170px; }
.copyright {
  margin-top: 56px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: var(--primary-200);
  font-size: 14px;
}

/* Small screens: type & spacing */
@media (max-width: 767.98px) {
  .how { padding: 64px 0; }
  .how-header { margin-bottom: 56px; }
  .consult { padding: 64px 24px; }
  .cta-app { padding: 56px 16px; }
  .cta-banner { border-radius: 28px; }
  .faq { padding: 72px 16px 96px; }
  .lawyer-actions { flex-direction: column; }
  .lawyer-btn { width: 100%; }
  .footer { padding-top: 56px; }
  .copyright { margin-top: 40px; }
}
