/* Nova Clinic theme — components + pages. Colors/sizes are CSS variables set from «نوا کلینیک › طراحی و رنگ‌ها». */
:root {
  --fs-display: 40px; --fs-h1: 32px; --fs-h2: 26px; --fs-h3: 20px; --fs-h4: 17px; --fs-lead: 18px; --fs-body: 16px; --lh-body: 1.9;
  --fw-heading: 800; --fw-sub: 700; --fs-m: .8; --wrap: 1200px; --section-y: 96px; --section-y-m: 64px;
  --radius-btn: 999px; --marquee-speed: 40s; --cta-bg: var(--blue-deep);
}
/* Nova Clinic — component styles. RTL first. Tokens come from tokens.css. */
.nv, .nv * { box-sizing: border-box; }
.nv {
  direction: rtl; font-family: var(--font-sans); color: var(--ink); background: var(--cream);
  font-size: var(--fs-body); line-height: var(--lh-body); -webkit-font-smoothing: antialiased;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
:where(.nv) a { color: inherit; text-decoration: none; }
.nv img { max-width: 100%; display: block; }
.nv :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.nv-wrap { width: min(var(--wrap), 100% - 2 * var(--space-6)); margin-inline: auto; }
.nv-section { padding-block: var(--section-y); position: relative; }
.nv-section--alt { background: var(--cream-deep); }
@media (max-width: 760px) { .nv-wrap { width: calc(100% - 2 * var(--space-4)); } .nv-section { padding-block: var(--section-y-m); } }

/* ---------- type ---------- */
.nv-eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 13px; line-height: 20px; font-weight: 700; color: var(--blue-deep); }
.nv-eyebrow::before { content: ""; width: 18px; height: 6px; border-radius: 6px; background: radial-gradient(circle, var(--blue) 2px, transparent 2.5px) 0 0 / 6px 6px repeat-x; }
.nv-display { font-size: var(--fs-display); line-height: 1.5; font-weight: var(--fw-heading); margin: 0; }
.nv-h1 { font-size: var(--fs-h1); line-height: 1.56; font-weight: var(--fw-heading); margin: 0; }
.nv-h2 { font-size: var(--fs-h2); line-height: 1.62; font-weight: var(--fw-sub); margin: 0; }
.nv-h3 { font-size: var(--fs-h3); line-height: 1.7; font-weight: var(--fw-sub); margin: 0; }
.nv-h4 { font-size: var(--fs-h4); line-height: 1.75; font-weight: var(--fw-sub); margin: 0; }
.nv-lead { font-size: var(--fs-lead); line-height: 1.85; color: var(--ink-muted); margin: 0; }
.nv-muted { color: var(--ink-muted); }
.nv-small { font-size: 14px; line-height: 24px; }
.nv-mark { background: linear-gradient(transparent 62%, var(--powder-soft) 62% 92%, transparent 92%); padding-inline: 2px; }
@media (max-width: 760px) { .nv-display { font-size: calc(var(--fs-display) * var(--fs-m)); } .nv-h1 { font-size: calc(var(--fs-h1) * var(--fs-m)); } .nv-h2 { font-size: calc(var(--fs-h2) * var(--fs-m)); } .nv-h3 { font-size: max(15px, calc(var(--fs-h3) * (var(--fs-m) + .1))); } .nv-lead { font-size: max(15px, calc(var(--fs-lead) * .9)); } }
.nv-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-12); flex-wrap: wrap; }
.nv-head > div { display: grid; gap: var(--space-2); max-width: 620px; }

/* ---------- signature: pigment dots ---------- */
.nv-dots { position: absolute; pointer-events: none; background-image: radial-gradient(circle, var(--powder) 1.6px, transparent 2px); background-size: 14px 14px; }
.nv-dots--fade-l { -webkit-mask-image: linear-gradient(to left, transparent, #000 70%); mask-image: linear-gradient(to left, transparent, #000 70%); }
.nv-dots--fade-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 70%); mask-image: linear-gradient(to right, transparent, #000 70%); }
.nv-dots--radial { -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }

/* ---------- Button ---------- */
.nv-btn { --bg: var(--blue-deep); --fg: var(--white); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: 50px; padding-inline: 26px; border-radius: var(--radius-btn); border: 0; cursor: pointer; overflow: hidden; isolation: isolate;
  font: 700 15px/24px var(--font-sans); color: var(--fg); background: var(--bg); white-space: nowrap;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s; }
.nv-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--blue); transform: scale(0); transform-origin: var(--ox, 50%) var(--oy, 50%); transition: transform .55s var(--ease); }
.nv-btn:hover::after { transform: scale(2.2); }
.nv-btn:hover { box-shadow: 0 14px 30px -12px rgba(31, 92, 196, .55); }
.nv-btn:hover { --fg: var(--white); }
.nv-btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.nv-btn:hover svg.nv-arrow { transform: translateX(-4px); }
.nv-btn--outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.nv-btn--outline::after { background: var(--ink); }
.nv-btn--outline:hover { --fg: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink); }
.nv-btn--soft { --bg: var(--powder-soft); --fg: var(--ink); }
.nv-btn--soft::after { background: var(--powder); }
.nv-btn--soft:hover { --fg: var(--ink); box-shadow: none; }
.nv-btn--light { --bg: var(--cream); --fg: var(--ink); }
.nv-btn--light::after { background: var(--white); }
.nv-btn--light:hover { --fg: var(--ink); }
.nv-btn--sm { height: 40px; padding-inline: 18px; font-size: 14px; }
.nv-btn--icon { width: 50px; padding: 0; }
.nv-link { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-deep); background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease); }
.nv-link:hover { background-size: 100% 1.5px; }
.nv-link svg { width: 16px; height: 16px; flex: none; transition: transform .45s var(--ease); }
.nv-link:hover svg { transform: translateX(-4px); }
.nv-chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding-inline: 14px; border-radius: var(--radius-pill); background: var(--powder-soft); color: var(--ink); font-size: 13px; font-weight: 700; }
.nv-chip svg { width: 16px; height: 16px; }
.nv-chip--paper { background: var(--paper); box-shadow: var(--shadow-soft); }

/* ---------- Header ---------- */
.nv-header { position: sticky; top: var(--space-4); z-index: 50; padding-inline: var(--space-4); }
.nv-header__bar { width: min(1240px, 100%); margin-inline: auto; display: flex; align-items: center; gap: var(--space-6); height: 76px; padding-inline: 20px 12px;
  border-radius: var(--radius-lg); background: rgba(255, 252, 248, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(226, 214, 198, .9); transition: height .5s var(--ease), box-shadow .5s var(--ease), background .5s; }
.nv-header.is-scrolled .nv-header__bar { height: 64px; background: rgba(255, 252, 248, .9); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); }
.nv-brand { display: flex; align-items: center; gap: 10px; flex: none; }
.nv-brand img { height: 46px; width: auto; transition: height .5s var(--ease); }
.nv-header.is-scrolled .nv-brand img { height: 40px; }
.nv-brand b { display: block; font-size: 17px; line-height: 22px; font-weight: 800; }
.nv-brand small { display: block; font-size: 11px; line-height: 16px; color: var(--ink-muted); }
.nv-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; list-style: none; padding: 0; margin-block: 0; }
.nv-nav > li { position: relative; }
.nv-nav > li > a { display: flex; align-items: center; gap: 4px; height: 44px; padding-inline: 14px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 500; transition: background .3s, color .3s; }
.nv-nav > li > a:hover, .nv-nav > li:focus-within > a, .nv-nav > li > a[aria-current] { background: var(--powder-soft); }
.nv-nav > li > a svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.nv-nav > li:hover > a svg, .nv-nav > li:focus-within > a svg { transform: rotate(180deg); }
.nv-header__actions { display: flex; align-items: center; gap: var(--space-2); margin-inline-start: var(--space-2); }
.nv-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding-inline: 10px; direction: ltr; }
.nv-phone svg { width: 18px; height: 18px; color: var(--blue-deep); }
.nv-burger { display: none; }

/* mega menu */
.nv-mega { position: absolute; top: calc(100% + 14px); right: -120px; width: 640px; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); display: grid; grid-template-columns: 1fr 1fr 200px; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top right; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s; }
.nv-mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nv-nav > li:hover .nv-mega, .nv-nav > li:focus-within .nv-mega, .nv-mega.is-open { opacity: 1; visibility: visible; transform: none; }
.nv-mega a.nv-mega__item { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; padding: 12px; border-radius: var(--radius-md); transition: background .3s; }
.nv-mega a.nv-mega__item:hover { background: var(--cream); }
.nv-mega__ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--powder-soft); color: var(--blue-deep); transition: transform .45s var(--ease); }
.nv-mega a.nv-mega__item:hover .nv-mega__ic { transform: rotate(-8deg) scale(1.06); }
.nv-mega__ic svg { width: 20px; height: 20px; }
.nv-mega__item b { font-size: 15px; line-height: 22px; }
.nv-mega__item span { font-size: 12px; line-height: 20px; color: var(--ink-muted); }
.nv-mega__promo { grid-row: span 3; grid-column: 3; border-radius: var(--radius-md); padding: var(--space-4); background: var(--navy); color: var(--cream); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: end; gap: 6px; min-height: 220px; }
.nv-mega__promo .nv-dots { inset: 0; opacity: .35; }
.nv-mega__promo b { position: relative; font-size: 16px; line-height: 26px; }
.nv-mega__promo span { position: relative; font-size: 12px; line-height: 20px; color: var(--navy-muted); }

/* mobile drawer */
.nv-drawer { display: none; }
@media (max-width: 1020px) {
  .nv-nav, .nv-phone { display: none; }
  .nv-burger { display: inline-flex; }
  .nv-header__actions { margin-inline-start: auto; }
  .nv-header__bar { height: 64px; }
  .nv-brand img { height: 40px; }
  .nv-drawer { display: block; position: absolute; inset: calc(100% + 8px) var(--space-4) auto; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift);
    clip-path: inset(0 0 100% 0 round var(--radius-lg)); transition: clip-path .6s var(--ease); }
  .nv-header.is-open .nv-drawer { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
  .nv-drawer a { display: flex; justify-content: space-between; padding: 12px 8px; border-bottom: 1px solid var(--line); font-weight: 500; }
  .nv-drawer .nv-btn { width: 100%; margin-top: var(--space-4); }
}
@media (max-width: 520px) { .nv-header__actions .nv-btn:not(.nv-burger) { display: none; } .nv-brand small { display: none; } }
.nv-burger span { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: background .3s; }
.nv-burger span::before, .nv-burger span::after { content: ""; position: absolute; inset-inline: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease); }
.nv-burger span::before { transform: translateY(-6px); } .nv-burger span::after { transform: translateY(6px); }
.nv-header.is-open .nv-burger span { background: transparent; }
.nv-header.is-open .nv-burger span::before { transform: rotate(45deg); } .nv-header.is-open .nv-burger span::after { transform: rotate(-45deg); }

/* ---------- PhotoFrame (placeholder for real photos) ---------- */
.nv-photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--powder-soft), var(--cream-deep) 70%); isolation: isolate; }
.nv-photo--arch { border-radius: var(--radius-arch) var(--radius-arch) var(--radius-lg) var(--radius-lg); }
.nv-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(52, 129, 233, .28) 1.4px, transparent 1.8px); background-size: 12px 12px;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 75%); mask-image: linear-gradient(to top, #000, transparent 75%); }
.nv-photo img, .nv-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nv-photo__label { position: absolute; inset: auto var(--space-4) var(--space-4) auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(255, 252, 248, .85); font-size: 12px; line-height: 18px; font-weight: 700; color: var(--ink-muted); backdrop-filter: blur(6px); }
.nv-photo__label svg { width: 16px; height: 16px; }
.nv-photo__art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--powder); }
.nv-photo__art svg { width: 46%; max-width: 220px; height: auto; }

/* ---------- VideoFrame ---------- */
.nv-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); color: var(--cream); cursor: pointer; isolation: isolate; }
.nv-video .nv-dots { inset: 0; opacity: .22; }
.nv-video__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--navy); transition: transform .5s var(--ease); }
.nv-video__play::before, .nv-video__play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--powder); animation: nv-ring 2.6s var(--ease) infinite; }
.nv-video__play::after { animation-delay: 1.3s; }
.nv-video__play svg { width: 26px; height: 26px; margin-inline-end: -4px; }
.nv-video:hover .nv-video__play { transform: scale(1.08); }
.nv-video__meta { position: absolute; inset: auto var(--space-6) var(--space-6); display: flex; justify-content: space-between; align-items: end; gap: var(--space-4); }
.nv-video__meta b { display: block; font-size: 17px; line-height: 28px; }
.nv-video__meta span { font-size: 13px; color: var(--navy-muted); }
.nv-video__tag { padding: 4px 12px; border-radius: var(--radius-pill); border: 1px dashed var(--navy-muted); font-size: 12px; color: var(--navy-muted); white-space: nowrap; }
@keyframes nv-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

/* ---------- ServiceCard ---------- */
.nv-services { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.nv-services > :nth-child(1) { grid-column: span 3; grid-row: span 2; }
.nv-services > :nth-child(2), .nv-services > :nth-child(3) { grid-column: span 3; }
.nv-services > :nth-child(n+4) { grid-column: span 3; }
@media (max-width: 900px) { .nv-services { grid-template-columns: 1fr 1fr; } .nv-services > * { grid-column: span 1 !important; grid-row: auto !important; } .nv-services > :nth-child(1) { grid-column: span 2 !important; } }
@media (max-width: 560px) { .nv-services { grid-template-columns: 1fr; } .nv-services > * { grid-column: auto !important; } }
.nv-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--paper); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.nv-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); }
.nv-card .nv-photo { border-radius: 0; flex: 1; min-height: 170px; }
.nv-card:hover .nv-photo img { transform: scale(1.06); }
.nv-card__body { display: grid; gap: 6px; padding: var(--space-6); position: relative; }
.nv-card__body p { margin: 0; font-size: 14px; line-height: 26px; color: var(--ink-muted); }
.nv-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.nv-card__go { position: absolute; inset: var(--space-6) auto auto var(--space-6); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink);
  transition: background .4s, color .4s, transform .5s var(--ease); }
.nv-card__go svg { width: 18px; height: 18px; transform: rotate(45deg); transition: transform .5s var(--ease); }
.nv-card:hover .nv-card__go { background: var(--blue-deep); color: var(--white); }
.nv-card:hover .nv-card__go svg { transform: rotate(0); }
.nv-card--feature .nv-card__body { padding: var(--space-8); }
.nv-card--feature .nv-photo { min-height: 300px; }
.nv-card__num { position: absolute; top: var(--space-4); right: var(--space-4); z-index: 2; }

/* ---------- Stats / trust strip ---------- */
.nv-stats { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.nv-stat { position: relative; padding: var(--space-6) var(--space-6); display: grid; gap: 2px; }
.nv-stat + .nv-stat { border-inline-start: 1px solid var(--line); }
.nv-stat__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--powder-soft); color: var(--blue-deep); margin-bottom: var(--space-2); }
.nv-stat__ic svg { width: 20px; height: 20px; }
.nv-stat b { font-size: 34px; line-height: 44px; font-weight: 900; }
.nv-stat span { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
@media (max-width: 860px) { .nv-stats { grid-template-columns: 1fr 1fr; } .nv-stat:nth-child(3) { border-inline-start: 0; } .nv-stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Marquee ---------- */
.nv-marquee { overflow: hidden; padding-block: var(--space-6); border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.nv-marquee__track { display: flex; width: max-content; gap: var(--space-12); animation: nv-marq var(--marquee-speed) linear infinite; }
.nv-marquee:hover .nv-marquee__track { animation-play-state: paused; }
.nv-marquee__track span { display: inline-flex; align-items: center; gap: var(--space-12); font-size: 22px; line-height: 34px; font-weight: 300; color: var(--ink-muted); white-space: nowrap; }
.nv-marquee__track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
@keyframes nv-marq { to { transform: translateX(50%); } }

/* ---------- Before / After ---------- */
.nv-ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; user-select: none; touch-action: pan-y; background: var(--cream-deep); }
.nv-ba__layer { position: absolute; inset: 0; }
.nv-ba__layer--after { clip-path: inset(0 0 0 var(--pos)); }
.nv-ba__layer > .nv-photo { position: absolute; inset: 0; border-radius: 0; }
.nv-ba__tag { position: absolute; top: var(--space-4); padding: 4px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; background: rgba(255, 252, 248, .9); z-index: 2; }
.nv-ba__tag--before { left: var(--space-4); } .nv-ba__tag--after { right: var(--space-4); background: var(--navy); color: var(--cream); }
.nv-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--cream); z-index: 3; pointer-events: none; }
.nv-ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2536' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: var(--shadow-lift); }
.nv-ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; direction: ltr; }
.nv-ba__caption { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-4); font-size: 14px; color: var(--ink-muted); }
.nv-ba__caption b { color: var(--ink); }

/* ---------- Density simulator (signature) ---------- */
.nv-sim { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-8); align-items: center; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 860px) { .nv-sim { grid-template-columns: 1fr; padding: var(--space-6); } }
.nv-sim__stage { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 45%, var(--cream) 0 55%, var(--cream-deep)); overflow: hidden; }
.nv-sim__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.nv-sim__badge { position: absolute; top: var(--space-4); right: var(--space-4); }
.nv-sim__controls { display: grid; gap: var(--space-6); }
.nv-seg { display: inline-grid; grid-auto-flow: column; padding: 4px; border-radius: var(--radius-pill); background: var(--cream-deep); position: relative; }
.nv-seg button { position: relative; z-index: 1; height: 40px; padding-inline: 20px; border: 0; background: none; border-radius: var(--radius-pill); font: 700 14px/20px var(--font-sans); color: var(--ink-muted); cursor: pointer; transition: color .3s; }
.nv-seg button[aria-pressed="true"] { color: var(--ink); background: var(--paper); box-shadow: var(--shadow-soft); }
.nv-range { display: grid; gap: var(--space-2); }
.nv-range__row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-muted); }
.nv-range__row b { color: var(--ink); font-size: 22px; }
.nv-range input { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; direction: rtl; cursor: pointer;
  background: linear-gradient(to left, var(--blue-deep) var(--v, 50%), var(--cream-deep) var(--v, 50%)); }
.nv-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 6px solid var(--blue-deep); box-shadow: var(--shadow-soft); transition: transform .3s var(--ease); }
.nv-range input::-webkit-slider-thumb:hover { transform: scale(1.15); }
.nv-range input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 6px solid var(--blue-deep); }
.nv-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.nv-checks li { display: flex; gap: 10px; align-items: start; font-size: 15px; line-height: 26px; }
.nv-checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--powder-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5cc4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- PriceTable ---------- */
.nv-price { border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.nv-price table { width: 100%; border-collapse: collapse; font-size: 15px; }
.nv-price th, .nv-price td { padding: 16px var(--space-6); text-align: right; }
.nv-price thead th { font-size: 13px; font-weight: 700; color: var(--ink-muted); background: var(--cream-deep); }
.nv-price tbody tr { border-top: 1px solid var(--line); transition: background .3s; }
.nv-price tbody tr:hover { background: var(--cream); }
.nv-price td:first-child { font-weight: 700; }
.nv-price td:first-child small { display: block; font-weight: 400; font-size: 12px; line-height: 20px; color: var(--ink-muted); }
.nv-price td.nv-num { white-space: nowrap; }
.nv-price__note { padding: 14px var(--space-6); font-size: 13px; color: var(--ink-muted); border-top: 1px solid var(--line); }
@media (max-width: 640px) { .nv-price th, .nv-price td { padding: 12px; font-size: 13px; } }

/* ---------- Testimonial ---------- */
.nv-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
@media (max-width: 900px) { .nv-quotes { grid-template-columns: 1fr; } }
.nv-quote { position: relative; display: grid; gap: var(--space-4); align-content: space-between; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.nv-quote:nth-child(2) { background: var(--navy); color: var(--cream); box-shadow: none; transform: translateY(var(--space-6)); }
.nv-quote:nth-child(2) .nv-quote__who span { color: var(--navy-muted); }
.nv-quote p { margin: 0; font-size: 15px; line-height: 30px; }
.nv-quote__stars { display: flex; gap: 2px; color: var(--blue); }
.nv-quote__stars svg { width: 16px; height: 16px; }
.nv-quote:nth-child(2) .nv-quote__stars { color: var(--powder); }
.nv-quote__who { display: flex; align-items: center; gap: 12px; }
.nv-quote__who i { width: 44px; height: 44px; border-radius: 50%; background: var(--powder-soft); display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--blue-deep); }
.nv-quote__who b { display: block; font-size: 15px; line-height: 22px; }
.nv-quote__who span { font-size: 12px; color: var(--ink-muted); }
@media (max-width: 900px) { .nv-quote:nth-child(2) { transform: none; } }

/* ---------- FAQ ---------- */
.nv-faq { display: grid; gap: var(--space-3); }
.nv-faq details { border-radius: var(--radius-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s; }
.nv-faq details[open] { box-shadow: inset 0 0 0 1.5px var(--powder), var(--shadow-soft); }
.nv-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 18px var(--space-6); cursor: pointer; font-size: 16px; font-weight: 700; }
.nv-faq summary::-webkit-details-marker { display: none; }
.nv-faq summary i { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--cream-deep); transition: background .4s, transform .5s var(--ease); }
.nv-faq summary i::before, .nv-faq summary i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--ease); }
.nv-faq summary i::after { transform: rotate(90deg); }
.nv-faq details[open] summary i { background: var(--blue-deep); transform: rotate(180deg); }
.nv-faq details[open] summary i::before, .nv-faq details[open] summary i::after { background: var(--white); }
.nv-faq details[open] summary i::after { transform: rotate(0); }
.nv-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.nv-faq details[open] .nv-faq__a { grid-template-rows: 1fr; }
.nv-faq__a > div { overflow: hidden; }
.nv-faq__a p { margin: 0; padding: 0 var(--space-6) var(--space-6); color: var(--ink-muted); font-size: 15px; line-height: 30px; }

/* ---------- Blog card ---------- */
.nv-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 900px) { .nv-posts { grid-template-columns: 1fr; } }
.nv-post { display: grid; gap: var(--space-3); }
.nv-post .nv-photo { aspect-ratio: 4 / 3; }
.nv-post:hover .nv-photo img { transform: scale(1.05); }
.nv-post__meta { display: flex; gap: var(--space-3); font-size: 12px; color: var(--ink-muted); }
.nv-post h3 { font-size: 17px; line-height: 30px; margin: 0; transition: color .3s; }
.nv-post:hover h3 { color: var(--blue-deep); }

/* ---------- Hero ---------- */
.nv-hero { position: relative; padding-block: 72px var(--space-16); overflow: hidden; }
.nv-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx, 30%) var(--my, 40%), rgba(180, 203, 234, .45), transparent 60%); pointer-events: none; transition: background .2s; }
.nv-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-12); align-items: center; }
.nv-hero__copy { display: grid; gap: var(--space-6); justify-items: start; }
.nv-hero__ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.nv-hero__trust { display: flex; align-items: center; gap: var(--space-4); font-size: 13px; color: var(--ink-muted); }
.nv-faces { display: flex; }
.nv-faces i { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--cream); background: var(--powder-soft); margin-inline-start: -10px; }
.nv-faces i:first-child { margin: 0; } .nv-faces i:nth-child(2) { background: var(--powder); } .nv-faces i:nth-child(3) { background: var(--skin); }
.nv-hero__visual { position: relative; height: 560px; }
.nv-hero__visual > .nv-photo { position: absolute; inset: 0 40px 0 60px; }
.nv-hero__visual .nv-dots { inset: auto auto -20px -10px; width: 260px; height: 260px; }
.nv-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-lift); font-size: 13px; line-height: 20px; animation: nv-bob 6s ease-in-out infinite; }
.nv-float b { display: block; font-size: 15px; }
.nv-float i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--powder-soft); color: var(--blue-deep); }
.nv-float i svg { width: 20px; height: 20px; }
.nv-float--a { top: 56px; left: 0; } .nv-float--b { bottom: 120px; left: 10px; animation-delay: -3s; }
.nv-float--c { top: 46%; right: 0; animation-delay: -1.5s; }
@keyframes nv-bob { 50% { transform: translateY(-10px); } }
@media (max-width: 960px) { .nv-hero__grid { grid-template-columns: 1fr; } .nv-hero__visual { height: 420px; } .nv-hero__visual > .nv-photo { inset: 0 20px; } .nv-float--c { display: none; } .nv-float--b { bottom: 110px; } .nv-hero { padding-top: var(--space-8); } }

/* ---------- Split blocks (training, how) ---------- */
.nv-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
@media (max-width: 900px) { .nv-split { grid-template-columns: 1fr; } }
.nv-split__copy { display: grid; gap: var(--space-6); justify-items: start; }

/* ---------- CTA band ---------- */
.nv-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: var(--space-8); align-items: center; padding: var(--space-12); border-radius: var(--radius-lg); background: var(--cta-bg); color: var(--white); isolation: isolate; }
.nv-cta .nv-dots { inset: 0 auto 0 0; width: 55%; background-image: radial-gradient(circle, rgba(255, 255, 255, .35) 1.6px, transparent 2px); z-index: -1; }
.nv-cta p { margin: 6px 0 0; color: var(--powder-soft); }
@media (max-width: 760px) { .nv-cta { grid-template-columns: 1fr; padding: var(--space-8) var(--space-6); } }

/* ---------- Footer ---------- */
.nv-footer { position: relative; overflow: hidden; background: var(--navy); color: var(--cream); padding-top: var(--space-16); isolation: isolate; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.nv-footer__mark { position: absolute; z-index: -1; left: -40px; bottom: -60px; width: 440px; opacity: .045; pointer-events: none; }
.nv-footer .nv-dots { inset: 0 0 auto auto; width: 40%; height: 220px; opacity: .25; }
.nv-footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: var(--space-8); padding-bottom: var(--space-12); }
.nv-footer__brand { display: grid; gap: var(--space-4); align-content: start; }
.nv-footer__brand img { width: 120px; }
.nv-footer__brand p { margin: 0; font-size: 14px; line-height: 26px; color: var(--navy-muted); }
.nv-footer h4 { margin: 0 0 var(--space-4); font-size: 15px; line-height: 24px; font-weight: 700; color: var(--cream); display: flex; align-items: center; gap: 8px; }
.nv-footer h4::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.nv-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nv-footer ul a { display: inline-block; font-size: 14px; line-height: 30px; color: var(--navy-muted); transition: color .3s, transform .4s var(--ease); }
.nv-footer ul a:hover { color: var(--cream); transform: translateX(-4px); }
.nv-contact { display: grid; gap: var(--space-3); }
.nv-contact a, .nv-contact div { display: flex; gap: 12px; align-items: start; font-size: 14px; line-height: 24px; color: var(--navy-muted); }
.nv-contact b { color: var(--cream); font-weight: 700; direction: ltr; }
.nv-contact i { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(180, 203, 234, .12); color: var(--powder); }
.nv-contact i svg { width: 18px; height: 18px; }
.nv-map { position: relative; height: 150px; border-radius: var(--radius-md); overflow: hidden; margin-top: var(--space-2); background: #1b2c4a; }
.nv-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nv-map__pin { position: absolute; top: 44%; left: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(52, 129, 233, .3); }
.nv-map__pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--blue); animation: nv-ring 2.4s var(--ease) infinite; }
.nv-map__btn { position: absolute; inset: auto 10px 10px auto; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--cream); color: var(--navy) !important; font-size: 12px; font-weight: 700; }
.nv-footer__trust { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-8); align-items: center; padding-block: var(--space-8); border-top: 1px solid rgba(168, 179, 197, .2); }
.nv-badge-slot { width: 112px; height: 124px; border-radius: var(--radius-md); background: var(--cream); color: var(--ink-muted); display: grid; place-items: center; text-align: center; padding: 10px; font-size: 11px; line-height: 17px; position: relative; transition: transform .5s var(--ease); }
.nv-badge-slot:hover { transform: translateY(-4px) rotate(-1.5deg); }
.nv-badge-slot::before { content: ""; position: absolute; inset: 6px; border-radius: 12px; border: 1.5px dashed var(--line); }
.nv-badge-slot b { display: block; font-size: 14px; color: var(--ink); }
.nv-footer__trust p { margin: 0; font-size: 13px; line-height: 24px; color: var(--navy-muted); max-width: 520px; }
.nv-social { display: flex; gap: var(--space-2); }
.nv-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(168, 179, 197, .35); color: var(--cream); transition: background .4s, color .4s, transform .5s var(--ease); }
.nv-social a:hover { background: var(--cream); color: var(--navy); transform: translateY(-3px); }
.nv-social svg { width: 18px; height: 18px; }
.nv-footer__bottom { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-block: var(--space-6); border-top: 1px solid rgba(168, 179, 197, .2); font-size: 12px; color: var(--navy-muted); }
@media (max-width: 1000px) { .nv-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .nv-footer__top { grid-template-columns: 1fr; } .nv-footer__trust { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(4px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .nv *, .nv *::before, .nv *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* ===== Nova Clinic — page-level styles (inner pages) ===== */
html { scroll-behavior: smooth; }
body.nv { margin: 0; min-height: 100vh; }
.nv-skip { position: absolute; right: 16px; top: -60px; z-index: 100; padding: 8px 16px; border-radius: var(--radius-pill); background: var(--ink); color: var(--cream) !important; transition: top .3s; }
.nv-skip:focus { top: 16px; }
.nv-topgap { height: 16px; }

/* breadcrumb */
.nv-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-muted); }
.nv-crumbs li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--powder); margin-inline-end: 6px; vertical-align: middle; }
.nv-crumbs a:hover { color: var(--blue-deep); }

/* page hero */
.nv-phero { position: relative; padding-block: 56px var(--space-16); overflow: hidden; }
.nv-phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx, 25%) var(--my, 40%), rgba(180, 203, 234, .4), transparent 60%); pointer-events: none; }
.nv-phero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--space-12); align-items: center; }
.nv-phero__copy { display: grid; gap: var(--space-4); justify-items: start; }
.nv-phero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-2); }
.nv-phero__visual { position: relative; height: 400px; }
.nv-phero__visual > .nv-photo { position: absolute; inset: 0; }
.nv-phero__visual .nv-dots { inset: auto auto -24px -24px; width: 200px; height: 200px; }
.nv-phero--simple .nv-phero__grid { grid-template-columns: 1fr; }
@media (max-width: 900px) { .nv-phero__grid { grid-template-columns: 1fr; } .nv-phero__visual { height: 300px; } .nv-phero { padding-top: var(--space-8); } }

/* article layout with sticky aside */
.nv-article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-12); align-items: start; }
.nv-article__main { display: grid; gap: var(--space-16); min-width: 0; }
.nv-article__aside { position: sticky; top: 112px; display: grid; gap: var(--space-4); }
@media (max-width: 1020px) { .nv-article { grid-template-columns: 1fr; } .nv-article__aside { position: static; order: -1; } .nv-toc { display: none; } }
.nv-block { display: grid; gap: var(--space-4); scroll-margin-top: 110px; }
.nv-block > p { margin: 0; }
.nv-prose p { margin: 0 0 var(--space-4); }
.nv-prose p:last-child { margin-bottom: 0; }

.nv-book { position: relative; overflow: hidden; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--navy); color: var(--cream); display: grid; gap: var(--space-3); isolation: isolate; }
.nv-book .nv-dots { inset: 0 0 auto auto; width: 70%; height: 120px; opacity: .25; z-index: -1; }
.nv-book small { color: var(--navy-muted); font-size: 13px; }
.nv-book b { font-size: 22px; line-height: 34px; }
.nv-book .nv-btn { width: 100%; }
.nv-book a.nv-phone { justify-content: center; color: var(--cream); }
.nv-book a.nv-phone svg { color: var(--powder); }
.nv-toc { padding: var(--space-4); border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.nv-toc b { display: block; font-size: 14px; padding: 4px 8px 8px; }
.nv-toc a { display: block; padding: 6px 8px; border-radius: 10px; font-size: 14px; line-height: 22px; color: var(--ink-muted); transition: background .3s, color .3s; }
.nv-toc a:hover, .nv-toc a.is-active { background: var(--cream); color: var(--ink); }
.nv-toc a.is-active { box-shadow: inset -3px 0 0 var(--blue); }

/* steps */
.nv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); counter-reset: s; }
.nv-steps li { counter-increment: s; position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 4px var(--space-4); padding: var(--space-4) var(--space-4); border-radius: var(--radius-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.nv-steps li::before { content: counter(s, persian); grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--powder-soft); color: var(--blue-deep); font-weight: 900; font-size: 20px; }
.nv-steps b { font-size: 16px; line-height: 26px; }
.nv-steps span { font-size: 14px; line-height: 26px; color: var(--ink-muted); }

/* two-column info cards */
.nv-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 700px) { .nv-duo { grid-template-columns: 1fr; } }
.nv-panel { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: var(--space-3); align-content: start; }
.nv-panel h3 { display: flex; align-items: center; gap: 10px; }
.nv-panel h3 i { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--powder-soft); color: var(--blue-deep); }
.nv-panel h3 i svg { width: 18px; height: 18px; }
.nv-panel--navy { background: var(--navy); color: var(--cream); box-shadow: none; }
.nv-panel--navy .nv-checks li::before { background-color: rgba(180, 203, 234, .18); }
.nv-panel--navy h3 i { background: rgba(180, 203, 234, .15); color: var(--powder); }
.nv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.nv-list li { display: flex; gap: 10px; font-size: 15px; line-height: 26px; }
.nv-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--blue); }
.nv-list--minus li::before { width: 10px; height: 2px; margin-top: 12px; border-radius: 2px; background: var(--ink-muted); }

.nv-alert { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--cream-deep); box-shadow: inset 0 0 0 1px var(--line); }
.nv-alert > i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--blue-deep); }
.nv-alert > i svg { width: 22px; height: 22px; }
.nv-alert > div { display: grid; gap: var(--space-2); }

.nv-styles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 700px) { .nv-styles { grid-template-columns: 1fr; } }
.nv-style { border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.nv-style__pic { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 45%, var(--cream) 0 55%, var(--cream-deep)); }
.nv-style__pic canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.nv-style__body { padding: var(--space-6); display: grid; gap: 6px; }
.nv-style__body p { margin: 0; font-size: 14px; line-height: 26px; color: var(--ink-muted); }

/* related services */
.nv-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); }
.nv-related a { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.nv-related a:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); }
.nv-related i { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--powder-soft); color: var(--blue-deep); }
.nv-related i svg { width: 22px; height: 22px; }
.nv-related b { display: block; font-size: 15px; line-height: 24px; }
.nv-related span { font-size: 12px; color: var(--ink-muted); }

/* course facts */
.nv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-3); }
.nv-fact { padding: var(--space-4); border-radius: var(--radius-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 2px; }
.nv-fact span { font-size: 12px; color: var(--ink-muted); }
.nv-fact b { font-size: 16px; }

/* filter chips + gallery */
.nv-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-8); }
.nv-filters button { height: 40px; padding-inline: 18px; border: 0; border-radius: var(--radius-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font: 700 14px/20px var(--font-sans); color: var(--ink-muted); cursor: pointer; transition: background .3s, color .3s; }
.nv-filters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }
.nv-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--space-6); }
.nv-gallery > [hidden] { display: none; }

/* forms */
.nv-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.nv-form .nv-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .nv-form { grid-template-columns: 1fr; } }
.nv-field { display: grid; gap: 6px; }
.nv-field label { font-size: 14px; font-weight: 700; }
.nv-field input, .nv-field select, .nv-field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); font: 400 15px/24px var(--font-sans); color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.nv-field textarea { min-height: 120px; resize: vertical; }
.nv-field input:focus, .nv-field select:focus, .nv-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(52, 129, 233, .15); }
.nv-field small { font-size: 12px; color: var(--ink-muted); }
.nv-form__ok { display: none; padding: var(--space-4); border-radius: var(--radius-md); background: var(--powder-soft); font-weight: 700; }
.nv-form.is-sent .nv-form__ok { display: block; }

.nv-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-8); align-items: start; }
@media (max-width: 900px) { .nv-contact-grid { grid-template-columns: 1fr; } }
.nv-contact-cards { display: grid; gap: var(--space-3); }
.nv-ccard { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-4); border-radius: var(--radius-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.nv-ccard i { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--powder-soft); color: var(--blue-deep); }
.nv-ccard i svg { width: 22px; height: 22px; }
.nv-ccard span { display: block; font-size: 13px; color: var(--ink-muted); }
.nv-ccard b { font-size: 16px; }
.nv-map--light { height: 260px; background: #1b2c4a; border-radius: var(--radius-lg); }

/* blog list */
.nv-postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-6); }
@media (max-width: 900px) { .nv-postgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .nv-postgrid { grid-template-columns: 1fr; } }
.nv-post p { margin: 0; font-size: 14px; line-height: 26px; color: var(--ink-muted); }

/* floating call button on mobile */
.nv-fab { position: fixed; z-index: 60; left: 16px; bottom: 16px; display: none; }
@media (max-width: 760px) { .nv-fab { display: inline-flex; box-shadow: var(--shadow-lift); } }
.nv-panel--navy .nv-muted, .nv-panel--navy p { color: var(--navy-muted); }
.nv-panel--navy .nv-list li::before { background: var(--powder); }

/* ===== WordPress theme additions ===== */
.nv-header--static { position: relative; top: 0; }
.nv-nav .sub-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 220px; margin: 0; padding: 8px; list-style: none; border-radius: var(--radius-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s; z-index: 5; }
.nv-nav .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nv-nav > li:hover > .sub-menu, .nv-nav > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nv-nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 14px; }
.nv-nav .sub-menu a:hover { background: var(--cream); }
.nv-drawer a.is-sub { padding-inline-start: 24px; font-size: 14px; color: var(--ink-muted); }
.nv-brand__logo { width: auto; }
.nv-badges { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.nv-badges img { max-height: 124px; width: auto; border-radius: var(--radius-md); background: var(--cream); }
.nv-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* prose (posts, pages) */
.nv-prose { font-size: var(--fs-body); line-height: var(--lh-body); }
.nv-prose > * + * { margin-top: var(--space-4); }
.nv-prose h2 { font-size: var(--fs-h2); line-height: 1.6; margin-top: var(--space-12); }
.nv-prose h3 { font-size: var(--fs-h3); line-height: 1.7; margin-top: var(--space-8); }
.nv-prose h4 { font-size: var(--fs-h4); margin-top: var(--space-6); }
.nv-prose a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.nv-prose img, .nv-prose figure { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.nv-prose figcaption { font-size: 13px; color: var(--ink-muted); text-align: center; margin-top: 6px; }
.nv-prose ul, .nv-prose ol { padding-inline-start: 1.4em; }
.nv-prose li + li { margin-top: 6px; }
.nv-prose blockquote { margin-inline: 0; padding: var(--space-4) var(--space-6); border-radius: var(--radius-md); background: var(--cream-deep); font-size: var(--fs-lead); }
.nv-prose table { width: 100%; border-collapse: collapse; }
.nv-prose th, .nv-prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: right; }
.nv-prose .alignleft { float: left; margin: 0 var(--space-6) var(--space-4) 0; }
.nv-prose .alignright { float: right; margin: 0 0 var(--space-4) var(--space-6); }
.nv-prose .aligncenter { margin-inline: auto; }
.nv-narrow { width: min(780px, 100% - 2 * var(--space-6)); margin-inline: auto; }
.nv-post-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; margin-bottom: var(--space-12); }
.nv-post-hero img { width: 100%; height: 100%; object-fit: cover; }
.nv-meta { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: 13px; color: var(--ink-muted); }

/* pagination */
.nv-pagination { display: flex; justify-content: center; gap: 6px; margin-top: var(--space-12); flex-wrap: wrap; }
.nv-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 12px; border-radius: var(--radius-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; }
.nv-pagination .page-numbers.current { background: var(--ink); color: var(--cream); box-shadow: none; }

/* comments */
.nv-comments { margin-top: var(--space-16); }
.nv-comments ol { list-style: none; padding: 0; }
.nv-comments .comment-body { padding: var(--space-4) var(--space-6); border-radius: var(--radius-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: var(--space-3); }
.nv-comments input[type=text], .nv-comments input[type=email], .nv-comments input[type=url], .nv-comments textarea { width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); font: inherit; }
.nv-comments .submit { height: 48px; padding-inline: 26px; border: 0; border-radius: var(--radius-btn); background: var(--blue-deep); color: var(--white); font: 700 15px var(--font-sans); cursor: pointer; }

/* search / 404 */
.nv-search { display: flex; gap: 8px; max-width: 520px; }
.nv-search input { flex: 1; min-height: 50px; padding: 0 18px; border-radius: var(--radius-btn); border: 1px solid var(--line); background: var(--paper); font: inherit; }
.nv-empty { text-align: center; padding-block: var(--space-16); display: grid; gap: var(--space-4); justify-items: center; }
.nv-big404 { font-size: clamp(80px, 18vw, 180px); line-height: 1; font-weight: 900; color: var(--powder); letter-spacing: -.02em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.nv-admin-hint { padding: var(--space-4) var(--space-6); border-radius: var(--radius-md); background: var(--powder-soft); font-size: 14px; }

/* ===== effect switches (from «طراحی و رنگ‌ها › افکت‌ها») ===== */
.nv-fx-noreveal [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
.nv-fx-noink .nv-btn::after { display: none; }
.nv-fx-noink .nv-btn:hover { --bg: var(--blue); }
.nv-fx-noink .nv-btn--outline:hover { --bg: var(--ink); }
.nv-fx-noink .nv-btn--soft:hover { --bg: var(--powder); }
.nv-fx-noink .nv-btn--light:hover { --bg: var(--white); }
.nv-fx-noherolight .nv-hero::before, .nv-fx-noherolight .nv-phero::before { display: none; }
.nv-fx-nofloat .nv-float { animation: none; }
.nv-fx-nodots .nv-dots, .nv-fx-nodots .nv-photo::before { display: none; }
.nv-fx-nohover .nv-card:hover, .nv-fx-nohover .nv-related a:hover { transform: none; }
.nv-fx-nohover .nv-card:hover .nv-photo img, .nv-fx-nohover .nv-post:hover .nv-photo img { transform: none; }
.nv-footer__mark img { width: 100%; height: auto; display: block; }
.nv-footer__brand a img { width: 120px; height: auto; }
.nv-footer ul.menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nv-video--embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== phase 2/3 additions ===== */
.nv-posttoc { margin-bottom: var(--space-8); padding: var(--space-4) var(--space-6); border-radius: var(--radius-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.nv-posttoc summary { cursor: pointer; font-weight: 700; }
.nv-posttoc ol { list-style: persian; margin: var(--space-3) 0 0; padding-inline-start: 1.6em; display: grid; gap: 4px; }
.nv-posttoc a { color: var(--blue-deep); }
.nv-svcbox { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4) var(--space-6); align-items: center; margin-top: var(--space-12); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--powder-soft); }
.nv-svcbox__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); color: var(--blue-deep); font-style: normal; }
.nv-svcbox__ic svg { width: 26px; height: 26px; }
.nv-svcbox b { display: block; font-size: var(--fs-h3); line-height: 1.6; }
.nv-svcbox p { margin: 2px 0 0; color: var(--ink-muted); font-size: 14px; }
.nv-svcbox .nv-hero__ctas { grid-column: 1 / -1; }
.nv-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-muted); }
.nv-share a, .nv-share button { display: inline-flex; align-items: center; gap: 6px; height: 40px; min-width: 40px; justify-content: center; padding-inline: 10px; border-radius: var(--radius-btn); border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: inherit; cursor: pointer; transition: background .3s, color .3s; }
.nv-share a:hover, .nv-share button:hover { background: var(--ink); color: var(--cream); }
.nv-share svg { width: 18px; height: 18px; }
.nv-form__error { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: #fbeaea; color: #8a1f1f; font-weight: 700; font-size: 14px; }
.nv-form [aria-invalid="true"] { border-color: #c0392b !important; box-shadow: 0 0 0 4px rgba(192, 57, 43, .12) !important; }
.nv-form.is-sent .nv-field, .nv-form.is-sent .nv-full:not(.nv-form__ok) { opacity: .45; }
.nv-form button[disabled] { opacity: .7; cursor: progress; }
.nv-gallery .nv-ba__caption b { font-size: 14px; }
@media (max-width: 600px) { .nv-svcbox { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .nv-contact-grid > #booking { order: -1; } }
