/* Дополнения к исходному дизайну: навигация, «Наши работы», статус заказа, вопросы и ответы, служебные страницы */

.header-nav { display: flex; align-items: center; gap: 26px; }
.header-call {
  padding: 9px 16px;
  border: 1px solid rgba(216,255,69,.45);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.header-call:hover { background: var(--accent); color: #111; }
.footer-links { text-align: right; }
.footer-links a:hover { color: var(--accent); }

.price-from { display: inline-block; margin-top: 18px; padding: 4px 10px; border: 1px solid currentColor; font-size: 13px; font-weight: 800; opacity: .9; }

/* страницы внутри сайта */
.page-head { padding-block: 56px 28px; }
.crumbs { margin-bottom: 26px; color: var(--muted); font-size: 13px; }
.crumbs a:hover { color: var(--accent); }
.page-title { margin-bottom: 18px; font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -.055em; }
.page-lead { max-width: 640px; color: var(--muted); font-size: 18px; }
.notfound { padding-block: 120px; text-align: left; }

/* карточки работ */
.works-preview { padding-block: 40px 110px; }
.works-page { padding-block: 20px 60px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: transform .2s, border-color .2s;
  overflow: hidden;
}
.work-card:hover { transform: translateY(-5px); border-color: rgba(216,255,69,.5); }
.work-thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: #0b0d0d; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.work-card:hover .work-thumb img { transform: scale(1.04); }
.work-count { position: absolute; right: 10px; bottom: 10px; padding: 4px 9px; background: rgba(0,0,0,.72); color: var(--text); font-size: 12px; font-weight: 800; }
.work-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.work-tag { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 800; }
.work-body strong { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.work-problem { color: var(--muted); font-size: 14px; }
.more-link { margin-top: 32px; }
.empty-works { padding: 60px 0 40px; color: var(--muted); }
.empty-works p { font-size: 20px; margin-bottom: 22px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; color: var(--muted); }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-block: 70px 90px; padding: 36px 40px;
  border: 1px solid rgba(216,255,69,.35); background: rgba(216,255,69,.045);
}
.cta-band h2 { margin-bottom: 6px; font-size: 30px; letter-spacing: -.04em; }
.cta-band p { margin: 0; color: var(--muted); }

/* страница работы */
.work-page { padding-bottom: 80px; }
.work-title { font-size: clamp(32px, 4.4vw, 58px); max-width: 980px; }
.work-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: start; margin-top: 10px; }
.gallery-main { display: block; border: 1px solid var(--border); background: #0b0d0d; }
.gallery-main img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumb { padding: 0; border: 2px solid transparent; background: #0b0d0d; cursor: pointer; aspect-ratio: 1; overflow: hidden; opacity: .72; transition: opacity .2s, border-color .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; border-color: var(--accent); }
.work-info { padding: 26px; border: 1px solid var(--border); background: var(--bg-soft); position: sticky; top: 20px; }
.work-info .button { width: 100%; margin-top: 10px; }
.facts { margin: 0 0 18px; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--border); }
.facts div:first-child { padding-top: 0; }
.facts dt { margin-bottom: 4px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 800; }
.facts dd { margin: 0; font-size: 16px; }
.more-works { margin-top: 80px; }
.more-works h2 { margin-bottom: 22px; font-size: 32px; letter-spacing: -.04em; }

/* вопросы и ответы, отзывы */
.faq { padding-block: 20px 120px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { padding: 24px 40px 24px 0; font-size: clamp(18px, 2vw, 24px); font-weight: 700; letter-spacing: -.02em; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 28px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 760px; margin: 0 0 26px; color: var(--muted); font-size: 17px; }
.reviews { padding-block: 10px 100px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; padding: 26px; border: 1px solid var(--border); background: var(--bg-soft); }
.review blockquote { margin: 0 0 16px; font-size: 17px; }
.review figcaption { color: var(--muted); font-size: 13px; }
.review figcaption a { color: var(--accent); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.stars { color: var(--accent); letter-spacing: .12em; }
.stars i { font-style: normal; color: #3a3d37; }
.rating-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: -20px 0 28px; color: var(--muted); }
.rating-big { color: var(--text); font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.reviews-page { padding-bottom: 70px; }
.more-link { display: flex; gap: 12px; flex-wrap: wrap; }
.status-teaser { margin-top: 36px; color: var(--muted); font-size: 18px; }
.status-teaser a { color: var(--accent); font-weight: 800; }

/* статус заказа */
.status-section { padding-block: 100px; }
.status-title { margin-bottom: 0; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -.06em; }
.status-section .request-note a { text-decoration: underline; }
.status-result { margin-top: 22px; padding: 28px; background: #fff; box-shadow: 0 22px 70px rgba(21,23,18,.12); }
.status-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.status-badge { padding: 8px 16px; background: #111; color: var(--accent); font-weight: 800; letter-spacing: .02em; }
.status-device { color: #55574f; font-weight: 700; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: st; }
.progress li { position: relative; padding-top: 14px; border-top: 4px solid #e2e2dc; color: #8c8e86; font-size: 13px; font-weight: 800; }
.progress li.done { border-top-color: #111; color: #111; }
.progress li.current { border-top-color: #8ca500; color: #111; }
.status-text { margin: 0 0 8px; font-size: 18px; color: #1b1c19; }
.status-dates { margin: 0; color: #7a7c74; font-size: 13px; }

/* тексты (политика) */
.prose { max-width: 820px; padding-bottom: 100px; color: var(--muted); font-size: 17px; }
.prose h2 { margin: 36px 0 10px; color: var(--text); font-size: 24px; letter-spacing: -.03em; }
.prose a { color: var(--accent); }
.prose strong { color: var(--text); }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-layout { grid-template-columns: 1fr; }
  .work-info { position: static; }
  .review-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .header-nav { gap: 16px; }
  .footer-links { text-align: left; }
}
@media (max-width: 620px) {
  .header { min-height: 64px; }
  .header-nav .header-link { display: none; }
  .header-nav .header-link[href="/status"], .header-nav .header-link[href="/works"] { display: inline; font-size: 13px; }
  .header-call { padding: 7px 10px; font-size: 13px; }
  .logo span:last-child { font-size: 14px; }
  .work-grid { grid-template-columns: 1fr; }
  .page-head { padding-block: 36px 16px; }
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .status-section { padding-block: 64px; }
  .progress li { font-size: 11px; }
  .cta-band { padding: 26px 20px; }
  .works-preview { padding-bottom: 80px; }
  .faq { padding-bottom: 80px; }
}
