/* مولکول استودیو - استایل صفحه‌های داخلی، فرم‌ها و آیکن‌های شبکه اجتماعی */

[hidden] { display: none !important; }

/* سربرگ صفحه‌های داخلی */
.page-hero { padding-block: 48px 56px; display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: #fff; }
.page-hero p { font-size: 1.1875rem; color: var(--muted); max-width: 640px; }
.crumbs { font-size: .875rem; color: #8d8dab; }
.crumbs a:hover { color: #fff; }

/* خدمت‌ها */
.svc-list { display: flex; flex-direction: column; gap: 24px; }
.svc {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px;
  border-radius: 32px; padding: 36px; scroll-margin-top: 24px;
}
.svc-main { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.svc-main svg { width: 56px; height: 56px; }
.svc h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.svc-main p { font-size: 1.0625rem; max-width: 520px; }
.svc-for { font-size: .9375rem; opacity: .85; }
.svc-card { border-radius: 24px; padding: 26px; background: rgba(7, 7, 13, .86); color: #f1f1f8; display: flex; flex-direction: column; gap: 14px; }
.svc-card h3 { font-size: 1.375rem; }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li { position: relative; padding-right: 30px; color: #d4d4ea; }
.check-list li::before {
  content: ""; position: absolute; right: 0; top: .6em; width: 16px; height: 8px;
  border-right: 3px solid #3df5b0; border-bottom: 3px solid #3df5b0; transform: translateY(-60%) rotate(45deg) scale(.8);
}
.svc .btn { margin-top: 6px; }
.svc.t-dark { background: linear-gradient(#14142a, #14142a) padding-box, linear-gradient(135deg, #29b6ff, #ff3d9a) border-box; border: 2px solid transparent; }

/* سؤال‌های پرتکرار */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq details { background: var(--bg-soft); border-radius: 20px; padding: 0 24px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* نمونه‌کار */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: transparent; color: var(--muted); font-family: inherit; font-size: .9375rem; cursor: pointer;
}
.chip:hover { border-color: var(--blue); color: #fff; }
.chip[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #07070d; font-weight: 700; }
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work { background: var(--bg-soft); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.work-media { aspect-ratio: 16 / 10; background: #1a1a2e; display: block; width: 100%; object-fit: cover; }
.work-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.work-body h3 { font-size: 1.5rem; }
.work-body span { font-size: .875rem; color: var(--blue); }
.work-body p { font-size: .9375rem; color: var(--muted); }
.empty-state {
  border: 2px dashed var(--line); border-radius: 28px; padding: 56px 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.empty-state h2 { font-size: 2rem; }
.empty-state p { color: var(--muted); max-width: 520px; }

/* درباره ما */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.about-grid p { font-size: 1.125rem; color: #d4d4ea; }
.about-grid p + p { margin-top: 16px; }
.about-logo { width: min(340px, 100%); justify-self: center; aspect-ratio: 1 / 1; -webkit-mask-image: radial-gradient(circle closest-side, #000 93%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 93%, transparent 100%); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { background: var(--bg-soft); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.value h3 { font-size: 1.75rem; }
.value p { color: var(--muted); }

/* ثبت سفارش */
.order-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.panel { background: var(--bg-soft); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.panel h2 { font-size: 1.875rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .875rem; color: var(--muted); }
.field .req { color: #ff5fae; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--bg-field); color: #fff; font-family: inherit; font-size: 1rem;
}
.textarea { padding: 12px 16px; min-height: 130px; resize: vertical; line-height: 1.8; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(41, 182, 255, .25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { font-size: .875rem; color: #8d8dab; }
.preview {
  min-height: 190px; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px dashed var(--blue);
  background: #0d0d1a; color: #d4d4ea; font-family: inherit; font-size: .9375rem; line-height: 1.9; resize: vertical;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.status { min-height: 1.6em; font-size: .9375rem; }
.status.ok { color: #3df5b0; }
.status.warn { color: #ffd23f; }
.contact-lines { display: flex; flex-direction: column; gap: 12px; }
.contact-line { background: #07070d; border-radius: 18px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.contact-line span { font-size: .8125rem; color: var(--muted); }
.contact-line a, .contact-line strong { font-size: 1.125rem; font-weight: 500; direction: ltr; text-align: right; }

/* شبکه‌های اجتماعی */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social:empty { display: none; }
.social a {
  width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); color: var(--muted); transition: border-color .2s, color .2s, transform .2s;
}
.social a:hover { border-color: var(--pink); color: #fff; transform: translateY(-2px); }
.social svg { width: 22px; height: 22px; }

/* صفحه ۴۰۴ */
.nf { min-height: 56vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding-block: 56px; }
.nf .code { font-family: var(--font-latin); font-weight: 700; font-size: clamp(5rem, 18vw, 10rem); line-height: 1; }
.nf h1 { font-size: 2.25rem; }
.nf p { color: var(--muted); }

@media (max-width: 1000px) {
  .svc, .about-grid, .order-grid { grid-template-columns: minmax(0, 1fr); }
  .works, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-logo { order: -1; width: min(260px, 100%); }
}
@media (max-width: 640px) {
  .svc { padding: 26px; border-radius: 26px; }
  .svc-card { padding: 22px; }
  .works, .values { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 24px; border-radius: 24px; }
  .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .social a { transition: none; }
  .social a:hover { transform: none; }
}


/* Molocol concept badge */
.work-body .work-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  width: fit-content;
  margin-top: 5px;
  padding: 6px 12px;
  border: 1px solid rgba(100, 220, 255, 0.28);
  border-radius: 999px;
  background: rgba(75, 190, 255, 0.10);
  color: #8fe5ff;
  font-size: 0.8rem;
  line-height: 1.5;
}
