@font-face {
  font-family: 'Vazir';
  src: url('/assets/fonts/vazirmatn/Vazir.woff2') format('woff2'),
       url('/assets/fonts/vazirmatn/Vazir.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazir';
  src: url('/assets/fonts/vazirmatn/Vazir-Bold.woff2') format('woff2'),
       url('/assets/fonts/vazirmatn/Vazir-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazir';
  src: url('/assets/fonts/vazirmatn/Vazir-Light.woff2') format('woff2'),
       url('/assets/fonts/vazirmatn/Vazir-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazir';
  src: url('/assets/fonts/vazirmatn/Vazir-Medium.woff2') format('woff2'),
       url('/assets/fonts/vazirmatn/Vazir-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazir';
  src: url('/assets/fonts/vazirmatn/Vazir-Thin.woff2') format('woff2'),
       url('/assets/fonts/vazirmatn/Vazir-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal-900: #0e3a3c;
  --teal-800: #124a4c;
  --teal-700: #166163;
  --teal-600: #1a7a7c;
  --orange-500: #f4802d;
  --orange-600: #ea6f1a;
  --ink-900: #16211f;
  --ink-600: #5c6866;
  --line: #e7ebea;
  --bg: #f6f8f7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: "Vazir", Tahoma, sans-serif;
  direction: rtl;
  color: var(--ink-900);
  background: var(--bg);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ================= HEADER ================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
}
.logo-img {
  height: 50px;
  width: auto;
  display: block;
}
.logo .logo-mark {
  font-size: 26px;
  font-weight: 800;
}
.logo .logo-mark .k-orange {
  color: var(--orange-500);
}
.logo .logo-mark .k-teal {
  color: var(--teal-700);
}
.logo .logo-sub {
  font-size: 10.5px;
  color: var(--ink-600);
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-900);
}
.main-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.main-nav a:hover {
  color: var(--teal-700);
}
.chevron {
  font-size: 11px;
  margin-right: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ---- mobile hamburger ---- */
.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-900);
  flex-shrink: 0;
}
.hamburger-btn:hover {
  background: var(--bg);
}

/* ---- mobile drawer nav (opens from the right) ---- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 20, 19, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 60;
}
.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 280px;
  max-width: 82vw;
  background: var(--white);
  z-index: 70;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}
.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  padding: 16px 18px 4px;
}
.mobile-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
  background: var(--bg);
}

/* ---- user row ---- */
.drawer-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-user-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-user-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
}
.drawer-user-sub {
  font-size: 12px;
  color: var(--ink-600);
}
.drawer-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-600);
  flex-shrink: 0;
}

/* ---- nav list ---- */
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 6px 0 24px;
  overflow-y: auto;
}
.drawer-nav-group {
  padding: 6px 8px;
  border-bottom: 8px solid var(--bg);
}
.drawer-nav-group:last-child {
  border-bottom: none;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-900);
  border-radius: 10px;
}
.drawer-nav-item:hover {
  background: var(--bg);
}
.drawer-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  flex-shrink: 0;
  color: var(--ink-600);
}
.drawer-nav-item.is-active {
  color: var(--teal-700);
  font-weight: 700;
}
.drawer-nav-item.is-active .drawer-nav-icon {
  color: var(--teal-700);
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-900);
}
.icon-btn:hover {
  background: var(--bg);
}

.auth-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}
.btn-teal {
  background: var(--teal-800);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-900);
}
.btn-orange {
  background: var(--orange-500);
  color: var(--white);
  padding: 14px 28px;
  font-size: 15.5px;
}
.btn-orange:hover {
  background: var(--orange-600);
}

/* ================= SEARCH BAR ================= */
.searchbar-wrap {
  padding: 22px 0 26px;
}
.searchbar {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(14, 58, 60, 0.06);
  overflow: hidden;
}
.searchbar > * {
  display: flex;
  align-items: center;
}
.search-submit {
  background: var(--teal-800);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  gap: 8px;
  padding: 0 26px;
}
.search-submit:hover {
  background: var(--teal-900);
}
.search-location {
  gap: 8px;
  padding: 0 22px;
  font-size: 14.5px;
  font-weight: 500;
  border-left: 1px solid var(--line);
  color: var(--ink-900);
  cursor: pointer;
  flex-shrink: 0;
}
.search-location:hover {
  background: var(--bg);
}
.search-location svg {
  color: var(--teal-700);
}
.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}
.search-input {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14.5px;
  padding: 0 22px;
  color: var(--ink-900);
}
.search-icon {
  padding: 0 22px;
  color: var(--ink-600);
}
.location-chevron {
  display: none;
  font-size: 10px;
  color: var(--ink-600);
}

/* ================= HERO ================= */
.hero-wrap {
  padding-bottom: 56px;
  position: relative;
}
.hero {
  position: relative;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  min-height: 460px;
  background: var(--teal-900);
}

.hero-content {
  flex: 0 0 54%;
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  color: var(--white);
}
.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.55;
  margin: 0;
}
.hero-title .accent {
  color: var(--orange-500);
}
.hero-subtitle {
  font-size: 17px;
  color: #cfe0df;
  font-weight: 500;
  margin: 0;
}

.hero-features {
  display: flex;
  gap: 34px;
  margin: 8px 0 4px;
}
.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #dfeceb;
  text-align: center;
  max-width: 80px;
}
.hero-feature .feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-500);
}

.hero-cta {
  align-self: flex-start;
  margin-top: 6px;
}

.hero-media {
  flex: 0 0 46%;
  position: relative;
  background: #dfe4e1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  left: 24px;
  bottom: 70px;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 150px;
}
.hero-badge .badge-title {
  font-size: 11.5px;
  color: var(--ink-600);
  font-weight: 600;
}
.hero-badge .badge-stats {
  display: flex;
  gap: 14px;
}
.badge-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.badge-stat .val {
  font-size: 15px;
  font-weight: 800;
  color: var(--teal-800);
}
.badge-stat .stars {
  color: var(--orange-500);
  font-size: 11px;
  letter-spacing: 1px;
}

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  color: var(--ink-900);
  z-index: 5;
}
.hero-nav-prev {
  right: -19px;
}
.hero-nav-next {
  left: -19px;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  right: 60px;
  display: flex;
  gap: 8px;
  z-index: 4;
}
.hero-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.hero-dots span.active {
  background: var(--orange-500);
  width: 20px;
  border-radius: 5px;
}

/* ================= TRUST STRIP ================= */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--line);
}
.trust-row {
  display: flex;
  justify-content: space-between;
  padding: 26px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.trust-item + .trust-item {
  border-right: 1px solid var(--line);
  padding-right: 28px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  flex-shrink: 0;
}
.trust-text {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink-900);
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--teal-900);
  color: #b9cccb;
  padding: 44px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 36px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col a {
  font-size: 13.5px;
  color: #a9c1bf;
  display: flex;
  flex-direction: row;
}
.footer-col a:hover {
  color: var(--white);
}

.footer-heading {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}
.footer-desc {
  font-size: 13px;
  line-height: 2;
  color: #9fb9b7;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfe0df;
}
.social-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #a9c1bf;
}
.footer-contact-item svg {
  flex-shrink: 0;
  color: #7fa3a1;
}
a.footer-contact-item:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 12.5px;
  color: #8ba7a5;
}

.footer-chat-btn {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(14, 58, 60, 0.35);
  z-index: 40;
}
.footer-chat-btn:hover {
  background: var(--teal-800);
}

/* استایل‌های جدید برای گروه‌بندی ستون‌های فوتر */
.footer-group-1,
.footer-group-2 {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-sub-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-sub-col .footer-heading {
  margin-bottom: 0;
}

/* ================= SECTION HEAD (shared) ================= */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0;
}
.section-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal-700);
}
.section-link:hover {
  color: var(--teal-900);
}
.section-link .chevron {
  font-size: 13px;
}

/* ================= CATEGORIES ================= */
.categories-section {
  padding: 44px 0 12px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 8px;
  border-radius: 14px;
  text-align: center;
}
.category-icon {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-icon img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.category-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
}

.cat-cleaning .category-icon {
  background: #fdece0;
}
.cat-building .category-icon {
  background: #fdf1d9;
}
.cat-education .category-icon {
  background: #e3eefc;
}
.cat-beauty .category-icon {
  background: #fbe7ef;
}
.cat-car .category-icon {
  background: #e6f1fb;
}
.cat-transport .category-icon {
  background: #fdf3e2;
}
.cat-tech .category-icon {
  background: #e3f5ee;
}
.cat-business .category-icon {
  background: #fdece1;
}

/* ================= SPECIALISTS ================= */
.specialists-section {
  padding: 36px 0 56px;
}

.specialists-carousel {
  position: relative;
}
.spec-nav-prev {
  right: -19px;
}
.spec-nav-next {
  left: -19px;
}

.specialists-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.specialists-track::-webkit-scrollbar {
  display: none;
}

.specialist-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
.specialist-photo {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg);
  width: 100%;
  height: 200px;
}
.specialist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.verified-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.verified-badge svg {
  width: 100%;
  height: 100%;
}
.specialist-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 14px 16px 8px;
}
.specialist-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-600);
}
.specialist-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-900);
}
.specialist-rating .star {
  color: var(--orange-500);
}
.specialist-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 14px;
  border-bottom: 1px solid var(--line);
}
.specialist-projects {
  font-size: 12px;
  color: var(--ink-600);
  font-weight: 600;
}
.specialist-badges {
  display: flex;
  gap: 6px;
}
.mini-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.specialist-cta {
  margin: 14px 16px 16px;
  justify-content: center;
  font-size: 13.5px;
  padding: 10px 16px;
}

/* ================= STATS (کارتوس در یک نگاه) ================= */
.stats-section {
  padding: 12px 0 44px;
}
.stats-title {
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stat-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-value {
  font-size: 19px;
  font-weight: 800;
  color: var(--teal-800);
}
.stat-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-600);
}
.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--orange-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ================= POPULAR SERVICES (خدمات پرطرفدار) ================= */
.services-section {
  padding: 12px 0 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: block;
}
.service-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.service-rating {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--white);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}
.service-rating .star {
  color: var(--orange-500);
}
.service-rating-count {
  color: var(--ink-600);
  font-weight: 500;
}
.service-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 14px 16px 8px;
  line-height: 1.6;
}
.service-price {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-700);
  margin: 0 16px 16px;
}

/* ================= REQUEST CTA BANNER ================= */
.request-cta-section {
  padding: 12px 0 48px;
}

.request-cta {
  background: var(--teal-900);
  border-radius: 18px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.request-cta-art {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 80px;
}
.cta-avatar {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--teal-900);
}
.cta-avatar-1 {
  top: 0;
  right: 0;
}
.cta-avatar-2 {
  top: 0;
  left: 8px;
}
.cta-avatar-3 {
  bottom: 6px;
  left: 0;
}
.cta-clipboard {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--white);
  color: var(--teal-800);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.request-cta-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--white);
}
.request-cta-title {
  font-size: 19px;
  font-weight: 800;
  margin: 0;
}
.request-cta-sub {
  font-size: 13.5px;
  color: #bcd3d1;
  margin: 0;
}
.request-cta-btn {
  flex-shrink: 0;
}

/* ================= TESTIMONIALS (نظرات مشتریان) ================= */
.testimonials-section {
  padding: 12px 0 48px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote-mark {
  color: var(--line);
}
.testimonial-text {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--ink-900);
  margin: 0;
  flex: 1;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-user-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-900);
}
.testimonial-role {
  font-size: 12px;
  color: var(--ink-600);
}
.testimonial-stars {
  color: var(--orange-500);
  font-size: 13px;
  letter-spacing: 2px;
}

/* ================= APP DOWNLOAD BANNER ================= */
.app-section {
  padding: 12px 0 56px;
}

.app-banner {
  background: #eaf2f0;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 0 0 0 40px;
}
.app-banner-text {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.app-banner-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0;
}
.app-banner-sub {
  font-size: 13.5px;
  color: var(--ink-600);
  margin: 0 0 6px;
}
.app-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-qr {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.app-qr svg {
  display: block;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink-900);
  color: var(--white);
  border-radius: 10px;
  padding: 8px 14px;
}
.store-btn:hover {
  background: var(--teal-900);
}
.store-btn-text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.store-btn-text small {
  font-size: 10px;
  font-weight: 400;
  color: #cfd9d7;
}
.app-banner-media {
  flex: 0 0 260px;
  align-self: flex-end;
}
.app-banner-media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  border-radius: 18px 0 0 0;
}

/* ================= BOTTOM NAV (mobile only) ================= */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  z-index: 50;
  justify-content: space-between;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-600);
  flex: 1;
  padding: 4px 2px;
}
.bottom-nav-item.is-active {
  color: var(--teal-700);
  font-weight: 700;
}

 
  /* ====== استایل‌های نوار دسته‌بندی ====== */
.category-nav-wrap {
  position: sticky;
  top: 70px;                /* ارتفاع Header (مطمئن شوید دقیق است) */
  z-index: 40;               /* کمتر از Header */
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.category-nav-wrap.is-scrolled {
	position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* ====== غیرفعال‌سازی همه transition و animation ها به‌جز آیکون‌ها ====== */
.category-nav-wrap,
.category-nav-wrap * {
  transition: none !important;
  animation: none !important;
}

/* ====== فعال‌سازی transition فقط برای آیکون‌ها (حالت عادی) ====== */
.category-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.85s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.85s cubic-bezier(0.4, 0, 0.2, 1),
              height 0.85s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ====== حالت مخفی شدن آیکون‌ها (با انیمیشن نرم) ====== */
.category-nav-wrap.is-icons-hidden .category-icon-img {
  opacity: 0;
  transform: scale(0.7);
  width: 0;
  height: 0;
  margin: 0;
}

/* ====== اسکرول افقی دسته‌بندی ====== */
.category-nav-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
  scroll-snap-type: x proximity;
  cursor: grab;
}

.category-nav-scroll::-webkit-scrollbar {
  display: none;
}

/* ====== هر آیتم دسته‌بندی ====== */
.category-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid transparent;
  min-width: 70px;
  text-decoration: none;
  color: var(--ink-900);
}

.category-nav-item:hover {
  background: #e8eeec;
}

.category-nav-item.active {
  background: var(--teal-800);
  color: var(--white);
  border-color: var(--teal-800);
}

.category-nav-item.active .category-label {
  color: var(--white);
}

/* ====== برچسب دسته‌بندی ====== */
.category-nav-item .category-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-900);
}

/* ====== تغییرات آیتم‌ها در حالت چسبیده ====== */
.category-nav-wrap.is-scrolled .category-nav-item {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  min-width: auto;
}

.category-nav-wrap.is-scrolled .category-nav-item .category-label {
  font-size: 13px;
}

/* ============================================================ */
/* ====== حالت دسکتاپ (بالای 961 پیکسل) ====== */
/* ============================================================ */
@media (min-width: 961px) {
  .category-nav-wrap {
    padding: 8px 0 12px;
  }

  .category-nav-wrap.is-scrolled {
    box-shadow: 0 4px 14px rgba(14, 58, 60, 0.12);
  }

  .category-nav-scroll {
    gap: 12px;
    justify-content: center;
  }

  .category-nav-item {
    padding: 12px 20px;
    min-width: 80px;
    background: var(--white);
    border: 1px solid var(--line);
  }

  .category-icon-img {
    width: 32px;
    height: 32px;
  }

  .category-nav-wrap.is-scrolled .category-nav-item {
    padding: 8px 20px;
    font-size: inherit;
    min-width: 80px;
  }

  .category-nav-wrap.is-scrolled .category-nav-item .category-label {
    font-size: 13px;
  }
}

/* ============================================================ */
/* ====== حالت موبایل (زیر 600 پیکسل) ====== */
/* ============================================================ */
@media (max-width: 600px) {
  .category-nav-wrap {
    padding: 6px 0;
  }

  .category-nav-scroll {
    gap: 6px;
    padding: 0 4px;
  }

  .category-nav-item {
    padding: 6px 14px;
    min-width: 60px;
    gap: 4px;
    border-radius: 10px;
  }

  .category-icon-img {
    width: 24px;
    height: 24px;
  }

  .category-nav-item .category-label {
    font-size: 11px;
  }

  .category-nav-wrap.is-scrolled .category-nav-item {
    padding: 6px 14px;
    font-size: 12px;
    min-width: auto;
  }

  .category-nav-wrap.is-scrolled .category-nav-item .category-label {
    font-size: 11px;
  }
}


/* ====== استایل‌های بنر اسکرولی (فقط عکس) ====== */
.banner-scroll-wrap {
  padding: 0 0 16px 0;
  overflow: hidden;
  position: relative;
}
.banner-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 8px;
}
.banner-scroll::-webkit-scrollbar {
  display: none;
}
.banner-item {
  flex: 0 0 85%;
  min-width: 280px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.banner-item:hover {
  transform: scale(1.01);
}
.banner-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* دسکتاپ: نمایش به صورت گرید */
@media (min-width: 961px) {
  .banner-scroll-wrap {
    padding: 0 0 20px 0;
  }
  .banner-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
  }
  .banner-item {
    flex: none;
    min-width: auto;
    scroll-snap-align: none;
  }
  .banner-item img {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .banner-scroll-wrap {
    padding: 0 0 12px 0;
  }
  .banner-item {
    flex: 0 0 88%;
    min-width: 260px;
  }
  .banner-item img {
    height: 180px;
  }
}

/* ====== استایل‌های دسته‌بندی اسکرولی افقی ====== */
.categories-scroll-wrap {
  padding: 8px 0 16px 0;
  overflow: hidden;
  position: relative;
}
.categories-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 8px;
  scroll-snap-type: x proximity;
}
.categories-scroll::-webkit-scrollbar {
  display: none;
}
.category-scroll-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 80px;
  text-decoration: none;
  color: var(--ink-900);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.category-scroll-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.category-scroll-item .cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-scroll-item .cat-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.category-scroll-item .cat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-900);
}

/* رنگ‌های پس‌زمینه برای هر دسته */
.cat-scroll-cleaning .cat-icon {
  background: #fdece0;
}
.cat-scroll-building .cat-icon {
  background: #fdf1d9;
}
.cat-scroll-education .cat-icon {
  background: #e3eefc;
}
.cat-scroll-beauty .cat-icon {
  background: #fbe7ef;
}
.cat-scroll-car .cat-icon {
  background: #e6f1fb;
}
.cat-scroll-transport .cat-icon {
  background: #fdf3e2;
}
.cat-scroll-tech .cat-icon {
  background: #e3f5ee;
}
.cat-scroll-business .cat-icon {
  background: #fdece1;
}

/* دسکتاپ: نمایش به صورت گرید */
@media (min-width: 961px) {
  .categories-scroll-wrap {
    padding: 12px 0 20px 0;
  }
  .categories-scroll {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
  }
  .category-scroll-item {
    min-width: auto;
    scroll-snap-align: none;
    padding: 16px 12px;
  }
  .category-scroll-item .cat-icon {
    width: 48px;
    height: 48px;
  }
  .category-scroll-item .cat-icon img {
    width: 32px;
    height: 32px;
  }
  .category-scroll-item .cat-label {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .categories-scroll-wrap {
    padding: 4px 0 12px 0;
  }
  .category-scroll-item {
    padding: 10px 14px;
    min-width: 70px;
    gap: 6px;
  }
  .category-scroll-item .cat-icon {
    width: 36px;
    height: 36px;
  }
  .category-scroll-item .cat-icon img {
    width: 24px;
    height: 24px;
  }
  .category-scroll-item .cat-label {
    font-size: 11px;
  }
  .categories-scroll {
    gap: 8px;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .header-right {
    display: none;
  }

  .header-row {
    justify-content: space-between;
    flex-wrap: nowrap;
    position: relative;
  }

  .header-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0;
  }

  .logo {
    order: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .hamburger-btn {
    order: 3;
    margin-right: auto;
    margin-left: 0;
    display: flex;
  }

  .logo-sub {
    display: none;
  }

  .hero {
    flex-direction: column;
  }
  .hero-content,
  .hero-media {
    flex: none;
    width: 100%;
  }
  .hero-media {
    height: 260px;
  }
  .hero-title {
    font-size: 28px;
  }
  .trust-row {
    flex-wrap: wrap;
    gap: 18px;
  }
  .trust-item {
    flex: 0 0 45%;
  }
  .trust-item + .trust-item {
    border-right: none;
    padding-right: 0;
  }

  /* ====== فوتر در تبلت (960px) ====== */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  /* گروه‌ها به صورت ردیفی در کنار هم */
  .footer-group-1,
  .footer-group-2 {
    flex-direction: row;
    gap: 20px;
  }
  .footer-sub-col {
    flex: 1;
  }
  .footer-col a {
    font-size: 13px;
  }

  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .specialists-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .request-cta {
    flex-wrap: wrap;
    padding: 26px;
  }
  .request-cta-art {
    display: none;
  }
  .app-banner {
    flex-wrap: wrap;
    padding: 0;
  }
  .app-banner-media {
    flex: 0 0 100%;
    align-self: stretch;
  }
  .app-banner-media img {
    border-radius: 0;
    height: 200px;
  }
}

@media (max-width: 600px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .container {
    padding: 0 16px;
    max-width: 100%;
  }
  .header-row {
    flex-wrap: nowrap;
    padding: 15px 0;
    position: relative;
  }

  .hamburger-btn {
    order: 3;
    margin-right: 0;
    margin-left: 0;
    display: flex;
    width: 40px;
    height: 40px;
  }

  .logo {
    order: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .logo-img {
    height: 50px;
  }

  /* جستجو به صورت پشته‌ای با location در پایین */
  .searchbar {
    flex-wrap: wrap;
    border: none;
    box-shadow: none;
    gap: 10px;
    background: transparent;
    flex-direction: column;
  }
  .search-submit {
    display: none;
  }
  .search-location {
    border: none;
    width: 100%;
    padding: 12px 16px;
    font-size: 13.5px;
    justify-content: flex-start;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--line);
    order: 2;
  }
  .location-chevron {
    display: inline-block;
  }
  .search-input-wrap {
    position: relative;
    width: 100%;
    order: 1;
  }
  .search-input {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 13px 42px 13px 16px;
    font-size: 13.5px;
  }
  .search-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    padding: 0;
  }

  .hero-features {
    flex-wrap: wrap;
    gap: 18px;
  }
  .hero-badge {
    left: 12px;
    bottom: 16px;
  }

  .hero-nav-btn,
  .spec-nav-prev,
  .spec-nav-next {
    display: none;
  }

  .bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 70px;
  }

  /* ====== فوتر در موبایل (600px) - 2 ستونه ====== */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-bottom: 24px;
  }
  .footer-brand {
    grid-column: 1/-1;
    margin-bottom: 4px;
  }
  .footer-brand .logo-img {
    height: 30px;
  }
  .footer-desc {
    font-size: 12px;
    line-height: 1.8;
  }
  /* گروه‌ها به صورت ستونی زیر هم */
  .footer-group-1,
  .footer-group-2 {
    flex-direction: column;
    gap: 16px;
  }
  .footer-sub-col {
    flex: none;
    gap: 8px;
  }
  .footer-sub-col .footer-heading {
    font-size: 13px;
    margin-bottom: 0;
  }
  .footer-col a {
    font-size: 12px;
  }
  .footer-contact-item {
    font-size: 12px;
    gap: 6px;
  }
  .footer-social {
    gap: 8px;
  }
  .social-btn {
    width: 28px;
    height: 28px;
  }
  .social-btn svg {
    width: 14px;
    height: 14px;
  }

  .footer-chat-btn {
    bottom: 82px;
    left: 14px;
    width: 46px;
    height: 46px;
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .category-card {
    padding: 14px 4px;
  }
  .category-icon {
    width: 48px;
    height: 48px;
  }
  .category-label {
    font-size: 11.5px;
  }
  .specialists-track {
    grid-template-columns: repeat(1, minmax(240px, 1fr));
    grid-auto-flow: column;
    grid-auto-columns: 78%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-card {
    padding: 14px;
  }
  .stat-value {
    font-size: 16px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .service-title {
    font-size: 13px;
    margin: 10px 12px 6px;
  }
  .service-price {
    font-size: 12px;
    margin: 0 12px 12px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .request-cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    gap: 16px;
  }
  .request-cta-btn {
    width: 100%;
    justify-content: center;
  }
  .app-banner-text {
    padding: 26px 20px;
  }
  .app-banner-actions {
    flex-wrap: wrap;
  }
}

/* ====== استایل‌های نوار دسته‌بندی ====== */
.category-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 25;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.category-nav-wrap {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease,
    box-shadow 0.45s ease;
}

.category-nav-wrap.is-scrolled {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;

  transform: translateY(0);
  opacity: 1;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.category-nav-wrap.is-scrolled .category-icon-img {
  opacity: 0;
  transform: scale(0.7);
  width: 0;
  height: 0;
  margin: 0;
  transition:
    opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.85s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.85s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-nav-wrap.is-scrolled .category-nav-item {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  min-width: auto;
}
.category-nav-wrap.is-scrolled .category-nav-item .category-label {
  font-size: 13px;
}
.category-nav-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
  scroll-snap-type: x proximity;
  cursor: grab;
}
.category-nav-scroll::-webkit-scrollbar {
  display: none;
}
.category-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid transparent;
  min-width: 70px;
  text-decoration: none;
  color: var(--ink-900);
}
.category-nav-item:hover {
  background: #e8eeec;
}
.category-nav-item.active {
  background: var(--teal-800);
  color: var(--white);
  border-color: var(--teal-800);
}
.category-nav-item.active .category-label {
  color: var(--white);
}
.category-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.category-nav-item .category-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-900);
  transition: all 0.2s ease;
}
.category-nav-item.active .category-label {
  color: var(--white);
}

/* حالت دسکتاپ */
@media (min-width: 961px) {
  .category-nav-wrap {
    position: sticky;
    top: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  }
  .category-nav-wrap.is-scrolled {
    box-shadow: 0 4px 14px rgba(14, 58, 60, 0.12);
  }
  .category-nav-wrap.is-scrolled .category-icon-img {
    display: block;
  }
  .category-nav-wrap.is-scrolled .category-nav-item {
    padding: 8px 20px;
    font-size: inherit;
    min-width: 80px;
  }
  .category-nav-wrap.is-scrolled .category-nav-item .category-label {
    font-size: 13px;
  }
  .category-nav-scroll {
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .category-nav-item {
    flex-direction: column;
    padding: 12px 20px;
    min-width: 80px;
    background: var(--white);
    border: 1px solid var(--line);
  }
  .category-icon-img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 600px) {
  .category-nav-wrap {
    padding: 6px 0;
    top: 0;
  }
  .category-nav-wrap.is-scrolled .category-nav-item {
    padding: 6px 14px;
    font-size: 12px;
    min-width: auto;
  }
  .category-nav-wrap.is-scrolled .category-nav-item .category-label {
    font-size: 11px;
  }
  .category-nav-item {
    padding: 6px 14px;
    min-width: 60px;
    gap: 4px;
    border-radius: 10px;
  }
  .category-icon-img {
    width: 24px;
    height: 24px;
  }
  .category-nav-item .category-label {
    font-size: 11px;
  }
  .category-nav-scroll {
    gap: 6px;
    padding: 0 4px;
  }
}

/* استایل برای placeholder جستجو */
.search-input::placeholder {
  color: #9aa6a4;
}
.search-input .highlight {
  color: #f4802d;
}

/* ====== استایل‌های بنر اسکرولی (فقط عکس) ====== */
.banner-scroll-wrap {
  padding: 0 0 16px 0;
  overflow: hidden;
  position: relative;
}
.banner-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 8px;
}
.banner-scroll::-webkit-scrollbar {
  display: none;
}
.banner-item {
  flex: 0 0 85%;
  min-width: 280px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.banner-item:hover {
  transform: scale(1.01);
}
.banner-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* دسکتاپ: نمایش به صورت گرید */
@media (min-width: 961px) {
  .banner-scroll-wrap {
    padding: 0 0 20px 0;
  }
  .banner-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
  }
  .banner-item {
    flex: none;
    min-width: auto;
    scroll-snap-align: none;
  }
  .banner-item img {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .banner-scroll-wrap {
    padding: 0 0 12px 0;
  }
  .banner-item {
    flex: 0 0 88%;
    min-width: 260px;
  }
  .banner-item img {
    height: 140px;
  }
}

/* ====== استایل‌های دسته‌بندی اسکرولی افقی ====== */
.categories-scroll-wrap {
  padding: 8px 0 16px 0;
  overflow: hidden;
  position: relative;
}
.categories-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 8px;
  scroll-snap-type: x proximity;
}
.categories-scroll::-webkit-scrollbar {
  display: none;
}
.category-scroll-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 80px;
  text-decoration: none;
  color: var(--ink-900);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.category-scroll-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.category-scroll-item .cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-scroll-item .cat-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.category-scroll-item .cat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-900);
}

/* رنگ‌های پس‌زمینه برای هر دسته */
.cat-scroll-cleaning .cat-icon {
  background: #fdece0;
}
.cat-scroll-building .cat-icon {
  background: #fdf1d9;
}
.cat-scroll-education .cat-icon {
  background: #e3eefc;
}
.cat-scroll-beauty .cat-icon {
  background: #fbe7ef;
}
.cat-scroll-car .cat-icon {
  background: #e6f1fb;
}
.cat-scroll-transport .cat-icon {
  background: #fdf3e2;
}
.cat-scroll-tech .cat-icon {
  background: #e3f5ee;
}
.cat-scroll-business .cat-icon {
  background: #fdece1;
}

/* دسکتاپ: نمایش به صورت گرید */
@media (min-width: 961px) {
  .categories-scroll-wrap {
    padding: 12px 0 20px 0;
  }
  .categories-scroll {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
  }
  .category-scroll-item {
    min-width: auto;
    scroll-snap-align: none;
    padding: 16px 12px;
  }
  .category-scroll-item .cat-icon {
    width: 48px;
    height: 48px;
  }
  .category-scroll-item .cat-icon img {
    width: 32px;
    height: 32px;
  }
  .category-scroll-item .cat-label {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .categories-scroll-wrap {
    padding: 4px 0 12px 0;
  }
  .category-scroll-item {
    padding: 10px 14px;
    min-width: 70px;
    gap: 6px;
  }
  .category-scroll-item .cat-icon {
    width: 36px;
    height: 36px;
  }
  .category-scroll-item .cat-icon img {
    width: 24px;
    height: 24px;
  }
  .category-scroll-item .cat-label {
    font-size: 11px;
  }
  .categories-scroll {
    gap: 8px;
  }
}

/* استایل‌های مودال نقشه */
.map-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  align-items: center;
  justify-content: center;
}
.map-modal.is-open {
  display: flex;
}
.map-modal-content {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}
.map-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e7ebea;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.map-modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #16211f;
}
.map-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #5c6866;
  padding: 0 8px;
}
.map-container {
  height: 400px;
  width: 100%;
}
.map-confirm-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #124a4c;
  color: white;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 0 20px 20px;
}
.map-confirm-btn:hover {
  background: #0e3a3c;
}
#selectedLocation {
  padding: 12px 20px;
  font-size: 13px;
  color: #16211f;
  background: #f6f8f7;
  border-top: 1px solid #e7ebea;
}
.location-highlight {
  color: #f4802d;
  font-weight: 700;
}

.banner-scroll-wrap {
  padding: 0 0 16px 0;
  overflow: hidden;
  position: relative;
}

.banner-carousel {
  position: relative;
  overflow: hidden;
}

.banner-scroll {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 4px 0 8px;
}
.banner-scroll::-webkit-scrollbar {
  display: none;
}

.banner-item {
  flex: 0 0 78%;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  transition: transform 0.2s ease;
}
.banner-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.banner-nav-prev {
  right: -19px;
}
.banner-nav-next {
  left: -19px;
}

@media (min-width: 961px) {
  .banner-item {
    flex-basis: 100%;
  }
  .banner-item img {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .banner-item {
    flex-basis: 95%;
  }
  .banner-item img {
    height: 120px;
  }
  .banner-nav-prev,
  .banner-nav-next {
    display: none;
  }
}

.category-nav-wrap.is-scrolled {
  animation: categoryFloatIn 2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes categoryFloatIn {
  from {
    transform: translateY(-25px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* ============================================================
   منوی کاربر (آیکون آدمک + دراپ‌داون)
============================================================ */
.user-menu {
  position: relative;
}

.user-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg, #f6f8f7);
  border: 1px solid var(--line, #e7ebea);
  color: var(--teal-800, #124a4c);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.user-menu-btn:hover,
.user-menu.is-open .user-menu-btn {
  background: var(--white, #fff);
  border-color: var(--teal-700, #166163);
}

.user-menu-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: var(--white, #fff);
  border: 1px solid var(--line, #e7ebea);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(14, 58, 60, 0.16);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 500;
}
.user-menu.is-open .user-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-menu-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: var(--bg, #f6f8f7);
  color: var(--ink-900, #16211f);
  font-weight: 700;
  font-size: 13px;
}
.user-menu-phone svg {
  color: var(--teal-700, #166163);
  flex-shrink: 0;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900, #16211f);
  text-decoration: none;
  background: transparent;
  border: none;
  text-align: right;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}
.user-menu-item:hover {
  background: var(--bg, #f6f8f7);
}
.user-menu-item-form {
  margin: 0;
}
.user-menu-logout {
  color: #dc2626;
}