﻿/* پوسته‌ی «نَو» (ایندیگو و کارت‌های گرد)، فونت استعداد؛ روی clinic.css سوار می‌شود */
@font-face { font-family: Estedad; font-weight: 300; font-display: swap; src: url('/fonts/estedad/estedad-arabic-300.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Estedad; font-weight: 400; font-display: swap; src: url('/fonts/estedad/estedad-arabic-400.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Estedad; font-weight: 500; font-display: swap; src: url('/fonts/estedad/estedad-arabic-500.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Estedad; font-weight: 600; font-display: swap; src: url('/fonts/estedad/estedad-arabic-600.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Estedad; font-weight: 700; font-display: swap; src: url('/fonts/estedad/estedad-arabic-700.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Estedad; font-weight: 800; font-display: swap; src: url('/fonts/estedad/estedad-arabic-800.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Estedad; font-weight: 300; font-display: swap; src: url('/fonts/estedad/estedad-latin-300.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Estedad; font-weight: 400; font-display: swap; src: url('/fonts/estedad/estedad-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Estedad; font-weight: 500; font-display: swap; src: url('/fonts/estedad/estedad-latin-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Estedad; font-weight: 600; font-display: swap; src: url('/fonts/estedad/estedad-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Estedad; font-weight: 700; font-display: swap; src: url('/fonts/estedad/estedad-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Estedad; font-weight: 800; font-display: swap; src: url('/fonts/estedad/estedad-latin-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }

:root {
    --font: Estedad, WebmehrazFont, Tahoma, sans-serif;
    --ink: #181d4a;
    --muted: #6b7099;
    --tint: #f1f3fb;
    --teal: #181d4a;
    --teal-2: #4a5fd6;
    --gold: #5468dc;
    --gold-2: #e3e7fb;
    --deep: #1b2160;
    --line: #e3e6f4;
    --radius: 28px;
    --shadow: 0 18px 44px rgba(52, 66, 170, .12);
    --grad: linear-gradient(150deg, #7083e6 0%, #5266dc 45%, #3f4fc4 100%);
}
body { background: #eceff8; }
body.home { background: #eceff8; }
h1, h2, h3, h4 { font-weight: 700; }
.btn { font-weight: 600; }
.btn-primary, .btn-gold { background: var(--grad); box-shadow: 0 12px 26px rgba(66, 84, 200, .32); }
.btn-primary:hover, .btn-gold:hover { background: var(--grad); filter: brightness(1.08); }
.btn-white { background: #fff; color: #3f4fc4; box-shadow: 0 10px 24px rgba(20, 28, 110, .25); }
.btn-white:hover { background: #f4f6ff; }
.btn-white .arrow { background: #e3e7fb; color: #3f4fc4; }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .24); }

/* هدر */
.site-header .header-in { border-radius: 999px; background: rgba(255, 255, 255, .9); box-shadow: 0 10px 30px rgba(52, 66, 170, .1); }

/* ---------- قهرمان صفحه اول: پوسته‌ی ایندیگو + کارت سفید بنتو ---------- */
.nv-hero { padding: 8px 0 40px; }
.nv-shell {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 14px; padding: 14px; border-radius: 44px;
    background: var(--grad); box-shadow: 0 30px 70px rgba(52, 66, 170, .28); position: relative; overflow: hidden;
}
.nv-shell::before { content: ""; position: absolute; inset: -30% auto auto -20%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); pointer-events: none; }
.nv-left { color: #fff; padding: 2rem 2rem 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; position: relative; }
.nv-top { display: flex; gap: .6rem; flex-wrap: wrap; }
.nv-pill { background: rgba(255, 255, 255, .18); color: #fff; padding: .45rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 500; }
.nv-pill-w { background: #fff; color: #3f4fc4; font-weight: 600; }
.nv-find { display: flex; align-items: center; gap: .6rem; color: rgba(255, 255, 255, .85); font-size: 1.05rem; margin-top: 1.2rem; }
.nv-bar { width: 3px; height: 28px; border-radius: 3px; background: #ffc46b; }
.nv-left h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; margin: 0; line-height: 1.45; }
.nv-lead { color: rgba(255, 255, 255, .82); font-size: 1.02rem; max-width: 34em; margin: 0; }
.nv-cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .4rem; }
.nv-stats { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: auto; padding-top: 1.2rem; }
.nv-stats div { background: rgba(255, 255, 255, .14); border-radius: 22px; padding: .8rem 1.2rem; min-width: 110px; }
.nv-stats strong { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.3; }
.nv-stats small { color: rgba(255, 255, 255, .78); }

.nv-right { background: #fff; border-radius: 34px; padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.nv-greet { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .2rem .4rem; }
.nv-greet small { display: block; color: var(--muted); }
.nv-greet strong { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.nv-score { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; box-shadow: 0 8px 18px rgba(66, 84, 200, .35); }
.nv-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; gap: 12px; }
.nv-tile { border-radius: 26px; background: #f5f6fc; padding: 1rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .15rem; color: var(--ink); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; text-decoration: none; }
.nv-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(52, 66, 170, .16); }
.nv-tile strong { font-size: .98rem; font-weight: 700; line-height: 1.5; }
.nv-tile small { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.nv-tile .svc-ic { position: absolute; top: .9rem; inset-inline-end: .9rem; width: 42px; height: 42px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--gold); box-shadow: 0 6px 14px rgba(52, 66, 170, .1); }
.nv-tile .svc-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nv-doc { padding: 0; justify-content: flex-end; }
.nv-doc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.nv-cap { position: relative; z-index: 1; margin: .6rem; padding: .6rem .8rem; border-radius: 18px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); display: flex; flex-direction: column; }
.nv-cap strong { font-size: .88rem; }
.nv-cap small { font-size: .72rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nv-d1 { grid-column: 1; grid-row: 1 / span 2; }
.nv-s1 { grid-column: 2; grid-row: 1; }
.nv-s2 { grid-column: 3; grid-row: 1; }
.nv-d2 { grid-column: 2 / span 2; grid-row: 2; }
.nv-b1 { grid-column: 1 / span 2; grid-row: 3; background: var(--grad); color: #fff; justify-content: center; }
.nv-b1 small { color: rgba(255, 255, 255, .8); }
.nv-b1 .arrow { position: absolute; inset-inline-end: 1rem; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #3f4fc4; display: grid; place-items: center; font-weight: 700; }
.nv-st { grid-column: 3; grid-row: 3; }
.nv-foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; padding: 0 .3rem; }
.nv-chip { background: var(--tint); color: var(--ink); padding: .4rem .9rem; border-radius: 999px; font-size: .84rem; font-weight: 600; }
.nv-chip-d { background: var(--ink); color: #fff; direction: ltr; }

/* ---------- بخش‌های بعدی: کارت‌های گردتر و آبی‌ایندیگو ---------- */
.cat-card, .team-card, .article-card, .why-card, .t-card, .faq-item, .contact-card { border-radius: 28px; }
.section-dark { background: var(--grad); }
.section-dark h2, .section-dark h3 { color: #fff; }
.process-sec { background: #f3f5fd; }
.svc-ic { background: #e9ecfc; color: var(--gold); }
.svc-play { background: var(--grad); }

@media (max-width: 960px) {
    .nv-shell { grid-template-columns: 1fr; border-radius: 34px; }
    .nv-left { padding: 1.4rem 1.2rem; }
    .nv-find { margin-top: .4rem; }
    .nv-stats { padding-top: .6rem; }
}
@media (max-width: 520px) {
    .nv-bento { grid-auto-rows: 128px; gap: 9px; }
    .nv-right { padding: 1rem; border-radius: 28px; }
    .nv-cap small { display: none; }
}
.nv-d2 img{object-position:center 36%}


/* ---------- خدمات: تب دسته‌ها + کارت‌های مرتب ---------- */
.svc-tabs { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin: 0 0 1.6rem; }
.svc-tab { display: inline-flex; align-items: center; gap: .55rem; font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink); background: #fff; border: 1.5px solid transparent; border-radius: 999px; padding: .45rem .9rem .45rem 1.1rem; cursor: pointer; box-shadow: 0 6px 18px rgba(52, 66, 170, .08); transition: background .2s, color .2s, transform .15s; }
.svc-tab:hover { transform: translateY(-2px); }
.svc-tab .svc-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #e9ecfc; color: var(--gold); }
.svc-tab .svc-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.svc-tab em { font-style: normal; font-size: .75rem; min-width: 24px; height: 24px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--muted); }
.svc-tab.is-active { background: var(--grad); color: #fff; box-shadow: 0 12px 26px rgba(66, 84, 200, .32); }
.svc-tab.is-active .svc-ic { background: rgba(255, 255, 255, .22); color: #fff; }
.svc-tab.is-active em { background: rgba(255, 255, 255, .22); color: #fff; }
/* بدون جاوااسکریپت همه‌ی دسته‌ها پشت سر هم دیده می‌شوند */
.svc-panel { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-bottom: 1rem; }
.svc-js .svc-panel { display: none; }
.svc-js .svc-panel.is-active { display: grid; animation: svcIn .25s ease; }
@keyframes svcIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.svc-card { position: relative; display: flex; flex-direction: column; gap: .3rem; min-height: 112px; padding: 1.05rem 1.15rem 1rem; background: #fff; border-radius: 24px; color: var(--ink); text-decoration: none; box-shadow: 0 8px 22px rgba(52, 66, 170, .07); transition: transform .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(52, 66, 170, .16); }
.svc-card-t { font-weight: 700; font-size: 1rem; line-height: 1.6; padding-inline-end: 2.6rem; }
.svc-card small { color: var(--muted); font-size: .8rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-card-f { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.svc-go { position: absolute; top: 1rem; inset-inline-end: 1rem; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--gold); display: grid; place-items: center; transition: background .2s, color .2s; }
.svc-card:hover .svc-go { background: var(--grad); color: #fff; }
.svc-play { font-size: .72rem; font-weight: 600; background: var(--grad); color: #fff; border-radius: 999px; padding: .2rem .65rem; }
@media (max-width: 640px) {
    .svc-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: .4rem; scrollbar-width: none; }
    .svc-tab { flex: 0 0 auto; }
    .svc-panel { grid-template-columns: 1fr 1fr; gap: 10px; }
    .svc-card { min-height: 104px; padding: .9rem; }
    .svc-card-t { font-size: .92rem; padding-inline-end: 2.2rem; }
}
.svc-tab em{display:none}.svc-tab{padding:.45rem 1rem .45rem .9rem;font-size:.92rem}.svc-tabs{gap:.5rem}

/* ---------- تیترهای ظریف‌تر ---------- */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: 0; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
h3 { font-size: 1.02rem; font-weight: 600; }
.section-head h2, .about-copy h2, .faq-intro h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 600; }
.section-head p { font-size: .98rem; }
.eyebrow-text { font-weight: 600; font-size: .85rem; }
.nv-left h1 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); font-weight: 700; line-height: 1.5; }
.nv-lead { font-size: .98rem; }
.nv-stats strong { font-size: 1.25rem; font-weight: 700; }
.nv-greet strong { font-size: 1.05rem; font-weight: 600; }
.nv-tile strong { font-size: .92rem; font-weight: 600; }
.page-hero h1 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.stats-row strong { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.cta-band h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
.team-row h3 { font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 600; }
.svc-card-t { font-size: .96rem; font-weight: 600; }
.svc-tab { font-weight: 500; }
.btn { font-weight: 500; }
.about-copy .ghost-year { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
.prose h2 { font-size: 1.35rem; }
.prose h3 { font-size: 1.1rem; }
