
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --blue:       #34abeb;
      --blue-dark:  #0d7abf;
      --blue-deep:  #084f80;
      --blue-light: #e8f7fd;
      --blue-mid:   #b3e3f8;
      --ink:        #1a2332;
      --ink-light:  #4a5568;
      --white:      #ffffff;
      --off:        #f7fbfe;
      --radius:     14px;
      --shadow:     0 4px 32px rgba(52,171,235,.12);
      --shadow-lg:  0 12px 48px rgba(52,171,235,.18);
      --theme-color: #ffbb00;
      --primary-color: #ba131a;
      --secondary-color: #3d3e3e;
      --border-radius:10px;
    }
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 100;
    src: url('../webfonts/Vazirmatn-Thin.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 200;
    src: url('../webfonts/Vazirmatn-ExtraLight.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 300;
    src: url('../webfonts/Vazirmatn-Light.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 400;
    src: url('../webfonts/Vazirmatn-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 500;
    src: url('../webfonts/Vazirmatn-Medium.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 600;
    src: url('../webfonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 700;
    src: url('../webfonts/Vazirmatn-Bold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 800;
    src: url('../webfonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 900;
    src: url('../webfonts/Vazirmatn-Black.woff2') format('woff2');
    font-display: swap;
}


    html { scroll-behavior: smooth; }

    body {
      font-family: 'Vazirmatn', sans-serif;
      background: var(--white);
      color: var(--ink);
      line-height: 1.7;
      overflow-x: hidden;
    }

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; right: 0; left: 0; z-index: 100;
      background: rgba(255,255,255,.92);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(52,171,235,.12);
      padding: 0 15%;
      display: flex; align-items: center; justify-content: space-between;
      height: 68px;
      transition: box-shadow .3s;
    }
    nav.scrolled { box-shadow: var(--shadow); }

    .nav-logo {
      display: flex; align-items: center; gap: 10px;
      text-decoration: none;
    }
    .logo-icon {
      width: 40px; height: 40px;
      background: linear-gradient(135deg, var(--blue), var(--blue-deep));
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
    }
    .logo-icon svg { width: 22px; height: 22px; }
    .logo-text { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
    .logo-text span { color: var(--blue); }

    .nav-links {
      display: flex; align-items: center; gap: 28px;
      list-style: none;
    }
    .nav-links a {
      text-decoration: none; color: var(--ink-light);
      font-size: .92rem; font-weight: 500;
      transition: color .2s;
      position: relative;
    }
    .nav-links a::after {
      content: ''; position: absolute; bottom: -4px; right: 0; left: 0;
      height: 2px; background: var(--blue); border-radius: 2px;
      transform: scaleX(0); transition: transform .25s;
    }
    .nav-links a:hover { color: var(--blue); }
    .nav-links a:hover::after { transform: scaleX(1); }

    .nav-cta {
      background: var(--blue); color: var(--white) !important;
      padding: 9px 22px; border-radius: 50px;
      font-weight: 600 !important;
      transition: background .2s, transform .2s !important;
    }
    .nav-cta:hover { background: var(--blue-dark) !important; transform: translateY(-1px); }
    .nav-cta::after { display: none !important; }

    .hamburger {
      display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
      background: none; border: none;
    }
    .hamburger span {
      display: block; width: 24px; height: 2px;
      background: var(--ink); border-radius: 2px; transition: .3s;
    }

    /* ── HERO ── */
    .hero {
      min-height: 400px;
      background: linear-gradient(160deg, var(--blue-deep) 0%, #3726fb 55%, #5bc5f0 100%);
      position: relative; overflow: hidden;
      display: flex; align-items: center;
      padding: 100px 5% 60px;
    }

    /* animated circles */
    .hero-circles {
      position: absolute; inset: 0; pointer-events: none;
    }
    .circle {
      position: absolute; border-radius: 50%;
      border: 1px solid rgba(255,255,255,.15);
      animation: pulse 6s cubic-bezier(.91,-0.34,1,.07) infinite;
    }
    .c1 { width: 500px; height: 500px; top: -100px; left: -150px; animation-delay: 0s; }
    .c2 { width: 700px; height: 700px; top: -200px; left: -250px; animation-delay: 1.5s; }
    .c3 { width: 300px; height: 300px; bottom: -80px; right: 10%; animation-delay: 3s; }
    .c4 { width: 180px; height: 180px; top: 30%; right: 5%; animation-delay: 2s; border-color: rgba(255,255,255,.25); }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: .5; }
      50%       { transform: scale(1.04); opacity: 1; }
    }

    /* floating molecules */
    .molecule {
      position: absolute; opacity: .78;
      animation: float 8s ease-in-out infinite;
    }
    .m1 { top: 20%; right: 8%; animation-delay: 0s; }
    .m2 { top: 65%; right: 18%; animation-delay: 3s; }
    .m3 { top: 40%; left: 5%; animation-delay: 5s; }
    .m4 { top: 17%; left: 17%; animation-delay: 4s;}

    @keyframes float {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50%       { transform: translateY(-18px) rotate(8deg); }
    }

    .hero-content { position: relative; z-index: 2; max-width: 640px; }

    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
      color: var(--white); padding: 6px 16px; border-radius: 50px;
      font-size: .82rem; font-weight: 600; margin-bottom: 28px;
      backdrop-filter: blur(8px);
    }
    .badge-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #7fffb0; animation: blink 2s infinite;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

    .hero h1 {
      font-size: clamp(2.2rem, 5vw, 3.6rem);
      font-weight: 800; color: var(--white);
      line-height: 1.25; margin-bottom: 20px;
    }
    .hero h1 em {
      font-style: normal;
      background: linear-gradient(90deg, #fff 0%, #b3e3f8 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero p {
      font-size: 1.08rem; color: rgba(255,255,255,.85);
      max-width: 520px; margin-bottom: 40px; font-weight: 300;
    }

    .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 13px 28px; border-radius: 50px;
      font-family: 'Vazirmatn', sans-serif;
      font-size: .95rem; font-weight: 700;
      cursor: pointer; text-decoration: none;
      transition: transform .2s, box-shadow .2s;
      border: none;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary {
      background: var(--white); color: var(--blue-dark);
      box-shadow: 0 4px 20px rgba(0,0,0,.15);
    }
    .btn-primary:hover { box-shadow: 0 8px 30px rgba(0,0,0,.2); }
    .btn-ghost {
      background: rgba(255,255,255,.15);
      border: 1.5px solid rgba(255,255,255,.5);
      color: var(--white);
    }
    .btn-ghost:hover { background: rgba(255,255,255,.25); }

    .hero-stats {
      display: flex; gap: 36px; margin-top: 52px; flex-wrap: wrap;
    }
    .stat { text-align: center; }
    .stat-num {
      font-size: 2rem; font-weight: 800; color: var(--white);
      line-height: 1;
    }
    .stat-lbl { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 4px; font-weight: 400; }

    .hero-visual {
      position: absolute; left: 5%; bottom: 0;
      width: min(420px, 38vw); z-index: 1;
      opacity: .18;
      pointer-events: none;
    }

    /* ── SECTION BASE ── */
    section { padding: 90px 5%; }
    .section-label {
      display: inline-block;
      font-size: .75rem; font-weight: 700; letter-spacing: .12em;
      text-transform: uppercase; color: var(--blue);
      background: var(--blue-light); padding: 5px 14px; border-radius: 50px;
      margin-bottom: 14px;
    }
    .section-title {
      font-size: clamp(1.7rem, 3.5vw, 2.5rem);
      font-weight: 800; color: var(--ink); line-height: 1.25;
      margin-bottom: 16px;
    }
    .section-sub {
      font-size: 1rem; color: var(--ink-light);
      max-width: 560px; font-weight: 300;
    }
    .section-head { margin-bottom: 56px; }

    /* ── SERVICES ── */
    #services { background: var(--off); }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
    }

    .service-card {
      background: var(--white);
      border: 1px solid rgba(52,171,235,.1);
      border-radius: var(--radius);
      padding: 32px 28px;
      position: relative; overflow: hidden;
      transition: transform .3s, box-shadow .3s, border-color .3s;
      cursor: default;
    }
    .service-card::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, var(--blue-light) 0%, transparent 60%);
      opacity: 0; transition: opacity .3s;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-lg);
      border-color: rgba(52,171,235,.35);
    }
    .service-card:hover::before { opacity: 1; }

    .service-icon {
      width: 56px; height: 56px; border-radius: 14px;
      background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 22px; position: relative; z-index: 1;
      transition: background .3s;
    }
    .service-card:hover .service-icon {
      background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    }
    .service-icon svg { width: 26px; height: 26px; transition: filter .3s; }
    .service-card:hover .service-icon svg { filter: brightness(10); }

    .service-card h3 {
      font-size: 1.08rem; font-weight: 700; color: var(--ink);
      margin-bottom: 10px; position: relative; z-index: 1;
    }
    .service-card p {
      font-size: .88rem; color: var(--ink-light); font-weight: 400;
      position: relative; z-index: 1;
    }
    .service-tag {
      display: inline-block; margin-top: 18px;
      font-size: .72rem; font-weight: 700; color: var(--blue);
      background: var(--blue-light); padding: 3px 10px; border-radius: 50px;
      position: relative; z-index: 1;
    }
.phone-link {
  direction: ltr;
  font-weight: bold;
  color: var(--primary-color) !important;
}
.desktop-only-phone .phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: .85rem;
  text-decoration: none;
}
/* وسط‌چین کردن کل بخش خدمات */
#services {
    text-align: center;
}

/* وسط‌چین کردن محتوای سربرگ بخش خدمات */
#services .section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* تراز کردن متن‌های کارت‌ها به سمت راست (جهت خوانایی بهتر متن‌های فارسی) */
.service-card {
    text-align: right;
}

/* در صورت تمایل برای وسط‌چین کردن آیکون‌های داخل کارت‌ها */
.service-icon {
    margin-left: auto;
    margin-right: auto;
}
    /* ── WHY US ── */
    #why { background: var(--white); }

    .why-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 60px; align-items: center;
    }
    .why-visual {
      background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-mid) 100%);
      border-radius: 24px; padding: 48px;
      display: flex; flex-direction: column; gap: 20px;
    }
    .why-metric {
      background: var(--white); border-radius: 14px;
      padding: 22px 26px;
      display: flex; align-items: center; gap: 18px;
      box-shadow: 0 2px 16px rgba(52,171,235,.1);
      transition: transform .25s;
    }
    .why-metric:hover { transform: translateX(-6px); }
    .metric-icon {
      width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
      background: linear-gradient(135deg, var(--blue), var(--blue-dark));
      display: flex; align-items: center; justify-content: center;
    }
    .metric-icon svg { width: 22px; height: 22px; }
    .metric-val { font-size: 1.6rem; font-weight: 800; color: var(--ink); line-height: 1; }
    .metric-desc { font-size: .8rem; color: var(--ink-light); margin-top: 3px; }

    .why-points { display: flex; flex-direction: column; gap: 30px; }
    .why-point { display: flex; gap: 18px; align-items: flex-start; }
    .point-num {
      width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
      background: linear-gradient(135deg, var(--blue), var(--blue-dark));
      color: var(--white); font-weight: 800; font-size: .9rem;
      display: flex; align-items: center; justify-content: center;
    }
    .why-point h4 { font-size: 1rem; font-weight: 700; margin-bottom: 5px; }
    .why-point p { font-size: .88rem; color: var(--ink-light); }

    /* ── BRANCHES ── */
    #branches { background: var(--off); }

    .branches-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
    }
    .branch-card {
      background: var(--white); border-radius: var(--radius);
      overflow: hidden; border: 1px solid rgba(52,171,235,.1);
      transition: transform .3s, box-shadow .3s;
    }
    .branch-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
    }
    .branch-header {
      height: 130px;
      background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
      position: relative; overflow: hidden;
      display: flex; align-items: flex-end; padding: 20px 24px;
    }
    .branch-header::before {
      content: '';
      position: absolute; top: -30px; left: -30px;
      width: 160px; height: 160px; border-radius: 50%;
      border: 30px solid rgba(255,255,255,.07);
    }
    .branch-header::after {
      content: '';
      position: absolute; bottom: -50px; right: -20px;
      width: 120px; height: 120px; border-radius: 50%;
      border: 20px solid rgba(255,255,255,.07);
    }
    .branch-num {
      font-size: 2.8rem; font-weight: 800;
      color: rgba(255,255,255,.2); line-height: 1;
      position: absolute; top: 14px; left: 20px;
    }
    .branch-name {
      font-size: 1.05rem; font-weight: 700; color: var(--white);
      position: relative; z-index: 1;
    }
    .branch-body { padding: 24px; }
    .branch-info { display: flex; flex-direction: column; gap: 12px; }
    .branch-row {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: .87rem; color: var(--ink-light);
    }
    .branch-row svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--blue); }
    .branch-footer {
      padding: 0 24px 22px;
      display: flex; gap: 10px;
    }
    .branch-btn {
      flex: 1; padding: 9px 14px; border-radius: 50px;
      font-family: 'Vazirmatn', sans-serif; font-size: .8rem; font-weight: 600;
      cursor: pointer; text-align: center; text-decoration: none;
      transition: .2s; border: none;
    }
    .bb-primary { background: var(--blue); color: var(--white); }
    .bb-primary:hover { background: var(--blue-dark); }
    .bb-ghost { background: var(--blue-light); color: var(--blue-dark); }
    .bb-ghost:hover { background: var(--blue-mid); }

    /* ── CTA BANNER ── */
    .cta-banner {
      margin: 0 5% 90px;
      background: linear-gradient(135deg, var(--blue-deep), var(--blue));
      border-radius: 28px; padding: 60px 52px;
      display: flex; align-items: center; justify-content: space-between;
      gap: 32px; flex-wrap: wrap;
      position: relative; overflow: hidden;
    }
    .cta-banner::before {
      content: ''; position: absolute;
      width: 400px; height: 400px; border-radius: 50%;
      border: 60px solid rgba(255,255,255,.06);
      top: -120px; left: -80px;
    }
    .cta-banner::after {
      content: ''; position: absolute;
      width: 250px; height: 250px; border-radius: 50%;
      border: 40px solid rgba(255,255,255,.06);
      bottom: -100px; right: 100px;
    }
    .cta-text { position: relative; z-index: 1; }
    .cta-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--white); margin-bottom: 10px; }
    .cta-text p { color: rgba(255,255,255,.8); font-size: .95rem; }
    .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

    /* ── FOOTER ── */
    footer {
      background: var(--ink); color: rgba(255,255,255,.7);
      padding: 60px 5% 32px;
    }
    .footer-grid {
      display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px; margin-bottom: 48px;
    }
    .footer-brand p { font-size: .87rem; margin-top: 16px; line-height: 1.8; font-weight: 300; }
    .footer-logo .logo-text { color: var(--white); }

    .footer-col h4 {
      font-size: .9rem; font-weight: 700; color: var(--white);
      margin-bottom: 20px; position: relative;
    }
    .footer-col h4::after {
      content: ''; position: absolute;
      bottom: -8px; right: 0; width: 28px; height: 2px;
      background: var(--blue); border-radius: 2px;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
    .footer-col ul a {
      text-decoration: none; color: rgba(255,255,255,.6);
      font-size: .87rem; transition: color .2s;
    }
    .footer-col ul a:hover { color: var(--blue); }

    .footer-social { display: flex; gap: 10px; margin-top: 24px; }
    .social-btn {
      width: 38px; height: 38px; border-radius: 10px;
      background: rgba(255,255,255,.07);
      display: flex; align-items: center; justify-content: center;
      transition: background .2s; cursor: pointer;
    }
    .social-btn:hover { background: var(--blue); }
    .social-btn svg { width: 16px; height: 16px; }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.1);
      padding-top: 28px; display: flex;
      justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 12px;
      font-size: .8rem;
    }

    /* ── SCROLL REVEAL ── */
    .reveal {
      opacity: 0; transform: translateY(30px);
      transition: opacity .65s ease, transform .65s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
/* ── HOME SAMPLING ── */
    #home-sampling {
      background: var(--white);
      padding: 90px 5%;
    }

    .sampling-wrapper {
      background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 50%, var(--blue) 100%);
      border-radius: 28px;
      padding: 64px 56px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      position: relative;
      overflow: hidden;
    }
    .sampling-wrapper::before {
      content: '';
      position: absolute; top: -80px; left: -80px;
      width: 320px; height: 320px; border-radius: 50%;
      border: 50px solid rgba(255,255,255,.05);
    }
    .sampling-wrapper::after {
      content: '';
      position: absolute; bottom: -60px; right: -40px;
      width: 240px; height: 240px; border-radius: 50%;
      border: 40px solid rgba(255,255,255,.05);
    }

    .sampling-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(255,255,255,.15);
      border: 1px solid rgba(255,255,255,.3);
      color: var(--white); padding: 6px 16px; border-radius: 50px;
      font-size: .78rem; font-weight: 700;
      margin-bottom: 22px;
      backdrop-filter: blur(8px);
    }
    .sampling-badge-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #7fffb0; animation: blink 2s infinite;
    }

    .sampling-left { position: relative; z-index: 1; }
    .sampling-left h2 {
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      font-weight: 800; color: var(--white);
      line-height: 1.25; margin-bottom: 16px;
    }
    .sampling-left h2 span {
      background: linear-gradient(90deg, #7fffb0, #b3e3f8);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .sampling-left p {
      color: rgba(255,255,255,.82); font-size: .97rem;
      font-weight: 300; line-height: 1.8; margin-bottom: 32px;
    }
    .sampling-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
    .btn-sampling-primary {
      background: var(--white); color: var(--blue-dark);
      font-weight: 700;
      box-shadow: 0 4px 20px rgba(0,0,0,.2);
    }
    .btn-sampling-primary:hover { box-shadow: 0 8px 30px rgba(0,0,0,.28); }
    .btn-sampling-ghost {
      background: rgba(255,255,255,.12);
      border: 1.5px solid rgba(255,255,255,.4);
      color: var(--white);
    }
    .btn-sampling-ghost:hover { background: rgba(255,255,255,.22); }

    .sampling-steps {
      position: relative; z-index: 1;
      display: flex; flex-direction: column; gap: 0;
    }
    .sampling-step {
      display: flex; gap: 18px; align-items: flex-start;
      position: relative;
    }
    .sampling-step:not(:last-child)::after {
      content: '';
      position: absolute;
      top: 48px; right: 23px;
      width: 2px; height: calc(100% - 16px);
      background: rgba(255,255,255,.2);
    }
    .step-icon-wrap {
      width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
      background: rgba(255,255,255,.15);
      border: 1.5px solid rgba(255,255,255,.25);
      display: flex; align-items: center; justify-content: center;
      backdrop-filter: blur(8px);
    }
    .step-icon-wrap svg { width: 22px; height: 22px; }
    .step-body { padding-bottom: 28px; }
    .step-num {
      font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.5);
      letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px;
    }
    .step-title {
      font-size: .97rem; font-weight: 700; color: var(--white);
      margin-bottom: 4px;
    }
    .step-desc { font-size: .83rem; color: rgba(255,255,255,.65); line-height: 1.6; }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .sampling-wrapper { grid-template-columns: 1fr; gap: 40px; padding: 40px 28px; }
      .sampling-wrapper::before { display: none; }
      .why-grid { grid-template-columns: 1fr; }
      .why-visual { order: -1; padding: 30px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    /* ── PARTNERS ── */
    #partners { background: var(--off); }

    .partners-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
      gap: 16px;
    }

    .partner-card {
      background: var(--white);
      border: 1px solid rgba(52,171,235,.12);
      border-radius: var(--radius);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 10px;
      padding: 22px 16px;
      text-align: center;
    }
    .partner-icon {
      width: 44px; height: 44px; border-radius: 10px;
      background: var(--blue-light);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .partner-icon svg { width: 22px; height: 22px; }
    .partner-name {
      font-size: .82rem; font-weight: 600; color: var(--ink);
      line-height: 1.4;
    }
    .mobile-phone-always {
    display: none;
}
/* تنظیمات گرید برای نسخه دسکتاپ (۴ ستون وسط‌چین) */
@media (min-width: 1025px) {
    .services-grid {
        grid-template-columns: repeat(4, minmax(240px, 1fr)); /* قفل کردن روی ۴ ستون */
        justify-content: center; /* وسط‌چین کردن کل گرید در صفحه */
        align-content: center;
        max-width: 1200px; /* محدود کردن حداکثر عرض برای زیبایی بیشتر چیدمان ۴ تایی */
        margin: 0 auto; /* وسط‌بردن باکس اصلی گرید در دسکتاپ */
    }
}

/* مدیریت واکنش‌گرایی برای تبلت‌ها (تبدیل به ۲ یا ۳ ستونه قبل از رسیدن به موبایل) */
@media (max-width: 1024px) and (min-width: 681px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        justify-content: center;
    }
}
    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .why-grid { grid-template-columns: 1fr; }
      .why-visual { order: -1; padding: 30px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
       .m4 {top: 22%; left: -25%; animation-delay: 7s;
}
    }
    /* ── NAV: تبلت / لپ‌تاپ کوچک (بین موبایل و دسکتاپ) ── */
    @media (max-width: 1240px) and (min-width: 681px) {
      nav { padding: 0 3%; }
      .nav-links { gap: 14px; }
      .nav-links a { font-size: .82rem; }
      .logo-text { font-size: 1rem; }
      .nav-cta { padding: 8px 16px; }
      
    }

    @media (max-width: 680px) {
      nav { padding: 0 4%; }
      .nav-links { display: none; flex-direction: column; gap: 0; position: fixed; top: 68px; right: 0; left: 0; background: var(--white); box-shadow: var(--shadow); padding: 12px 0; }
      .nav-links.open { display: flex; }
      .nav-links li { width: 100%; }
      .nav-links a { display: block; padding: 12px 5%; border-bottom: 1px solid var(--blue-light); }
      .nav-links a::after { display: none; }
      .nav-cta { margin: 10px 5%; border-radius: 10px; }
      .hamburger { display: flex; }
      .hero { padding: 88px 4% 50px; }
      .hero-stats { gap: 24px; }
      section { padding: 60px 4%; }
      .cta-banner { padding: 40px 28px; margin: 0 4% 60px; }
      .footer-grid { grid-template-columns: 1fr; gap: 32px; }
      .footer-bottom { flex-direction: column; text-align: center; }
      .m4 {top: 23%; left: -72%; animation-delay: 5s;}
    
  .phone-link {
    display: inline-block;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 8px;
    text-decoration: none;
    margin-right: auto;
    margin-left: 10px;
  }

    }
  