.section-v5 h2 { text-wrap: pretty; }
.section-heading { font-size: clamp(28px,4vw,48px); font-weight: 800; line-height: 1.09; letter-spacing: -.043em; text-wrap: pretty; margin: 0; }
.card-photo-title { position: absolute; bottom: 14px; left: 16px; right: 14px; color: white; font-weight: 800; font-size: 20px; line-height: 1.2; }
.project-title, .article-title, .tariff-title { display: block; font-size: 21px; line-height: 1.25; font-weight: 800; }
.project-title-link { color: inherit; text-decoration: none; }
.project-title-link:hover { color: var(--brand); }
.meta-dt { display: block; color: var(--muted); font-size: 12px; }
.meta-dd { display: block; margin-top: 3px; font-weight: 700; }
.review-social-heading, .document-title { display: block; font-size: 18px; line-height: 1.3; }
.process-head > div { min-width: 0; }
.author-stages article > strong { display: block; margin: 9px 0; font-size: 17px; line-height: 1.3; }
.author-extra li strong { display: block; margin-bottom: 6px; }
.home-offers { margin-top: 16px; overflow: hidden; }
.home-offers .offer-track { --slide-width: 100%; padding: 0; gap: 16px; }
.home-offers .offer-slide { margin-top: 0; border-radius: 28px; }
.offer-track > * { flex-basis: 100%; }
.home-offers .carousel-nav { padding: 8px; }
.tariff-toggle { width: 100%; min-height: 44px; display: flex; justify-content: space-between; gap: 10px; align-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; font-weight: 750; text-align: left; cursor: pointer; }
.tariff-toggle::after { content: '+'; }
.tariff-toggle[aria-expanded=true]::after { content: '−'; }
.tariff-toggle:hover { background: var(--brand-soft); }
.tariff-expanded { margin: 0; }
.tariff-dialog { border: 0; padding: clamp(16px,3vw,30px); color: var(--text); width: min(1000px,calc(100% - 24px)); max-height: calc(100dvh - 24px); }
.tariff-dialog::backdrop { background: #1c2023bc; }
.tariff-dialog header { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 18px; }
.dialog-heading { font-size: clamp(20px,3vw,27px); font-weight: 800; line-height: 1.2; margin: 0; }
.calc-heading { font-size: 22px; font-weight: 800; line-height: 1.25; }
.lightbox-v5 video { display: block; width: 100%; max-height: 65dvh; background: var(--text); }
.existing-seo-content { overflow-wrap: anywhere; }
.existing-seo-content .text { display: grid; gap: 16px; }
.existing-seo-content .table-responsive { max-width: 100%; overflow-x: auto; }
.existing-seo-content table { width: 100%; border-collapse: collapse; }
.existing-seo-content td { border: 1px solid var(--line); padding: 10px; vertical-align: top; }
.existing-seo-content h3 { font-size: 22px; margin-top: 12px; }
.existing-seo-content ul { margin: 0; padding-left: 22px; }
.preserved-footer { padding: 30px; margin-top: 16px; }
.preserved-footer .container { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.preserved-footer .footer__menu { display: flex; flex-wrap: wrap; gap: 16px 30px; }
.preserved-footer ul { margin: 0; padding: 0; list-style: none; }
.preserved-footer li a { display: inline-flex; padding-block: 6px; }
.preserved-footer .footer__info, .preserved-footer .footer__bottom { display: grid; gap: 10px; }
.preserved-footer a { color: var(--brand); }
.preserved-footer img { max-width: 80px; max-height: 50px; }
@media (max-width:600px) {
  .preserved-footer { padding: 18px; }
  .preserved-footer .container, .preserved-footer .footer__menu { display: grid; gap: 14px; }
}
.tariff-dialog .tabs-v5 { margin-bottom: 20px; flex-wrap: wrap; }
.tariff-work-columns { columns: 3 200px; column-gap: 32px; margin: 20px 0; }
.tariff-work-group { break-inside: avoid; margin-bottom: 20px; }
.tariff-work-group b { display: block; margin-bottom: 8px; }
.tariff-work-group ul { padding-left: 18px; margin: 0; }
.faq-question { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; background: none; border: 0; padding: 16px; color: var(--text); font: inherit; font-weight: 750; text-align: left; cursor: pointer; }
.faq-question::after { content: '+'; }
.faq-question[aria-expanded=true]::after { content: '−'; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item .faq-answer { margin: 0; padding: 0 16px 16px; }
.faq-question-line { margin: 0; }
.faq-item:has([aria-expanded=true]) { background: var(--surface); }
.author-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width:700px) {
  .home-offers .offer-slide { display: grid; grid-template-columns: minmax(0,1fr); }
  .home-offers .offer-copy { padding: 24px; }
  .home-offers figure { aspect-ratio: 16 / 9; }
}
.hero-author-benefits { margin: 0; padding-left: 24px; color: var(--muted); }
.hero-author-benefits li { padding-left: 7px; margin-bottom: 12px; }
.hero-author-benefits li::marker { color: var(--brand); }
.hero-author-benefits li:last-child { margin-bottom: 0; }

#trust .author-features { grid-template-columns: repeat(6, minmax(0, 1fr)); }
#trust .author-features > * { grid-column: span 2; min-height: 170px; }
#trust .author-features > :nth-child(4) { grid-column: 2 / span 2; }
#trust h3 { color: var(--brand); font-size: clamp(22px, 2.5vw, 34px); }
.feature-label { display: flex; justify-content: space-between; color: var(--muted); }
.feature-label span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.feature-label svg { width: 22px; height: 22px; }
.author-features article:nth-child(2) .feature-label span,
.author-features article:nth-child(6) .feature-label span { background: var(--success-soft); color: var(--success-ink); }
.author-features article:nth-child(3) .feature-label span { background: var(--violet-soft); color: var(--violet-ink); }
.author-features article:nth-child(4) .feature-label span { background: var(--blue-soft); color: var(--blue-ink); }
.author-features article:nth-child(5) .feature-label span { background: #f5e8e6; color: #914c41; }

#portfolio > .v5-button { justify-self: start; }
.project-v5 .project-detail-button { border: 1px solid var(--line); }
.project-v5 .project-detail-button:hover,
.project-v5 .project-detail-button:active { background: var(--text); color: var(--surface); }
#portfolio .project-v5 h3 { flex: 1; }
.carousel-v5 {
  --slide-width: calc((100% - 48px) / 3.32);
  position: relative;
  display: flex;
  min-width: 0;
  gap: 16px;
  overflow-x: auto;
  padding: 4px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
}
.carousel-v5 > * { flex: 0 0 var(--slide-width); min-width: 0; scroll-snap-align: start; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 8px; }
.carousel-nav .v5-button { width: 44px; padding: 0; }
.carousel-nav button:disabled { opacity: .45; cursor: default; }
.carousel-dots { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; }
.carousel-dot { cursor: pointer; display: grid; place-items: center; min-width: 34px; min-height: 44px; padding: 0 5px; background: transparent; border: 0; }
.carousel-dot::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--brand); border-radius: 999px; }
.carousel-dot[aria-current="true"]::before { width: 20px; background: var(--brand); }
#scope .carousel-v5, #reviews .carousel-v5 { --slide-width: calc((100% - 32px) / 2.42); }
#scope > [data-tabs], #scope [role="tabpanel"] { min-width: 0; }
#documents .carousel-v5 { --slide-width: 59%; }
#documents .doc-v5 img { aspect-ratio: 1.65; }
.type-card-cover { display: block; }
.type-card-cover:focus-visible { outline-offset: -4px; }
.type-card-cover img { transition: filter .2s ease; }
.type-card-cover:hover img { filter: brightness(1.12); }
.type-card .card-v5__footer .v5-button { width: 100%; }
.type-card { position: relative; transition: box-shadow .18s; }
.type-card-cover::after { position: absolute; inset: 0; content: ""; }
.type-card:has(.type-card-cover:hover) { box-shadow: 0 5px 14px #1c202329; }
.type-card:has(.type-card-cover:focus-visible) { outline: 3px solid var(--brand); outline-offset: -3px; }
.type-card .card-v5__footer .v5-button { position: relative; z-index: 1; }
#articles .carousel-v5 { --slide-width: 41%; }
#articles .card-v5__body { align-content: start; }
#articles .card-v5 img { aspect-ratio: 16 / 9; }

.project-gallery-button { border-radius: 0; aspect-ratio: 4 / 3; align-self: start; }
.project-gallery-button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-gallery-button .portfolio-concept-v6 { height: 100%; min-height: 0; align-items: flex-start; }
.catalog-results .card-v5__body > .project-gallery-button { border-radius: 14px; }
[data-filters]:has([name="author"]) { grid-template-columns: repeat(5, minmax(0, 1fr)) auto; }
.project-gallery-button:hover { transform: none; }
.project-gallery-button:focus-visible { outline-offset: -4px; }
.gallery-badge { position: absolute; right: 12px; bottom: 12px; padding: 7px 12px; border-radius: 10px; background: rgb(28 32 35 / 88%); color: white; font-size: 13px; font-weight: 750; }
.gallery-info { margin-top: 10px; text-align: center; color: var(--muted); font-size: 14px; }
.lightbox-v5 { max-height: calc(100dvh - 16px); }
.lightbox-v5 img { max-height: 62dvh; }
.lightbox-v5 [data-media] { touch-action: pan-y pinch-zoom; }
.gallery-layout, .gallery-visual, .gallery-details { min-width: 0; }
.project-lightbox { width: min(1120px, calc(100% - 24px)); padding: clamp(12px, 2vw, 24px); }
.project-lightbox .gallery-layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.project-lightbox [data-media] img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: min(54dvh, 590px); object-fit: contain; border-radius: 16px; }
.lightbox-v5 header h3 { min-width: 0; overflow-wrap: anywhere; font-size: clamp(18px, 3vw, 25px); }
.lightbox-v5 header button { width: 44px; min-height: 44px; padding: 0; font-size: 24px; }
.lightbox-v5 nav, .case-preview-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0 0; }
.gallery-info { margin: 0; }
.lightbox-v5 nav button, .case-preview-controls button { min-width: 44px; min-height: 44px; }
.gallery-details { padding: 16px; background: var(--brand-soft); border-radius: 18px; display: grid; gap: 16px; }
.gallery-details dl { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-details dd { overflow-wrap: anywhere; }
.gallery-details small { color: var(--muted); }
.gallery-actions { display: grid; gap: 8px; }
.gallery-case-link { border: 1px solid var(--brand); background: var(--surface); color: var(--brand); }
.gallery-actions .v5-button { min-height: 44px; }
.gallery-thumbs { position: relative; display: flex; gap: 8px; max-width: 100%; min-width: 0; overflow-x: auto; padding: 4px 3px; margin-top: 6px; scrollbar-width: thin; }
.gallery-thumbs button { flex: 0 0 64px; height: 50px; border-radius: 9px; padding: 2px; border: 2px solid transparent; background: transparent; cursor: pointer; }
.gallery-thumbs button[aria-current] { border-color: var(--brand); }
.gallery-thumbs button:hover { background: var(--brand-soft); }
.gallery-thumbs button:active { transform: scale(.96); }
.gallery-thumbs button img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.case-preview { min-width: 0; }
.case-preview-cover > button { touch-action: pan-y pinch-zoom; }
.case-preview-cover .media-v5 img { object-fit: contain; }
.case-photo-note { display: block; margin-top: 6px; color: var(--muted); }
.case-variant-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
html { scrollbar-gutter: stable; }
html:has(dialog[open]) { overflow: hidden; }
@media (max-width: 700px) {
  .project-lightbox .gallery-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .project-lightbox [data-media] img { max-height: 36dvh; }
  .gallery-details { padding: 12px; gap: 10px; }
}
@media (max-width: 360px) {
  html { scrollbar-gutter: auto; }
  #articles .carousel-v5 { --slide-width: 82%; }
}

.author-offer { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; margin-top: var(--space-2); background: var(--text); color: var(--surface); overflow: hidden; }
.offer-copy { padding: clamp(28px, 4vw, 56px); display: grid; gap: var(--space-2); align-content: center; }
.offer-copy .pill-v5 { background: #f1b558; color: var(--text); }
.offer-copy h2 { max-width: 20ch; text-wrap: balance; }
.offer-copy p:not(.offer-term) { max-width: 40ch; color: #e1e4e8; }
.offer-term { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; color: #f1b558; font-size: clamp(21px, 2.3vw, 34px); font-weight: 750; line-height: 1.1; }
.offer-term strong { font-size: clamp(46px, 5vw, 76px); letter-spacing: -.05em; }
.offer-button { background: #f1b558; color: var(--text); }
.offer-button:hover, .offer-button:focus-visible { background: #ffd182; }
.offer-button:focus-visible { outline-color: #ffd182; }
.author-offer figure { position: relative; min-height: 330px; }
.author-offer figure img { position: absolute; width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 0; }

.author-contact { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); }
.author-contact header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.author-contact header button { width: 44px; padding: 0; font-size: 22px; }
.author-contact form[data-contact] { display: grid; gap: var(--space-2); }
.author-contact textarea { width: 100%; min-height: 100px; resize: vertical; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; color: var(--text); background: var(--surface); }
.author-consent { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); cursor: pointer; }
.author-consent input { width: 20px; height: 20px; flex: none; accent-color: var(--brand); }
.author-contact p[data-form-feedback] { margin: 0; padding: 10px; border-radius: 12px; background: var(--surface-soft); font-size: 14px; }

.author-process { color: #fff; }
.section-v5 > .process-head { max-width: none; display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.process-head h2 { max-width: 22ch; }
.process-head p, .author-process article p, .author-extra p { color: #e1e4e8; }
.process-head p { margin-top: 8px; }
.process-head aside { display: flex; align-items: center; gap: 10px; border-radius: 14px; background: #292d32; padding: 10px 12px; font-size: 13px; line-height: 1.3; flex: none; }
.process-head aside strong { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #f1b558; color: #1c2023; font-size: 18px; }
.author-stages, .author-extra ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.author-stages { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.author-stages li { display: grid; align-content: stretch; grid-template-rows: auto 1fr; gap: 12px; min-width: 0; position: relative; }
.author-stages li::before { content: ""; position: absolute; left: 17px; right: -29px; top: 17px; height: 1px; background: #a58556; }
.author-stages li:last-child::before { display: none; }
.stage-index { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #a58556; background: var(--text); color: #f1b558; font-weight: 800; font-size: 13px; }
.author-stages article { padding: 14px; border-radius: 14px; background: #2b3034; overflow-wrap: anywhere; }
.author-stages article small, .author-extra > :is(h3, .author-extra-title) { color: #f1b558; font-weight: 800; }
.author-stages article h3 { font-size: 17px; margin: 9px 0; }
.author-stages article p, .author-extra p { font-size: 14px; }
.author-stage-flip { display: grid; align-content: start; min-height: 178px; padding: 14px; border-radius: 14px; background: #2b3034; }
.author-stage-flip summary { display: grid; gap: 10px; min-height: 44px; line-height: 1.25; }
.author-stage-flip summary::after { content: none; }
.author-stage-flip small, .author-stage-flip .stage-more, .author-stage-flip .stage-back { color: #f1b558; font-size: 13px; }
.author-stage-flip .stage-back, .author-stage-flip[open] .stage-more { display: none; }
.author-stage-flip[open] .stage-back { display: block; }
.author-stage-flip[open] { background: #343a40; }
.author-stage-flip p { margin-top: 10px; color: #e1e4e8; font-size: 14px; }
.author-extra { border-top: 1px solid #42464a; padding-top: 16px; }
.author-extra > :is(h3, .author-extra-title) { margin-bottom: 14px; font-size: 13px; text-transform: uppercase; }
.author-extra ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.author-extra li { display: flex; gap: 12px; background: #25292d; border: 1px solid #42464a; border-radius: 14px; padding: 15px; min-width: 0; }
.author-extra .stage-index { flex: none; }
.author-extra li h3 { font-size: 17px; margin-bottom: 6px; }

.author-price-list { align-content: start; }
.author-price-list li { padding-left: 23px; }
.author-price-list li::before { content: "✓"; position: absolute; top: 0; background: none; font-weight: 800; opacity: 1; }
.author-price-list .feature-absent { opacity: .72; }
.author-price-list .feature-absent::before { content: "–"; }
.price-v5.dark-v5 { background: var(--text); }
.price-v5.dark-v5 .list-toggle summary { color: var(--text); }
#prices .promo-v5 { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px; }
#prices .promo-v5 > h3 { grid-column: 1; }
#prices .promo-v5 > p { grid-column: 1; color: var(--muted); }
#prices .promo-v5 > .v5-actions { grid-area: 1 / 2 / 3 / 3; }

#reviews .card-v5__body { display: flex; flex-direction: column; }
#reviews .card-v5__body > h3, #reviews .review-head h3 { font-size: 18px; }
#reviews .rating { color: #8b6024; letter-spacing: .08em; }
#reviews .review-v5 blockquote, #reviews .review-v5 .review-text { margin: 0; color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.review-read { display: flex; gap: 8px; align-items: center; min-height: 44px; width: 100%; margin-top: auto; padding: 6px 0 0; border: 0; border-top: 1px solid var(--line); color: var(--brand); background: transparent; font: inherit; font-size: 14px; font-weight: 800; text-align: left; cursor: pointer; }
.review-read:hover { text-decoration: underline; text-underline-offset: 3px; }
.review-read:active { opacity: .75; }
.review-dialog, .profile-dialog { width: min(570px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: clamp(16px, 4vw, 30px); border: 0; color: var(--text); }
.review-dialog::backdrop, .profile-dialog::backdrop { background: #1c2023bc; }
.review-dialog header, .profile-dialog header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review-dialog header button, .profile-dialog header button { width: 44px; min-height: 44px; padding: 0; font-size: 22px; }
.review-dialog blockquote { margin: 12px 0 0; line-height: 1.6; }
.review-dialog-date, .profile-role { color: var(--muted); margin-top: 8px; }
.review-platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.review-platforms > a { display: flex; align-items: center; gap: 12px; min-width: 0; border-radius: 20px; border: 1px solid transparent; background: var(--surface-soft); color: var(--text); padding: 14px; font-size: 14px; text-decoration: none; transition: background .18s, border-color .18s; }
.review-platforms > a:hover { background: var(--brand-soft); border-color: var(--brand); }
.review-platforms > a:active { background: var(--surface); }
.review-platforms strong { display: block; font-size: 12px; color: var(--muted); }
.platform-arrow { margin-left: auto; color: var(--brand); }
.platform-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: #b83420; font-weight: 800; }
.review-platforms > :nth-child(2) .platform-icon { background: #337941; }
.review-platforms > :nth-child(3) .platform-icon { background: #554481; }
.review-platforms > :nth-child(4) .platform-icon { background: #5940ad; }
.review-social { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 24px; background: var(--surface-soft); padding: 22px; }
.review-social h3 { font-size: 18px; }
.review-social p { color: var(--muted); margin-top: 6px; }
.review-social .v5-actions { flex: none; }
.review-social button { background: var(--surface); }
.review-social button:disabled { cursor: default; }

.author-knowledge { padding: 32px; display: grid; gap: 12px; border-radius: 24px; background: var(--surface-soft); }
.author-knowledge h4 { font-size: 17px; margin: 0; }
.author-knowledge p { color: var(--muted); max-width: 90ch; }
.knowledge-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; counter-reset: entries; }
.knowledge-list li { background: var(--surface); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.knowledge-list li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 7px; color: var(--brand); background: var(--brand-soft); font-weight: 800; }
.knowledge-number li::before { counter-increment: entries; content: counter(entries); }
.author-suppliers { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.author-suppliers h2 { font-size: 25px; }
.author-suppliers p { color: var(--muted); }
.author-suppliers ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.author-suppliers li { border-radius: 14px; padding: 14px; color: var(--muted); background: var(--surface-soft); font-size: 13px; }
.author-repair-cta { grid-template-columns: 58% 1fr; gap: 0; padding: 0; overflow: hidden; }
.author-repair-cta > div:first-child { padding: 38px 48px; }
.author-repair-cta p { margin-block: 20px; font-size: clamp(22px, 2.2vw, 30px); color: #e1e4e8; line-height: 1.4; }
.author-repair-cta .pill-v5 { background: #2b3034; color: #f1b558; }
.repair-promo-links { display: flex; flex-wrap: wrap; gap: 8px; }
.repair-promo-links a { align-items: center; min-height: 44px; }
.repair-promo-links a:hover, .repair-promo-links a:focus-visible { text-decoration: underline; }
.author-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.author-repair-cta button { background: #f1b558; }
.author-repair-cta button:hover { background: #ffd182; }
.repair-photo-slot { display: grid; place-items: center; min-height: 170px; color: var(--muted); background: linear-gradient(120deg, #e6e4e0, #d5d9de); }

.author-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 40px; }
.faq-sidebar { display: grid; gap: 16px; align-content: start; }
.faq-sidebar h2 { max-width: 12ch; }
.faq-sidebar .tabs-v5 { display: grid; gap: 4px; width: 100%; padding: 0; background: none; }
.faq-sidebar .tabs-v5 button { justify-content: space-between; text-align: start; }
.faq-sidebar .promo-v5 { padding: 22px; gap: 10px; }
.faq-sidebar .promo-v5 h3 { font-size: 18px; }
.faq-sidebar .promo-v5 p { color: var(--muted); }
.faq-sidebar .promo-v5 button { justify-self: start; }
.author-dark-button { background: var(--text); color: var(--surface); }
button.author-dark-button:hover { background: var(--brand); color: var(--surface); }
.author-faq .faq-v5 details[open] { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.author-faq summary::after { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); }
.author-faq details[open] summary::after { background: var(--text); color: var(--surface); }

.work-photo { position: relative; padding-bottom: var(--work-clearance, 0px); container-type: inline-size; }
.work-photo[data-work-leader]::after {
  content: "";
  position: absolute;
  top: var(--leader-top);
  left: var(--leader-left);
  height: var(--leader-height);
  border-left: 2px dashed var(--brand);
  filter: drop-shadow(1px 0 1px white);
  pointer-events: none;
  z-index: 2;
}
.hotspot-v5 img { width: 100%; aspect-ratio: 1.9; object-fit: cover; }
.work-photo .v5-button[data-work-zone] { left: var(--x); top: clamp(22px, calc(var(--y) * 100cqw / 190), calc(52.63cqw - 22px)); z-index: 3; transform: translate(-50%, -50%); }
.work-photo .v5-button[aria-expanded="true"] { background: var(--brand); color: white; z-index: 4; }
.hotspot-v5 [data-work-zone="1"] { --x: 11%; --y: 23; }
.hotspot-v5 [data-work-zone="2"] { --x: 41%; --y: 87; }
.hotspot-v5 [data-work-zone="3"] { --x: 64%; --y: 8; }
.hotspot-v5 [data-work-zone="4"] { --x: 36%; --y: 26; }
.hotspot-v5 [data-work-zone="5"] { --x: 17%; --y: 74; }
.hotspot-v5 [data-work-zone="6"] { --x: 83%; --y: 54; }
.work-popover { position: absolute; top: var(--popover-top, 0px); left: var(--popover-left, 0px); z-index: 5; width: min(330px, calc(100% - 8px)); padding: 14px 48px 14px 14px; border-radius: 16px; background: var(--surface); box-shadow: 0 8px 20px #1c202338; }
.work-popover::before { content: ""; position: absolute; left: var(--arrow-x); width: 12px; height: 12px; transform: translateX(-50%) rotate(45deg); background: var(--surface); }
.work-popover[data-placement="below"]::before { top: -6px; }
.work-popover[data-placement="above"]::before { bottom: -6px; }
.work-photo .work-popover [data-close-zone] { position: absolute; top: 2px; right: 2px; left: auto; display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: none; cursor: pointer; font-size: 23px; }
.work-popover [data-close-zone]:hover { background: var(--surface-soft); }
.work-popover h3 { color: var(--brand); font-size: 20px; }
.work-popover ol { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; }

@keyframes author-reveal {
  from { opacity: .58; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes author-fade {
  from { opacity: .48; }
  to { opacity: 1; }
}
@keyframes author-stage-turn {
  from { opacity: .6; transform: perspective(700px) rotateY(-18deg); }
  to { opacity: 1; transform: perspective(700px) rotateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .author-stage-flip[open] { animation: author-stage-turn .29s ease-out both; }
  .author-reveal,
  .author-contact[open],
  .lightbox-v5[open],
  .work-popover [data-zone-panel]:not([hidden]),
  .author-faq [role="tabpanel"]:not([hidden]) { animation: author-reveal .28s cubic-bezier(.2,.7,.3,1) both; }
  .lightbox-v5[open] [data-media] img,
  .quiz-v5 fieldset:not([hidden]),
  .quiz-v5 [data-result]:not([hidden]),
  .section-v5 details[open] > :not(summary) { animation: author-fade .25s ease-out both; }
  .project-gallery-button img, .author-offer figure img { transition: transform .38s cubic-bezier(.2,.7,.3,1); }
  .project-gallery-button:hover img, .project-gallery-button:focus-visible img { transform: scale(1.035); }
  .author-offer { isolation: isolate; }
  .author-offer figure { overflow: hidden; }
  .author-offer:has(.offer-button:hover) figure img { transform: scale(1.025); }
  .carousel-dot::before { transition: width .18s ease, background-color .18s ease; }
  .work-photo [data-work-zone] { transition: background-color .18s, color .18s, box-shadow .18s; }
}

@media (max-width: 1100px) {
  .author-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .author-stages li:nth-child(3)::before { display: none; }
  .carousel-v5 { --slide-width: calc((100% - 32px) / 2.65); }
  .review-social { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  [data-filters]:has([name="author"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #trust .author-features { grid-template-columns: minmax(0, 1fr); }
  #trust .author-features > *, #trust .author-features > :nth-child(4) { grid-column: auto; min-height: 0; }
  .hero-author-benefits { font-size: 14px; }
  .section-v5 > .process-head { display: grid; }
  .process-head aside { justify-self: start; }
  .author-stages, .author-extra ol { grid-template-columns: minmax(0, 1fr); }
  .author-stages li { grid-template: 1fr / 36px 1fr; }
  .author-stage-flip { min-height: 0; }
  .author-stages li::before { display: none; }
  .author-faq, .knowledge-list, .author-repair-cta { grid-template-columns: minmax(0, 1fr); }
  .author-faq { gap: 16px; }
  .faq-sidebar h2 { max-width: none; }
  .author-knowledge, .author-repair-cta > div:first-child { padding: 22px; }
  .author-repair-cta { padding: 0; }
  #prices .promo-v5 { grid-template-columns: minmax(0, 1fr); }
  #prices .promo-v5 > .v5-actions { grid-area: auto; }
  .author-price-list { min-height: auto; }
  .review-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-platforms > a { flex-wrap: wrap; padding: 10px; gap: 6px; overflow-wrap: anywhere; }
  .review-social .v5-actions { flex: 1 1 100%; }
  .carousel-v5, #scope .carousel-v5, #reviews .carousel-v5, #documents .carousel-v5 { --slide-width: 82%; }
  .author-offer { grid-template-columns: minmax(0, 1fr); }
  .author-offer figure { min-height: 0; aspect-ratio: 1.7; }
  .offer-copy { padding: 24px; }
  .offer-button { min-height: 48px; width: 100%; }
  .author-contact { padding: 20px; }
  .hotspot-v5 img { aspect-ratio: 1.2; }
  .work-photo .v5-button[data-work-zone] { top: clamp(22px, calc(var(--y) * 100cqw / 120), calc(83.33cqw - 22px)); }
}

/* Structure from «Портфолио — Десктоп 1440», with v5 surfaces and controls. */
.catalog-hero { position: relative; min-height: 392px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); overflow: hidden; margin-top: var(--space-2); }
.catalog-hero > div { display: grid; align-content: center; justify-items: start; gap: 16px; padding: clamp(20px, 4vw, 48px); }
.catalog-hero > div p { color: var(--muted); max-width: 47ch; }
.catalog-hero > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.catalog-layout { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: 16px; margin-top: var(--space-2); align-items: stretch; scroll-margin-top: 92px; }
.catalog-sidebar, .catalog-sticky { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.catalog-sticky { position: sticky; top: 90px; }
.catalog-filter, .catalog-promo, .catalog-calc { display: grid; align-content: start; gap: 12px; padding: clamp(14px, 2vw, 24px); min-width: 0; }
.catalog-filter h2, .catalog-promo h2, .catalog-calc h2 { font-size: 22px; line-height: 1.2; }
.catalog-filter > header, .catalog-results > header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.catalog-filter .v5-button { min-height: 44px; }
.catalog-filter [data-filters]:has([name="author"]) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.catalog-filter .input-v5 select, .catalog-filter .input-v5 input { min-width: 0; width: 100%; }
.catalog-filter select {
  appearance: none;
  padding-inline: 12px 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%),
    linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: right 20px center, right 15px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
@media (forced-colors: active) {
  .catalog-filter select { appearance: auto; background-image: none; }
}
.catalog-mode, .catalog-area { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; min-width: 0; padding: 0; margin: 0; border: 0; }
.catalog-area legend { padding: 0; font-weight: 700; }
.catalog-mode { padding: 4px; border-radius: 13px; background: var(--surface-soft); }
.catalog-mode label { position: relative; display: grid; place-items: center; min-height: 44px; border-radius: 10px; cursor: pointer; font-weight: 700; }
.catalog-mode label:has(:checked) { background: var(--text); color: var(--surface); }
.catalog-mode input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.catalog-mode label:has(:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.catalog-promo a { display: grid; min-height: 58px; gap: 3px; padding: 12px; border-radius: 12px; text-decoration: none; background: var(--brand-soft); }
.catalog-promo a:hover { box-shadow: inset 0 0 0 1px var(--brand); }
.catalog-promo a span { color: var(--brand); }
.catalog-calc { background: var(--brand-soft); }
.catalog-results { display: grid; align-content: start; gap: 16px; padding: clamp(14px, 2.2vw, 32px); min-width: 0; }
.catalog-results h2 { font-size: clamp(20px, 2.4vw, 29px); }
.catalog-results .grid-v5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.catalog-results .card-v5 { min-width: 0; }
.catalog-results .card-meta { overflow-wrap: anywhere; }
.catalog-grid-promo { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); min-block-size: 168px; gap: 12px; border-radius: 20px; overflow: hidden; background: var(--brand-soft); }
.catalog-grid-promo > div { display: grid; gap: 6px; align-content: center; justify-items: start; padding: 12px 16px; }
.catalog-grid-promo h3 { font-size: clamp(18px, 2vw, 22px); line-height: 1.2; }
.catalog-grid-promo img { display: block; width: 100%; height: 0; min-height: 100%; object-fit: cover; }
.catalog-trust { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); align-items: stretch; gap: 16px; }
.catalog-trust img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
#trust.catalog-trust-section .author-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#trust.catalog-trust-section .author-features > * { grid-column: auto; min-height: 0; }
#trust.catalog-trust-section .author-features > :first-child { grid-column: 1 / -1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

#case-works article { background: var(--brand-soft); }
#case-works .card-v5__body { display: flex; flex-direction: column; }
#case-works button { margin-top: auto; }
#team .case-team-v6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#team .case-team-card-v6 { display: grid; grid-template-columns: minmax(0, 1fr); padding: 10px; gap: 12px; }
.case-team-card-v6 > div { display: grid; justify-items: start; gap: 6px; padding: 6px; overflow-wrap: anywhere; }
.case-team-card-v6 > div a { display: flex; align-items: center; min-height: 44px; }
.team-portrait, .profile-visual { display: grid; position: relative; place-items: center; width: 100%; aspect-ratio: 1.65; padding: 0; border: 0; border-radius: 14px; background: var(--brand-soft); color: var(--brand); transition: filter .18s; }
.team-portrait { cursor: pointer; }
.team-portrait:hover { filter: brightness(.96); }
.team-portrait:active { filter: brightness(.90); }
.team-portrait span { position: absolute; left: 12px; bottom: 12px; font-size: 13px; font-weight: 750; }
.team-portrait svg, .profile-visual svg { width: min(50%, 130px); height: auto; }
.profile-visual { margin-top: 12px; }
.profile-dialog > a { margin-top: 10px; width: 100%; }
@media (max-width: 960px) {
  .catalog-layout { grid-template-columns: minmax(200px, .65fr) minmax(0, 1.5fr); }
  .catalog-sticky { position: static; }
}
@media (max-width: 750px) {
  .catalog-layout, .catalog-hero, .catalog-trust { grid-template-columns: minmax(0, 1fr); }
  .catalog-hero { min-height: auto; }
  .catalog-hero > img, .catalog-trust img { aspect-ratio: 16 / 9; height: auto; }
  .catalog-sticky { flex-direction: row; }
  .catalog-sticky > * { flex: 1; }
  #articles .carousel-v5 { --slide-width: 82%; }
}
@media (max-width: 540px) {
  .catalog-sticky { flex-direction: column; }
  .catalog-results .grid-v5, .catalog-grid-promo, #team .case-team-v6 { grid-template-columns: minmax(0, 1fr); }
  .catalog-grid-promo img { display: none; }
  .catalog-filter, .catalog-results, .catalog-promo, .catalog-calc { padding: 14px; }
  #trust.catalog-trust-section .author-features { grid-template-columns: minmax(0, 1fr); }
  .review-platforms > a { border-radius: 12px; }
  .review-platforms > a .platform-icon { width: 32px; height: 32px; }
}
.arv5-service-menu { padding: clamp(16px, 3vw, 34px); margin-block: 20px; scroll-margin-top: 95px; }
.arv5-service-menu summary { cursor: pointer; min-height: 44px; padding-block: 10px; font-weight: 750; }
.arv5-service-menu ul { list-style: none; margin: 0; padding: 0; }
#arv5-services-menu { columns: 3 220px; column-gap: 32px; }
#arv5-services-menu > li { break-inside: avoid; margin-bottom: 8px; }
#arv5-services-menu li { overflow-wrap: anywhere; }
#arv5-services-menu .sub-menu { padding-inline-start: 12px; margin-block: 6px; }
#arv5-services-menu a { display: inline-block; padding-block: 5px; }
#arv5-services-menu a[href] { text-underline-offset: .18em; }
#arv5-services-menu a[href]:hover, #arv5-services-menu a[href]:focus-visible { color: var(--brand); text-decoration: underline; }
